/* 
    Custom Styles for OnlineOrdner Landing Page
    Created: September 7, 2025
*/

/* ===== Feature Navigation Dropdown ===== */
.feature-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 24px;
    width: 500px;
    max-width: 90vw;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-nav-dropdown.active {
    display: block;
    opacity: 1;
    animation: fadeInDown 0.4s forwards;
}

.feature-nav-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-nav-item {
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
}

.feature-nav-item:hover {
    background: rgba(var(--primary-rgb), 0.08);
    transform: translateY(-2px);
}

.feature-nav-item .feature-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 18px;
}

.feature-nav-item .feature-nav-text {
    font-weight: 600;
    font-size: 14px;
}

.feature-nav-title {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.feature-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
    display: none;
}

.feature-nav-overlay.active {
    display: block;
}

@media (max-width: 767px) {
    .feature-nav-dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
        padding: 12px;
    }
    
    .feature-nav-container {
        grid-template-columns: 1fr;
    }
    
    .feature-nav-dropdown.active {
        animation: none;
    }
}

/* ===== Global Section Styles ===== */
.section-title h2,
.ud-section-title h2,
.features-heading,
.faq-heading,
.team-heading,
.about-heading,
.contact-title,
.pricing-heading,
.testimonial-heading,
h2.section-heading {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    background-image: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary);
}

/* Global Badge Styles */
.features-badge,
.faq-badge,
.team-badge,
.about-badge,
.hero-badge,
.contact-badge,
.testimonial-badge,
.tag,
.section-badge,
span[class*="-badge"] {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.12);
}

/* Global Theme Colors - Easy to change */
:root {
    /* Primary Colors */
    --primary: #27786B;
    --primary-rgb: 39, 120, 107;
    --primary-dark: #1d5f55;
    --primary-light: #3a9285;
    --primary-bg: rgba(39, 120, 107, 0.05);
    --primary-bg-medium: rgba(39, 120, 107, 0.1);
    --primary-bg-strong: rgba(39, 120, 107, 0.2);
    
    /* Secondary Colors */
    --secondary: #b8444d;
    --secondary-rgb: 184, 68, 77;
    --secondary-dark: #b8444d;
    --secondary-light: #dd525e;
    --secondary-bg: rgba(184, 68, 77, 0.05);
    --secondary-bg-medium: rgba(184, 68, 77, 0.1);
    --secondary-bg-strong: rgba(184, 68, 77, 0.2);
    
    /* Accent Colors */
    --accent: #ffcc3c;
    --accent-rgb: 255, 204, 60;
    --accent-dark: #ffc01f;
    --accent-light: #ffd45f;
    --accent-bg: rgba(255, 204, 60, 0.1);
    --accent-bg-strong: rgba(255, 204, 60, 0.2);
    
    /* Neutral Colors */
    --neutral-rgb: 100, 116, 139;
    
    /* Neutral Colors */
    --dark: #333333;
    --dark-medium: #666666;
    --dark-light: #888888;
    --neutral-bg: #f8f9fa;
    --neutral-medium: #f1f1f1;
    --neutral-light: #ffffff;
    --brown-accent: #64301b;
    
    /* Shadow styles */
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.08);
    --shadow-colored: 0 8px 15px rgba(39, 120, 107, 0.2);
    --shadow-secondary: 0 8px 15px rgba(240, 101, 33, 0.2);
    
    /* Border radiuses */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-circle: 50%;
    
    /* Font weights */
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/

/* Background Colors */
.bg-primary { background-color: var(--primary) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-primary-bg { background-color: var(--primary-bg) !important; }
.bg-primary-bg-medium { background-color: var(--primary-bg-medium) !important; }
.bg-primary-bg-strong { background-color: var(--primary-bg-strong) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-secondary-bg { background-color: var(--secondary-bg) !important; }
.bg-secondary-bg-medium { background-color: var(--secondary-bg-medium) !important; }
.bg-secondary-bg-strong { background-color: var(--secondary-bg-strong) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-accent-bg { background-color: var(--accent-bg) !important; }
.bg-accent-bg-strong { background-color: var(--accent-bg-strong) !important; }
.bg-neutral { background-color: var(--neutral-bg) !important; }
.bg-white { background-color: var(--neutral-light) !important; }

/* Text Colors */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-dark { color: var(--dark) !important; }
.text-medium { color: var(--dark-medium) !important; }
.text-light { color: var(--dark-light) !important; }
.text-white { color: var(--neutral-light) !important; }
.text-brown { color: var(--brown-accent) !important; }

/* Gradients */
.gradient-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important; }
.gradient-secondary { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important; }
.gradient-primary-horizontal { background: linear-gradient(90deg, var(--primary), var(--primary-light)) !important; }
.gradient-secondary-horizontal { background: linear-gradient(90deg, var(--secondary), var(--secondary-dark)) !important; }
.gradient-hero { background: linear-gradient(135deg, var(--neutral-bg) 0%, #e8f2f0 100%) !important; }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-primary { box-shadow: var(--shadow-colored) !important; }
.shadow-secondary { box-shadow: var(--shadow-secondary) !important; }

/* Border Radius */
.radius-sm { border-radius: var(--radius-sm) !important; }
.radius-md { border-radius: var(--radius-md) !important; }
.radius-lg { border-radius: var(--radius-lg) !important; }
.radius-circle { border-radius: var(--radius-circle) !important; }

/* Font Weights */
.font-regular { font-weight: var(--font-regular) !important; }
.font-medium { font-weight: var(--font-medium) !important; }
.font-semibold { font-weight: var(--font-semibold) !important; }
.font-bold { font-weight: var(--font-bold) !important; }

/* Margin and Padding */
.mb-xs { margin-bottom: 0.5rem !important; }
.mb-sm { margin-bottom: 1rem !important; }
.mb-md { margin-bottom: 1.5rem !important; }
.mb-lg { margin-bottom: 2rem !important; }
.mb-xl { margin-bottom: 3rem !important; }

.mt-xs { margin-top: 0.5rem !important; }
.mt-sm { margin-top: 1rem !important; }
.mt-md { margin-top: 1.5rem !important; }
.mt-lg { margin-top: 2rem !important; }
.mt-xl { margin-top: 3rem !important; }

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: var(--neutral-light);
    border: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: var(--font-semibold);
    box-shadow: var(--shadow-colored);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(39, 120, 107, 0.3);
}

.btn-secondary {
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
    color: var(--neutral-light);
    border: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: var(--font-semibold);
    box-shadow: var(--shadow-secondary);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(240, 101, 33, 0.3);
}

.btn-white {
    background-color: white;
    color: var(--secondary);
    border: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: var(--font-semibold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.icon-right {
    margin-left: 8px;
}

/* Cards */
.card {
    background-color: var(--neutral-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: none;
}

.card-header-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 25px;
    position: relative;
    color: var(--neutral-light);
}

.card-header-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: 25px;
    position: relative;
    color: var(--neutral-light);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--neutral-bg) 0%, #e8f2f0 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-badge {
    /* Hero badge inherits global badge styles and only overrides what's needed */
    background: rgba(39, 120, 107, 0.1);
}

.hero-heading {
    font-weight: var(--font-bold);
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 20px;
    background-image: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary);
}

.hero-highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
    background-image: linear-gradient(90deg, var(--secondary), var(--secondary-light, #ff8c5a));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 10px;
    background: rgba(240, 101, 33, 0.1);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-medium);
    margin-bottom: 25px;
    max-width: 550px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-weight: var(--font-bold);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--dark-medium);
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    justify-content: flex-start;
}

.hero-image-wrapper {
    position: relative;
    padding: 0;
}

.hero-background-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(39, 120, 107, 0.05);
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image.desktop {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.25);
    transform: perspective(1000px) rotateY(-5deg) scale(1.15);
    margin-bottom: 35px;
    margin-left: -10%;
    margin-right: -10%;
}

.hero-image.mobile {
    position: absolute;
    z-index: 3;
    border-radius: 1.5rem;
    overflow: hidden;
    outline: 3px solid #ebebeb;
    box-shadow: 0 15px 30px -8px rgba(0,0,0,0.5);
    width: 150px;
    left: 0rem;
    bottom: -35px;
    transform: perspective(1000px) rotateY(-15deg) scale(1.15);
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(39, 120, 107, 0.05) 100%);
    z-index: 2;
}

.hero-image-overlay.mobile {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(240, 101, 33, 0.05) 100%);
}

.hero-decorative-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px dashed rgba(39, 120, 107, 0.2);
    top: -30px;
    left: -40px;
    z-index: 0;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--neutral-light);
    overflow: hidden;
}

.features-title-wrapper {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.features-badge {
    /* Features badge inherits global badge styles */
}

.features-heading {
    font-size: 36px;
    font-weight: var(--font-bold);
    margin-bottom: 24px;
    color: var(--dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-description {
    color: var(--dark-medium);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    position: relative;
    margin-bottom: 100px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-content {
    padding: 30px 0;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-bg), var(--primary-bg-strong));
    color: var(--primary);
    font-size: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-item:nth-child(even) .feature-icon {
    background: linear-gradient(135deg, var(--secondary-bg), var(--secondary-bg-strong));
    color: var(--secondary);
}

.feature-item:hover .feature-icon {
    transform: translateY(-5px) rotate(8deg);
    box-shadow: var(--shadow-md);
}

.feature-title {
    font-size: 24px;
    font-weight: var(--font-semibold);
    margin-bottom: 20px;
    color: var(--dark);
}

.feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-medium);
    margin-bottom: 24px;
}

.feature-image-container {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.feature-image-stack {
    position: relative;
    height: 100%;
    width: 100%;
}

.feature-image-wrapper {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.3s ease, filter 0.3s ease;
    width: 90%;
    height: auto;
    max-height: 90%;
    top: 5%;
    left: 5%;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image-wrapper:nth-child(1) {
    z-index: 3;
    transform: translateY(0) translateX(0) scale(1);
}

.feature-image-wrapper:nth-child(2) {
    z-index: 2;
    transform: translateY(-2.5rem) translateX(3rem) scale(0.95);
}

.feature-image-wrapper:nth-child(3) {
    z-index: 1;
    transform: translateY(-5rem) translateX(6rem) scale(0.9);
}

/* Hover effects */
.feature-image-wrapper {
    transition: box-shadow 0.3s ease, filter 0.3s ease, z-index 0s;
}

.feature-image-wrapper:hover {
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Special handling for mobile screenshots */
.feature-image-wrapper.mobile-screenshot {
    width: auto;
    max-height: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image-wrapper.mobile-screenshot .feature-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
}

.feature-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: var(--radius-lg);
    transition: all 0.5s ease;
    object-fit: contain;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(39, 120, 107, 0.05) 100%);
    z-index: 1;
}

.feature-item:nth-child(even) .feature-overlay {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(240, 101, 33, 0.05) 100%);
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--primary);
    font-weight: var(--font-semibold);
    font-size: 15px;
    padding: 0;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-item:nth-child(even) .feature-btn {
    color: var(--secondary);
}

.feature-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.feature-btn:hover {
    opacity: 0.8;
}

.feature-btn:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .feature-image-container {
        height: 350px;
        margin: 30px 0;
    }
    
    .feature-content-wrapper {
        order: 1;
    }
    
    .feature-item:nth-child(even) .feature-content-wrapper {
        order: 2;
    }
    
    .feature-image-container {
        order: 2;
    }
    
    .feature-item:nth-child(even) .feature-image-container {
        order: 1;
    }
    
    .feature-image-wrapper:nth-child(1),
    .feature-image-wrapper:nth-child(2),
    .feature-image-wrapper:nth-child(3),
    .feature-item:nth-child(even) .feature-image-wrapper:nth-child(1),
    .feature-item:nth-child(even) .feature-image-wrapper:nth-child(2),
    .feature-item:nth-child(even) .feature-image-wrapper:nth-child(3) {
        transform: translateY(0) translateX(0) scale(1);
        position: absolute;
        top: 5%;
        left: 5%;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    
    .feature-image-wrapper:nth-child(1) {
        opacity: 1;
    }
    
    /* Mobile screenshot adjustments for tablet */
    .feature-image-wrapper.mobile-screenshot {
        width: 40%;
        left: 30%;
    }
}

@media (max-width: 767px) {
    .feature-image-container {
        height: 250px;
    }
    
    /* Mobile screenshot adjustments for mobile */
    .feature-image-wrapper.mobile-screenshot {
        width: 50%;
        left: 25%;
    }
    
    .feature-image-wrapper.mobile-screenshot .feature-image {
        max-height: 230px;
    }
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--neutral-light);
    overflow: hidden;
}

.faq-shape {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.1;
    z-index: 1;
    max-height: 100%;
}

.faq-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.faq-badge {
    /* FAQ badge inherits global badge styles */
}

.faq-heading {
    font-size: 36px;
    font-weight: var(--font-bold);
    margin-bottom: 24px;
    color: var(--dark);
}

.faq-description {
    color: var(--dark-medium);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    position: relative;
    z-index: 2;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: var(--dark);
    font-size: 17px;
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: var(--radius-md);
}

.faq-button:focus {
    outline: none;
}

.faq-button:not(.collapsed) {
    color: var(--primary);
    background: linear-gradient(90deg, var(--primary-bg) 0%, rgba(255,255,255,0) 100%);
}

.faq-button-icon {
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-circle);
    background-color: var(--primary-bg);
    color: var(--primary);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.faq-button:not(.collapsed) .faq-button-icon {
    background-color: var(--primary);
    color: white;
}

.faq-button-icon i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-button:not(.collapsed) .faq-button-icon i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 25px 20px 70px;
    color: var(--dark-medium);
}

/* FAQ Animation */
.accordion-collapse {
    transition: all 0.35s ease;
}

/* Even items styling */
.faq-item:nth-child(even) .faq-button:not(.collapsed) {
    color: var(--secondary);
    background: linear-gradient(90deg, var(--secondary-bg) 0%, rgba(255,255,255,0) 100%);
}

.faq-item:nth-child(even) .faq-button-icon {
    background-color: var(--secondary-bg);
    color: var(--secondary);
}

.faq-item:nth-child(even) .faq-button:not(.collapsed) .faq-button-icon {
    background-color: var(--secondary);
    color: white;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--neutral-bg) 0%, #f1f5f4 100%);
    overflow: hidden;
}

.team-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-bg-medium) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    left: -100px;
    z-index: 1;
}

.team-section::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary-bg-medium) 0%, rgba(255,255,255,0) 70%);
    bottom: -100px;
    right: -100px;
    z-index: 1;
}

.team-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.team-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-colored);
}

.team-heading {
    /* Team heading inherits from global styles */
}

.team-description {
    color: var(--dark-medium);
    max-width: 600px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

.team-grid {
    margin-top: 30px;
}

.team-card {
    position: relative;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    background: var(--neutral-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    overflow: hidden;
    transform: translateY(0);
}


.team-card:hover {
    transform: translateY(-10px);
}

.team-card-inner {
    position: relative;
}

.team-image-wrapper {
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-bg-strong) 0%, var(--primary-bg) 100%);
}


.team-image-container {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-circle);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 4px solid var(--neutral-light);
    transition: all 0.3s ease;
}

.team-card:hover .team-image-container {
    transform: scale(1.05);
    border-width: 4px;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-info {
    padding: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.team-name {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: var(--font-bold);
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.team-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}


.team-card:hover .team-name::after {
    width: 70%;
}

.team-position {
    font-size: 14px;
    color: var(--primary);
    margin: 0;
    font-weight: var(--font-medium);
}


.team-email-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px auto 0;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.team-card:nth-child(4n+1) .team-email-btn {
    background: linear-gradient(to right, var(--primary-light), var(--primary));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-card:nth-child(4n+2) .team-email-btn {
    background: linear-gradient(to right, var(--secondary-light), var(--secondary));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-card:nth-child(4n+3) .team-email-btn {
    background: linear-gradient(to right, var(--accent-light), var(--accent));
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:nth-child(4n+4) .team-email-btn {
    background: linear-gradient(to right, #7E4732, var(--brown-accent));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-email-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}


/* Updated background styles - removed shapes */
.team-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    z-index: 1;
    opacity: 0;
    transition: all 0.5s ease;
}

.team-card .team-image-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    height: 40%;
    width: 40%;
    background: linear-gradient(135deg, var(--secondary) 0%, transparent 80%);
    border-radius: 0 20px 0 50%;
    opacity: 0.2;
    z-index: -1;
    transition: all 0.5s ease;
}

.team-card:hover .team-image-wrapper::before {
    opacity: 1;
}


.team-card:hover .team-image-wrapper::after {
    opacity: 0.4;
    transform: scale(1.1);
}

.team-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.team-card:hover .team-image-container {
    box-shadow: var(--shadow-lg);
}

/* Enhanced team card styles */
.team-card-inner {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: var(--radius-lg);
}

.team-card:hover .team-card-inner {
    transform: translateY(-5px);
}

.team-info {
    position: relative;
    z-index: 2;
    padding-top: 15px;
}

.team-card .team-email-btn {
    margin-top: 15px;
}

/* Module Card */
.module-card {
    padding: 15px;
    background: var(--neutral-light);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--neutral-medium);
}

.module-card:hover {
    box-shadow: var(--shadow-md);
}

.module-card.active {
    box-shadow: 0 4px 20px rgba(240, 101, 33, 0.15);
    border-left: 3px solid var(--secondary);
}

/* Price Calculator */
.pricing-calculator {
    overflow: hidden;
    margin-bottom: 60px;
}

.calculator-header {
    padding: 40px;
    position: relative;
}

.calculator-header-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.calculator-header-circle-1 {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    top: -20px;
    right: -20px;
}

.calculator-header-circle-2 {
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.05);
    bottom: -50px;
    left: -50px;
}

.calculator-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.price-display {
    padding: 16px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 200px;
}

.price-title {
    font-size: 14px;
    margin-bottom: 4px;
}

.price-value {
    font-size: 32px;
    display: flex;
    align-items: center;
}

.calculator-body {
    padding: 40px;
}

/* Base Package */
.base-package {
    padding: 25px;
    height: 100%;
}

.package-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.package-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    border-radius: 10px;
}

.package-icon i {
    font-size: 20px;
}

.package-title {
    margin: 0;
    font-size: 20px;
}

.package-card {
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
}

.package-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.package-card-title {
    font-size: 16px;
    margin: 0;
}

.package-card-subtitle {
    font-size: 14px;
    margin: 5px 0 0 0;
}

.package-card-price {
    font-weight: var(--font-bold);
}

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

.feature-list-item {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

.feature-list-item:last-child {
    margin-bottom: 0;
}

.feature-list-icon {
    margin-right: 8px;
    font-size: 14px;
    margin-top: 3px;
}

/* User Count */
.user-count-container {
    padding: 0 15px 15px 15px;
}

.user-count-label {
    display: block;
    font-size: 15px;
    margin-bottom: 10px;
}

.user-count-controls {
    display: flex;
    align-items: center;
}

.user-count-btn {
    width: 40px;
    height: 40px;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.user-count-btn-dec {
    border-radius: 8px 0 0 8px;
}

.user-count-btn-inc {
    border-radius: 0 8px 8px 0;
}

.user-count-input {
    width: 60px;
    height: 40px;
    border: 1px solid var(--neutral-medium);
    text-align: center;
    font-size: 16px;
    border-left: none;
    border-right: none;
}

.user-count-price {
    margin-left: 15px;
    font-size: 14px;
}

.user-count-info {
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Module Selection */
.module-container {
    padding: 25px;
    height: 100%;
}

/* Calculator Footer */
.calculator-footer {
    padding: 30px 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content {
    max-width: 60%;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.footer-subtitle {
    font-size: 14px;
    margin: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero-section {
    padding: 160px 0 60px;
}

.hero-content {
    position: relative;
}

.hero-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(39, 120, 107, 0.1);
    top: -30px;
    left: -20px;
    z-index: 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(39, 120, 107, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a2e;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.hero-highlight {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: #4a4a68;
    line-height: 1.6;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stat-value {
    color: var(--secondary);
    font-weight: 700;
    font-size: 24px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--brown-accent);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    justify-content: flex-start;
}

.hero-image-wrapper {
    position: relative;
}

.hero-bg-shape {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(39, 120, 107, 0.05);
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    z-index: 0;
}

.hero-desktop {
    position: relative;
    z-index: 2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.25);
    transform: perspective(1000px) rotateY(-5deg) scale(1.15);
    margin-bottom: 35px;
    margin-left: -10%;
    margin-right: -5%;
}

.hero-desktop img {
    width: 100%;
}

.hero-desktop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(39, 120, 107, 0.05) 100%);
    z-index: 2;
}

.hero-mobile {
    position: absolute;
    z-index: 3;
    border-radius: 1.5rem;
    overflow: hidden;
    outline: 3px solid #ebebeb;
    box-shadow: 0 15px 30px -8px rgba(0,0,0,0.25);
    width: 150px;
    right: 10px;
    bottom: -35px;
    transform: rotate(8deg);
}

.hero-mobile img {
    width: 100%;
}

.hero-mobile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(240, 101, 33, 0.05) 100%);
    z-index: 2;
}

.hero-deco-circle1 {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px dashed rgba(39, 120, 107, 0.2);
    top: -30px;
    left: -40px;
    z-index: 0;
}

.hero-deco-circle2 {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(240, 101, 33, 0.2);
    bottom: 50px;
    right: 70px;
    z-index: 0;
}

.hero-deco-circle3 {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary);
    top: 70px;
    right: 50px;
    z-index: 0;
}

/* Custom styling for select dropdown to match other form fields */
.ud-contact-form-wrapper .ud-form-group select {
    display: block;
    width: 100%;
    padding: 15px 0;
    border: none;
    outline: none;
    border-bottom: 1px solid var(--neutral-medium);
    background-color: transparent;
    cursor: pointer;
    color: var(--dark);
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888888' d='M10.3 3.3L6 7.6 1.7 3.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4l5 5c.2.2.5.3.7.3s.5-.1.7-.3l5-5c.4-.4.4-1 0-1.4s-1-.4-1.4 0z'/%3E%3C/svg%3E");
    background-position: right 4px center;
    background-repeat: no-repeat;
    background-size: 12px;
    padding-right: 20px;
}

/* Media Queries */
@media (max-width: 991px) {
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-desktop {
        margin-left: 0;
        margin-right: 0;
        transform: perspective(1000px) rotateY(-5deg) scale(1);
    }
    
    .hero-mobile {
        width: 120px;
    }
    
    .calculator-header {
        padding: 30px;
    }
    
    .calculator-body {
        padding: 30px;
    }
    
    .footer-content {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .price-display {
        min-width: 150px;
        padding: 12px 20px;
    }
    
    .price-value {
        font-size: 24px;
    }
}

/* ===== Modern Contact Section ===== */
.contact-section {
    position: relative;
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(var(--primary-rgb), 0.15);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.contact-info-wrapper {
    padding: 40px;
    border-radius: 20px 20px 0 0;
    background: rgba(var(--neutral-rgb), 0.05);
    border-bottom: 2px dashed rgba(var(--primary-rgb), 0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.contact-info-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.3s ease;
}

.contact-info-item:nth-child(2) .contact-info-icon::before {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.contact-info-item:nth-child(3) .contact-info-icon::before {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

.contact-info-item:hover .contact-info-icon::before {
    transform: scale(1.1);
}

.contact-info-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-info-content p, 
.contact-info-content a {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--primary);
    text-decoration: none;
}

.contact-form-wrapper {
    padding: 40px;
    background: white;
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary);
    padding-bottom: 10px;
    position: relative;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.contact-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-form .form-control {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: rgba(var(--neutral-rgb), 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.contact-form .form-label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    border-radius: 4px;
    transition: color 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: var(--text-light);
}

.contact-form textarea.form-control {
    resize: none;
    min-height: 120px;
}

.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.contact-form .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
    gap: 10px;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.contact-form .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
}

.contact-form .submit-btn:hover::before {
    opacity: 1;
}

.contact-form .submit-btn i {
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form .submit-btn:hover i {
    transform: translateX(5px);
}

.contact-map-wrapper {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
    position: relative;
}

.contact-map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 16px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 992px) {
    .contact-info-wrapper {
        border-radius: 20px;
        margin-bottom: 30px;
    }
    
    .contact-form-wrapper {
        border-radius: 20px;
    }
}

/* ===== Modern Footer ===== */
.modern-footer {
    position: relative;
    background-color: var(--white);
    padding-top: 80px;
    overflow: hidden;
    z-index: 1;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0.07) 100%);
    z-index: -1;
}

.modern-footer .footer-top {
    position: relative;
}

.modern-footer .footer-top::before {
    content: '';
    position: absolute;
    top: -6rem;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    border-radius: 0 0 4px 4px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-desc {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-social a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.2);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary);
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

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

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

.footer-links li a {
    color: var(--text-medium);
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-links li a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--primary);
    margin-right: 0;
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    width: 15px;
    margin-right: 8px;
    opacity: 1;
}

.footer-brands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-brands li {
    margin-bottom: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.footer-brand img {
    max-width: 100%;
    height: auto;
    max-height: 30px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(var(--primary-rgb), 0.15);
}

.footer-brand:hover img {
    opacity: 1;
}

.footer-bottom {
    background: white;
    padding: 25px 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.footer-copyright {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.footer-copyright li a {
    color: var(--text-medium);
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-copyright li a:hover {
    color: var(--primary);
}

.footer-credit {
    text-align: right;
    color: var(--text-medium);
    font-size: 15px;
    margin: 0;
}

.footer-credit a {
    color: var(--secondary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

@media (max-width: 992px) {
    .footer-brands {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .footer-copyright {
        margin-bottom: 15px;
    }
    
    .footer-credit {
        text-align: left;
    }
}

/* ===== Modal Styles ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
    max-height: 96%;
    overflow: auto;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: var(--dark);
    font-weight: 600;
    background-image: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-medium);
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    margin-top: 0;
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.6;
}

.modal-footer {
    padding: 20px 30px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-btn-secondary {
    background-color: #f5f5f5;
    color: var(--text-dark);
    border: none;
}

.modal-btn-secondary:hover {
    background-color: #ebebeb;
}

.modal-btn-primary {
    background-image: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.modal-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

@media (max-width: 767px) {
    .modal-container {
        width: 95%;
        max-width: 450px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .modal-btn {
        flex: 1;
        text-align: center;
        min-width: 120px;
    }
}
