/* --- Global Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0b1c3c;
    --navy-blue: #0a192f;
    --red: #ff0000;
    --teal: #2a9d8f;
    --brown: #6b4f4f;
    --light-red: #e76f51;
    --light-blue: #56cfe1;
    --text-grey: #555;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-main);
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Top Bar --- */
.top-bar {
    background-color: #0b1c3c;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-contact span {
    margin-right: 20px;
}

/* --- Main Header --- */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; /* Makes header stick to top */
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 40px;
    font-weight: bold;
    color: #4a3b8c;
    border: 2px solid #4a3b8c;
    padding: 0 8px;
    line-height: 1.2;
    font-family: serif;
}

.logo-text h1 {
    font-size: 20px;
    color: #4a3b8c;
    letter-spacing: 1px;
}

.logo-text h2 {
    font-size: 14px;
    color: #4a3b8c;
    letter-spacing: 0.5px;
}

/* --- Navigation (Desktop) --- */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative; /* Crucial for dropdown positioning */
}

.nav-links > li > a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 25px 15px;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links > li > a:hover {
    background-color: #f0f0f0;
}

.nav-links .active-red > a {
    background-color: var(--red);
    color: white;
}

/* Dropdown Level 1 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0; /* Aligns to the left of the parent (fixes out-of-screen issue) */
    background: white;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    list-style: none;
    border-left: 4px solid var(--red);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu > li > a {
    padding: 12px 15px;
    display: block;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.dropdown-menu > li > a:hover {
    background: #f4f4f4;
}

/* Dropdown Level 2 (Sub-menu) */
.sub-menu {
    position: absolute;
    top: 0;
    left: 100%; /* Opens to the right */
    background: white;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    list-style: none;
    z-index: 1001;
}

.sub-dropdown:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    padding: 12px 15px;
    display: block;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    white-space: normal; /* Allows text wrapping */
}

.sub-menu li a:hover {
    background: #f4f4f4;
}

.sub-menu .active-sub a {
    background-color: var(--red);
    color: white;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #4a3b8c;
}

/* --- Hero Banner & Auto Slider --- */
.hero-banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(210, 180, 140, 0.4);
    z-index: 1;
}

.banner-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.banner-content {
    background: #fff;
    padding: 40px 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 5px;
    text-align: center;
}

.banner-content h1 {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 900;
    color: #000;
    line-height: 1.1;
    letter-spacing: -2px;
}

/* --- Info Grid Section --- */
.info-grid-section {
    padding: 40px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.info-box {
    padding: 30px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 250px;
}

.info-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.info-box p {
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-outline {
    border: 1px solid white;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-outline:hover {
    background: white;
    color: #333;
}

.bg-teal { background-color: var(--teal); }
.bg-brown { background-color: var(--brown); }
.bg-red { background-color: var(--light-red); }
.bg-blue { background-color: var(--light-blue); }

.image-box {
    background-size: cover;
    background-position: center;
    min-height: 250px;
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
}

.section-title h2 span {
    color: var(--red);
    font-weight: 700;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--red);
    margin: 10px auto;
}

.text-white h2 { color: white; }

/* --- Core Services --- */
.services-section {
    padding-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background: #fff;
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    min-height: 40px;
}

.card-body p {
    font-size: 13px;
    color: var(--text-grey);
    margin-bottom: 15px;
    height: 80px;
    overflow: hidden;
}

.btn-blue {
    background-color: #0b1c3c;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.btn-blue:hover {
    background-color: var(--red);
}

/* --- Other Services --- */
.other-services {
    background-color: #0b1c3c;
    padding: 60px 0;
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.other-card {
    background: #fff;
    text-align: center;
    padding-bottom: 20px;
}

.other-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.other-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.other-card p {
    font-size: 13px;
    color: #666;
    padding: 0 15px;
}

/* --- Team Section --- */
.team-section {
    padding: 60px 0;
}

.team-subtitle {
    font-size: 14px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.team-level-title {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin: 40px 0 30px;
    text-transform: uppercase;
}

.team-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.team-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-member {
    text-align: center;
}

.member-img-placeholder {
    background-color: #b0b0b0;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 15px;
}

.member-info {
    border: 1px solid #ddd;
    padding: 15px 10px;
    background: #fff;
}

.member-info h4 {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.member-info p {
    font-size: 12px;
    color: #777;
}

/* --- Contact Section --- */
.contact-section {
    background-color: #222;
    color: white;
}

.contact-container {
    display: flex;
    padding: 0;
    max-width: 100%;
}

.contact-info {
    width: 50%;
    padding: 60px 10%;
    background-color: #2a2a2a;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 10px;
}

.contact-info h2 span {
    color: var(--red);
    font-weight: 700;
}

.contact-desc {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 30px;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ccc;
}

.contact-item i {
    color: #fff;
    font-size: 18px;
    margin-top: 3px;
}

.btn-red {
    background-color: var(--red);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    margin-top: 20px;
}

.contact-form-area {
    width: 50%;
    background-color: #f4f4f4;
}

.form-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.form-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Footer --- */
.footer-menus {
    background-color: #fff;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    text-decoration: none;
    color: #777;
    font-size: 13px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-col ul li a i {
    font-size: 10px;
    margin-right: 5px;
    color: #ccc;
}

/* --- Copyright --- */
.copyright {
    background-color: #f9f9f9;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #888;
}

/* =========================================
   RESPONSIVE DESIGN (Mobile Friendly)
   ========================================= */

@media (max-width: 992px) {
    .grid-container, .services-grid, .services-grid-3, .team-grid-3, .team-grid-4, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-container {
        flex-direction: column;
    }
    .contact-info, .contact-form-area {
        width: 100%;
    }

    /* Navigation Mobile Setup */
    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .navbar {
        position: absolute;
        top: 100%; /* Below header */
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none; /* Hide by default */
        flex-direction: column;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar.active {
        display: block; /* Toggle this class with JS */
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links > li > a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Reset dropdowns for mobile (click to open) */
    .dropdown-menu, .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-left: none;
        border-top: 1px solid #eee;
        background: #f9f9f9;
        display: none;
    }

    /* Add active state for mobile JS toggle */
    .dropdown.active > .dropdown-menu,
    .sub-dropdown.active > .sub-menu {
        display: block;
    }

    .dropdown-menu > li > a, .sub-menu li a {
        padding-left: 40px;
    }
    
    .sub-menu li a {
        padding-left: 60px;
    }

    /* Specific Mobile Fixes */
    .banner-content {
        padding: 20px;
        width: 90%;
    }
    .banner-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .grid-container, .services-grid, .services-grid-3, .team-grid-3, .team-grid-4, .footer-grid {
        grid-template-columns: 1fr;
    }
    .banner-content h1 {
        font-size: 28px;
    }
    .logo-text h1 { font-size: 16px; }
    .logo-text h2 { font-size: 11px; }
    .logo-icon { font-size: 30px; }
}


/* --- Global Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0b1c3c;
    --navy-blue: #0a192f;
    --red: #ff0000;
    --teal: #2a9d8f;
    --brown: #6b4f4f;
    --light-red: #e76f51;
    --light-blue: #56cfe1;
    --text-grey: #555;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-main);
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Top Bar --- */
.top-bar {
    background-color: #0b1c3c;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-contact span {
    margin-right: 20px;
}

/* --- Main Header --- */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
}

.logo-box img {
    max-height: 60px; /* Adjust according to your logo */
}

/* --- Navigation --- */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 25px 15px;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links > li > a:hover {
    background-color: #f0f0f0;
}

.nav-links .active-red > a {
    background-color: var(--red);
    color: white;
}

/* Dropdown Level 1 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 260px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    list-style: none;
    border-left: 4px solid var(--red);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu > li > a {
    padding: 12px 15px;
    display: block;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.dropdown-menu > li > a:hover {
    background: #f4f4f4;
}

/* Dropdown Level 2 */
.sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    width: 320px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    list-style: none;
    z-index: 1001;
}

.sub-dropdown:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    padding: 12px 15px;
    display: block;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    white-space: normal;
}

.sub-menu li a:hover, .sub-menu .active-sub a {
    background-color: var(--red);
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #4a3b8c;
}

/* --- Homepage Hero Banner & Slider --- */
.hero-banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(210, 180, 140, 0.4);
    z-index: 1;
}

.banner-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.banner-content {
    background: #fff;
    padding: 40px 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 5px;
    text-align: center;
}

.banner-content h1 {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 900;
    color: #000;
    line-height: 1.1;
    letter-spacing: -2px;
}

/* --- Homepage Sections --- */
/* (Aapka pura homepage CSS yahan aayega, maine ise short rakha hai space ke liye, aap apna pichla CSS yahan copy kar sakte hain) */
/* ... [Homepage CSS: grid-container, services-grid, other-services, team-section, etc.] ... */


/* =========================================
   INNER PAGES LAYOUT (Services, About, etc.)
   ========================================= */

/* Inner Page Banner */
.inner-banner {
    width: 100%;
    height: 250px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

.inner-banner h1 {
    position: relative;
    z-index: 2;
    color: white;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

/* Main Page Layout with Sidebar */
.page-layout {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

.main-content {
    flex: 1; /* Takes up remaining space */
    width: 70%;
}

.sidebar {
    width: 30%;
    flex-shrink: 0;
}

/* Main Content Styling */
.main-content img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-content h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.red-line {
    width: 80px;
    height: 3px;
    background-color: var(--red);
    border: none;
    margin-bottom: 25px;
}

.main-content p, .main-content li {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.8;
}

.main-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.main-content ul li::marker {
    color: #333;
}

/* Sidebar Styling */
.sidebar h3 {
    background-color: var(--red);
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
}

.sidebar ul {
    list-style: none;
    border: 1px solid #eee;
    border-top: none;
}

.sidebar ul li {
    border-bottom: 1px solid #eee;
}

.sidebar ul li a {
    display: block;
    padding: 15px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.sidebar ul li a:hover, .sidebar ul li a.active-side {
    background-color: #f9f9f9;
    color: var(--red);
    padding-left: 25px; /* Slight indent on hover */
    font-weight: 600;
}

.sidebar ul li a::before {
    content: '▸';
    margin-right: 10px;
    color: #555;
    font-size: 12px;
}

/* --- Footer --- */
.footer-menus {
    background-color: #26262c;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    text-decoration: none;
    color: #777;
    font-size: 13px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-col ul li a i {
    font-size: 10px;
    margin-right: 5px;
    color: #ccc;
}

.copyright {
    background-color: #f9f9f9;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #888;
}

/* =========================================
   RESPONSIVE DESIGN (Mobile Friendly)
   ========================================= */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
        flex-direction: column;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links > li > a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-menu, .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-left: none;
        border-top: 1px solid #eee;
        background: #f9f9f9;
        display: none;
    }

    .dropdown.active > .dropdown-menu,
    .sub-dropdown.active > .sub-menu {
        display: block;
    }

    .dropdown-menu > li > a, .sub-menu li a {
        padding-left: 40px;
    }
    
    .sub-menu li a {
        padding-left: 60px;
    }

    /* Inner Page Layout Mobile */
    .page-layout {
        flex-direction: column;
    }
    .main-content, .sidebar {
        width: 100%;
    }
    
    /* Homepage Mobile */
    .grid-container, .services-grid, .services-grid-3, .team-grid-3, .team-grid-4, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-content h1 { font-size: 36px; }
}

@media (max-width: 576px) {
    .grid-container, .services-grid, .services-grid-3, .team-grid-3, .team-grid-4, .footer-grid {
        grid-template-columns: 1fr;
    }
    .banner-content h1 { font-size: 28px; }
}



/* =========================================
   OUR TEAM PAGE SPECIFIC STYLES
   ========================================= */

.team-page-bg {
    background-color: #f2f2f2; /* Light grey background matching screenshot */
    padding: 60px 0 80px;
}

.team-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-page-header h2 {
    font-family: var(--font-main); /* Using Open Sans */
    font-size: 32px;
    color: #0b1c3c; /* Navy Blue */
    font-weight: 400;
    text-transform: uppercase;
}

.team-page-header h2 span {
    color: #ff0000; /* Red */
    font-weight: 700;
}

.team-page-header .title-divider {
    width: 50px;
    height: 3px;
    background-color: #ff0000;
    margin: 10px auto 20px;
}

.team-page-header p {
    font-size: 14px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.team-category-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    margin: 40px 0 30px;
}

/* Grids for Team Page */
.page-team-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.team-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Individual Profile Card */
.team-profile {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    width: 100%;
    aspect-ratio: 1 / 1.1; /* Slightly taller than square matching screenshot */
    background-color: #b0b2b3; /* Grey placeholder */
    border: 4px solid #7a7a7a; /* Dark grey border */
}

.profile-info {
    background-color: #ffffff;
    width: 100%;
    text-align: center;
    padding: 20px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Soft shadow */
}

.profile-info h4 {
    font-family: var(--font-main);
    font-size: 15px;
    color: #0b1c3c; /* Navy Blue */
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.profile-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Responsive adjustments for Team Page */
@media (max-width: 992px) {
    .team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    /* To center the 3rd item if it wraps to a new row */
    .team-grid-3 .team-profile:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .team-grid-3, .team-grid-4 {
        grid-template-columns: 1fr;
    }
    .team-grid-3 .team-profile:last-child {
        max-width: 100%;
    }
}

/* =========================================
   REACH US & CAREER PAGE SPECIFIC STYLES
   ========================================= */

/* Form Styling (Common for Reach Us & Career) */
.contact-form-section, .career-section {
    padding: 60px 0;
    background-color: #fff;
}

.text-center { text-align: center; }

.section-heading {
    font-family: var(--font-main);
    font-size: 32px;
    color: #0b1c3c; /* Navy Blue */
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading span {
    color: #ff0000; /* Red */
    font-weight: 700;
}

.section-sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 40px;
}

.standard-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    width: 100%;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.standard-form input[type="text"],
.standard-form input[type="tel"],
.standard-form input[type="email"],
.standard-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fcfcfc;
    font-family: var(--font-main);
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.standard-form input:focus,
.standard-form textarea:focus {
    border-color: #0b1c3c;
}

.standard-form textarea {
    resize: vertical;
}

/* File Upload Styling */
.file-upload-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    background-color: #fcfcfc;
    padding: 9px 15px;
}
.file-upload-group input[type="file"] {
    font-size: 14px;
    color: #555;
}

/* Submit Button */
.btn-submit {
    background-color: #0b1c3c; /* Navy Blue */
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #ff0000; /* Red */
}

/* Contact Info Dark Section (Reach Us Bottom) */
.contact-info-dark {
    background-color: #2b2b2b;
    color: white;
    padding: 60px 0;
}

.contact-dark-title {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-dark-title span { color: #ff0000; font-weight: 700; }

.red-line-left {
    width: 50px;
    height: 3px;
    background-color: #ff0000;
    margin-bottom: 30px;
}

.contact-info-dark .contact-desc {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 30px;
}

.contact-info-dark .contact-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-info-dark .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 15px;
    color: #ccc;
    line-height: 1.8;
}

.contact-info-dark .contact-item i {
    color: #fff;
    font-size: 20px;
    margin-top: 5px;
}

.btn-red-outline {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    margin-top: 20px;
    transition: background 0.3s;
}
.btn-red-outline:hover { background-color: #cc0000; }

/* Career Page Specific */
.career-text {
    max-width: 900px;
    margin: 0 auto 40px;
}

.career-text h3 {
    font-family: var(--font-main);
    color: #ff0000;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 30px;
}

.career-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Responsive Forms */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    .file-upload-group {
        padding: 11px 15px;
    }
}