/* ================= Self-Hosted Interface Trial Fonts =================
@font-face {
    font-family: 'InterFace Trial';
    src: url('/static/fonts/InterFace_Trial_Rg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterFace Trial';
    src: url('/static/fonts/InterFace_Trial_Bd.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterFace Trial';
    src: url('/static/fonts/InterFace_Trial_It.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

===== Global Font Application ===== */
/* *:not(button):not(iconify-icon) {
    font-family: 'InterFace Trial', sans-serif;
}

button:not(.like-btn):not(.dislike-btn):not(.copy-btn) {
    font-family: 'InterFace Trial', sans-serif;
} */


/* ================= Self-Hosted Interface Trial Fonts ================= */
@font-face {
    font-family: 'poppins';
    src: url('/static/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'poppins';
    src: url('/static/fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: 'poppins';
    src: url('/static/fonts/Poppins-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ===== Global Font Application ===== */
*:not(button):not(iconify-icon) {
    font-family: 'poppins';
}

button:not(.like-btn):not(.dislike-btn):not(.copy-btn) {
    font-family: 'poppins';
}





h1 {
    color: #0091ea;
}



.content-with-icon {
    display: flex;
    align-items: stretch;
    gap: 2px; /* Almost touching */
    margin-bottom: 20px;
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gender-icon {
    width: 200px; /* Much bigger icon */
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    /* border: 2px solid #2D51A1; */
    /* border-radius: 10px; */
    /* background: #F3F4F6; */
    align-self: stretch;
}

.gender-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100%;
}

/* Keep all your existing .data-container styles the same */
.data-container {
    background: #F3F4F6;
    padding: 40px;
    border: 2px solid #ccc;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    max-width: 500px;
    width: 100%;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.small-title {
    font-size: 18px;
    color: #2D51A1;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 500;
}

.percentage-display {
    font-size: 72px;
    font-weight: 700;
    color: #2D51A1;
    margin: 20px 0;
    transition: all 0.6s ease;
    position: relative;
}

.percentage-display.female {
    color: #0091ea;
}

.percentage-display.male {
    color: #2D51A1;
}

.gender-label {
    font-size: 18px;
    color: #2D51A1;
    margin-bottom: 30px;
    font-weight: 500;
    transition: all 0.6s ease;
}

.chart-wrapper {
    position: relative;
    height: 140px;
    margin-top: auto;
}

.line-chart {
    position: relative;
    width: 100%;
    height: 100px;
    padding: 10px 0;
}

/* Enhanced line styling */
.line-path {
    fill: none;
    stroke: #0091ea;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.6s ease;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.1));
}

.line-path.male-color {
    stroke: #2D51A1;
}

.chart-point {
    position: absolute;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    z-index: 2;
}

/* Enhanced point markers */
.point-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0091ea;
    position: absolute;
    transition: all 0.3s ease, transform 0.6s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    z-index: 3;
}

.point-marker.male-color {
    background: #2D51A1;
    border: 3px solid white;
}

/* Pulse animation effect */
.pulse-effect {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(54, 162, 235, 0.3);
    z-index: 2;
    animation: pulse 2s infinite;
}

.pulse-effect.male-color {
    background: rgba(0, 0, 128, 0.3);
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: translateX(-50%) scale(0.8);
        opacity: 0.8;
    }
}

.chart-point:hover .point-marker {
    transform: scale(1.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.chart-point:hover .pulse-effect {
    animation-duration: 1s;
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
    margin-bottom: 5px;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.85);
}

.chart-point:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.chart-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto; /* ✅ enables hover */
}


/* Fade animation */
@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.animating {
    animation: fadeInOut 0.6s ease;
}

.x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0;
    position: relative;
    height: 20px;
}

.x-label {
    font-size: 11px;
    color: #95a5a6;
    position: absolute;
    transform: translateX(-50%);
    z-index: 3;
}






.container {
    padding: 0;
              /* remove container padding for testing */
}
/* ===================== Navbar Styles ===================== */
/* .navbar {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    background-color: #2d51a1;
    z-index: 1000;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 40px;
    flex-wrap: wrap; 
    box-sizing: border-box; 
    margin-bottom: 0px;
    padding: 0 20px;    
} */

.nav-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* equal or slightly larger than navbar height + top gap */
    background-color: #fff; /* same as navbar background */
    z-index: 900; /* just below navbar */
}


.nav_container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}


.navbar {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
    background-color: #2d51a1;
    z-index: 1000;
    position: fixed;
    top: 45px; /* add top spacing */
    left: 50%;
    transform: translateX(-50%);
    width: 96%; /* slightly narrower than full width */
    padding: 10px 40px;
    flex-wrap: wrap;
    box-sizing: border-box;
    border-radius: 40px; /* rounded corners */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); subtle shadow */
}


.nav-left .logo {
    height: 40px;                     /* slightly larger but balanced */
    width: auto;
    display: block;
}


/* Nav links container */
.nav-center {
    display: flex;
    align-items: center;
    gap: 15px; /* reduced gap to prevent overflow */
    flex-wrap: wrap; /* allow nav items to move to next line if needed */
    flex-shrink: 1; /* shrink if needed */
    min-width: 0;
}

/* Nav links styling */
.nav-center a {
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 18px;
    max-width: 100%;
    flex-shrink: 1;
    box-sizing: border-box;
    white-space: nowrap; /* prevent text wrap */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Login button */
#btn {
    border-color: #2d51a1;
    background-color: #fff;
    color: #2d51a1;
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0; /* prevent shrinking too much */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover effect */
.nav-center a:hover{
background-color: #fff;
    color: #2d51a1;
}


#btn:hover {
    background-color: #2d51a1;
    color:#fff ;
    
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropbtn {
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 1;
    white-space: nowrap;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2d51a1;
    min-width: 180px;
    z-index: 999;
    border-radius: 10px;
}

.dropdown-content a {
    color: white;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-size: 16px;
}

.dropdown-content a:hover {
    background-color: #fff;
    color: #2d51a1;
}

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

/* Hamburger for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    border-radius: 2px;
}

/* ===================== Page Content & Sections ===================== */
.home-top {
    background-color: #fff;  /*f2f2f2*/
    padding: 0px 60px;
    padding-bottom: 5%;
}

.home-top-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    background-color: transparent;
    color: #2d51a1;
}

.home-p {
    /* font-family: 'poppins'; */
    font-size: 50px;
    color: #0091ea;          /* if needed */
    font-weight: bolder;         /* match boldness */
}

.home-p {
    line-height: 1.3; /* Lower number = less space between lines */
}

.home-top-left p {
    font-size: 45px;
    color: #0091ea;
    font-weight: bold;
}

.home-pragraph {
    color: #333;
    font-size: 18px;
    text-align: justify;
    text-justify: inter-word;
}

.btn-home {
    color: white;
    border-radius: 25px;
    font-size: 25px;
    font-weight: bold;
    border-color: #0091ea;
    background-color: #0091ea;
    padding: 8px;
}

.btn-home:hover {
    background-color: #4a9ec9;
    color: #fff;
}

.home-top-right {
    width: 100%;
    height: 100%;
    margin: 3% 0%;
}

.home-indicator {
    background-color: transparent;
    border-radius: 25px;
    padding: 20px;
    color: #000000;
}

.home-bottom p {
    padding-right: 50%;
    color: #2d51a1;
    font-size: 24px;
}

.autotype {
    font-size: 45px;
    color: #0091ea;          /* if needed */
    font-weight: bolder;
}

.home-bottom button {
    background-color: transparent;
    border-color: #fff;
    font-size: 24px;
    color: #2d51a1;
    padding: 10px 20px;
    border-radius: 50px;
}

/* Feature Indicators */
.feature-ind-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: transparent;
    color: #2d51a1;
}

.feature-ind-grid {
    color: #444;
}

/* Slider */
.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    min-width: 100%;
}

.slide {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

/* Card */
.card {
    background-color: #f3f4f6;
    border: 1px solid #ccc;
    padding: 1.2rem;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    height: 380px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h4 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #2d51a1;
}

canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: 300px;
    flex-grow: 1;
    object-fit: contain;
    border-radius: 5px;
}

/* Instructions */
.instruction-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 5% 7.5%;
    align-items: center;
    background-color: #f2f2f2;
}

.inst-left img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.inst-right {
    padding: 10px;
    color: #333;
}

.inst-h2 h2 {
    margin-bottom: 15px;
    font-size: 48px;
}

.instr-p {
    font-size: 24px;
    color: #444;
}

/* About sections */
.underinstruction,
.instruction,
.about-gender-data-Lab,
.feature-ind {
    color: #000;
    font-size: 18px;
    background-color: #fff;
    margin: 10px 60px;
}

.main-partner {
    background-color: #F2F2F2;
    margin: 10px 60px; /* outer margin like other divisions */
    padding: 20px;      /* inner spacing */
}

.title-partners {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
    padding: 0;          /* remove extra padding */
    background-color: transparent; /* remove duplicate BG */
}

.partners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin: 10px 0;      /* only vertical spacing */
    padding: 0;          /* remove horizontal padding */
}


.partner-item {
    border-radius: 10px;
    background-color: #fff;
    padding: 20px;
    transition: transform 0.3s ease;
}

.prtner-item img {
    max-width: 100px;
    margin-bottom: 15px;
}

.partner-title {
    font-size: 18px;
    color: #2d51a1;
    margin-bottom: 10px;
}

.partner-website {
    text-decoration: none;
    color: #007b75;
    font-weight: bold;
}

.partners a {
    color: #000;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
}

/* Processed indicators */
.indicators {
    padding: 0px 40px;
    background-color: #2d51a1;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.upper-indicator-section p {
    margin-right: 50%;
}

.indicators p {
    font-size: 20px;
}

/* Lower section grid */
.lower-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 10px 40px;
    border-radius: 20px;
    text-align: start;
    background-color: #272424;
    color: #2d51a1;
    box-shadow: 6px 6px 15px lightgrey;
}

/* Footer */
.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #2d51a1;
    font-size: 18px;
    color: #fff;
    width: 100%;
}

/* ===================== Media Queries ===================== */
/* Scrollbar visibility handling */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;  /* Only show vertical scrollbar if content overflows */
  -ms-overflow-style: none;  /* Hide scrollbar in IE and old Edge */
  scrollbar-width: none;     /* Hide scrollbar in Firefox */
  /* overflow-x: hidden; */
}

/* For Chrome, Safari, Edge */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}
/* Medium screens <=1024px */
@media screen and (max-width: 1024px) {
    .nav-center {
        display: none;
        flex-direction: column;
        /* CHANGE THESE TWO LINES ↓ */
        width: 85%;              /* instead of 100% */
        left: 50%;               /* center it horizontally */
        transform: translateX(-50%); /* make centering work */
        /* keep the rest as-is */
        background-color: #2d51a1;
        position: absolute;
        top: 60px;
        padding: 10px 0;
        border-bottom-left-radius: 20px;  /* optional: matches rounded look */
        border-bottom-right-radius: 20px; /* optional: matches rounded look */
    }


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

    .nav-center a,
    #btn,
    .dropbtn {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        margin: 0;
    }

    .dropdown-content {
        position: relative;
        min-width: 100%;
        border-radius: 0;
    }

    .hamburger {
        display: flex;
    }
}

/* Small screens <=768px */
@media screen and (max-width: 768px) {
    .slider-container {
        padding: 5px;
    }

    .card {
        height: 320px;
        padding: 0.8rem;
    }

    .card h4 {
        font-size: 18px;
    }

    canvas {
        max-height: 260px;
    }
}

/* Ultra-wide screens >=1920px */
@media screen and (min-width: 1920px) {
    .navbar {
        padding: 10px 120px;
    }

    .nav-center a,
    #btn {
        font-size: 20px;
        padding: 8px 15px;
    }
}

body {
    padding-top: 60px; /* push content down a bit */
}


/* ===================== Mobile-friendly nav hover ===================== */
@media screen and (max-width: 1024px) {
    /* Simulate hover on mobile taps */
    .nav-center a:active,
    .nav-center a:focus {
        background-color: #fff;
        color: #2d51a1;
    }

    #btn:active,
    #btn:focus {
        background-color: #2d51a1;
        color: #fff;
    }

    /* Dropdown click/tap behavior */
    .dropdown-content {
        display: none; /* hide by default */
        position: relative; 
        min-width: 100%; 
        border-radius: 0;
    }

    .dropdown-content.active {
        display: block; /* show when active class added via JS */
    }
}

/* Optional: disable hover effects on touch devices */
@media (pointer: coarse) {
    .nav-center a:hover {
        background-color: inherit;
        color: inherit;
    }

    #btn:hover {
        background-color: #fff;
        color: #2d51a1;
    }
}

/* ===========================================================================
   📱 RESPONSIVE DESIGN FOR THE home-top-left DIVISION
   =========================================================================== */

/* Large tablets and below */
@media (max-width: 1200px) {
  .home-top {
    padding: 0 40px;
  }

  .home-p {
    font-size: 42px;
  }
  .autotype {
    font-size: 42px;
  }

  .home-pragraph {
    font-size: 17px;
  }

  /* .data-container {
    max-width: 450px;
    height: auto;
  } */
}

/* Tablets and below */
@media (max-width: 992px) {
  .home-top-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 40px;
  }

  .home-top {
    padding: 0 30px;
  }

  /* .home-top-left {
    text-align: left;
  } */

  .home-top-left p,
  .home-p {
    font-size: 42px;
  }
  .autotype {
    font-size: 42px;
  }

  .btn-home {
    font-size: 22px;
    padding: 10px 0px;
  }

  .home-top-right {
    display: flex;
    justify-content: center;
  }

  /* .data-container {
    margin: 0 auto;
    width: 90%;
  } */
}

/* Mobile landscape */
@media (max-width: 768px) {
  .home-top {
    padding: 0 20px;
  }

  .home-p {
    font-size: 42px;
  }
  .autotype {
    font-size: 42px;
  }

  .home-pragraph {
    font-size: 16px;
  }

  /* .data-container {
    padding: 25px;
  } */

  .percentage-display {
    font-size: 60px;
  }

  .gender-icon {
    width: 140px;
  }
}

/* Mobile portrait */
@media (max-width: 576px) {
  .home-top {
    padding: 0 15px;
  }

  .home-p {
    font-size: 42px;
  }
  .autotype {
    font-size: 42px;
  }

  .home-pragraph {
    font-size: 14px;
  }

  .btn-home {
    font-size: 16px;
    padding: 8px 0px;
  }

  .percentage-display {
    font-size: 50px;
  }

  .gender-icon {
    width: 100px;
  }

  /* .data-container {
    padding: 20px;
  } */
}

/* =========================
   📈 RESPONSIVE CHART AREA
   ========================= */

/* Main container */
.data-container {
  width: 100%;
  max-width: 520px;
  background: transparent;
  border: none;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: -32px;     /* pull container up slightly */
  margin-right: 50px;    /* push slightly to the right */
  margin-left: auto;     /* aligns container to right side */
}

/* Chart wrapper */
.chart-wrapper {
  position: relative;
  width: 100%;
  min-height: 160px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Line chart area */
.line-chart {
  position: relative;
  width: 100%;
  flex: 1;
  padding-bottom: 25px; /* space for x-axis */
  overflow: visible;
}

/* Actual chart line */
.chart-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

/* Axis labels */
.x-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 5px;
  font-size: 0.9rem;
  color: #333;
}

/* =========================
   📝 SMALL TITLE STYLE
   ========================= */

.small-title {
  font-size: 1.25rem;
  /* font-weight: 600; */
  text-align: left;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  color: #2d51a1;
}

/* =========================
   🔁 RESPONSIVENESS
   ========================= */

/* Large tablets (≤1200px) */
@media (max-width: 1200px) {
  .data-container {
    max-width: 480px;
    padding: 35px;
    margin-right: 40px;
    margin-top: -20px;
  }
}

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .data-container {
    max-width: 440px;
    padding: 25px 20px;
    margin-right: 25px;
    margin-top: -15px;
  }

  .chart-wrapper {
    min-height: 140px;
  }

  .small-title {
    font-size: 1.1rem;
  }

  .x-axis {
    font-size: 0.85rem;
  }
}

/* Mobile landscape (≤768px) */
@media (max-width: 768px) {
  .data-container {
    max-width: 400px;
    padding: 20px 15px;
    margin-right: 15px;
    margin-top: -10px;
  }

  .chart-wrapper {
    min-height: 120px;
  }

  .small-title {
    font-size: 1rem;
  }
}

/* Mobile portrait (≤576px) */
@media (max-width: 576px) {
  .data-container {
    max-width: 95%;
    padding: 15px 10px;
    margin: 0 auto;
    margin-top: 0;
    align-items: center; /* center content for narrow screens */
  }

  .chart-wrapper {
    min-height: 100px;
  }

  .small-title {
    font-size: 0.95rem;
    text-align: center;
  }

  .x-axis {
    font-size: 0.8rem;
  }
}



/* ===========================================================================
   📱 RESPONSIVE DESIGN FOR THE About The Gender Lab DIVISION
   =========================================================================== */

/* About section */
.about-gender-data-Lab {
    margin: 10px 60px;
}

.about-gender-data-Lab h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: left;
}

.about-gender-data-Lab p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}


/* Responsiveness */
@media (max-width: 1200px) {
  .about-gender-data-Lab {
    margin: 10px 40px;
  }
  .about-gender-data-Lab h1 {
    font-size: 32px;
  }
  .about-gender-data-Lab p {
    font-size: 17px;
  }
}

@media (max-width: 992px) {
  .about-gender-data-Lab {
    margin: 10px 30px;
  }
  .about-gender-data-Lab h1 {
    font-size: 28px;
  }
  .about-gender-data-Lab p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .about-gender-data-Lab {
    margin: 10px 20px;
  }
  .about-gender-data-Lab h1 {
    font-size: 26px;
  }
  .about-gender-data-Lab p {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .about-gender-data-Lab {
    margin: 10px 15px;
  }
  .about-gender-data-Lab h1 {
    font-size: 22px;
  }
  .about-gender-data-Lab p {
    font-size: 14px;
  }
}


/* ===========================================================================
   📱 RESPONSIVE DESIGN FOR THE Feature Indicators DIVISION
   =========================================================================== */

.feature-ind {
    margin: 10px 60px;
}

.feature-ind h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: left;
}

.feature-ind-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.left-ft-ind h3 {
    font-size: 22px;
    margin-bottom: 10px;
    text-align: left;
}

.left-ft-ind p {
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
}

/* Slider Cards */
.card {
    height: 380px;
    padding: 1rem;
}


/* Responsiveness */
@media (max-width: 1200px) {
  .feature-ind {
    margin: 10px 40px;
  }
  .feature-ind h1 {
    font-size: 30px;
  }
}

@media (max-width: 992px) {
  .feature-ind {
    margin: 10px 30px;
    text-align: left;
  }
  .feature-ind-grid {
    grid-template-columns: 1fr; /* stack vertically */
    gap: 30px;
  }
  .left-ft-ind h3 {
    font-size: 20px;
  }
  .left-ft-ind p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {

  .feature-ind {
      margin: 10px 20px;
  }

  .feature-ind h1 {
    font-size: 28px;
  }
  .card {
    height: auto; /* allow flexible height */
  }
}

@media (max-width: 576px) {
  .feature-ind {
    margin: 10px 15px;
  }
  .feature-ind h1 {
    font-size: 24px;
  }
  .left-ft-ind h3 {
    font-size: 18px;
  }
  .left-ft-ind p {
    font-size: 14px;
  }
}



/* =========================================================================== 
   📱 RESPONSIVE DESIGN FOR THE Partners Section DIVISION
   =========================================================================== */

.main-partner {
    background-color: #F2F2F2;
    margin: 10px 60px;  /* same outer spacing as other divisions */
    padding: 20px;      /* inner spacing */
}

.title-partners {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
    padding: 0;                 /* remove extra padding */
    background-color: transparent; /* remove duplicate BG */
}

.partners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin: 10px 0;  /* only vertical spacing */
    padding: 0;      /* remove horizontal padding */
}

.partner-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Responsiveness */

/* Large tablets and below */
@media (max-width: 1200px) {
  .main-partner {
    margin: 10px 40px;
  }
  .title-partners {
    font-size: 28px;
  }
}

/* Tablets and below */
@media (max-width: 992px) {
  .main-partner {
    margin: 10px 30px;
  }
  .title-partners {
    font-size: 26px;
  }
  .partners {
    grid-template-columns: 1fr; /* stack partners vertically */
    gap: 20px;
  }
}

/* Mobile landscape */
@media (max-width: 768px) {
  .main-partner {
    margin: 10px 20px;
  }
  .title-partners {
    font-size: 24px;
  }
}

/* Mobile portrait */
@media (max-width: 576px) {
  .main-partner {
    margin: 10px 15px;
  }
  .title-partners {
    font-size: 22px;
  }
}




/* =========================================================================== 
   📱 RESPONSIVE DESIGN FOR THE slider and card DIVISION
   =========================================================================== */


/* Large tablets / screens <= 1200px */
@media screen and (max-width: 1200px) {
    .slider-container {
        padding: 10px;
    }

    .card {
        height: 360px;
        padding: 1rem;
    }

    .card h4 {
        font-size: 20px;
    }

    canvas {
        max-height: 300px;
    }
}

/* Tablets / screens <= 992px */
@media screen and (max-width: 992px) {
    .slider-container {
        padding: 8px;
    }

    .card {
        height: 340px;
        padding: 0.9rem;
    }

    .card h4 {
        font-size: 19px;
    }

    canvas {
        max-height: 280px;
    }
}

/* Mobile landscape / screens <= 768px */
@media screen and (max-width: 768px) {
    .slider-container {
        padding: 5px;
    }

    .card {
        height: 320px;
        padding: 0.8rem;
    }

    .card h4 {
        font-size: 18px;
    }

    canvas {
        max-height: 260px;
    }
}

/* Mobile portrait / screens <= 576px */
@media screen and (max-width: 576px) {
    .slider-container {
        padding: 3px;
    }

    .card {
        height: 280px;
        padding: 0.7rem;
    }

    .card h4 {
        font-size: 16px;
    }

    canvas {
        max-height: 220px;
    }
}
