/* Reset and Base Styles */
:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --text-color: #1C1C1E;
    --background-color: #FFFFFF;
    --section-bg: #F5F5F7;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.8rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--background-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        padding-top: 5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Hamburger Menu Animation */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Section Padding Adjustments */
section {
    scroll-margin-top: 2.5rem;
    padding-top: 0.2rem;
    padding-bottom: 1.2rem;
}

/* Hero Section */
.hero {
    padding-top: 4rem;
    padding-bottom: 1.2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.agency-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.agency-image:hover {
    transform: translateY(-10px);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

/* iPhone Container */
.iphone-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.iphone-bezel {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.screenshots-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 16px;
    background: none !important;
}

.app-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 16px;
}

.app-screenshot.active {
    opacity: 1;
}

.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 2;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.prev-slide:hover,
.next-slide:hover {
    background: white;
    transform: scale(1.1);
}

.prev-slide i,
.next-slide i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Apps Section */
.apps-section {
    padding: 0.7rem 2rem 1rem 2rem;
    background: none !important;
}

.apps-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 0;
}

.app-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0;
    margin-bottom: 1.2rem;
    background: none !important;
    transition: var(--transition);
}

.app-preview {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: none;
    margin: 0;
    padding: 0;
    height: 100%;
    background: none !important;
}

.app-info {
    padding: 0;
}

.app-info h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.app-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.2rem;
}

.app-store-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.app-store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

/* Make app cards alternate layout */
.app-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.app-card:nth-child(even) .app-info {
    direction: ltr;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-card,
    .app-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
        text-align: center;
    }

    .app-info h3 {
        font-size: 2rem;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .agency-image {
        max-width: 100%;
    }

    .app-preview {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .screenshots-slideshow {
        margin: 0 auto;
        max-width: 300px;
    }
}

/* Services Section */
.services-section {
    padding: 1rem 2rem 1.2rem 2rem;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: #007AFF;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: #555;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "→";
    color: #007AFF;
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-section {
    padding: 1rem 2rem 1.2rem 2rem;
    background-color: var(--background-color);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

.benefits-info {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

.benefits-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
}

.benefits-info ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.benefits-info li {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 1rem;
    line-height: 1.4;
}

.benefits-info li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefits-info li span {
    flex: 1;
}

.contact-choice-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.choice-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.choice-option:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.choice-option:hover .choice-arrow {
    color: var(--primary-color);
    transform: translateY(5px);
}

.choice-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.choice-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
}

.contact-container {
    max-width: none;
    margin: 0;
    display: block;
    gap: 0;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.budget-selection {
    margin-bottom: 2rem;
}

.budget-selection h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.budget-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.budget-btn {
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.budget-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

.budget-btn.selected {
    background: var(--primary-color);
    color: white;
}

.contact-form-container,
.calendly-container {
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 700px; /* Set fixed height instead of min-height */
}

.calendly-container {
    overflow: hidden;
    padding: 0; /* Remove padding since Calendly has its own padding */
}

.calendly-inline-widget {
    height: 700px !important; /* Match the container height exactly */
    margin: 0; /* Remove margin compensation */
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.7rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: #f8f9fa;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

.submit-button {
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container,
    .calendly-container {
        height: auto; /* Allow height to be dynamic on smaller screens */
        min-height: 600px;
    }
    
    .calendly-inline-widget {
        height: 600px !important;
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-container,
    .calendly-container {
        padding: 1.5rem;
        min-height: 500px;
    }
    
    .contact-info h3,
    .contact-form-container h3,
    .calendly-container h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
    
    .budget-buttons {
        grid-template-columns: 1fr;
    }
    
    .budget-btn {
        padding: 0.6rem 0.8rem;
    }

    .contact-choice-divider {
        flex-direction: column;
        gap: 1rem;
    }
    
    .choice-option {
        flex-direction: row;
        gap: 1rem;
    }
    
    .choice-arrow {
        transform: rotate(90deg);
    }

    .calendly-inline-widget {
        height: 500px !important;
    }

    .benefits-info ul {
        grid-template-columns: 1fr;
    }
    
    .benefits-info li {
        margin-bottom: 0.8rem;
    }
}

/* Footer */
.footer {
    background-color: var(--section-bg);
    color: var(--text-color);
    padding: 2rem 2rem 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(0,122,255,0) 0%, 
        rgba(0,122,255,0.5) 50%, 
        rgba(0,122,255,0) 100%
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section h4.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
}

.footer-bottom p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.separator {
    color: #ddd;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-bottom p {
        gap: 0.5rem;
    }

    .separator {
        margin: 0 0.3rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image,
.app-card,
.service-card {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Language Switcher Styles */
.language-switcher {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.language-switcher .lang-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher .lang-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.language-switcher .lang-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Mobile styles for language switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin: 1rem 0;
        padding: 1rem 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        justify-content: center;
    }
}

/* Consulting Section */
.consulting-section {
    padding: 3rem 2rem;
    background-color: var(--background-color);
}

.consulting-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.consulting-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.consulting-info {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.consulting-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.consulting-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.budget-selector {
    margin-bottom: 2rem;
}

.budget-selector h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.budget-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.budget-option {
    position: relative;
    cursor: pointer;
}

.budget-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.budget-label {
    display: block;
    padding: 1rem;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.budget-option input[type="radio"]:checked + .budget-label {
    border-color: var(--primary-color);
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
}

.budget-option:hover .budget-label {
    border-color: var(--primary-color);
}

.consultation-benefits {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.consultation-benefits h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.consultation-benefits ul {
    list-style: none;
}

.consultation-benefits li {
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 1.1rem;
}

.consultation-benefits li::before {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Responsive adjustments for consulting section */
@media (max-width: 768px) {
    .consulting-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .budget-options {
        grid-template-columns: 1fr;
    }

    .consulting-info {
        padding: 1.5rem;
    }

    .consulting-info h3 {
        font-size: 1.8rem;
    }

    .calendly-inline-widget {
        height: 600px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Add specific styles for Calendly modal */
#calendly-modal .modal-content {
    padding: 0.5rem;
}

#calendly-modal .close-modal {
    right: 0.5rem;
    top: 0.2rem;
    color: var(--primary-color);
}

.modal .contact-form-container,
.modal .calendly-container {
    box-shadow: none;
    padding: 0;
    height: auto;
    min-height: auto;
    margin-top: 1rem;
}

/* Adjust margin for Calendly container in modal */
#calendly-modal .calendly-container {
    margin-top: 0;
}

.modal .calendly-inline-widget {
    min-width: 320px;
    height: 600px !important;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    #calendly-modal .modal-content {
        padding: 0.5rem;
    }

    .modal .calendly-inline-widget {
        height: 500px !important;
    }
}

/* Privacy Policy Page */
.privacy-policy {
    padding: 8rem 2rem 4rem;
    background-color: var(--background-color);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.policy-section h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-color);
}

.policy-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-section ul li {
    color: #666;
    margin-bottom: 0.8rem;
    position: relative;
}

.policy-section ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.contact-info {
    background: var(--section-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: var(--text-color);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 6rem 1.5rem 3rem;
    }

    .privacy-policy h1 {
        font-size: 2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(33, 33, 33, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-btn.accept {
    background: var(--primary-color, #007AFF);
    color: white;
}

.cookie-btn.essential {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Protected Email Styles */
.protected-email {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.protected-email:hover {
    color: var(--secondary-color);
}

.protected-email::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.protected-email:hover::before {
    transform: scaleX(1);
} 