:root {
    --primary: #002e5b;
    --accent: #f2a900;
    --text: #333;
    --light: #f9fbfd;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text); overflow-x: hidden; }

/* --- Responsive Header --- */
/* --- Responsive Header Adjustment --- */
header {
    background: var(--white);
    padding: 1rem 8%;
    display: flex;
    /* This ensures the logo stays left and the nav (or hamburger) stays right */
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

/* --- Mobile Specific Adjustment --- */
@media (max-width: 992px) {
    header {
        padding: 1rem 5%;
        /* Force the logo to the start and hamburger to the end */
        flex-direction: row; 
        justify-content: space-between;
    }

    /* This ensures the hamburger is the last element on the right */
    .hamburger {
        display: flex;
        order: 2; 
    }



    nav ul {
        position: absolute;
        top: 100%;
        left: 0; /* Menu drops down to cover full width */
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transition: 0.4s ease-in-out;
        /* Hide menu by default off-canvas or via display */
        display: none; 
    }

    nav ul.active {
        display: flex; /* Show when active */
    }
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 90px; width: auto; display: block; }

/* Desktop Nav */
nav ul { display: flex; list-style: none; align-items: center; }
nav ul li { margin-left: 25px; }
nav a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
nav a:hover { color: var(--accent); }

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--primary); border-radius: 2px; transition: 0.3s; }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0,46,91,0.9), rgba(0,46,91,0.8)), url('../images/panel.jpg');
    background-size: cover; background-position: center; color: var(--white);
    padding: 100px 5%; text-align: center;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 20px; font-weight: 800; line-height: 1.2; }
.hero p { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 850px; margin: 0 auto 35px; opacity: 0.9; }

/* --- Layouts --- */
.section { padding: 60px 8%; }
.bg-light { background: var(--light); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--primary); margin-bottom: 25px; font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.card { background: var(--white); padding: 25px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; height: 100%; }

/* --- Components --- */
.trust-signal-box { background: var(--primary); color: white; padding: 40px 20px; border-radius: 20px; text-align: center; }
.trust-signal-box h2{
    color:white;
}
.btn { display: inline-block; background: var(--accent); color: var(--primary); padding: 14px 30px; text-decoration: none; border-radius: 4px; font-weight: 800; text-transform: uppercase; transition: 0.3s; border: none; cursor: pointer; }
.btn:hover { transform: scale(1.05); }

/* --- Footer --- */
footer { background: #0b1521; color: #fff; padding: 60px 8% 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-links ul { list-style: none; }
.footer-links a { color: #aaa; text-decoration: none; line-height: 2.5; transition: 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-form input, .footer-form select, .footer-form textarea { width: 100%; padding: 12px; margin-bottom: 12px; border: none; border-radius: 4px; background: rgba(255,255,255,0.08); color: #fff; font-family: inherit; }

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    header { padding: 1rem 5%; }
    .hamburger { display: flex; }
    
    nav ul {
        position: absolute; top: 100%; left: -100%; width: 100%; background: var(--white);
        flex-direction: column; padding: 20px 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transition: 0.4s ease-in-out;
    }
    nav ul.active { left: 0; }
    nav ul li { margin: 15px 0; text-align: center; }
}

@media (max-width: 600px) {
    .section { padding: 40px 5%; }
    .footer-grid { text-align: center; }
}