/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   CSS VARIABLES (Custom Properties)
   Easy to update colors, spacing, etc.
   ============================================ */
:root {
    --color-bg: #f8f9fa;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-primary: #2c3e50; /* Soft Navy Blue */
    --color-secondary: #d35400; /* Muted Orange */
    --color-accent: #ecf0f1;
    --color-border: #e0e0e0;
    --container-max: 1150px;
    --section-spacing: 100px;
    --section-spacing-mobile: 60px;
    --font-main: 'Inter', sans-serif;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
html {
    scroll-behavior: smooth;
}
ul {
    list-style: none;
    padding: 0;
}


body {
    font-family: var(--font-main);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 0.8em;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5em;
    color: var(--color-text-light);
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: var(--color-secondary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.section {
    padding: var(--section-spacing) 0;
}

.section-alt {
    background-color: white;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #b34700; /* Slightly darker muted orange */
    transform: translateY(-2px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}



.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu li {
    position: relative;

}

nav .btn {
  background: linear-gradient(to right, #b34700, #7907bb);
  padding: 10px 22px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
}


.nav-link, .dropdown-link {
    color: var(--color-primary);
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    font-weight: 300;
    transition: color 0.3s ease;
}

.nav-link:hover, .dropdown-link:hover {
    color: var(--color-secondary);
}

nav a {
  text-decoration: none;
  color: white;
  margin-right: 20px;
}

nav .btn {
  background: #b34700;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s ease;
}

nav .btn:hover {
  background-color: #b34700; 
    transform: translateY(-2px);
}


/* ============================================
   DROPDOWN MENU
   ============================================ */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 5px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    background-image: url('./Assets/Banner.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* Removed problematic margin-left/right that was causing issues on mobile */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 25px;
    color: lightgrey;
    opacity: 0.8;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Styles for Hero Section - keep the background image! */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        /* Keep the background image on mobile - don't remove it */
        background-position: center;
        background-size: cover;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }
}


/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.about-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.about-item {
    text-align: left;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

/* Services Section */

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

/* Service Card */
.service-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #FE7F2D; 
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Make bottom 2 centered */
.services-grid .service-card:nth-child(4) {
    grid-column: 1 / 2;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 2 / 3;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   KEY FOCUS AREAS (ICON STYLE)
================================= */

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.focus-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.focus-card:hover {
    transform: translateY(-6px);
}

.focus-icon {
    font-size: 38px;
    margin-bottom: 20px;
    background: linear-gradient(2deg, #282ab3, #f7971e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.focus-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
}

.focus-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .focus-grid {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   RESEARCH CARDS WITH HOVER PDF
================================= */

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.research-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-6px);
}

.research-content h3 {
    font-size: 18px;
    margin-bottom: 0;
}

/* Overlay */
.research-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #261CC1; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.research-card:hover .research-overlay {
    opacity: 1;
}

.research-overlay .btn-outline {
    color: #fff;
    border: 2px solid #fff;
}

.research-overlay .btn-outline:hover {
    background: #fff;
    color: #1800ad;
}

/* Responsive */
@media (max-width: 992px) {
    .research-grid {
        grid-template-columns: 1fr;
    }
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.result-item h3 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.result-item p {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}


/* Team Section */
#team {
    padding: 80px 0;
}

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

.team-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.team-img {
    width: 100%;
    height: 220px;
    background-color: #e6e6e6; /* light gray placeholder */
}

.team-card h3 {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-primary);
}

.team-role {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 300;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--color-primary);
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    color: var(--color-secondary);
    margin-top: 3px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 300;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.form-note {
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
    color: #999;
}
/* Footer */
.footer {
    background-color: #0f1c2e; /* soft navy */
    color: #ccc;
    padding: 80px 0 30px;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #aaa;
}

.footer-col h4 {
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1rem;
}

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

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

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f4a261; 
}

.social-icons a {
    display: inline-block;
    margin-right: 12px;
    color: #aaa;
    font-size: 1rem;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #f4a261;
}

.location-title {
    margin-top: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #888;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Styles */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding: 100px 0 70px; }
    .section { padding: var(--section-spacing-mobile) 0; }
    .overview-grid,
    .about-content,
    .team-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .nav-menu li {
        margin-bottom: 10px;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--color-accent);
        margin-left: 20px;
        margin-top: 10px;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
    }
    
    /* Adjust Grids for Mobile */
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 30px 25px;
    }
    
    /* Typography Adjustments */
    .hero-title {
        font-size: 2.2rem;
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: var(--color-bg);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero-title {
    font-size: 2.5rem;
}

.hero-text {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }
}

/* Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}