/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans Pro', SYSTEM-UI, sans-serif;
    line-height: 1.6;
    color: #F0F5FF;
    /* Ice White */
    background-color: #050814;
    /* Deep Space Navy */
    overflow-x: hidden;
}

#neuron-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at center, #121629, #050814);
    /* Darker background */
}

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

/* Header & Navigation */
header {
    background-color: rgba(18, 22, 41, 0.9);
    /* Dark Data Slate with transparency */
    -webkit-backdrop-filter: blur(5px);
    /* Safari support */
    backdrop-filter: blur(5px);
    /* Optional: Adds glass effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    max-width: 1000px;
    /* Match section width */
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
    /* Fill the header container */
    margin: 0 auto;
}

.logo img {
    width: 20vw;
    height: auto;
    /* Increased size */
}

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

.nav-links a {
    text-decoration: none;
    color: #F0F5FF;
    /* Ice White */
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00E5FF;
    /* Electric Cyan */
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #F0F5FF;
    /* Ice White */
    transition: all 0.3s ease;
}

/* Mobile Nav Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: #121629;
        /* Dark Data Slate */
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 37.5%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        padding-top: 2rem;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: flex;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 0rem;
    /* Top padding accounts for fixed header */
    position: relative;
    /* Context for absolute positioning */
    background: transparent;
    /* Removed background */
    min-height: 50vh;
}

.hero-banner {
    max-width: 1000px;
    /* Increased to match section width for better immersion */
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    /* For mask */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-content {
    position: absolute;
    top: 25%;
    /* Position at top 25% area */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    z-index: 10;
    padding: 0 1rem;
}

.hero-content h1 {
    font-family: 'Source Serif Pro', serif;
    font-size: 3rem;
    /* Slightly larger for impact */
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    /* Pure White */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.6);
    /* Enhanced shadow for readability over image */
}

.hero-content p {
    font-size: 1.15rem;
    /* Reduced to fit on one line */
    color: #F0F5FF;
    /* Ice White */
    max-width: 100%;
    /* Allow full width of container */
    margin: 0 auto;
    font-weight: 400;
    /* Reduced weight */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    /* Force one line */
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.scroll-indicator {
    position: fixed;
    bottom: 20px;
    right: 30px;
    /* Move to right */
    left: auto;
    transform: none;
    width: 30px;
    height: 50px;
    border: 2px solid #00E5FF;
    /* Electric Cyan */
    border-radius: 50px;
    opacity: 0.6;
    transition: opacity 0.5s ease;
    z-index: 900;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    margin-left: -3px;
    width: 6px;
    height: 6px;
    background: #00E5FF;
    /* Electric Cyan */
    border-radius: 100%;
    animation: bounce 2s infinite;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Sections */
section {
    padding: 2rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.what-we-do {
    text-align: center;
    min-height: 50vh;
    /* Ensure some scroll distance */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(18, 22, 41, 0.6);
    /* Secondary Dark with transparency */
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(110, 122, 153, 0.2);
    /* Subtle Border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.what-we-do h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
    /* Pure White */
    text-shadow: 0 0 10px rgba(188, 0, 255, 0.5);
    /* Violet Glow */
}

.what-we-do p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #F0F5FF;
    /* Ice White */
    max-width: 800px;
    margin: 0 auto;
}

.who-we-are-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.profile-card {
    text-align: center;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.profile-card:hover {
    transform: none;
    box-shadow: none;
}

.profile-pic {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: top center;
    /* Focus on the face/top */
    border-radius: 50%;
    /* Make them round */
    margin-bottom: 1rem;
    border: 3px solid #00E5FF;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(188, 0, 255, 0.6);
}

.profile-card h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .who-we-are-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Close Menu Item */
.close-menu-item {
    display: none;
    /* Hidden by default (desktop) */
}

@media screen and (max-width: 768px) {
    .close-menu-item {
        display: block;
        /* Visible on mobile */
        margin-top: 2rem;
        cursor: pointer;
    }

    .close-menu-item a {
        color: #6E7A99;
        /* Muted */
        font-size: 1rem;
        text-decoration: underline;
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #FFFFFF;
    /* Pure White */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #6E7A99;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(5, 8, 20, 0.8);
    /* Dark background */
    color: #F0F5FF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00E5FF;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
    color: #F0F5FF;
}

.submit-btn {
    display: block;
    margin-left: auto;
    background-color: #00E5FF;
    /* Electric Cyan */
    color: #050814;
    /* Dark Text for contrast */
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    background-color: #00b8cc;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

#form-status {
    margin-top: 1rem;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: rgba(18, 22, 41, 0.9);
    margin-top: 2rem;
}

footer p {
    color: #6E7A99;
    /* Cool Gray Muted */
}

/* Urdu Content Styles */
.urdu-content-section {
    padding-top: 200px;
}

.urdu-container {
    text-align: right;
    max-width: 800px;
    margin: 0 auto;
    color: #F0F5FF;
    padding: 20px;
}

.urdu-title {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Source Serif Pro', serif;
}

.urdu-list {
    margin-right: 20px;
    padding-right: 20px;
}

.urdu-divider {
    margin: 80px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.urdu-subtitle {
    text-align: right;
    font-family: 'Source Serif Pro', serif;
    font-size: 2.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.urdu-important-notice {
    font-family: 'Source Serif Pro', serif;
    color: #FF4081;
    /* Pink accent for importance */
    font-size: 1.8rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-align: right;
}