/* === IMPORTS & FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* === VARIABLES === */
:root {
    --primary-color: #a33aff;
    --secondary-color: #fedd36;
    --dark-bg: #1a1a1a;
    --light-bg: #f9f9f9;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --color-purple: #6d28d9;
    --color-purple-dark: #4c0563;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base size */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.8;
    /* Anti Gravity: Breathing room */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    /* Required for underline width */
    width: fit-content;
    cursor: pointer;
}

h1::after,
h2::after,
h3::after,
h4::after,
h5::after,
h6::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -6px;
    left: 0;
    background-color: var(--primary-color);
    /* Light Deep Purple */
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

h1:hover::after,
h2:hover::after,
h3:hover::after,
h4:hover::after,
h5:hover::after,
h6:hover::after {
    width: 100%;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    /* Readable text */
    color: var(--text-light);
}

main {
    padding-top: 80px;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

/* === HEADER & NAV === */
.main-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    background-color: #ffffff;
    color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}

.logo img {
    height: 50px;
    content: url('../img/logo.png');
    /* Adjusted path for CSS in subfolder */
    width: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin: 0 20px;
    position: relative;
}

.main-nav ul li a {
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    transform: none;
    background-color: var(--color-purple);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-nav ul li a:hover {
    color: #c211da;
    /* Light purple */
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.programslist .programslist1 {
    display: none;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    opacity: 0;
    color: #000000;
    visibility: hidden;
    transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.programslist:hover .programslist1 {
    display: block;
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.programslist1 ul {
    flex-direction: column;
}

.programslist1 ul li {
    margin: 0;
    width: 100%;
}

.programslist1 ul li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}

.programslist1 ul li a:hover {
    background-color: #f3e8ff;
    /* Light purple */
    color: var(--color-purple-dark);
}

.programslist1 ul li a i {
    margin-left: 8px;
}

.others .other-main {
    display: none;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: rgb(6, 6, 6);
    min-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.others:hover .other-main {
    display: block;
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.other-main ul {
    display: flex;
    flex-direction: column;
}

.other-main ul li {
    margin: 0;
    width: 100%;
}

.other-main ul li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}

.other-main ul li a:hover {
    background-color: #f3e8ff;
    /* Light purple */
    color: var(--color-purple-dark);
}

.other-main ul li a i {
    margin-left: 8px;
}

/* Mobile Hamburger & Side Menu */
.menu-toggle {
    display: none;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.4s ease-in-out;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: var(--color-purple);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    padding-top: 100px;
    overflow-y: auto;
}

.side-menu nav ul {
    display: flex;
    flex-direction: column;
}

.side-menu nav a {
    display: block;
    padding: 15px 30px;
    font-size: 1.2em;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Interaction */
#menu-toggle:checked~.side-menu {
    transform: translateX(0);
}

#menu-toggle:checked~.hamburger-menu .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

#menu-toggle:checked~.hamburger-menu .bar:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked~.hamburger-menu .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Responsive Nav Breakpoint */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }
}


/* === INTRO SECTION === */
.intro-text {
    padding: 100px 5% 60px;
    text-align: center;
    background: #ffffff;
}

.container-text {
    max-width: 800px;
    /* Constrained for reading */
    margin: 0 auto;
}

.intro-text h2 {
    font-size: 3.5rem;
    /* Large heading */
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: -1px;
}

.intro-text p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* === VIDEO SECTION === */
.video {
    padding: 0 5% 80px;
}

.video-afrique {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-afrique video {
    width: 100%;
    display: block;
}

/* === THEORY OF CHANGE === */
.strategy-section {
    padding: 80px 5%;
    background-color: var(--white);
}

.highlight-box.theory-change {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 50px;
    background: linear-gradient(135deg, #fff 0%, #fefefe 100%);
    border-left: 6px solid var(--secondary-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.highlight-box h4 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* === STRATEGY GRID V2 (Mission/Vision) === */
.strategy-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 80px;
}

.vm-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.icon-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

/* === VALUES SECTION === */
.values-section,
.objectives-section {
    max-width: 1100px;
    margin: 0 auto 80px;
}

.values-section h3,
.objectives-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.values-grid,
.obj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card,
.obj-card {
    padding: 35px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.value-card:hover,
.obj-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-card h4,
.obj-card h5 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* === FOCUS & APPROACH === */
.focus-approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.fa-card {
    padding: 40px;
    background: var(--dark-bg);
    color: var(--white);
    border-radius: var(--radius-md);
}

.fa-card h4 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.fa-card p {
    color: rgba(255, 255, 255, 0.8);
}

.bullet-list {
    margin-left: 20px;
    list-style: disc;
    color: rgba(255, 255, 255, 0.8);
}

.bullet-list li {
    margin-bottom: 10px;
}

/* === WHAT WE DO === */
.what-we-do {
    padding: 100px 5%;
    background: #f4f4f4;
    text-align: center;
}

.what-we-do .content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.what-we-do h3 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.what-we-do p {
    font-size: 1.4rem;
    /* Prominent quote style */
    font-style: italic;
    color: #444;
    line-height: 1.6;
}

/* === MEMBERS / GOVERNING COUNCIL === */
.members {
    padding: 100px 5%;
    background: var(--white);
}

.members h4 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
}

.main-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Responsive Grid */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-cont {
    text-align: left;
}

.main-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-img:hover img {
    transform: scale(1.05);
}

.main-overlay {
    position: absolute;
    inset: 0;
    background: rgba(163, 58, 255, 0.8);
    /* Primary overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.main-img:hover .main-overlay {
    opacity: 1;
}

.main-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-cont h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.main-cont p {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

/* === FOUNDERS (EXECUTIVE) === */
.founders-section {
    padding: 100px 5%;
    background: #fdfdfd;
}

.founders-section h4 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--white);
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.founder-card.reverse {
    flex-direction: row-reverse;
}

.founder-img {
    flex: 1;
    height: 400px;
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-text {
    flex: 1.2;
    padding: 50px;
}

.founder-text h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.founder-text h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.read-more-btn {
    padding: 12px 30px;
    background: var(--dark-bg);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.read-more-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* === TEAM SECTION === */
.members1 {
    padding: 100px 5%;
    background: #222;
    color: var(--white);
}

.members1 h4 {
    text-align: center;
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 60px;
}

.members1 .main-members .main-cont1 {
    text-align: center;
}

.main-cont1 .main-img {
    border-radius: var(--radius-md);
    /* Rounded rectangle instead of circle */
    width: 100%;
    /* Full width of container */
    aspect-ratio: 1/1;
    /* Maintain square aspect */
    margin: 0 auto 20px;
    position: relative;
    /* For overlay */
    overflow: hidden;
    /* Clip overlay */
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.main-cont1 .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-cont1 .main-img:hover img {
    transform: scale(1.05);
}

.main-cont1 h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.main-cont1 p {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* === POPUPS / MODALS === */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Darker, more premium dimmer */
    backdrop-filter: blur(8px);
    z-index: 2000;
    transition: var(--transition);
}

.popup-overlay.active {
    display: block;
}

.extramain,
.extramain1 {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 650px;
    /* Generous width for reading */
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    /* Smooth easeOutExpo */
    display: flex;
    flex-direction: column;

}

.extramain.active,
.extramain1.active {
    transform: translateX(0);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
}

/* Header Styling */
.head,
.head1 {
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Separation shadow */
    position: relative;
    z-index: 10;
}

.head {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8e2de2 100%);
    color: var(--white);
}

.head1 {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

.head-text,
.head1-text {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.head-icon,
.head1-icon {
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    opacity: 0.8;
}

.head-icon:hover,
.head1-icon:hover {
    transform: rotate(90deg) scale(1.1);
    opacity: 1;
}

/* Content Body */
.work-main,
.work1-main {
    padding: 50px 40px;
    overflow-y: auto;
    flex-grow: 1;
    background-color: #fdfdfd;
}

/* Custom Scrollbar */
.work-main::-webkit-scrollbar,
.work1-main::-webkit-scrollbar {
    width: 8px;
}

.work-main::-webkit-scrollbar-track,
.work1-main::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.work-main::-webkit-scrollbar-thumb,
.work1-main::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.work-main::-webkit-scrollbar-thumb:hover,
.work1-main::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Images */
.work-main img,
.work1-main img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Typography */
.work-main h3,
.work1-main h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #111;
}

.work-main h4,
.work1-main h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    display: block;
}

.work-text p,
.work1-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444;
    margin-bottom: 25px;
}

/* List Styling inside Text */
.work-text ul,
.work1-text ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.work-text ul li,
.work1-text ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.work-text ul li::before,
.work1-text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.work-text ul li strong {
    color: #222;
}

/* === FOOTER === */
.footer {
    padding: 5vh 0 10vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: black;
    color: white;
}

.footer1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 2px solid white;
    padding-bottom: 40px;
    width: 86%;
}

.logo1 {
    display: flex;
    align-items: flex-start;
}

.logo1 img {
    height: 80px;
    width: auto;
    /* Ensure aspect ratio */
}

.logo1 h4 {
    font-size: 6.5em;
    font-weight: 700;
    margin-left: 20px;
    line-height: 1;
    /* Fixes spacing */
}

.contact-bthn {
    width: 80%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 50px 0 80px 0;
}

.btn33,
.btn34 {
    height: 80px;
    width: 100%;
    max-width: 260px;
    background: transparent;
    color: white;
    border: 1px solid white;
    font-weight: 500;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    /* Centering text inside button */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn33 a,
.btn34 a {
    color: white;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn33:hover,
.btn34:hover {
    background-color: white;
    color: black;
    border-color: white;
}

.btn33:hover a,
.btn34:hover a {
    color: black;
}

.credentials {
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.credentials p {
    font-size: 1em;
    font-weight: 400;
}

.links2 ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.links2 .wow {
    border-right: 1px solid blueviolet;
    padding-right: 20px;
}

.wow a {
    color: blueviolet;
}

.links2 ul li a {
    font-size: 1.1em;
    font-weight: 500;
    transition: .3s;
    color: white;
    /* Ensure visible on black */
}

.links2 ul li a:hover {
    color: blueviolet;
}

/* --- FOOTER RESPONSIVENESS (From Original) --- */
@media (max-width: 992px) {
    .logo1 h4 {
        font-size: 4em;
    }

    .contact-bthn {
        flex-direction: column;
        width: 90%;
        padding: 40px 0;
    }

    .btn33,
    .btn34 {
        font-size: 1em;
        height: 70px;
        max-width: 100%;
    }

    .credentials {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }

    .links2 ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .logo1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo1 h4 {
        font-size: 3em;
        margin-left: 0;
        margin-top: 10px;
    }

    .footer1 {
        width: 90%;
        padding-bottom: 20px;
        justify-content: center;
        /* Center logo on mobile */
    }

    .links2 .wow {
        display: list-item;
        border-right: 1px solid blueviolet;
        padding-right: 20px;
    }
}

@media (min-width: 768px) {
    .credentials {
        flex-direction: row;
        justify-content: space-between;
    }
}


/* === RESPONSIBLE DESIGN (Anti Gravity Directives) === */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
    .intro-text h2 {
        font-size: 3rem;
    }

    .founder-card {
        flex-direction: column;
    }

    .founder-card.reverse {
        flex-direction: column;
    }

    .founder-img {
        width: 100%;
        height: 350px;
    }

    .founder-text {
        padding: 40px;
    }
}

/* Mobile & Tablet Portrait */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger-menu .bar {
        display: block;
        width: 28px;
        height: 3px;
        background: #333;
        margin: 6px 0;
        transition: var(--transition);
    }

    .extramain,
    .extramain1 {
        max-width: 100%;
    }

    /* Full width modal on tablet/mobile */
}

/* Mobile Specific (Critical) */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    /* Ensure readable base size */

    h2 {
        font-size: 2.2rem !important;
    }

    h3 {
        font-size: 1.8rem !important;
    }

    h4 {
        font-size: 1.5rem !important;
    }

    .intro-text {
        padding: 80px 5% 40px;
    }

    .highlight-box.theory-change {
        padding: 30px;
    }

    .strategy-grid-v2,
    .values-grid,
    .obj-grid,
    .focus-approach-grid,
    .main-members {
        grid-template-columns: 1fr;
        /* Single column for focus */
        gap: 30px;
    }

    .logo1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo1 h4 {
        font-size: 2rem;
        margin-top: 15px;
    }

    .credentials {
        flex-direction: column;
        align-items: flex-start;
    }

    .links2 ul {
        flex-wrap: wrap;
    }

    .intro-text,
    .what-we-do,
    .strategy-section,
    .members,
    .founders-section,
    .members1 {
        padding: 60px 20px;
        /* Comfortable padding */
    }

    /* Mobile Modal Padding adjustments */
    .head,
    .head1 {
        padding: 20px;
    }

    .work-main,
    .work1-main {
        padding: 30px 20px;
    }

    .work-main img,
    .work1-main img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .intro-text h2 {
        font-size: 2rem !important;
    }

    .founder-img {
        height: 250px;
    }

    .founder-text {
        padding: 30px 20px;
    }

    /* Ensure no text touching edges */
    .container-text,
    .content-wrapper,
    .highlight-box {
        padding-left: 0;
    }
}

/* === BIO SECTION OVERRIDES === */
.founder-text h1,
.founder-text h2,
.founder-text h3,
.founder-text h4,
.founder-text h5,
.founder-text h6,
.extramain h1,
.extramain h2,
.extramain h3,
.extramain h4,
.extramain h5,
.extramain h6 {
    cursor: default;
}

.founder-text h1::after,
.founder-text h2::after,
.founder-text h3::after,
.founder-text h4::after,
.founder-text h5::after,
.founder-text h6::after,
.extramain h1::after,
.extramain h2::after,
.extramain h3::after,
.extramain h4::after,
.extramain h5::after,
.extramain h6::after {
    display: none;
}