.classEmail { display: none; }

:root {
    --primary: #1a5490;
    --primary-dark: #134270;
    --secondary: #e74c3c;
    --secondary-dark: #c0392b;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --text: #333;
    --text-muted: #666;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark);
    cursor: pointer;
    padding: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Sections Shared */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about { background-color: #fff; }

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section - Grid Logic Improved */
.services { background-color: var(--light); }

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

.service-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

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

/* Team Section */
.team { background-color: #fff; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    justify-content: center;
}

.team-card {
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
}

.team-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card .position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Contact Section */
.contact { background-color: var(--light); }

.contact-content {
    display: flex;
    justify-content: center;
    grid-template-columns: none; 
}


.contact-info-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.contact-form {
    flex: 1;
    max-width: 600px; 
    width: 100%;
    margin: 0 auto;
    text-align: center; 
}

.contact-form h3 { margin-bottom: 1.5rem; }

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem; margin-bottom: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer p { opacity: 0.7; font-size: 0.9rem; }

/* Mobile Specific Adjustments */
@media (max-width: 992px) {
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image { order: -1; } /* Image on top for mobile */
    .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block;  margin-left: auto; /* This pushes the button to the right */ }
    
    /* Ensure the nav container doesn't take up space in the flex row */
    nav {
        display: contents; 
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        transition: 0.4s ease-in-out;
        z-index: 999;
        gap: 2.5rem;
    }
    
    .nav-menu.active { left: 0; }

    .nav-menu a { font-size: 1.25rem; }

    section { padding: 4rem 0; }

    .services-grid {
        grid-template-columns: 1fr; /* Force single column on mobile */
    }

    .contact-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .section-title h2 { font-size: 1.6rem; }
    .logo { font-size: 1.1rem; }
}