/* ===================================
   Residential Stays - Main Stylesheet
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-dark: #1a2332;
    --primary: #2d3a4f;
    --primary-light: #3d4d66;
    --accent: #c9a962;
    --accent-hover: #dbc07a;
    --accent-dark: #a88b4a;
    --text-light: #f8f9fa;
    --text-muted: #9ca3af;
    --text-dark: #1a1a1a;
    --background: #fafbfc;
    --background-alt: #f0f2f5;
    --white: #ffffff;
    --error: #dc3545;
    --success: #28a745;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 35, 50, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 35, 50, 0.16);
    --shadow-accent: 0 4px 20px rgba(201, 169, 98, 0.3);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.95) 0%, rgba(26, 35, 50, 0.8) 70%, transparent 100%);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: var(--primary-dark);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: all var(--transition-base);
}

.navbar.scrolled .logo-img {
    height: 45px;
}

/* Footer logo - full color on dark background */
.footer-logo .logo-img {
    height: 60px;
    filter: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

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

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

.nav-link.nav-cta {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

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

.nav-link.nav-cta:hover {
    background-color: var(--accent-hover);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-base);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        url('../images/Home background.png') center center / cover no-repeat;
    overflow: hidden;
}

/* Dark gradient overlay on the hero background image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(26, 35, 50, 0.92) 0%, 
            rgba(45, 58, 79, 0.88) 50%, 
            rgba(61, 77, 102, 0.85) 100%);
    pointer-events: none;
}

/* Additional subtle accent glow overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 169, 98, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 98, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a962' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 0 80px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-light);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

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

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
}

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

/* ===================================
   Trust Bar
   =================================== */
.trust-bar {
    background-color: var(--primary-dark);
    padding: 50px 0;
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.trust-item {
    color: var(--text-light);
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================
   Section Styling
   =================================== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background-color: var(--background);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.quote-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--accent);
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.author-situation {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-dark);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: var(--primary);
}

.carousel-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-light);
    opacity: 0.3;
    transition: all var(--transition-base);
}

.dot:hover {
    opacity: 0.6;
}

.dot.active {
    opacity: 1;
    background-color: var(--accent);
    transform: scale(1.2);
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.faq-category {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--background-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    background-color: var(--white);
    transition: all var(--transition-base);
}

.faq-question:hover {
    background-color: var(--background);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent);
    transition: transform var(--transition-base);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.contact .section-tag,
.contact .section-title {
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    color: var(--text-light);
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(201, 169, 98, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

a.contact-value:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--background-alt);
    border-radius: var(--radius-md);
    background-color: var(--background);
    color: var(--text-dark);
    transition: all var(--transition-base);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
}

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

/* Form Validation States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--error);
}

.error-message {
    display: none;
    font-size: 0.85rem;
    color: var(--error);
    margin-top: 6px;
}

.form-group.error .error-message {
    display: block;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* Form Button States */
.btn-text,
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

.spinner circle {
    stroke-dasharray: 60;
    stroke-dashoffset: 45;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-success.show {
    display: block;
}

.form-success.show + .contact-form,
.contact-form-wrapper.success .contact-form {
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--success) 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.form-success h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--primary-dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    color: var(--text-light);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--accent);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

.social-link:hover svg {
    color: var(--primary-dark);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-contact a,
.footer-contact span {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ===================================
   Responsive Styles
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .faq-grid {
        gap: 40px;
    }
    
    .contact-grid {
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }
    
    /* Mobile Navigation */
    .navbar {
        padding: 12px 0;
        background: rgba(26, 35, 50, 0.98);
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--primary-dark);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 100px 32px 40px;
        transition: right var(--transition-base);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Mobile menu backdrop */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link.nav-cta {
        margin-top: 16px;
        text-align: center;
    }
    
    /* Hero */
    .hero {
        min-height: 100svh; /* Use small viewport height for mobile browsers */
    }
    
    .hero-content {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    /* Trust Bar */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    /* Testimonials */
    .testimonial-content {
        padding: 32px 24px;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
    }
    
    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 20px 16px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo .logo-img {
        height: 50px;
    }
    
    .footer-tagline {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .trust-number {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .testimonial-content {
        padding: 24px 20px;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .carousel-controls {
        gap: 16px;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 24px 20px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
