/* --- VARIABLES & RESET --- */
:root {
    --primary-color: #012553;    /* Main Text/Background - Navy Blue */
    --secondary-color: #ffffff;  /* Background/Text - White */
    --accent-color: #FBBB01;     /* Accent - Gold/Yellow */
    --gray-light: #CBCBD4;       /* Light Gray */
    --gray-dark: #012553;        /* Navy Blue for dark text */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    color: var(--primary-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    font-weight: 700;
}
.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover { background-color: var(--primary-color); color: var(--secondary-color); }

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

/* --- HEADER --- */
header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: var(--secondary-color);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

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

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links > a { font-weight: 500; font-size: 0.95rem; }
.nav-links > a:hover { color: var(--accent-color); }

/* --- DROPDOWN NAVIGATION --- */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    font-weight: 500;
    font-size: 0.95rem;
    cursor: default;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.dropdown-toggle:hover {
    color: var(--accent-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-color);
    border: 1px solid #eee;
    border-radius: 8px;
    min-width: 240px;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(1, 37, 83, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    color: var(--accent-color);
    padding-left: 25px;
}

/* --- HERO SECTION --- */
.hero {
    padding: 100px 0 !important;
    background: var(--gray-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Homepage hero background */
.hero-home {
    background-image: url('assets/images/hero/hero-background.webp');
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 70%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

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

.hero h1,
.hero p {
    color: var(--primary-color);
}

.hero-content {
    max-width: 50%;
}

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

.hero p { font-size: 1.25rem; color: var(--gray-dark); margin-bottom: 30px; }
.hero-btns { display: flex; gap: 15px; }

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--secondary-color);
    border: 2px solid var(--gray-light);
    padding: 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(1, 37, 83, 0.15);
    border-color: var(--accent-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; padding: 0 30px; margin-top: 30px; }
.service-card p { padding: 0 30px 30px 30px; }
.service-card ul { margin: 20px 0 0 0; padding: 0 30px; }
.service-card li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.service-card .btn { margin: 20px 30px 30px 30px; display: inline-block; }
.service-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* --- ABOUT SECTION --- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

/* --- CTA SECTION --- */
.cta-section {
    background: var(--primary-color);
    color: var(--secondary-color);
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-section p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; }

/* --- FOOTER --- */
footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--gray-light);
    margin-top: 10px;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-light);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* --- FORM STYLES --- */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--gray-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--secondary-color);
    color: var(--primary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(251, 187, 1, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* --- VALUES SECTION --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
}

.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-card p {
    color: var(--gray-dark);
    line-height: 1.7;
}

/* --- HIGHLIGHT BOX --- */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #013a7d 100%);
    color: var(--secondary-color);
    padding: 50px;
    border-radius: 12px;
    margin: 40px 0;
}

.highlight-box h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* --- HOW WE WORK SECTION --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* --- STATS SECTION --- */
.stats-section {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-light);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text h4 {
    color: var(--accent-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--gray-light);
    margin: 0;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .about-split { grid-template-columns: 1fr; }
    .nav-links { display: none; /* Add JS hamburger menu for full mobile prod */ }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 30px 20px; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .cookie-banner-content { flex-direction: column; text-align: center; }
    .cookie-buttons { flex-direction: column; width: 100%; }
    .cookie-buttons button { width: 100%; margin: 0 !important; }
}
