/* Color Variables */
:root {
    --color-dark-blue: #181167;
    --color-light-blue: #2D21C4;
    --color-grey: #333333;
    --color-white: #ffffff;
    --color-light-grey: #f8f9fa;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-grey);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--color-light-blue) 0%, var(--color-dark-blue) 100%);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .nav-brand .logo {
        height: 80px;
        width: auto;
        max-height: 100px;
        background: var(--color-light-grey);
        padding: 8px 12px;
        transition: background 0.3s ease;
    }

        .nav-brand .logo:hover {
            background: var(--color-grey);
        }

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-section {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.25);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    display: inline-block;
}

.hero-logo {
    height: 200px;
    width: auto;
    max-width: 2000px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-light-blue);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
    display: none;
}

.hero-image img {
    display: none;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--color-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.3rem;
    margin: 20px 20px 10px 20px;
    color: var(--color-light-blue);
}

.service-card p {
    padding: 0 20px 20px 20px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.service-icon {
    display: none;
}

/* About Us Section */
.about {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Team Section */
.team {
    padding: 80px 20px;
    background: var(--color-white);
}

.team h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--color-grey);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    text-align: center;
    background: var(--color-light-grey);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 4px solid var(--color-light-blue);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.5rem;
    color: var(--color-grey);
    margin-bottom: 5px;
}

.team-role {
    color: var(--color-light-blue);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 15px;
}

.team-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: var(--color-light-grey);
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--color-grey);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-light-blue);
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-light-blue);
    box-shadow: 0 0 0 3px rgba(45, 33, 196, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, var(--color-light-blue) 0%, var(--color-dark-blue) 100%);
    color: var(--color-white);
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: var(--color-grey);
    color: var(--color-white);
    text-align: center;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-light-blue);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        gap: 0;
        padding: 2rem 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem;
    }

    .nav-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .hero {
        min-height: 80vh;
        background-attachment: scroll;
    }

    .hero-logo {
        height: 70px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .services h2,
    .about h2,
    .team h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about {
        min-height: auto;
        background-attachment: scroll;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
