:root {
    --primary-purple: #0f704b;
    --primary-pink: #d4af37;
    --dark-gray: #333333;
    --light-bg: #fdfdfd;
    --white: #ffffff;
    --text-heading: #2d2d2d;
    --text-muted: #666666;
    --border-light: #eeeeee;
    /* Emerald Events & Décor Brand Colors */
    --brand-green: #0f704b;
    --brand-gold: #d4af37;
    --brand-green-light: #e6f4ee;
    --brand-gold-light: #fdf8e7;
    --emerald-green: #50C878;
    --emerald-dark: #2E8B57;
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --gradient-primary: linear-gradient(135deg, #0f704b 0%, #d4af37 100%);
    --gradient-emerald: linear-gradient(135deg, #50C878 0%, #2E8B57 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 42px;
    line-height: 1.2;
}

h2 {
    font-size: 32px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
}

.text-emerald {
    color: var(--emerald-green);
}

.text-gold {
    color: var(--gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Utility Bar */
.top-bar {
    background: #0f704b;
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: var(--white);
    transition: 0.3s;
}

.top-bar-social a:hover {
    opacity: 0.7;
}

/* Header */
header {
    background: rgba(15, 112, 75, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
}

nav {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 5px 0;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--brand-gold) !important;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-icons {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px;
}

.header-icons a {
    color: inherit;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-icons a:hover {
    color: var(--brand-gold) !important;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--brand-gold);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-auth {
    background: var(--gradient-gold);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.user-welcome {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 0;
    user-select: none;
    transition: color 0.3s ease;
}

.user-welcome:hover {
    color: var(--brand-gold);
}

.user-welcome i.fa-chevron-down {
    font-size: 10px;
    transition: 0.3s;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 1001;
    border: 1px solid var(--border-light);
}

.user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown.active .user-welcome i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-purple);
}

.dropdown-item i {
    width: 16px;
    color: var(--primary-purple);
    font-size: 16px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 8px 0;
}

.dropdown-item.logout {
    color: #e74c3c;
}

.dropdown-item.logout i {
    color: #e74c3c;
}

@media (max-width: 992px) {
    .dropdown-menu {
        position: absolute;
        top: 60px;
        right: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid var(--border-light);
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        width: 200px;
        background: white;
        z-index: 1000;
    }

    .user-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-item {
        padding: 12px 20px;
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: #f8f9fa;
    }
}

.nav-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--primary-pink) !important;
}

/* Footer Section */
footer {
    background: linear-gradient(135deg, var(--brand-green) 0%, #0a4a30 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #fff;
    font-size: 14px;
}

/* Mobile Nav */
.nav-toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.nav-overlay.active {
    display: block;
}

@media (max-width: 992px) {
    .logo {
        order: 1;
    }
    .header-actions {
        order: 2;
        margin-left: auto;
        gap: 15px;
    }
    .nav-toggle {
        display: block;
        order: 3;
        margin-left: 15px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        align-items: flex-start;
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 16px;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        color: var(--dark-gray) !important;
    }
    
    nav a:hover {
        color: var(--brand-green) !important;
    }

    .header-actions {
        /* Keep icons visible or move them? */
        gap: 15px;
    }

    .user-welcome {
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    .welcome-text {
        display: none;
    }

    .user-dropdown .fa-chevron-down {
        font-size: 10px;
    }

    .header-icons {
        gap: 12px;
    }

    .btn-auth {
        padding: 6px 15px;
        font-size: 12px;
    }
}

/* Mobile Header Utility */
.mobile-only-header {
    display: none;
}

@media (max-width: 992px) {
    .mobile-only-header {
        display: flex;
    }

    .mobile-nav-item {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        font-weight: 500;
        color: var(--text-heading);
    }

    .mobile-nav-header i {
        font-size: 12px;
        transition: transform 0.3s;
    }

    .mobile-nav-header i.rotate {
        transform: rotate(90deg);
    }

    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        padding-left: 15px;
    }

    .mobile-submenu.active {
        max-height: 200px;
    }

    .mobile-submenu a {
        display: block;
        padding: 10px 0;
        font-size: 14px;
        color: var(--text-muted);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-submenu a i {
        margin-right: 10px;
        width: 14px;
        text-align: center;
    }
}

.mobile-nav-item {
    display: none;
}

/* Terms & Conditions Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.terms-modal {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.terms-modal h2 {
    margin-top: 0;
    color: var(--primary-purple);
    font-size: 24px;
    margin-bottom: 15px;
}

.terms-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 14px;
}

.terms-check input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-btns {
    display: flex;
    gap: 15px;
}

.btn-confirm {
    flex: 1;
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-confirm:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.btn-cancel {
    flex: 1;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* Responsive Styles for Home Page */

.about-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

@media (max-width: 768px) {

    /* About Us Stack on Mobile */
    .about-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-main-grid img {
        max-width: 100%;
        height: auto;
    }

    /* Hero Section Mobile Adjustments */
    .hero {
        min-height: 500px;
        /* Slightly shorter on mobile */
        text-align: center;
        /* Center text on mobile */
    }

    .hero .container>div {
        padding: 25px !important;
        /* Override inline padding style on the white card */
        margin: 0 15px;
        /* Add margin on sides so it doesn't touch edges */
    }

    .hero h1 {
        font-size: 28px !important;
        /* Smaller size */
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero h1 br {
        display: none;
        /* Hide break on mobile to let text wrap naturally */
    }

    .hero p {
        font-size: 15px !important;
        margin-bottom: 25px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btns a {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    /* General Section Padding reduction */
    .section-padding {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Top Bar Responsive */
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-info {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    /* Improve Modal on Mobile */
    .modal-content {
        width: 95% !important;
        margin: 10px !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    header .container {
        padding: 0 10px;
    }

    .logo {
        gap: 5px;
    }
}

/* Voucher Details Page */
.voucher-details-page {
    padding-top: 100px;
    background: #fdfdfd;
}

.voucher-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.voucher-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.voucher-image-container {
    height: auto;
    min-height: 200px;
    background: #f8f8f8;
    position: relative;
}

.voucher-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.voucher-content {
    padding: 40px;
}

.pricing-breakdown {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-left: 5px solid var(--primary-pink);
}

.pricing-item {
    border-right: 1px solid #ddd;
    padding-right: 30px;
}

.pricing-item:last-child {
    border-right: none;
    padding-right: 0;
}

.store-sidebar {
    position: sticky;
    top: 100px;
}

/* Mobile Responsiveness for Voucher Page */
@media (max-width: 992px) {
    .voucher-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .store-sidebar {
        position: static;
    }

    .voucher-image-container {
        height: auto;
        min-height: 150px;
    }

    .voucher-content {
        padding: 25px;
    }

    .pricing-breakdown {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pricing-item {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
        width: 100%;
    }

    .pricing-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Hide Cart Icon on Mobile as requested */
    .cart-icon-link {
        display: none !important;
    }

    /* Make mobile-only links visible in nav */
    .mobile-only-link {
        display: block;
    }
}

@media (max-width: 992px) {
    .btn-main.btn-emerald[style*="display: none"] {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .btn-main.btn-emerald {
        display: inline-block !important;
    }
}

/* Navigation Link Hover Effects */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile Experience Optimizations */
@media (max-width: 768px) {
    .btn-main {
        padding: 12px 24px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .card-hover, .gallery-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    nav a, .header-icons a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    input, textarea, select {
        font-size: 16px;
    }
}

/* Form Animations */
input:focus, textarea:focus, select:focus {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Button Ripple Effect */
.btn-main {
    position: relative;
    overflow: hidden;
}

.btn-main::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-main:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
}

/* Loading Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--brand-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Pulse Animation for CTAs */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-pulse:hover {
    animation: pulse 1.5s infinite;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Button Styles */
.btn-main {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 112, 75, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 112, 75, 0.4);
}

.btn-emerald {
    background: var(--gradient-emerald);
    color: white;
    box-shadow: 0 4px 15px rgba(80, 200, 120, 0.3);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 200, 120, 0.4);
}

.btn-gold {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
}

.btn-outline:hover {
    background: var(--brand-green);
    color: white;
}

/* Section Enhancements */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Card Enhancements */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Social Proof Bar */
.social-proof-bar {
    background: var(--brand-green-light);
    padding: 6px 0;
    border-bottom: 1px solid var(--brand-green);
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.social-proof-item {
    text-align: center;
    padding: 0 5px;
}

.social-proof-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-green);
    font-family: 'Jost', sans-serif;
    line-height: 1.1;
}

.social-proof-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    line-height: 1.2;
}

@media (max-width: 600px) {
    .social-proof-grid {
        gap: 6px;
    }
    .social-proof-item {
        padding: 0 2px;
    }
    .social-proof-number {
        font-size: 16px;
    }
    .social-proof-label {
        font-size: 8px;
        letter-spacing: 0;
    }
}

@media (max-width: 380px) {
    .social-proof-number {
        font-size: 14px;
    }
    .social-proof-label {
        font-size: 7px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   AMBIENT BACKGROUND INTEGRATION
   Premium frosted-glass sections floating above animated canvas
   ═══════════════════════════════════════════════════════════════ */

/* Canvas element */
#emerald-ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Body gets a very subtle warm tint so canvas shows through */
body {
    background: linear-gradient(
        180deg,
        #fdfdfb 0%,
        #faf9f5 25%,
        #f8f9f7 50%,
        #faf8f3 75%,
        #fdfdfb 100%
    );
    background-attachment: fixed;
}

/* Sections get a frosted-glass overlay so content stays readable */
.section-padding,
section {
    position: relative;
}

/* Section header accent shimmer */
.section-header h2 span {
    background: linear-gradient(
        135deg,
        var(--brand-green) 0%,
        var(--brand-gold) 50%,
        var(--brand-green) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: emerald-shimmer 4s ease-in-out infinite;
}

@keyframes emerald-shimmer {
    0%   { background-position: 0% center; }
    50%  { background-position: 200% center; }
    100% { background-position: 0% center; }
}

/* Subtle floating animation for service cards on hover */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-6px); }
}

/* Golden accent line under section headers */
.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-gold));
    margin: 18px auto 0;
    border-radius: 3px;
    animation: line-expand 1.5s ease-out forwards;
}

@keyframes line-expand {
    0%   { width: 0; opacity: 0; }
    100% { width: 60px; opacity: 1; }
}

/* Footer slight transparency to show ambient background */
footer {
    position: relative;
    z-index: 1;
}

/* Reduce animation intensity on mobile for performance */
@media (max-width: 768px) {
    #emerald-ambient-bg {
        opacity: 0.6;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    #emerald-ambient-bg {
        display: none;
    }
    .section-header h2 span {
        animation: none;
        -webkit-text-fill-color: var(--brand-green);
    }
    .section-header::after {
        animation: none;
        width: 60px;
        opacity: 1;
    }
}

/* Premium Grid Layout Utility Classes */
.premium-grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}
.premium-grid-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 20px;
}
.premium-grid-work {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 30px;
}
.premium-grid-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}
.premium-grid-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
}
.premium-grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}
.premium-grid-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}
.premium-grid-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 25px;
}
.premium-grid-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
}

/* Logo Sizing and Drop Shadow Filter for Visibility */
.responsive-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.15)) 
            drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .responsive-logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .responsive-logo {
        height: 42px;
    }
}

/* Premium Glassmorphic Hero & Slider Layout */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh;
    padding: 120px 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-glass-card {
    background: rgba(10, 30, 22, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 55px 50px;
    max-width: 680px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-glass-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 25px 60px rgba(15, 112, 75, 0.4);
    transform: translateY(-2px);
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.hero-stars {
    display: flex;
    gap: 4px;
}

.hero-stars i {
    color: #FFD700;
    font-size: 16px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.hero-rating-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Jost', sans-serif;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--brand-gold) !important;
    background: linear-gradient(135deg, #FFE082 0%, #D4AF37 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btns .btn-main {
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
}

.hero-btns .btn-primary {
    background: var(--gradient-gold);
    color: #1a1a1a !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.hero-btns .btn-primary:hover {
    background: var(--white);
    color: var(--brand-green) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.hero-btns .btn-emerald {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white) !important;
    box-shadow: none;
}

.hero-btns .btn-emerald:hover {
    background: var(--white);
    color: var(--brand-green) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* Responsiveness for Hero */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 90px 0;
    }
    
    .hero-glass-card {
        padding: 40px 30px;
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-rating {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 70px 0;
    }
    
    .hero-glass-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    
    .hero-btns .btn-main {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
    }
}