:root {
    --mainColor: #8B1A1A;
    --navyColor: #1B2D50;
    --secondryColor: #FFFFFF;
    --iconBG: #f5dede;
    --textColor:#f0f1f4;
    --headerColor: #000000e3;
    --paragraphColor: rgb(99, 99, 99);

    /* Design system */
    --radius-card: 12px;
    --radius-button: 6px;
    --radius-input: 8px;

    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.25);

    --section-padding-desktop: 90px;
    --section-padding-mobile: 60px;
}
.tangerine-bold {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background-color: var(--secondryColor);
    color: var(--headerColor);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.container {
    width: 100%;
    margin: 0;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--mainColor);
    letter-spacing: 1px;
    z-index: 1001;
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    line-height: 1.2;
}

.logo-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--mainColor);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-fullname {
    font-size: 10px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
@media (max-width: 600px) {
  .logo img {
    height: 50px;
  }
  .logo-text {
    max-width: 140px;
  }
  .logo-fullname {
    white-space: normal !important;
    font-size: 9px;
    max-width: 140px;
    overflow-wrap: break-word;
  }
}
@media (max-width: 400px) {
 .logo { gap: 6px; }
.logo img { height: 32px; }
.logo-text { max-width: 180px; }
.logo-fullname { font-size: 8px; max-width: 180px; }
.logo { flex-shrink: 1; min-width: 0; }
.logo-text { min-width: 0; overflow: hidden; }.container { flex-wrap: wrap; row-gap: 8px; }
}
.header-contact {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header-contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.header-contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 600;
}

.header-contact-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--navyColor);
    text-decoration: none;
}

.header-contact-value:hover,
.header-contact-value:focus-visible {
    color: var(--mainColor);
    outline: none;
}

header.scrolled {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background-color: #ffffff;
}


/* Dropdown Styles */
.dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 0 0 4px 4px;
    padding: 10px 0;
    list-style: none;
}

/* Show dropdown when parent has 'active' class */
.has-dropdowns.active > .dropdown {
    display: block;
}

.dropdown li a {
    color: #333333;
    padding: 12px 20px;
}

.dropdown li a:hover {
    background-color: var(--iconBG);
    color: var(--headerColor);
}
.has-dropdowns > a::after {
    content: ' ▼';
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.has-dropdowns.active > a::after {
    transform: rotate(180deg);
}

/* ============================================
   DESKTOP NAV (inline in header)
   ============================================ */
#nav-check  { display: none; }
.menu-toggle { display: none; }
.nav-backdrop { display: none; }
.mobile-nav { display: none; }

.desktop-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.desktop-nav ul li {
    position: relative;
}

.desktop-nav ul li a {
    position: relative;
    display: block;
    padding: 10px 16px;
    color: var(--headerColor);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.25s ease;
}

.desktop-nav ul li a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background-color: var(--mainColor);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.desktop-nav ul li a:hover { color: var(--navyColor); }
.desktop-nav ul li a:hover::after { transform: scaleX(1); }

#quoteNavBtn {
    background-color: var(--mainColor) !important;
    color: white !important;
    border-radius: var(--radius-button) !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    margin-left: 8px;
    box-shadow: 0 3px 10px rgba(139, 26, 26, 0.35);
}

.desktop-nav ul li a#quoteNavBtn::after { display: none; }

#quoteNavBtn:hover {
    background-color: #6b1313 !important;
    transform: translateY(-2px);
}

/* ============================================
   MOBILE SIDEBAR (≤ 1024px only)
   ============================================ */
@media (max-width: 1024px) {

    .header-contact { display: none; }
    .desktop-nav    { display: none; }

    /* Hamburger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        z-index: 2100;
        padding: 6px;
        border-radius: 6px;
        transition: background-color 0.2s ease;
    }

    .menu-toggle:hover { background-color: rgba(0,0,0,0.06); }

    .menu-toggle span {
        height: 2px;
        width: 24px;
        background-color: var(--headerColor);
        border-radius: 2px;
        display: block;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    #nav-check:checked ~ .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #nav-check:checked ~ .menu-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    #nav-check:checked ~ .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Backdrop */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background-color: rgba(10, 18, 40, 0.55);
        backdrop-filter: blur(2px);
        z-index: 1999;
        cursor: pointer;
        display: none;
    }

    #nav-check:checked ~ .nav-backdrop { display: block; }

    /* Sidebar */
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background-color: var(--navyColor);
        z-index: 2000;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        flex-direction: column;
        box-shadow: -8px 0 32px rgba(0,0,0,0.25);
    }

    #nav-check:checked ~ .mobile-nav { right: 0; }

    .sidebar-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        flex-shrink: 0;
    }

    .sidebar-logo { height: 56px; width: auto; }

    .sidebar-close {
        font-size: 28px;
        color: rgba(255,255,255,0.7);
        cursor: pointer;
        line-height: 1;
        padding: 4px 8px;
        border-radius: 6px;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .sidebar-close:hover {
        color: white;
        background-color: rgba(255,255,255,0.1);
    }

    .sidebar-contact {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 20px 20px 12px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        flex-shrink: 0;
    }

    .sidebar-contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 8px;
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    a.sidebar-contact-item:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .sidebar-contact-item i {
        width: 32px;
        height: 32px;
        background-color: rgba(255,255,255,0.12);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        flex-shrink: 0;
        color: white;
    }

    .mobile-nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        padding: 12px 12px 24px;
        gap: 2px;
    }

    .mobile-nav ul li { width: 100%; }

    .mobile-nav ul li a {
        display: block;
        padding: 13px 16px;
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .mobile-nav ul li a:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .mobile-nav #quoteNavBtn {
        background-color: var(--mainColor) !important;
        color: white !important;
        margin-top: 8px;
        font-weight: 700 !important;
        text-align: center;
        box-shadow: 0 3px 10px rgba(139, 26, 26, 0.4);
    }

    .mobile-nav #quoteNavBtn:hover { background-color: #a52020 !important; }
}
/* --- Desktop Styles (Existing) --- */
footer {
    background-color: #0d172b;
    color: #d5d9e5;
    padding-top: 40px;
}

#footer1 {
    display: flex;
    flex-direction: row;
    padding: 0 10%;
    padding-bottom: 24px;
    gap: 32px;
}

#box67 {
    padding: 10px 0;
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#box67 h6, #box68 h6, #box69 h6 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--mainColor);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

#box67 p {
    text-align: left;
    font-size: 14px;
    color: #c0c4d2;
    margin-bottom: 16px;
    font-weight: 400;
}

#box67 ul {
    list-style: none;
    padding: 0;
}

#box67 li {
    font-weight: 400;
    font-size: 14px;
    text-align: left;
    color: #c0c4d2;
    list-style: none;
    margin-bottom: 6px;
}

#box67 li a {
    color: #e2e6f3;
    text-decoration: none;
    transition: color 0.2s ease;
}

#box67 li a:hover,
#box67 li a:focus-visible {
    color: var(--mainColor);
    outline: none;
}

#box68 {
    flex: 1;
    padding: 10px 0;
}

#box68 h6 {
    text-align: center;
}

#box68 iframe {
    border-radius: var(--radius-card);
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-sm);
}

#box69 {
    flex: 1;
    padding: 10px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
}

#box69 ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

#box69 h6 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

#box69 a i {
    color: #e2e6f3;
    transition: color 0.2s ease, transform 0.2s ease;
}

#box69 a:hover i,
#box69 a:focus-visible i {
    color: var(--mainColor);
    transform: translateY(-2px);
    outline: none;
}

#regulatoryText {
    text-align: center;
    font-size: 12px;
    color: #a8afc4;
    padding: 12px 20px 4px;
    font-style: italic;
    border-top: 1px solid rgba(255,255,255,0.08);
}

#subFooter {
    margin: 6px 0 14px;
    text-align: center;
    font-size: 11px;
    color: #8a92aa;
}

#subFooter .regulatory-small {
    display: block;
    font-size: 11px;
    color: #8a92aa;
    margin-top: 4px;
}


@media (max-width: 768px) {
    #footer1 {
        flex-direction: column; 
        padding: 0 8% 24px;
        text-align: center;
    }

    #box67, #box68, #box69 {
        width: 100%; 
        padding: 20px 0;
        align-items: center; 
    }

    #box67 p, #box67 li {
        text-align: center; 
    }

    #box67 ul {
        padding: 0;
    }

    #box68 iframe {
        height: 200px; 
        width: 95%;
    }

    #box69 h6 {
        font-size: 24px;
    }
}


/* Regulatory Footer Text */
#regulatoryText {
    text-align: center;
    font-size: 12px;
    color: var(--paragraphColor);
    padding: 8px 20px 2px;
    font-style: italic;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1B2D50;
    color: white;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    gap: 20px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
}
#cookie-banner p {
    font-size: 14px;
    color: #cdd5e0;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
#cookie-accept {
    background-color: #8B1A1A;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: auto;
    max-width: none;
}
#cookie-decline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    width: auto;
    max-width: none;
}
#cookie-accept:hover { background-color: #6b1313; }
#cookie-decline:hover { background-color: rgba(255,255,255,0.1); }

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}