@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #F4F7F2;
    --secondary: #EAEFE7;
    --accent: #2E7D32;
    --accent-rgb: 46, 125, 50;
    --white: #FFFFFF;
    --text-dark: #1A2315;
    --text-muted: #5A6B55;
    --glass: rgba(46, 125, 50, 0.05);
    --glass-border: rgba(46, 125, 50, 0.15);
    --gradient: linear-gradient(135deg, #2E7D32, #66BB6A);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--primary);
    color: var(--text-dark);
    overflow-x: hidden !important;
    line-height: 1.6;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 100px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 3px;
    background: rgba(46, 125, 50, 0.15);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    animation: loading 1.5s infinite ease;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes loading {
    100% { left: 100%; }
}

/* Reusable Components */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
}

.sub-title {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 span {
    color: var(--accent);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.3);
}

.btn-link {
    color: var(--accent);
    font-weight: 600;
    text-transform: none;
    padding: 0;
    letter-spacing: 0;
}

.btn-link i {
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(5px);
}

.glass-card {
    background: var(--white);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.08);
}

.glass-card:hover {
    background: var(--white);
    border-color: rgba(46, 125, 50, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(46, 125, 50, 0.15);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.12);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text span {
    color: var(--accent);
}

.nav-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}


.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}


.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    opacity: 0.75;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-toggle {
    display: none;
    background: var(--white);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 0 6rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}


.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(244, 247, 242, 0.55), var(--primary));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.2);
    animation: float 6s infinite ease-in-out;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15), transparent 70%);
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-tagline {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-align: left !important;
    word-wrap: break-word;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    text-align: left !important;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start !important;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 2s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: radial-gradient(circle at 80% 20%, rgba(var(--accent-rgb), 0.07), transparent 50%), var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-list li i {
    color: var(--white);
    background: var(--accent);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.2);
}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.4);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
}

/* Services */
.services {
    padding: 4rem 0;
    background: var(--secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.service-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.service-img {
    min-height: 400px;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    background: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.turf-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.3);
}

.service-card:hover .turf-video {
    transform: scale(1.08);
}

.service-body h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-body p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Instagram Feed */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Fix for blank/thin Instagram embeds */
.instagram-media, 
.instagram-media iframe {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

blockquote.instagram-media {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 1100px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
}

.insta-embed {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.08);
}

.insta-embed:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.instagram-media {
    margin: 0 !important;
    border-radius: 20px !important;
    width: 100% !important;
    min-width: unset !important;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-card {
    text-align: center;
    padding: 3rem;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    overflow: hidden;
    position: relative;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1), transparent 70%);
    z-index: -1;
}

.cta-card h2 {
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: #1A2315;
    border-top: 1px solid rgba(46, 125, 50, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.3);
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1.2rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
    font-weight: 500;
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
}

.contact-list li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive Refinements */
@media (max-width: 1200px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        display: flex !important;
        box-shadow: -10px 0 40px rgba(46, 125, 50, 0.15);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .about-grid, .service-card-wrapper, .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    .stats {
        margin-top: 0;
        padding-top: 4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: left;
    }
    
    .hero-btns, .cta-btns {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .hero-btns .btn, .cta-btns .btn {
        width: auto;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-card {
        padding: 3rem 1.5rem;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .service-img {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.1rem;
        gap: 6px;
    }

    .nav-logo {
        width: 35px;
        height: 35px;
    }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.float-btn {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.float-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.float-book {
    background: var(--gradient);
    box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.3);
}

.float-btn i {
    font-size: 1.5rem;
}

/* Gallery Page Styles */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 3rem 0;
    width: 100%;
}

@media (max-width: 768px) {
    .gallery-grid-full {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }
    .gallery-item {
        max-width: 100%;
        margin: 0 auto;
    }
}

i.fa-phone {
    transform: none; /* Pointing in the standard direction as per reference */
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.float-whatsapp:hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.float-book:hover {
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.5);
}

/* Pulse animation for WhatsApp */
@keyframes float-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-whatsapp {
    animation: float-pulse 2s infinite;
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        padding: 0 20px;
    }
    
    .float-text {
        display: none;
    }
    
    .float-btn {
        padding: 1rem;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    
    .float-btn i {
        font-size: 1.8rem;
        margin: 0;
    }
}
@media (max-width: 1200px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .nav-actions .btn-primary {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        word-break: break-word;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-main-image {
        max-width: 100%;
        height: auto;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 2rem;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .nav-logo {
        width: 35px;
        height: 35px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Scrolling Ticker */
.scrolling-ticker {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    box-shadow: 0 -4px 15px rgba(46, 125, 50, 0.3);
}

.ticker-text {
    display: inline-block;
    animation: ticker 15s linear infinite;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.ticker-text span {
    margin: 0 30px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* --- Advanced Mobile Optimizations --- */
@media (max-width: 768px) {
    /* Reduce global paddings for sections */
    .about, .services, .cta-section, .stats {
        padding: 2rem 0 !important;
    }
    
    footer {
        padding: 2.5rem 0 1.5rem !important;
    }

    /* Reduce gaps in grids */
    .about-grid, .service-card-wrapper, .footer-grid, .stats-grid {
        gap: 2rem !important;
    }

    /* Hero section refinements */
    .hero {
        padding: 6rem 0 3rem !important;
    }
    
    .hero-grid {
        gap: 2rem !important;
    }

    h2 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
    }
    
    .sub-title {
        margin-bottom: 0.5rem !important;
    }

    /* Adjust padding-top for fixed header compensation */
    div[style*="padding-top: 8rem"], 
    div[style*="padding-top: 6rem"] {
        padding-top: 5rem !important;
    }
    
    section[style*="padding-top: 8rem"] {
        padding-top: 5rem !important;
    }

    .glass-card {
        padding: 1.5rem !important;
    }

    .service-img {
        min-height: 250px !important;
        margin-bottom: 1.5rem !important;
    }

    /* Instagram grid spacing */
    .instagram-grid {
        gap: 1rem !important;
        padding: 1rem 0 !important;
    }
    
    .insta-embed {
        min-height: 350px !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem !important;
    }
    
    .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .glass-card {
        padding: 1.2rem !important;
    }
}
