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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background-color: #f9fafb;
}

/* Prevent fixed header from overlapping anchored sections */
section {
    scroll-margin-top: 80px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Utility classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(15, 23, 42, 0.9); /* Dark with slight transparency */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #d1d5db;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: #1d4ed8;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #153eac;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #10b981;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #0f9c6e;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #0f172a;
}

/* Services */
.services-section {
    padding: 5rem 0 3rem;
}

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

.service-card {
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1d4ed8;
}

.service-card p {
    font-size: 0.95rem;
    color: #475569;
}

/* About */
.about-section {
    background-color: #f1f5f9;
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: #334155;
}

.about-values h3 {
    margin-bottom: 1rem;
    color: #1d4ed8;
}

.values-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
}

.values-list strong {
    color: #0f172a;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #334155;
}

.testimonial-author {
    font-weight: 600;
    color: #1d4ed8;
}

/* Contact */
.contact-section {
    background-color: #f1f5f9;
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #334155;
}

.contact-list li {
    margin-bottom: 0.75rem;
    color: #475569;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.95rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #1e293b;
    padding-top: 1rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* hide for mobile; could add responsive menu later */
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}