:root {
    --navy: #002b5b;
    --blue: #0056b3;
    --light-blue: #00b4d8;
    --text: #444;
    --white: #ffffff;
    --bg-light: #f4f8fb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
.container { width: 100%; max-width: 1200px; margin: auto; padding: 0 20px; }
.custom-width { max-width: 1150px; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }
.bg-light-gray { background: var(--bg-light); }

/* --- Navbar (Navy Theme) --- */
header { background: var(--navy); padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Oswald'; font-size: 1.6rem; color: var(--white); font-weight: 700; }
.logo span { color: var(--light-blue); }
.nav-menu { display: flex; list-style: none; }
.nav-menu li a { color: rgba(255,255,255,0.9); text-decoration: none; margin-left: 30px; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; transition: 0.3s; }
.nav-menu li a:hover { color: var(--light-blue); }

/* --- Hero --- */
.hero-section { height: 80vh; background: url('https://images.unsplash.com/photo-1454165833767-0275ef35c1ec?q=80&w=1200') center/cover; position: relative; display: flex; align-items: center; color: var(--white); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 43, 91, 0.75); }
.hero-wrapper { position: relative; z-index: 5; }
.hero-tag { background: var(--light-blue); color: var(--navy); padding: 6px 15px; border-radius: 50px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; display: inline-block; margin-bottom: 20px; }
.hero-content h1 { font-family: 'Oswald'; font-size: clamp(2rem, 8vw, 4rem); line-height: 1.1; text-transform: uppercase; }
.hero-content h1 span { color: var(--light-blue); }
.hero-content p { font-size: 1.2rem; margin: 20px 0 30px; max-width: 650px; opacity: 0.9; }
.btn { padding: 14px 35px; border-radius: 5px; text-decoration: none; font-weight: 700; display: inline-block; margin: 5px; text-transform: uppercase; font-size: 0.9rem; }
.btn-primary { background: var(--light-blue); color: var(--navy); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }

/* --- Grid System --- */
.main-grid { display: flex; gap: 50px; align-items: flex-start; }

/* Sidebar */
.info-sidebar { flex: 0 0 320px; position: sticky; top: 110px; }
.sidebar-card { background: var(--bg-light); padding: 40px 30px; border-radius: 12px; border-left: 6px solid var(--navy); }
.sidebar-card h3 { font-family: 'Oswald'; color: var(--navy); margin-bottom: 15px; font-size: 1.6rem; }
.line-sep { width: 100%; height: 2px; background: #dfe6ed; margin-bottom: 25px; }
.details-list p { margin-bottom: 12px; font-size: 0.95rem; line-height: 1.6; }

/* Content Body */
.content-body { flex: 1; }
.info-group { margin-bottom: 70px; }
.h2-head { font-family: 'Oswald'; font-size: 2.2rem; color: var(--navy); margin-bottom: 10px; text-transform: uppercase; }
.blue-divider { width: 70px; height: 5px; background: var(--blue); margin-bottom: 35px; }
.blue-divider.center { margin: 10px auto 40px; }

/* Desktop side-by-side flex */
.flex-content { display: flex; gap: 35px; align-items: center; }
.f-img { flex: 0 0 45%; }
.f-img img { width: 100%; height: 280px; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.f-text { flex: 1; }
.f-text p { font-size: 1.05rem; line-height: 1.8; text-align: justify; }

/* Leadership Card */
.leader-info { max-width: 800px; margin: auto; padding: 40px; background: var(--white); border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.05); }
.leader-info h3 { color: var(--blue); font-family: 'Oswald'; font-size: 1.8rem; margin-bottom: 10px; }

/* Connect Buttons */
.connect-btns { display: flex; gap: 20px; justify-content: center; }
.btn-card { padding: 18px 45px; border-radius: 8px; font-weight: 700; font-size: 1.2rem; text-decoration: none; display: flex; align-items: center; gap: 12px; transition: 0.3s; }
.call-btn { background: var(--navy); color: var(--white); }
.mail-btn { border: 2px solid var(--navy); color: var(--navy); }
.btn-card:hover { transform: translateY(-5px); }



/* --- FULLY RESPONSIVE BREAKPOINTS --- */

/* Tablet & Mobile Toggle */
.nav-toggle { display: none; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--white) !important; margin: 6px 0; transition: 0.3s; }

@media (max-width: 992px) {
    .main-grid, .flex-content, .connect-btns { flex-direction: column; }
    .info-sidebar { width: 100%; position: static; }
    .f-img { width: 100%; }
    .f-img img { height: 300px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu { position: fixed; top: 70px; right: -100%; width: 100%; height: 100vh; background: var(--navy); flex-direction: column; align-items: center; padding-top: 50px; transition: 0.4s; }
    .nav-menu.active { right: 0; }
    .nav-menu li { margin: 15px 0; }
    .h2-head { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }
    .hero-content { text-align: center; }
    .hero-content p { margin-inline: auto; }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .h2-head { font-size: 1.6rem; margin-bottom: 8px; }
    .blue-divider { margin-bottom: 25px; }
    
    /* Controlling Image Height for Small Devices */
    .f-img img { height: 180px; } 
    
    .f-text p { font-size: 0.95rem; line-height: 1.6; text-align: left; }
    .btn { width: 100%; text-align: center; }
    .btn-card { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; }
    .sidebar-card { padding: 30px 20px; }
}

/* Micro Device Fix (320px) */
@media (max-width: 320px) {
    .h2-head { font-size: 1.4rem; }
    .f-img img { height: 140px; } 
    .container { padding: 0 15px; }
    .logo { font-size: 1.3rem; }
}

/* --- PREMIUM RESPONSIVE FOOTER CSS --- */

.main-footer {
    background: #001a38; /* Darker Navy for Footer */
    color: #cbd5e0;
    padding: 80px 0 0;
    font-size: 0.9rem;
    border-top: 5px solid var(--light-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* 4 Columns Desktop */
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Oswald';
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: var(--light-blue);
}

/* About Col */
.about-info p {
    line-height: 1.8;
    margin: 20px 0;
}

.certifications span {
    display: block;
    font-size: 0.8rem;
    color: var(--light-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

/* Links List */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.footer-col ul li a i {
    font-size: 0.7rem;
    margin-right: 8px;
    color: var(--light-blue);
}

/* Contact Details */
.c-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.c-item i {
    color: var(--light-blue);
    font-size: 1.1rem;
    margin-top: 3px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #001229;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social a {
    color: var(--white);
    margin-left: 20px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--light-blue);
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet (2 Columns) */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (1 Column) */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 50px;
    }
    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-social {
        margin: 0;
    }
    .footer-social a {
        margin: 0 10px;
    }
}

/* Small Mobile (320px) */
@media (max-width: 320px) {
    .main-footer {
        padding-top: 50px;
    }
    .footer-col h4 {
        font-size: 1.1rem;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* --- Clean Masonry Gallery (No Overlay) --- */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
    gap: 12px;
}

.g-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    cursor: pointer;
}

/* Orientation Classes */
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover Effect: Simple Smooth Zoom */
.g-item:hover img {
    transform: scale(1.1);
}

/* --- FULL RESPONSIVE --- */

@media (max-width: 992px) {
    .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .g-item.wide { grid-column: span 1; } /* Reset wide on mobile */
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .g-item.tall { grid-row: span 1; }
    
    .g-item img {
        height: 250px; /* Small mobile image height */
    }
    .section-padding { padding: 60px 0; }
}

/* 320px Micro View Fix */
@media (max-width: 320px) {
    .gallery-masonry { gap: 10px; }
    .g-item img { height: 200px; }
    .container { padding: 0 10px; }
    .h2-head { font-size: 1.5rem; }
}

/* --- Professional Contact Page CSS --- */

.contact-flex-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}

/* Info Column Styling */
.contact-info-column {
    flex: 0 0 40%;
}

.info-card-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.info-card-item:hover {
    transform: translateX(10px);
    background: var(--light-blue);
    color: var(--navy);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-card-item:hover .icon-circle {
    background: var(--white);
    color: var(--navy);
}

.icon-text h4 {
    font-family: 'Oswald';
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.icon-text p, .icon-text a {
    font-size: 0.95rem;
    color: inherit;
    text-decoration: none;
    line-height: 1.5;
}

/* Form Column Styling */
.contact-form-column {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.pro-form input, .pro-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 20px;
    background: #fdfdfd;
    outline: none;
    transition: 0.3s;
}

.pro-form input:focus, .pro-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 10px rgba(0,86,179,0.1);
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Oswald';
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit-btn:hover {
    background: var(--light-blue);
    color: var(--navy);
}

.map-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

/* --- RESPONSIVE FIXES --- */

@media (max-width: 992px) {
    .contact-flex-row { flex-direction: column; }
    .contact-info-column { width: 100%; }
    .contact-form-column { width: 100%; }
}

@media (max-width: 768px) {
    .form-group-flex { flex-direction: column; gap: 0; }
    .contact-form-column { padding: 25px; }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .info-card-item { padding: 20px 15px; gap: 12px; }
    .icon-circle { width: 40px; height: 40px; font-size: 1rem; }
    .icon-text h4 { font-size: 1rem; }
    .icon-text p { font-size: 0.85rem; }
    .pro-form input, .pro-form textarea { padding: 12px; font-size: 0.9rem; }
    .form-submit-btn { font-size: 1rem; padding: 14px; }
}

/* Micro 320px Fix */
@media (max-width: 320px) {
    .section-padding { padding: 50px 0; }
    .h2-head { font-size: 1.5rem; }
    .container { padding: 0 12px; }
}

/* --- Clickable Legal Cards Styling --- */
.legal-card-link {
    text-decoration: none !important;
    display: block;
    color: inherit;
}

.legal-card {
    display: flex;
    gap: 20px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
    height: 100%; /* Saare cards ek size ke rahenge */
}

/* Hover Effect */
.legal-card-link:hover .legal-card {
    transform: translateY(-8px);
    border-color: #ff4d4d; /* PDF red highlight */
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.legal-icon {
    width: 60px;
    height: 60px;
    background: #ff4d4d; /* PDF Red Color */
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: 0.3s;
}

.legal-card-link:hover .legal-icon {
    background: var(--navy); /* Hover par Navy ho jayega */
    transform: rotate(360deg);
}

.legal-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.legal-info p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
}

.status-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy);
    background: #e0e6ed;
    padding: 6px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.legal-card-link:hover .status-tag {
    background: var(--light-blue);
    color: var(--white);
}

/* --- Responsive Layout --- */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .legal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .legal-grid { grid-template-columns: 1fr; }
    .legal-card { padding: 20px; }
}

@media (max-width: 320px) {
    .legal-card { flex-direction: column; text-align: center; }
    .legal-icon { margin: 0 auto; }
}