/* ======================================
   Modern Landing Page Redesign CSS
   ====================================== */

/* ======= Global Styles ======= */
:root {
    --primary-color: #F16022; /* Brand Orange */
    --secondary-color: #2563EB; /* Accent Blue */
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #1a1a1a;
    --muted-text: #6b7280;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --glow-primary: 0 10px 25px rgba(241, 96, 34, 0.35);
    --transition: all 0.3s ease;
}

/* Typography */
body, .btn, .section-title, .section-subtitle, .hero-title, .hero-subtitle, .feature-title {
    font-family: 'Inter', 'Poppins', 'Nunito', sans-serif;
}

/* Buttons (brand + accent) */
.btn-brand {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--glow-primary);
}
.btn-brand:hover { opacity: 0.95; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(241,96,34,.45); }

.btn-accent {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}
.btn-accent:hover { opacity: 0.95; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,99,235,.45); }

/* Override Bootstrap primary to brand */
.btn-primary { background-color: var(--primary-color) !important; border-color: var(--primary-color) !important; }
.btn-primary:hover { filter: brightness(0.95); }

/* Secondary CTA (outlined to solid on hover) */
.btn-outline-light { color: var(--secondary-color) !important; border-color: var(--secondary-color) !important; background: transparent !important; }
.btn-outline-light:hover { color: #fff !important; background: var(--secondary-color) !important; border-color: var(--secondary-color) !important; box-shadow: 0 10px 25px rgba(37,99,235,.35); }

/* ======= Enhanced Hero Section ======= */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(241, 96, 34, 0.9), rgba(255, 169, 120, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--box-shadow);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-title .text-primary { color: var(--primary-color) !important; }

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-actions .btn {
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
    text-align: center;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 30%;
    left: -5%;
    animation-delay: 1s;
}

.floating-3 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--glow-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark-color);
    backdrop-filter: blur(10px);
}
.floating-card:hover { box-shadow: 0 14px 36px rgba(241,96,34,.45); }

.floating-card i {
    font-size: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-link {
    display: inline-block;
    padding: 10px;
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.scroll-link:hover {
    color: var(--secondary-color);
    transform: translateX(-50%) scale(1.1);
}

/* ======= Animations ======= */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* ======= Section Styling ======= */
.section-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
}

.bg-primary-light {
    background-color: rgba(251, 86, 7, 0.1) !important;
}

.bg-success-light {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.bg-info-light {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

/* ======= Features Section ======= */
.modern-features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #eef2f7 100%);
}

.feature-card {
    height: 100%;
    transition: var(--transition);
}

.feature-card-inner {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(241,96,34,0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover .feature-card-inner {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(241,96,34,.25);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    position: relative;
    width: 104px;
    height: 104px;
    margin: 0 auto 30px;
}

.feature-icon-wrapper:after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(241,96,34,.15);
    transition: var(--transition);
}

.feature-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.18;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-bg {
    opacity: 0.3;
    transform: scale(1.06);
}
.feature-card:hover .feature-icon-wrapper:after { box-shadow: 0 0 0 3px rgba(241,96,34,.25); }

.feature-icon {
    width: 64px;
    height: 64px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: translate(-50%, -50%) scale(1.08);
}

.feature-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted-text);
    margin: 0;
}

.feature-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.feature-card:hover .feature-hover-effect {
    left: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
}

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

/* ======= About Section ======= */
.modern-about {
    padding: 100px 0;
}

.feature-points .feature-point {
    font-size: 1rem;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-container {
    position: relative;
}

.about-main-image {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ======= Zones Section ======= */
.modern-zones {
    padding: 100px 0;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.zone-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.zone-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.zone-name {
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
}

.zone-status {
    font-size: 0.85rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
}

.coverage-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.badge-label {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

.coverage-stats .stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--muted-text);
}

/* ======= Header / Navigation ======= */
header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.menu > li > a {
    color: #111827;
    font-weight: 600;
    position: relative;
}
.menu > li > a:hover { color: var(--primary-color); }
.menu > li > a:after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--primary-color);
    transition: width .25s ease;
}
.menu > li > a:hover:after { width: 100%; }

/* Join Us button */
.header-wrapper .btn-base, .dropdown--btn {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 9999px !important;
    padding: 10px 18px !important;
    box-shadow: var(--glow-primary);
}
.header-wrapper .btn-base:hover, .dropdown--btn:hover { opacity:.95; transform: translateY(-1px); }

/* Mobile menu slide-in */
@media (max-width: 991.98px) {
    .menu {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh; width: 280px;
        background: #ffffff;
        box-shadow: -10px 0 30px rgba(0,0,0,.08);
        padding: 80px 20px 20px;
        flex-direction: column;
        gap: 10px;
        transition: right .3s ease;
    }
    .menu.active { right: 0; }
}

/* ======= Testimonials ======= */
.client-section { background: #f6f7fb; }

/* ======= Newsletter & Footer ======= */
.newsletter-section { background: linear-gradient(135deg, rgba(241,96,34,.08), rgba(37,99,235,.08)); }
.newsletter-section .search-btn { background: var(--secondary-color); border-radius: 12px; }

.footer-bg { background: #1a1a1a; color: #e5e7eb; }
.footer-bg a { color: #cbd5e1; }
.footer-bg a:hover { color: var(--primary-color); }
.social-icon .social-btn { color: #cbd5e1; }
.social-icon .social-btn:hover { color: var(--primary-color); }

/* ======= Our Platform Section ======= */
.platform-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border-top: 1px solid rgba(0,0,0,.04);
}
.platform-section .section-header .title .text-base { color: var(--dark-color); }

.nav--tabs { display: flex; justify-content: center; gap: 16px; border: 0; margin-bottom: 28px; }
.nav--tabs .nav-link {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 9999px;
    padding: 10px 16px;
    background: #fff;
    color: #111827;
    font-weight: 600;
    transition: var(--transition);
}
.nav--tabs .nav-link img { width: 20px; height: 20px; margin-right: 8px; }
.nav--tabs .nav-link.active, .nav--tabs .nav-link:hover {
    background: rgba(241,96,34,.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab--content .platform-content .subtitle { color: var(--dark-color); font-weight: 700; }
.tab--content .platform-content p { color: var(--muted-text); }
.platform-content .btn-base { background: var(--primary-color); border-radius: 10px; }
.platform-content .btn-base:hover { opacity:.95; transform: translateY(-2px); }

.platform-img { position: relative; }
.platform-img img.svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.08)); }

.overlay-cards { position: absolute; inset: 0; pointer-events: none; }
.overlay-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 10px 14px;
    display: flex; align-items: center; gap: 8px;
}
.overlay-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary-color); box-shadow: 0 0 0 3px rgba(241,96,34,.15); }
.overlay-card .label { font-weight: 600; color: #111827; }

/* positions for overlay cards */
.overlay-card.card-1 { top: 10%; left: -10px; }
.overlay-card.card-2 { bottom: 18%; right: -10px; }
.overlay-card.card-3 { top: 45%; left: 50%; transform: translateX(-50%); }

@media (max-width: 991.98px) {
    .overlay-card { transform: none; left: auto; right: auto; }
    .overlay-card.card-1 { top: 4%; left: 8px; }
    .overlay-card.card-2 { bottom: 6%; right: 8px; }
    .overlay-card.card-3 { top: auto; bottom: 40%; left: 50%; transform: translateX(-50%); }
}

/* ======= Responsive Design ======= */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .floating-element {
        display: none;
    }

    .zones-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .modern-about,
    .modern-zones {
        padding: 60px 0;
    }
}

@media (max-width: 575.98px) {
    .hero-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .coverage-badge {
        position: static;
        margin-top: 20px;
    }
}

/* ======= Utility Classes ======= */
.shadow-soft {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

.shadow-strong {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.border-radius-lg {
    border-radius: 16px !important;
}

.border-radius-xl {
    border-radius: 24px !important;
}
