/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Light Theme Variables --- */
:root {
    --primary: #0066cc;        /* Deep Blue */
    --primary-light: #4dabf5;  /* Lighter Blue */
    --accent: #00c6ff;         /* Cyan */
    --dark: #1a1a1a;           /* Dark Text */
    --text: #555555;           /* Body Text */
    --light: #ffffff;          /* White */
    --bg-gray: #f8f9fa;        /* Light Background */
    --border: #e0e0e0;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.12);
}

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

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

a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section { padding: 100px 0; }
.bg-light { background-color: var(--bg-gray); }
.text-center { text-align: center; }

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img { height: 40px; }

/* Desktop nav */
.nav-links { display: flex; align-items: center; }
.nav-links ul { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--dark); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.btn-nav {
    padding: 8px 24px;
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary) !important;
}
.btn-nav:hover { background: var(--primary); color: #fff !important; }

/* ── Hamburger icon — hidden on desktop ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1100;
    flex-shrink: 0;
}
.hamburger .bar {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #1a1a1a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger X animation */
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- HERO SECTION (UPDATED FOR BACKGROUND IMAGE) --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    
    /* Set the uploaded image as the main background */
    background-image: url('heroo.png'); 
    background-size: cover;        /* Ensures image covers the whole area */
    background-position: center;   /* Centers the image */
    background-repeat: no-repeat;
    
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block; /* Changed from Grid to Block */
}

/* Limit text width so it stays on the left side (white space) */
.hero-text { 
    max-width: 650px; 
}

.hero-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons { display: flex; gap: 15px; }

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* --- SECTIONS: Focus, About, Mission --- */

/* Focus Grid */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Card Styling */
.focus-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.4s ease;
    border: 1px solid var(--border);
}
.focus-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.card-image { height: 200px; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.focus-card:hover .card-image img { transform: scale(1.1); }

.card-body { padding: 25px; text-align: center; }
.card-icon { font-size: 1.8rem; margin-bottom: 15px; }
.card-body h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 10px; }
.card-body p { font-size: 0.95rem; color: var(--text); }

/* Split Layout (Mission/About) */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split-box { background: #fff; padding: 50px; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: 0.3s; }
.split-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.split-box.highlight-bg { background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); }
.icon-box { color: var(--primary); margin-bottom: 20px; }
.split-box h2 { font-size: 2rem; color: var(--dark); margin-bottom: 15px; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 15px; }
.header-line { width: 60px; height: 4px; background: var(--primary); margin: 0 auto 20px; border-radius: 2px; }

/* Contact Section */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-text h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 20px; }
.contact-text .lead { font-size: 1.2rem; color: var(--primary); margin-bottom: 20px; font-weight: 500; }
.contact-details { margin-top: 30px; }
.contact-details .detail { margin-bottom: 10px; font-size: 1.1rem; }
.contact-form-wrapper { background: #fff; padding: 40px; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-wrapper h3 { margin-bottom: 25px; color: var(--dark); }
.contact-form-wrapper input, .contact-form-wrapper textarea {
    width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 8px;
    font-family: inherit; background: var(--bg-gray); outline: none; transition: 0.3s;
}
.contact-form-wrapper input:focus, .contact-form-wrapper textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1); }
.btn-block { width: 100%; }

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Footer --- */
/* --- Footer --- */
#main-footer { 
    background: #fff; 
    border-top: 1px solid var(--border); 
    padding: 80px 0 20px; 
}

.footer-content { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 50px; 
    margin-bottom: 40px; 
}

.footer-brand h4 { 
    font-size: 1.5rem; 
    color: var(--dark); 
    margin-bottom: 15px; 
}

/* Style for the DPIIT Image */
.dpiit-badge {
    height: 45px;       /* Sets a fixed height so it looks neat */
    width: auto;        /* Auto width maintains aspect ratio */
    margin-top: 15px;   /* Adds space above the image */
    display: block;
}

.footer-nav h4 { 
    margin-bottom: 20px; 
    color: var(--dark); 
}

.footer-nav ul li { 
    margin-bottom: 10px; 
}

.footer-nav a:hover { 
    color: var(--primary); 
    padding-left: 5px; 
}

.footer-copyright { 
    text-align: center; 
    padding-top: 20px; 
    border-top: 1px solid var(--border); 
    font-size: 0.9rem; 
    color: #999; 
}


/* --- Responsive Media Queries --- */

@media (max-width: 992px) {

    /* Show hamburger, hide desktop nav */
    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 71px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px 30px 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        z-index: 999;
        border-top: 1px solid var(--border);
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
    .nav-links ul {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        width: 100%;
    }
    .nav-links ul li { width: 100%; }
    .nav-links ul li a {
        font-size: 1rem;
        display: block;
        padding: 6px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    .nav-links ul li:last-child a { border-bottom: none; }

    /* Hero adjustments */
    .hero { background-position: 75% center; }
    .hero::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,0.7);
        z-index: 1;
    }
    .hero-container { z-index: 3; text-align: center; }
    .hero-text { max-width: 100%; margin: 0 auto; }
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }

    /* Section layouts */
    .split-layout, .contact-layout, .footer-content { grid-template-columns: 1fr; }
    .team-grid  { grid-template-columns: repeat(2, 1fr); }
    .focus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hero-title  { font-size: 2rem; }
    .team-grid   { grid-template-columns: 1fr; }
    .focus-grid  { grid-template-columns: 1fr; }
}