:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== PROMOTIONAL BANNER ==================== */
.promo-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, #dc2626 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1000;
}

.promo-banner .coupon-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-banner .coupon-code:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== HEADER & NAVIGATION ==================== */
.main-header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.navbar .container-fluid {
    padding: 0 24px;
    max-width: 100%;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav {
    gap: 24px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--light-bg);
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Dropdown Mega Menu */
.dropdown-mega {
    position: static;
}

.dropdown-mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 30px;
}

.mega-menu-column {
    padding: 0 15px;
}

.mega-menu-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.mega-menu-item {
    display: block;
    padding: 8px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.mega-menu-item:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn,
.cart-btn,
.signin-btn {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.search-btn:hover,
.cart-btn:hover {
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.signin-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.signin-btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-cta {
    display: inline-flex;
    gap: 15px;
}

.btn-primary-custom {
    background: var(--accent-color);
    color: white;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    color: white;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-size: 16px;
    display: inline-block;
}

.btn-secondary-custom:hover {
    background: white;
    color: var(--primary-color);
}

/* ==================== FEATURE BADGES ==================== */
.feature-badges {
    background: white;
    padding: 40px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.badge-item {
    text-align: center;
    padding: 20px;
}

.badge-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.badge-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.badge-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ==================== ACCREDITATION SECTION (REDESIGN) ==================== */
.accreditation-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
    padding: 60px 0;
}

.accreditation-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.accreditation-subtitle {
    color: var(--text-light);
    margin-bottom: 12px;
}

.accreditation-text {
    color: var(--text-light);
}

.accreditation-bullets {
    list-style: none;
    list-style-type: none;
    list-style-image: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.accreditation-bullets li {
    list-style: none;
    list-style-type: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.accreditation-bullets i {
    color: #16a34a;
    font-size: 16px;
    margin-right: 10px;
}

.accreditation-bullets span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    padding: 80px 0;
    min-height: 400px;
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: var(--dark-bg);
    color: #94a3b8;
    padding: 60px 0 20px;
}

.footer-column h5 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

.trustpilot-section {
    margin-top: 30px;
    text-align: center;
}

.trustpilot-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 10px;
}

.stars {
    color: #00b67a;
    font-size: 20px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .dropdown-mega-menu {
        position: relative;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
        padding: 20px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .header-actions {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        text-align: center;
    }

    .badge-item {
        margin-bottom: 20px;
    }
}

/* ==================== BOOTSTRAP OVERRIDES ==================== */
/* Ensure Bootstrap components match the template's design system */

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    font-weight: 700;
}

.card-body {
    padding: 25px;
}

.card-footer {
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
    padding: 15px 25px;
}

/* Forms */
.form-control {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Typography Overrides */
/* Removed global heading color override to allow section-specific colors (like Hero section) to inherit correctly */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}
