:root {
    --primary-color: rgb(0, 112, 131);
    --secondary-color: rgb(230, 178, 34);
    --text-color: #333;
    --background-color: #f4f4f4;
    --white-color: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

header {
    background: transparent;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

header.scrolled {
    background: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: auto;
}

nav .logo img {
    max-height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    margin-left: auto;
    margin-right: 2rem;
}

.cta-nav {
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.cta-nav .cta-button {
    padding: 8px 20px;
    font-size: 1rem;
}

main {
}

section {
    padding: 4rem 2rem;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 70%;
    padding-top: 80px; /* Adjust for fixed header */
    padding-bottom: 100px; /* Space for the paragraph */
}

.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
}

.hero-shape svg {
    width: 100%;
    height: 100%;
}

.hero-shape .s0 {
    fill: var(--primary-color);
}


#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#hero p {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-bottom-content {
    position: absolute;
    bottom: -88px;
    left: 2rem;
}

#hero .cta-button {
}

.cta-button {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border-radius: 5px;
    bottom: 10px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: rgb(210, 160, 30);
}

.about-section {
    padding: 4rem 2rem;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-content {
    flex: 1;
    text-align: left;
}

.mission-vision {
    margin-top: 2rem;
}

.mission-vision h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.mission-vision i {
    color: var(--secondary-color);
}

#about .values {
    margin-top: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.2rem;
    color: var(--text-color);
}

.tabs-container {
    width: 100%;
    margin-top: 2rem;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.tab-button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.tab-button:hover:after,
.tab-button.active:after {
    width: 100%;
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.tab-image {
    flex: 1;
}

.tab-image img {
    width: 100%;
    border-radius: 10px;
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tab-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.tab-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tab-list i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

#reach {
    background: linear-gradient(rgba(0, 112, 131, 0.8), rgba(0, 112, 131, 0.8)), url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Simple_world_map.svg/1280px-Simple_world_map.svg.png') no-repeat center center/cover;
    color: var(--white-color);
}

#reach h2 {
    color: var(--white-color);
}

.reach-content-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
}

#commitment {
    background: var(--background-color);
}

.commitment-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.commitment-icon {
    flex: 1;
    text-align: center;
}

.commitment-icon i {
    font-size: 8rem;
    color: var(--primary-color);
}

.commitment-content {
    flex: 1;
    text-align: left;
}

.commitment-content blockquote {
    font-size: 1.2rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 0;
}

.commitment-content strong {
    color: var(--secondary-color);
}

footer {
    background: #2b2b2b;
    color: #ccc;
    padding-top: 4rem;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 90%;
    margin: auto;
    padding-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.footer-column p,
.footer-column ul li {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-column i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-media {
    margin-top: 1.5rem;
}

.social-media a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #444;
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.newsletter-form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: var(--secondary-color);
    color: var(--white-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: rgb(210, 160, 30);
}

.footer-bottom {
    background: #1e1e1e;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}


/* New and Revised Styles */

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

/* Revised About Section */
.about-section-revised {
    background: var(--white-color);
}

.about-content-revised {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.about-image-revised img {
    width: 100%;
    border-radius: 10px;
}

/* Revised Founder Section (Our Story) */
.founder-section-revised {
    background: var(--background-color);
    text-align: center;
}

.founder-section-revised h2 {
    margin-bottom: 1.5rem;
}

.story-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

/* Our Approach Section */
.our-approach-section {
    background: var(--white-color);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Revised CTA Section */
.cta-section-revised {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 5rem 2rem;
}

.cta-section-revised h2 {
    color: var(--white-color);
    font-size: 2.2rem;
}

.cta-section-revised p {
    max-width: 700px;
    margin: 1rem auto 2rem;
    font-size: 1.1rem;
}

.services-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .services-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.clients-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

@media (min-width: 992px) {
    .clients-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}



.service-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.why-us-section {
    background: var(--white-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.testimonials-section {
    background: var(--primary-color);
    color: var(--white-color);
}

.testimonials-section h2 {
    color: var(--white-color);
}

.testimonial-card {
    max-width: 800px;
    margin: 2rem auto 0;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
}

.testimonial-card cite {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Core Values Section */
.core-values-section {
    background: var(--background-color);
}

.values-grid-revised {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card-revised {
    background: var(--white-color);
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-weight: bold;
    color: var(--primary-color);
}

/* Revised Clients Section */
.clients-section-revised {
    background: var(--white-color);
}

.clients-grid-revised {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.client-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
}

.client-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.client-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Impact Section */
.impact-section {
    background: var(--primary-color);
    color: var(--white-color);
}

.impact-section h2 {
    color: var(--white-color);
}

.impact-card {
    max-width: 800px;
    margin: 2rem auto 0;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    font-style: italic;
}

/* Compliance Section */
.compliance-section {
    background: var(--background-color);
    text-align: center;
}

.compliance-section p {
    max-width: 800px;
    margin: 0 auto;
}

/* CSR & ESG Section */
.csr-esg-section {
    background: var(--white-color);
    text-align: center;
}

.csr-esg-section p {
    max-width: 800px;
    margin: 0 auto;
}

/* Thought Leadership Section */
.thought-leadership-section {
    background: var(--background-color);
    text-align: center;
}

.thought-leadership-section p {
    max-width: 800px;
    margin: 0 auto;
}

/* Info Grid for Compliance, CSR, and Thought Leadership */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.info-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}



.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.info-card {
    padding: 0;
    padding-bottom: 2.5rem;
}

.info-card h3, .info-card p {
    padding: 0 2.5rem;
}

/* Team Section */
.team-section {
    background: var(--white-color);
}



.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    position: relative; /* Essential: This establishes a positioning context for absolute children */
  overflow: hidden; /* Ensures content doesn't spill out unexpectedly before hover */
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-member .title {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* --- Team Member Bio Hover Effect (Overlay Version) --- */


.team-member .bio {
  position: absolute; /* Takes bio out of document flow */
  bottom: 0; /* Aligns to the bottom of the team-member card */
  left: 0;
  right: 0;

  /* Initial hidden state */
  opacity: 0;
  transform: translateY(100%); /* Start hidden below the card */
  pointer-events: none; /* Allows clicks on elements underneath when bio is hidden */

  /* Styling for when it appears */
  background-color: rgba(0, 112, 131, 0.95); /* <-- UPDATED */
  color: var(--white-color); /* <-- ADDED */
  padding: 10px;
  text-align: left;
  box-sizing: border-box; /* Include padding in element's total width/height */

  /* Smooth transition for animation */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;

  /* Ensure it's above other text like title when appearing */
  z-index: 10;
}

.team-member:hover .bio {
  opacity: 1;
  transform: translateY(0); /* Slide up into view */
  pointer-events: auto; /* Allow interaction with the bio when visible */
}

/* You might want to adjust the existing .team-member styles if needed,
    for example, ensure it has a defined height if elements inside are short. */
/* Example:
.team-member {
    min-height: 250px; // Or a height that accommodates image + name + title well
    display: flex;
    flex-direction: column;
    justify-content: flex-start; // Keeps content at top
}
*/

/* Team Section Subsections */
.team-subsection {
    margin-bottom: 4rem;
}

.team-subsection h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.team-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: auto;
}

/* Responsive Design */

@media(max-width: 768px) {
    .nav-toggle {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        z-index: 1001;
        background: transparent;
        border: 0;
    }

    .hamburger {
        display: block;
        position: relative;
        width: 30px;
        height: 2px;
        background: var(--primary-color);
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--primary-color);
        left: 0;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-links.show {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-nav {
        display: none; /* Hide CTA on mobile nav to save space */
    }

    #hero {
        min-height: auto;
        padding: 6rem 2rem;
    }

    #hero .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 0;
    }

    .hero-shape {
        display: none; /* Hide SVG on mobile */
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.2rem;
        position: static;
        margin-top: 1rem;
    }

    .hero-bottom-content {
        position: static;
        margin-top: 2rem;
    }

    .about-container,
    .commitment-container,
    .reach-container,
    .tab-content-inner {
        flex-direction: column;
    }

    .tabs {
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
}