/**
 * MAIN STYLESHEET
 * Modern, minimal design optimized for Core Web Vitals
 * Target: 95+ Performance Score
 */

/* ==================== RESET & BASE STYLES ==================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

* {
    scroll-margin-top: 100px;
}

/* ==================== SMOOTH SCROLL ANIMATIONS ==================== */

section {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.company-intro-section,
.tour-categories-section,
.hero {
    animation: fadeInUp 0.8s ease-out;
}

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

.category-card {
    animation: fadeIn 0.5s ease-out backwards;
}

.category-card:nth-child(1) {
    animation-delay: 0.1s;
}

.category-card:nth-child(2) {
    animation-delay: 0.2s;
}

.category-card:nth-child(3) {
    animation-delay: 0.3s;
}

.category-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== TYPOGRAPHY ==================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

strong, b {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

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

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

a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==================== ACCESSIBILITY ==================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--text-inverse);
    padding: var(--space-2) var(--space-4);
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==================== LAYOUT ==================== */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.main-content {
    min-height: 50vh;
}

.section {
    padding: var(--space-20) 0;
}

.section-alt {
    background-color: var(--bg-section-alt);
}

/* ==================== HEADER & NAVIGATION ==================== */

.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: var(--space-4) 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    align-items: center;
    gap: 60px;
}

.navbar-brand {
    justify-self: start;
}

/* Text-based Logo Styling */
.logo-text,
.mobile-logo-text {
    font-family: 'Philosopher', 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    line-height: 1.2;
    user-select: none;
    white-space: nowrap;
}

.logo-text .logo-main,
.mobile-logo-text .logo-main {
    color: #FF6B35;
    font-weight: 700;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-text .logo-accent,
.mobile-logo-text .logo-accent {
    color: #ffffff;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-text .logo-sub,
.mobile-logo-text .logo-sub {
    color: #ffffff;
    font-weight: 400;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Logo when navbar is scrolled (white background) */
.site-header.scrolled .logo-text .logo-main,
.mobile-header.scrolled .mobile-logo-text .logo-main,
.mobile-navbar.menu-open .mobile-logo-text .logo-main {
    color: #FF6B35;
    text-shadow: none;
}

.site-header.scrolled .logo-text .logo-accent,
.mobile-header.scrolled .mobile-logo-text .logo-accent,
.mobile-navbar.menu-open .mobile-logo-text .logo-accent {
    color: #4a5568;
    text-shadow: none;
}

.site-header.scrolled .logo-text .logo-sub,
.mobile-header.scrolled .mobile-logo-text .logo-sub,
.mobile-navbar.menu-open .mobile-logo-text .logo-sub {
    color: #4a5568;
    text-shadow: none;
}

/* Hover effect */
.logo-text:hover .logo-main,
.mobile-logo-text:hover .logo-main {
    color: #ff8254;
}

/* Old image logo - keep as fallback */
.navbar-brand .logo img {
    display: block;
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-primary);
    padding: var(--space-2) 0;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.navbar-cta {
    justify-self: end;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #25D366;
    color: white;
    border-radius: 8px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    background: #1fbd5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    color: white;
}

.whatsapp-icon {
    flex-shrink: 0;
}

.whatsapp-text {
    white-space: nowrap;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: var(--space-2);
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--text-primary);
    border-radius: var(--border-radius-sm);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 400;
    transition: background-color var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--color-gray-50);
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
    position: relative;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    left: 0;
}

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

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

/* Active hamburger animation */
.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ==================== FOOTER ==================== */

.site-footer {
    background: #f5f7fa;
    color: #4a5568;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #113A75;
    margin: 0 0 16px;
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 20px;
}

.footer-text {
    font-family: 'Barlow', sans-serif;
    color: #4a5568;
    line-height: 1.7;
    font-size: 0.938rem;
    margin-bottom: 24px;
}

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

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #113A75;
    color: white;
    transform: translateY(-2px);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Barlow', sans-serif;
    color: #4a5568;
    font-size: 0.938rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: #2d3748;
}

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

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

.footer-contact .contact-icon {
    flex-shrink: 0;
    color: #4a5568;
    margin-top: 2px;
    width: 16px;
    height: 16px;
}

.footer-contact a {
    font-family: 'Barlow', sans-serif;
    color: #4a5568;
    font-size: 0.938rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #2d3748;
}

.footer-contact span {
    font-family: 'Barlow', sans-serif;
    color: #4a5568;
    font-size: 0.938rem;
    line-height: 1.5;
}

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .copyright {
    font-family: 'Barlow', sans-serif;
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

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

.footer-legal a {
    font-family: 'Barlow', sans-serif;
    color: #718096;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #4a5568;
}

/* WhatsApp Floating Button */
.whatsapp-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: whatsappPulse 2s infinite ease-in-out;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-notification {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* WhatsApp Chat Bubble */
.whatsapp-chat-bubble {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 220px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: normal;
    word-wrap: break-word;
}

.whatsapp-chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
}

.whatsapp-chat-bubble.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-chat-bubble p {
    margin: 0;
    font-size: 0.875rem;
    color: #2d3748;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
    padding-right: 24px;
    word-break: break-word;
}

.chat-bubble-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background: transparent;
    border: none;
    color: #718096;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.chat-bubble-close:hover {
    color: #2d3748;
}

/* Content Text Section */
.content-text-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-container h1 {
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.content-container h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #113A75;
    margin: 32px 0 16px;
    line-height: 1.3;
}

.content-container h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 24px 0 12px;
}

.content-container p {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 16px;
}

.content-container strong {
    color: #113A75;
    font-weight: 600;
}

.content-container em {
    color: #FF6B35;
    font-style: normal;
    font-weight: 500;
}

.hidden-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
}

.hidden-content.active {
    max-height: 10000px;
    opacity: 1;
    margin-top: 24px;
}

.read-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 32px;
    background: #113A75;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #0d2d5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 58, 117, 0.3);
}

/* Scroll Down Arrow (Mobile Hero Section) */
.scroll-down-arrow {
    display: none; /* Hidden on desktop */
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 10;
    animation: bounceArrow 2s infinite ease-in-out;
    transition: all 0.3s ease;
}

.scroll-down-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) translateY(-3px);
}

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

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

@media (max-width: 1024px) {
    .navbar-container {
        grid-template-columns: 1fr auto auto;
        gap: 20px;
        padding: 0 24px;
    }

    .nav-menu {
        gap: 24px;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-btn {
        padding: 12px;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-3xl);
    }

    h2 {
        font-size: var(--font-size-2xl);
    }

    body {
        padding-top: 0 !important;
    }

    /* Mobile logo sizing */
    .mobile-logo-text {
        font-size: 1.375rem;
        letter-spacing: -0.3px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    /* Show scroll-down arrow on mobile */
    .scroll-down-arrow {
        display: flex !important;
    }

    .site-header {
        padding: 16px 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        z-index: 99999 !important;
        transition: background 0.3s ease, box-shadow 0.3s ease !important;
        will-change: background, box-shadow;
        pointer-events: auto !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .site-header.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .navbar,
    .navbar-container {
        pointer-events: auto !important;
    }

    .navbar {
        padding: 0;
    }

    .navbar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .navbar-brand {
        order: 1;
        z-index: 1001;
    }

    .navbar-brand .logo img {
        height: 52px;
        width: auto;
    }

    .navbar-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
        z-index: 1001;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        background: #ffffff;
    }

    .site-header.scrolled .hamburger,
    .site-header.scrolled .hamburger::before,
    .site-header.scrolled .hamburger::after {
        background: #1a1a1a;
    }

    .nav-menu {
        position: fixed;
        top: 86px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: calc(100vh - 86px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 18px 24px;
        width: 100%;
        display: block;
        font-size: 0.938rem;
        color: #1a1a1a;
        transition: all 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: #f8f9fa;
        color: #113A75;
        padding-left: 32px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 8px 0 8px 40px;
        background: #f8f9fa;
        margin: 0;
        border-left: 3px solid #113A75;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu a {
        padding: 12px 16px;
        font-size: 0.875rem;
        color: #4a5568;
        display: block;
    }

    .dropdown-menu a:hover {
        color: #113A75;
        background: white;
    }

    .section {
        padding: var(--space-12) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-legal {
        justify-content: center;
    }

    .whatsapp-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-chat-bubble {
        max-width: 190px;
        min-width: 160px;
        bottom: 65px;
        padding: 10px 14px;
    }

    .whatsapp-chat-bubble p {
        font-size: 0.813rem;
        line-height: 1.4;
        padding-right: 22px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        gap: 32px;
    }

    .footer-brand-name {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .footer-heading {
        font-size: 0.938rem;
        margin-bottom: 16px;
    }

    .footer-text,
    .footer-links a,
    .footer-contact a,
    .footer-contact span {
        font-size: 0.875rem;
    }

    .whatsapp-wrapper {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-chat-bubble {
        max-width: 160px;
        min-width: 140px;
        padding: 8px 12px;
        bottom: 58px;
        right: -5px;
    }

    .whatsapp-chat-bubble::after {
        right: 15px;
    }

    .whatsapp-chat-bubble p {
        font-size: 0.75rem;
        line-height: 1.3;
        padding-right: 20px;
    }

    .chat-bubble-close {
        top: 2px;
        right: 2px;
        font-size: 1.125rem;
    }

    /* Content section responsive */
    .content-text-section {
        padding: 60px 0;
    }

    .content-container {
        padding: 24px 20px;
    }

    .content-container h1 {
        font-size: 1.5rem !important;
    }

    .content-container h2 {
        font-size: 1.375rem;
        margin: 24px 0 12px;
    }

    .content-container h3 {
        font-size: 1.125rem;
        margin: 20px 0 10px;
    }

    .content-container p {
        font-size: 0.938rem;
        line-height: 1.7;
    }

    .read-more-btn {
        padding: 10px 24px;
        font-size: 0.938rem;
        width: 100%;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==================== PRINT STYLES ==================== */

@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle {
        display: none;
    }
}

/* ==================== SCROLL ANIMATIONS ==================== */

/* Base animation classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left */
.scroll-animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.scroll-animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in only */
.scroll-animate-fade {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.scroll-animate-fade.animate-in {
    opacity: 1;
}

/* Scale up animation */
.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children for grid/list items */
.scroll-animate-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-stagger.animate-in > *:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate-stagger.animate-in > *:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate-stagger.animate-in > *:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate-stagger.animate-in > *:nth-child(4) { transition-delay: 0.4s; }
.scroll-animate-stagger.animate-in > *:nth-child(5) { transition-delay: 0.5s; }
.scroll-animate-stagger.animate-in > *:nth-child(6) { transition-delay: 0.6s; }
.scroll-animate-stagger.animate-in > *:nth-child(7) { transition-delay: 0.7s; }
.scroll-animate-stagger.animate-in > *:nth-child(8) { transition-delay: 0.8s; }

.scroll-animate-stagger.animate-in > * {
    opacity: 1;
    transform: translateY(0);
}

/* Extra small screens - Logo optimization */
@media (max-width: 480px) {
    .mobile-logo-text {
        font-size: 1.25rem;
        letter-spacing: -0.25px;
    }
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .scroll-animate-left,
    .scroll-animate-right,
    .scroll-animate-fade,
    .scroll-animate-scale,
    .scroll-animate-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
