:root {
    --primary: #033b94;
    --primary-dark: #022a6b;
    --secondary: #fcba03;
    --tertiary: #566978;
    --light: #f4f7f6;
    --dark: #1a1a1a;
    --white: #ffffff;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 75px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--tertiary);
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background-color: #e0a500;
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(3, 59, 148, 0.8), rgba(86, 105, 120, 0.8)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    /* Offset fixed header */
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        padding: 15px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 100px 0 30px;
    /* Top padding to account for fixed header */
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Content */
.section-content {
    padding: 60px 0;
}

.section-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.settings-bg {
    background-color: #fcebbb;
    /* Light wash of secondary color */
}

/* Cards */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    max-width: 400px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--secondary);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Contact Form */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    /* Centers panels vertically */
}

.contact-info,
.contact-form-wrapper {
    flex: 1 1 400px;
    max-width: 600px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Distinct panel shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle border */
}

.contact-info h3 {
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(3, 59, 148, 0.1);
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background-color: var(--tertiary);
    color: var(--white);
    padding-top: 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 15px;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 5px;
}

.footer-col ul li a {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    background-color: #111;
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* Modern Enhancements */

/* Soft Shadows & Glassmorphism */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card,
.service-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover,
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Gradients */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffcf40 100%);
    box-shadow: 0 4px 15px rgba(252, 186, 3, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 186, 3, 0.4);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}