:root {
    --primary: #003366;
    --secondary: #bfa15f;
    --dark: #1a202c;
    --light: #f7fafc;
    --white: #ffffff;
    --text: #2d3748;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.rotator {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay h1 {
    color: var(--white);
    font-size: 3rem;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

/* Services */
.what-we-do {
    padding: 80px 0;
}

.what-we-do h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 50px;
    font-size: 2rem;
    position: relative;
}

.what-we-do h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    margin: 10px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service {
    padding: 30px;
    background: var(--light);
    border-radius: 8px;
    border-top: 5px solid var(--primary);
    transition: transform 0.3s;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Profile */
.bg-dark {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
}

.profile-content h2 {
    color: var(--secondary);
    margin-bottom: 30px;
}

.profile-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Testimonial */
.testimonial {
    padding: 80px 0;
}

.testimonial-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    border-left: 4px solid var(--secondary);
    background: var(--light);
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: 700;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-contact h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-contact .title {
    font-weight: 700;
    font-size: 1rem;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #a0aec0;
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
    }
    nav ul {
        margin-top: 20px;
    }
    .hero-overlay h1 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
