@font-face {
    font-family: "Twemoji Country Flags";
    src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.4/dist/CountryFlagEmojiPolyfill.ttf") format("truetype");
    unicode-range: U+1F1E6-1F1FF;
}

:root {
    --primary-navy: #262261;
    --primary-navy-dark: #1b1845;
    --secondary-red: #EE4036;
    --secondary-red-hover: #d6362d;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    
    --font-heading: 'Outfit', "Twemoji Country Flags", sans-serif;
    --font-body: 'Inter', "Twemoji Country Flags", sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text-dark); line-height: 1.6; background-color: var(--bg-light); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--primary-navy); line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-8 { margin-top: 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; font-family: var(--font-body); cursor: pointer; border: none; }
.btn-primary { background-color: var(--secondary-red); color: var(--bg-white); box-shadow: 0 4px 14px rgba(238, 64, 54, 0.4); }
.btn-primary:hover { background-color: var(--secondary-red-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(238, 64, 54, 0.5); }
.btn-secondary { background-color: transparent; color: var(--primary-navy); border: 2px solid var(--primary-navy); }
.btn-secondary:hover { background-color: rgba(38,34,97,0.05); }

/* Header */
.main-header { background-color: var(--bg-white); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); padding: 10px 0; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--primary-navy); letter-spacing: -0.5px; }
.header-actions { display: flex; gap: 20px; align-items: center; }
.nav-action { display: flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.action-call { color: var(--primary-navy); }
.action-call:hover { color: var(--secondary-red); }
.action-wa { color: #25D366; }
.action-wa:hover { color: #128C7E; }
.nav-cta { padding: 10px 20px !important; font-size: 14px !important; }

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(38, 34, 97, 0.92) 0%, rgba(27, 24, 69, 0.92) 100%), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 40px 0 50px;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.hero-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content h1 { color: var(--bg-white); font-size: 48px; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.hero-content .subtitle { font-size: 20px; font-weight: 500; margin-bottom: 16px; color: rgba(255,255,255,0.9); }
.hero-content .description { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.trust-indicators { list-style: none; margin-bottom: 40px; }
.trust-indicators li { position: relative; padding-left: 28px; margin-bottom: 12px; font-weight: 500; }
.trust-indicators li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary-red); font-weight: bold; }
.hero-ctas { display: flex; gap: 16px; }

/* Form */
.form-card { background: var(--bg-white); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-xl); color: var(--text-dark); }
.form-card h3 { font-size: 24px; margin-bottom: 8px; color: var(--primary-navy); }
.form-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--primary-navy); }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid var(--border-light); border-radius: 8px; font-family: var(--font-body); font-size: 15px; transition: all 0.2s; background: #f9fafb; }
.form-control:focus { outline: none; border-color: var(--primary-navy); background: var(--bg-white); box-shadow: 0 0 0 3px rgba(38, 34, 97, 0.1); }
/* Custom Select Dropdown for Phone Flags */
.phone-container {
    display: flex;
    gap: 8px;
    position: relative;
    width: 100%;
}
.custom-select-wrapper {
    position: relative;
    width: 120px;
    flex-shrink: 0;
    user-select: none;
}
.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    background: #f9fafb;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    height: 100%;
}
.custom-select-trigger:focus {
    outline: none;
    border-color: var(--primary-navy);
}
.custom-select-trigger .flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 10;
    max-height: 250px;
    overflow-y: auto;
}
.custom-options.open {
    display: block;
}
.custom-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
    color: var(--text-dark);
}
.custom-option:hover {
    background: rgba(38, 34, 97, 0.05);
}
.custom-option .flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
/* Sections */
section { padding: 35px 0; }
.section-light { background-color: var(--bg-white); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 25px; }
.section-header h2 { font-size: 32px; margin-bottom: 8px; }
.section-header p { color: var(--text-muted); font-size: 18px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Cards */
.card { background: var(--bg-white); padding: 32px; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: transform 0.3s ease; height: 100%; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.icon-wrapper { width: 50px; height: 50px; background: rgba(38,34,97,0.05); color: var(--primary-navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon-wrapper.red { background: rgba(238,64,54,0.1); color: var(--secondary-red); }
.card h3 { font-size: 20px; margin-bottom: 12px; }

/* Problem List */
.problem-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 auto 40px; max-width: 800px; }
.problem-list li { display: flex; align-items: center; gap: 12px; background: var(--bg-white); padding: 16px; border-radius: 8px; border: 1px solid var(--border-light); font-weight: 500; }
.problem-list li svg { color: var(--secondary-red); flex-shrink: 0; }

/* Steps */
.step-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* Scroll Animation Base */
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}
.step-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.step-card.animate-in:nth-child(1) { transition-delay: 0.1s; }
.step-card.animate-in:nth-child(2) { transition-delay: 0.25s; }
.step-card.animate-in:nth-child(3) { transition-delay: 0.4s; }
.step-card.animate-in:nth-child(4) { transition-delay: 0.55s; }

.step-card:hover {
    transform: translateY(-8px) !important; /* override layout transform on hover */
    box-shadow: var(--shadow-lg);
    border-color: rgba(38, 34, 97, 0.2);
}
/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(38, 34, 97, 0.92) 0%, rgba(27, 24, 69, 0.92) 100%), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    text-align: center;
}
.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(38, 34, 97, 0.3);
    border: 3px solid var(--bg-white);
    outline: 2px solid var(--primary-navy);
    transition: all 0.3s ease;
}
.step-card:hover .step-number {
    background: var(--secondary-red);
    outline-color: var(--secondary-red);
    box-shadow: 0 4px 10px rgba(238, 64, 54, 0.3);
}
.step-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-navy);
    font-weight: 700;
}
.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Target Audience */
.audience-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.audience-chip { background: var(--bg-white); border: 1px solid var(--border-light); padding: 12px 24px; border-radius: 30px; font-weight: 600; color: var(--primary-navy); display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); }

/* Placeholders */
.placeholder-box { background: #f1f5f9; border: 2px dashed #cbd5e1; border-radius: 12px; padding: 40px; text-align: center; color: var(--text-muted); font-weight: 500; }

/* Footer */
.main-footer { background: var(--bg-white); color: var(--text-dark); padding: 60px 0 20px; border-top: 1px solid var(--border-light); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--border-light); padding-bottom: 30px; margin-bottom: 30px; }
.footer-brand { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--primary-navy); }
.footer-links-wrapper { display: flex; gap: 80px; flex-wrap: wrap; margin-left: auto; justify-content: flex-end; }
.footer-contact p { margin-bottom: 5px; color: var(--text-muted); }
.footer-contact a { color: var(--primary-navy); text-decoration: none; font-weight: 500; }
.footer-contact a:hover { color: var(--secondary-red); }
.footer-legal { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 14px; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: var(--text-muted); text-decoration: none; }
.legal-links a:hover { color: var(--primary-navy); }

/* Responsive */
@media (max-width: 992px) {
    .hero-split { grid-template-columns: 1fr; gap: 40px; }
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .action-text { display: none; }
    .nav-cta { display: none; }
    .grid-2, .grid-3, .grid-4, .problem-list { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .footer-content, .footer-legal { flex-direction: column; text-align: center; gap: 30px; align-items: center; }
    .footer-links-wrapper { flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-left: 0; width: 100%; gap: 35px; }
    .footer-services, .footer-contact { text-align: center !important; }
    section { padding: 20px 0; }
}

/* Responsive Grid Overrides */
.problem-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: 50px;
}
.problem-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
.audience-grid-custom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .problem-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .audience-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .audience-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .problem-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Testimonial Carousel Styles */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: 100%;
    padding: 10px 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}
.carousel-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari/Edge */
}
.carousel-slide {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
}
@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 12px);
    }
}
@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary-navy);
    z-index: 5;
    transition: all 0.3s;
}
.carousel-nav:hover {
    background: var(--primary-navy);
    color: var(--bg-white);
}
.carousel-nav.prev {
    left: -22px;
}
.carousel-nav.next {
    right: -22px;
}
@media (max-width: 1240px) {
    .carousel-nav.prev { left: 5px; }
    .carousel-nav.next { right: 5px; }
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-dot.active {
    background: var(--primary-navy);
    transform: scale(1.2);
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-card {
    transform: scale(1);
}
.modal-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-navy);
}
.modal-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    line-height: 1;
}
.modal-close:hover {
    color: var(--secondary-red);
}

/* Sticky Contact Widgets */
.sticky-contact-widgets {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.sticky-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.sticky-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.sticky-call {
    background-color: var(--primary-navy);
}
.sticky-whatsapp {
    background-color: #25D366;
}
@media (max-width: 768px) {
    .sticky-contact-widgets {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    .sticky-btn {
        width: 50px;
        height: 50px;
    }
}

/* Polished Problem Section Cards */
.problem-card {
    padding: 24px;
    background: #f1f1f1;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(38, 34, 97, 0.08);
}
.problem-card h4 {
    margin: 0;
    color: var(--primary-navy);
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.problem-card h4 svg {
    color: var(--secondary-red);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.problem-card:hover h4 svg {
    color: var(--primary-navy);
    transform: scale(1.15) rotate(5deg);
}
.problem-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
}
.brand-image-container {
    position: relative;
    border: 8px solid white;
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;
}
.brand-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 40px rgba(38, 34, 97, 0.08);
    pointer-events: none;
}
.brand-image-container:hover {
    transform: scale(1.02) rotate(-0.5deg);
    box-shadow: var(--shadow-xl);
}

/* Redesigned Services Cards */
.service-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
    text-align: left;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(38, 34, 97, 0.08);
    border-color: rgba(38, 34, 97, 0.1);
}
.service-card-img-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #f1f5f9;
}
.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img {
    transform: scale(1.08);
}
.service-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}
.service-card h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin: 0;
    font-weight: 700;
}
.service-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}


