@import url('https://fonts.googleapis.com/css2?family=Gravitas+One&family=Oswald:wght@200..700&family=Outfit:wght@100..900&display=swap');

:root {
    --bg-main: #f8fafc;
    --text-deep: #1e293b;
    --accent-teal: #1abc9c;
    --nav-navy: #2c3e50;
    --glass-white: rgba(255, 255, 255, 0.9);

    --base-color: #0f172a;
    --base-dark: #0a0a0a;
    --secondary-color: #1e293b;
    --accent-color: #38bdf8;
    --bg-light: #fdfdfe;
    --accent-tint: rgba(26, 188, 156, 0.05);
    --shadow-soft: rgba(148, 163, 184, 0.12);
}

html {
    scroll-behavior: smooth;
}

.body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-main) !important;

    background-image:
        radial-gradient(at 0% 0%, #f1f5f9 0, transparent 50%),
        radial-gradient(at 100% 0%, var(--accent-tint) 0, transparent 50%),
        radial-gradient(at 50% 100%, #f8fafc 0, transparent 100%);
    background-attachment: fixed;
    color: #1e293b;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}






/*header start.... */
.header {
    width: 100%;
    background: #0f172a;
    padding: 50px 0;
    border-bottom: 1px solid rgba(26, 188, 156, 0.2);
    position: relative;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
}

.logo {
    position: relative;
}

.logo-accent-blur {
    position: absolute;
    width: 120px;
    height: 120px;
    background: #1abc9c;
    filter: blur(50px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.responsive-logo {
    height: 110px;
    width: auto;
    position: relative;
    z-index: 2;
}

.company-name {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
}

.institute-tag a {
    font-family: 'Oswald', sans-serif;
    color: #1abc9c;
    font-size: 0.80rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.company-name h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
}

.company-name h1 span {
    display: block;
    color: #94a3b8;
    font-weight: 400;
    font-size: 1.8rem;
    margin-top: 5px;
}

/* --- Animation Keyframes --- */
@keyframes radar-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
}

@keyframes text-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}


/* --- Applied Styles --- */

.header {
    width: 100%;
    background: #0f172a;
    padding: 50px 0;
    border-bottom: 1px solid rgba(26, 188, 156, 0.2);
    position: relative;
    overflow: hidden;
}

.logo-accent-blur {
    position: absolute;
    width: 130px;
    height: 130px;
    background: #1abc9c;
    filter: blur(50px);
    top: 50%;
    left: 50%;
    z-index: 1;
    /* Active Radar Animation */
    animation: radar-pulse 4s infinite ease-in-out;
}


.company-name {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    /* Sequential Fade-in */
    animation: text-slide-in 0.8s ease-out forwards;
}

.company-name h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
    animation: text-slide-in 0.8s ease-out 0.4s backwards;
}

.responsive-logo {
    height: 110px;
    width: auto;
    position: relative;
    z-index: 2;
    transition: filter 0.3s ease;
}

.logo:hover .responsive-logo {
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(26, 188, 156, 0.4));
}

/* --- Mobile Optimization (768px and below) --- */
@media (max-width: 768px) {
    .header {
        padding: 30px 0;
    }

    .header-container {
        gap: 20px;
    }

    .company-name {
        padding-left: 0.6rem;
    }

    /* Adjust Logo for Mobile */
    .responsive-logo {
        height: 90px;
        margin-bottom: 5px;
    }

    /* Center the radar glow behind the logo */
    .logo-accent-blur {
        width: 140px;
        height: 140px;
        top: 50%;
        left: 50%;
    }

    .institute-tag {
        font-size: 0.75rem;
        letter-spacing: 4px;
        margin-bottom: 8px;
    }

    .institute-tag a {
        font-size: 0.70rem;
        letter-spacing: 2px;
    }

    .company-name h1 {
        font-size: 1rem !important;
        line-height: 1 !important;
        /* max-width: 320px; */
        /* Prevents text from stretching too wide */
    }

    .company-name h1 span {
        font-size: 1.1rem !important;
        margin-top: 4px;
        display: block;
        
    }
}

/* Extra small devices (iPhone SE / small Androids) */
@media (max-width: 395px) {
    .header {
        padding: 21px 0;
    }

    .company-name h1 {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
    }

    .responsive-logo {
        height: 75px;
        margin-bottom: 0px;
    }

    /* Center the radar glow behind the logo */
    .logo-accent-blur {
        width: 140px;
        height: 140px;
        top: 50%;
        left: 50%;
    }

    /* Typography Scaling */
    .institute-tag {
        font-size: 0.65rem;
        letter-spacing: 2px;
        margin-bottom: 5px;
    }

    .institute-tag a {
        font-size: 0.60rem !important;
        letter-spacing: 1.1px !important;
    }

    .company-name h1 span {
        font-size: 1rem !important;
        margin-top: 2px;
        display: block;
    }
}




/* nav start ... */
nav {
    background-color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* padding: 10px 0; */
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    padding: 15px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    font-family: Outfit;
    text-transform: uppercase;
}

nav a:hover {
    background-color: #1abc9c;
    border-radius: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}





/* --- Mission & Vision Page Styles --- */

/* Container for the heading */
.page-title {
    text-align: center;
    margin-bottom: 60px;
    /* padding-top: 20px; */
}

.page-title h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #1abc9c;
    margin: 20px auto 0;
    border-radius: 10px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    width: 8px;
    height: 4px;
    background: rgba(26, 188, 156, 0.3);
    border-radius: 10px;
}

.content-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 1%;
}

/* The Split Layout */
.mv-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    opacity: 0;
    /* For scroll animation */
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Visual cue: When section is visible, it slides up */
.mv-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.mv-section.reverse {
    flex-direction: row-reverse;
}

.mv-text {
    flex: 1;
}

.mv-text .tag {
    color: #1abc9c;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.mv-text h2 {
    font-size: 2.5rem;
    margin: 10px 0 20px;
    color: #1e293b;
}

.mv-text p {
    font-size: 1.2rem;
}

.mv-image {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- FLOATING WHITE PANELS --- */
.mv-section {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* box-shadow:
        0 10px 15px -3px var(--shadow-soft),
        0 4px 6px -4px var(--shadow-soft); */
    box-shadow:
        10px 20px 25px 8px var(--shadow-soft),
        10px 8px 12px 8px var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 32px;
    padding: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-section:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 20px 25px -5px rgba(148, 163, 184, 0.2);
    border-color: rgba(26, 188, 156, 0.2) !important;
}

.page-title h1 {
    color: #0f172a !important;
    font-weight: 800;
}

.mv-text h2 {
    color: #1e293b !important;
    font-weight: 700;
}

.mv-text p {
    color: #475569 !important;
    font-size: 1.15rem;
    line-height: 1.8;
}

.mv-text .tag {
    background: rgba(26, 188, 156, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #16a34a !important;

}

.mv-image {
    border: 8px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mission-img {
    background-image: url('assets/mission_image.png');
}

.vision-img {
    background-image: url('assets/vision_image.jpg');
}


/* Responsive Tablet/Mobile */
@media (max-width: 1024px) {
    .content-container {
        margin: 40px auto;
        padding: 0 4%;
    }

    .mv-section {
        gap: 40px;
        padding: 40px;
    }

    .mv-text h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 25px 0;
    }

    .header-container {
        gap: 15px;
    }

    .responsive-logo {
        height: 70px;
    }

    .company-name {
        padding-left: 15px;
    }

    .company-name h1 {
        font-size: 1.2rem;
    }

    .company-name h1 span {
        font-size: 1rem;
    }


    .mv-section,
    .mv-section.reverse {
        display: flex !important;
        flex-direction: column !important;
        padding: 30px 20px !important;
        gap: 20px !important;
        margin-bottom: 50px;
        border-radius: 24px;
    }


    .mv-image {
        width: 100% !important;
        height: 250px !important;
        min-height: 250px !important;
        order: -1;
        border: 6px solid white;
    }

    .mv-text {
        text-align: center;
    }

    .mv-text h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .mv-text p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: justify;
    }

    .page-title {
        margin-bottom: 40px;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .content-container {
        margin-top: 30px;
    }

    .mv-image {
        height: 200px !important;
        min-height: 200px !important;
    }

    .mv-text h2 {
        font-size: 1.6rem;
    }

    .page-title h1 {
        font-size: 1.8rem;
    }

    .back-to-top-btn {
        width: 80%;
        padding: 10px;
    }
}



























/* footer start.................... */
footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 40px 20px;
    margin-top: 0;
    border-top: 3px solid;
    border-image: linear-gradient(to right, transparent, #1abc9c, transparent) 1;
    text-align: center;
    position: relative;
    /* width: 97vw;
    display: flex;
    flex-direction: column;
    justify-content: center;*/
    /* margin-top: auto;  */

    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
}



/* The Button Styling */
.back-to-top-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #1abc9c;
    color: #1abc9c;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 4px;
    transition: all 0.4s ease;
}

/* Hover Effect */
.back-to-top-btn:hover {
    background: #1abc9c;
    color: #0f172a;
    box-shadow: 0 0 20px rgba(26, 188, 156, 0.4);
    transform: translateY(-3px);
}





/* --- Tablet & Mobile Queries --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    nav {
        padding: 5px 0;
    }

    nav ul {
        display: flex;
        justify-content: center;
        gap: 5px;
        padding: 0 10px;
    }

    nav li {
        margin: 0;
    }

    nav a {
        padding: 12px 10px;
        font-size: 0.85rem;
        white-space: nowrap;
        letter-spacing: 0.5px;
    }

    nav a:active,
    nav a:hover {
        background-color: #1abc9c;
        border-radius: 4px;
    }
}

@media screen and (max-width: 768px) {
    footer {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    footer p {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 300px;
        margin: 0 auto;
        color: #cbd5e1;
    }

    footer {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background-color: #1a202c;
    }
}