/* ============================================
   MODERN WEB AGENCY STYLESHEET
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Warm & Professional */
    --primary: #e6bda9;
    --primary-dark: #a47b67;
    --primary-light: #f5d9c7;
    --accent: #d4956c;
    --dark: #2c1810;
    --dark-soft: #4a3428;
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-700: #495057;
    --gray-900: #212529;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #e6bda9 0%, #a47b67 100%);
    --gradient-soft: linear-gradient(135deg, rgba(230, 189, 169, 0.1) 0%, rgba(164, 123, 103, 0.1) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(44, 24, 16, 0) 0%, rgba(44, 24, 16, 0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Funnel Display', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-soft);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.cta-btn {
    background: var(--gradient-main);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.nav-link.cta-btn::after {
    display: none;
}

.nav-link.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-smooth);
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--gradient-main);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230, 189, 169, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 50px) rotate(180deg); }
}

.hero-content {
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Rotating Text Animation */
.rotating-text {
    display: inline-block;
    position: relative;
    min-height: 1.2em;
    min-width: 280px;
    white-space: nowrap;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    overflow: visible;
    text-align: left;
    vertical-align: bottom;
    /* Hardware acceleration for mobile */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform, opacity;
}

.rotating-text.fade-out {
    animation: fadeOutUp 0.5s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.rotating-text.fade-in {
    animation: fadeInDown 0.5s cubic-bezier(0, 0, 0.2, 1) forwards;
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
        -webkit-transform: translateY(0) scale(1) translateZ(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-15px) scale(0.95) translateZ(0);
        -webkit-transform: translateY(-15px) scale(0.95) translateZ(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95) translateZ(0);
        -webkit-transform: translateY(15px) scale(0.95) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
        -webkit-transform: translateY(0) scale(1) translateZ(0);
    }
}

/* Webkit-specific animations for iOS Safari */
@-webkit-keyframes fadeOutUp {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0) scale(1) translateZ(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-15px) scale(0.95) translateZ(0);
    }
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(15px) scale(0.95) translateZ(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0) scale(1) translateZ(0);
    }
}

/* Mobile-specific text animation adjustments */
@media (max-width: 480px) {
    .rotating-text {
        display: inline-block;
        margin-top: 0;
        white-space: normal;
        overflow: visible;
        min-height: 2.5em;
        min-width: auto;
        line-height: 1.2;
        text-align: center;
        max-width: 100%;
        vertical-align: baseline;
    }
    
    .hero-title {
        line-height: 1.15;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    @keyframes fadeOutUp {
        0% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        100% {
            opacity: 0;
            transform: translateY(-10px) scale(0.97);
        }
    }
    
    @keyframes fadeInDown {
        0% {
            opacity: 0;
            transform: translateY(10px) scale(0.97);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

/* Tablet adjustments */
@media (max-width: 768px) and (min-width: 481px) {
    .rotating-text {
        white-space: nowrap;
        overflow: visible;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray-700);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatCard 3s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 15%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    font-size: 2.5rem;
}

.card-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.card-text p {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.875rem;
    color: var(--gray-700);
}

.arrow-down {
    width: 2px;
    height: 30px;
    background: var(--primary);
    position: relative;
}

.arrow-down::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-soft);
    border: 1px solid var(--primary-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.projects-count {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1;
    margin: 1rem 0 0.5rem 0;
    letter-spacing: -0.02em;
    display: block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--spacing-xl) 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
    background: white;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    font-size: 0.95rem;
    color: var(--gray-700);
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: 700;
}

/* ============================================
   WORK/PORTFOLIO SECTION
   ============================================ */
.work {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-soft);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-item {
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.work-item:hover {
    transform: translateY(-10px);
}

.work-image {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.work-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    transition: var(--transition-smooth);
}

.work-item:hover .work-image::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.work-image-2 {
    background: linear-gradient(135deg, #a47b67 0%, #d4956c 100%);
}

.work-image-3 {
    background: linear-gradient(135deg, #d4956c 0%, #e6bda9 100%);
}

.work-image-4 {
    background: linear-gradient(135deg, #f5d9c7 0%, #a47b67 100%);
}

.work-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 2rem;
    width: 100%;
    transform: translateY(100%);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-category {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    color: white;
    margin-bottom: 1rem;
}

.work-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.work-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--dark-soft);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--gray-700);
}

.author-info p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.author-info p a:hover {
    color: var(--secondary-color);
}

.author-info p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.author-info p a:hover::after {
    width: 100%;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-main);
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-dark);
}

.cta-section .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--gradient-main);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ============================================
   PAGE HERO (for internal pages)
   ============================================ */
.page-hero {
    padding: 10rem 0 5rem;
    background: var(--gradient-soft);
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: 4rem 0 var(--spacing-xl);
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pricing-card.featured {
    background: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pricing-description {
    font-size: 1rem;
    color: var(--gray-700);
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.currency {
    font-size: 2rem;
    color: var(--primary-dark);
    font-weight: 700;
    vertical-align: top;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-display);
}

.period {
    font-size: 1.125rem;
    color: var(--gray-700);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subscription-feature {
    padding: 0.75rem 0 !important;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.subscription-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.monthly-price {
    font-size: 1rem;
    font-weight: 600;
}

.no-commitment {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.75;
    display: block;
    text-align: center;
}

.pricing-features .check {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.25rem;
}

.pricing-features .cross {
    color: var(--gray-300);
    font-weight: 700;
    font-size: 1.25rem;
}

.pricing-features li.disabled {
    color: var(--gray-300);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-soft);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.faq-item p {
    font-size: 1rem;
    color: var(--gray-700);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 4rem 0 var(--spacing-xl);
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-container h2 {
    margin-bottom: 2rem;
}

/* Quick Schedule Banner */
.quick-schedule-banner {
    background: var(--off-white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.quick-schedule-banner:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.quick-schedule-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.quick-schedule-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
}

.quick-schedule-text p {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

.quick-schedule-banner .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
}

.form-message {
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-card a {
    color: var(--primary-dark);
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: var(--primary-dark);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-link:hover {
    padding-left: 10px;
}

.contact-cta-card {
    background: var(--gradient-main);
    color: white;
    padding: 2rem;
    border-radius: 16px;
}

.contact-cta-card h3 {
    color: white;
    margin-bottom: 0.75rem;
}

.contact-cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.contact-cta-card .btn {
    background: white;
    color: var(--primary-dark);
    width: 100%;
}

.contact-cta-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    position: relative;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 24, 16, 0.5);
    backdrop-filter: blur(5px);
}

.map-info {
    text-align: center;
    color: white;
}

.map-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.map-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Landscape */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Tablet Portrait */
@media (max-width: 968px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    :root {
        --spacing-lg: 2.5rem;
        --spacing-xl: 3.5rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Compact services section on mobile */
    .services {
        padding: 3rem 0;
    }
    
    .services-grid {
        gap: 1.25rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Grid Layouts */
    .services-grid,
    .work-grid,
    .testimonials-grid,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards */
    .service-card,
    .testimonial-card,
    .faq-item {
        padding: 2rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    /* Work Items */
    .work-image {
        height: 300px;
    }
    
    .work-overlay {
        padding: 1.5rem;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 8rem 0 4rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }
}

/* Mobile Portrait - Primary Mobile Breakpoint */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    :root {
        --spacing-sm: 0.875rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0.875rem 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        top: 68px;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 0;
        width: 100%;
    }
    
    .nav-link.cta-btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }
    
    /* Typography */
    h1 { font-size: clamp(2rem, 10vw, 3rem); }
    h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    h3 { font-size: clamp(1.25rem, 5vw, 1.75rem); }
    h4 { font-size: 1.25rem; }
    
    p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Hero Section */
    .hero {
        padding: 5rem 1rem 2rem;
        min-height: calc(100vh - 68px);
    }
    
    .hero-title {
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-tag {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
        letter-spacing: 0.5px;
    }
    
    .section-title {
        margin-bottom: 0.75rem;
    }
    
    .projects-count {
        font-size: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.65rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .service-features {
        gap: 0.5rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
        padding-left: 1.25rem;
    }
    
    /* Work Items */
    .work-grid {
        gap: 1.25rem;
    }
    
    .work-image {
        height: 280px;
    }
    
    .work-overlay {
        padding: 1.25rem;
    }
    
    .work-category {
        font-size: 0.8rem;
        padding: 0.2rem 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .work-overlay h3 {
        font-size: 1.35rem;
    }
    
    .work-overlay p {
        font-size: 0.9rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .stars {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-info p {
        font-size: 0.8rem;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        margin-bottom: 1rem;
    }
    
    .page-subtitle {
        font-size: 1.05rem;
    }
    
    /* Pricing */
    .pricing-section {
        padding: 3rem 0;
    }
    
    .pricing-grid {
        gap: 2rem;
    }
    
    .pricing-card {
        padding: 1.75rem;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .pricing-description {
        font-size: 0.95rem;
    }
    
    .pricing-price {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .currency {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .period {
        font-size: 1rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
        padding: 0.65rem 0;
    }
    
    .subscription-feature {
        padding: 0.75rem 0.875rem !important;
        font-size: 0.9rem;
    }
    
    .monthly-price {
        font-size: 1rem;
    }
    
    .popular-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
    
    /* FAQ */
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-grid {
        gap: 1.25rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
    }
    
    .faq-item p {
        font-size: 0.9rem;
    }
    
    /* Contact Form */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-wrapper {
        gap: 2.5rem;
    }
    
    /* Quick Schedule Banner - Mobile */
    .quick-schedule-banner {
        padding: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .quick-schedule-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        text-align: center;
    }
    
    .quick-schedule-text h3 {
        font-size: 1.15rem;
        margin-bottom: 0.65rem;
    }
    
    .quick-schedule-text p {
        font-size: 0.95rem;
    }
    
    .quick-schedule-banner .btn {
        width: 100%;
    }
    
    .contact-form-container h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        gap: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .contact-info {
        gap: 1.25rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        font-size: 2.25rem;
        margin-bottom: 0.875rem;
    }
    
    .contact-info-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.65rem;
    }
    
    .contact-info-card p {
        font-size: 0.95rem;
    }
    
    .contact-cta-card {
        padding: 1.75rem;
    }
    
    .contact-cta-card h3 {
        font-size: 1.15rem;
    }
    
    .contact-cta-card p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    /* Form Messages */
    .form-message {
        padding: 1.25rem;
        font-size: 0.9rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
    }
    
    .cta-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1.25rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.65rem;
        font-size: 0.9rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    /* Modal */
    .modal.active {
        padding: 0;
    }
    
    .modal-content {
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
        margin-top: auto;
    }
    
    .modal-header {
        padding: 1.5rem 1.25rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem 1.25rem;
    }
    
    .modal-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-actions {
        gap: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-contact-info p {
        font-size: 0.9rem;
    }
    
    .schedule-form {
        gap: 1.25rem;
    }
    
    .modal-form-actions {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile Devices */
@media (max-width: 375px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 0.875rem;
    }
    
    .nav-container {
        padding: 0.75rem 0.875rem;
    }
    
    .logo {
        font-size: 1.35rem;
    }
    
    .hero {
        padding: 4.5rem 0.875rem 2rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        font-size: 2.25rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }
    
    .service-features {
        gap: 0.4rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
    }
    
    .testimonial-card,
    .pricing-card,
    .faq-item,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements for all mobile */
@media (max-width: 968px) {
    /* Larger tap targets */
    button,
    .btn,
    a.btn,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better form controls for mobile */
    input,
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .work-item:hover,
    .testimonial-card:hover,
    .pricing-card:hover,
    .faq-item:hover {
        transform: none;
    }
    
    /* But keep active/touch states */
    .service-card:active,
    .work-item:active,
    .testimonial-card:active,
    .pricing-card:active,
    .faq-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Better button touch feedback */
    .btn:active {
        transform: scale(0.97);
    }
    
    /* Prevent text selection on buttons and interactive elements */
    .btn,
    .nav-link,
    .hamburger {
        -webkit-tap-highlight-color: rgba(230, 189, 169, 0.3);
        user-select: none;
    }
}

/* Landscape mobile orientation */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 1.5rem 2rem;
    }
    
    .page-hero {
        padding: 6rem 0 3rem;
    }
    
    .modal-content {
        max-height: 90vh;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp borders and icons on retina displays */
    .btn,
    .nav-link.cta-btn,
    .service-card,
    .work-item,
    .pricing-card {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ============================================
   SCHEDULE MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.modal-header h2 {
    font-size: 1.75rem;
    margin: 0;
}

.close-modal {
    font-size: 2rem;
    font-weight: 300;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    background: var(--gray-200);
    color: var(--dark);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-description {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.modal-contact-info {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.modal-contact-info p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0.5rem 0;
}

.modal-contact-info a {
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
}

.modal-contact-info a:hover {
    text-decoration: underline;
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-form-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-form-actions .btn {
    margin: 0;
}

/* Smooth scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 0 24px 24px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   TOUCH-SPECIFIC STYLES
   ============================================ */
.touch-device .btn:active,
.touch-device .nav-link:active,
.touch-active {
    opacity: 0.8;
    transition: opacity 0.1s ease;
}

/* Better scroll behavior on mobile */
@media (max-width: 968px) {
    html {
        scroll-padding-top: 80px; /* Account for fixed navbar */
    }
    
    /* Smooth momentum scrolling on iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Prevent text selection on non-text elements */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}
