/* =========================================================
   ABOUT PAGE — CLEAN MERGED CSS (no conflicts)
   - Bottom-left text on banners & timeline panels
   - Fixed heights via variables (responsive)
   - Rounded corners / shadows preserved
   ========================================================= */

/* ---------- GLOBAL TOKENS ---------- */
:root{
  /* Colors */
  --primary: #2563eb;
  --primary-600: #0a54e6;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #ffb400;        /* yellow icon */
  --pill-bg: #ffffff;
  --pill-br: #939393;
  --section-bg: #f3f7fb;

  /* Layout */
  --container-max: 1300px;     /* content max width */
  --container-x: 24px;         /* container side padding */

  /* Banners / Panels */
  --banner-h: 500px;                /* About hero banner height (desktop) */
  --timeline-banner-height: 320px;  /* Timeline panel height (desktop) */

  /* Other */
  --bg:#eaf3ff;
  --text:#0f172a;
  --chip:#1d4ed8;
  --card:#ffffff;
  --br:#e5e7eb;
}

/* --------- Base resets --------- */
*{ box-sizing:border-box; }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color:var(--text);
  background:#fff;
}

/* =========================================================
   ABOUT BANNER (hero) — bottom-left text, fixed height
   ========================================================= */
.about-banner{
  position: relative;
  width: 85%;
  max-width: 1400px;
  height: var(--banner-h);                      /* fixed by var */
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;                              /* keep rounded corners */
  box-shadow: 0 50px 18px rgba(0,0,0,0.15);
  background: url('./assets/images/Home/Peoples-image.webp') center/cover no-repeat;
  padding-left: 40px;                            /* safe inner left */
  padding-right: 40px;                           /* safe inner right */
  color: #fff;
}

/* dark overlay */
.about-banner::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,0.65);
  z-index:1;
}

/* bottom-left text block */
.about-text{
  position:absolute;
  left:40px;
  right:40px;     /* keep text away from right edge */
  bottom:90px;
  z-index:2;
  color:#fff;
}
.about-text h1{
  font-size:60px;
  font-weight:bold;
  margin-bottom:8px;
}
.about-text p{
  font-size:30px;
  font-weight:400;
}

/* =========================================================
   WHO WE ARE
   ========================================================= */
.who-we-are{ padding: 60px 10%; background:#fff; }
.about-container{
  display:flex; align-items:flex-start; gap:100px; flex-wrap:wrap;
}
.about-images{ position:relative; flex:1; min-width:280px; }
.about-images .img1{ width:100%; border-radius:8px; }
.about-images .img2{
  position:absolute; bottom:-120px; left:180px; width:70%;
  
  /* box-shadow:0px 5px 15px #000000; */
}
.about-content{ flex:1; min-width:300px; }
.about-content h2{ font-size:45px; margin-bottom:20px; font-weight:400; }
.about-content p{ font-size:17px; line-height:1.6; margin-bottom:20px; color:#000000; }

/* =========================================================
   Mission/Vision Cards
   ========================================================= */
.mv-wrap{
  width:min(760px,100%);
  margin:24px 0 24px -5px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.stack-card{
  position:relative; overflow:visible; border-radius:16px;
  padding:12px 12px; background:#fff; color:var(--ink);
  border:2px solid rgba(11,102,255,.35);
  box-shadow:0 14px 28px rgba(2,6,23,.10);
  isolation:isolate;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.stack-card::after{
  content:""; position:absolute; top:8px; left:8px; right:-10px; bottom:-10px;
  border-right:3px solid rgba(11,102,255,.35);
  border-bottom:3px solid rgba(11,102,255,.35);
  border-left:none; border-top:none; border-radius:16px;
  box-shadow:0 8px 18px rgba(2,6,23,.06); pointer-events:none; z-index:-1;
}
.mv-row{ display:flex; gap:14px; align-items:flex-start; }
.mv-ico{
  flex:0 0 44px; width:44px; height:44px; display:grid; place-items:center;
  border-radius:50%; background:var(--accent); box-shadow:0 6px 14px rgba(255,180,0,.35);
}
.mv-content{ flex:1; }
.mv-content h3{ margin:0 0 8px; font-size:clamp(18px,2.6vw,20px); font-weight:400; color:inherit; }
.mv-content p{ margin:0; line-height:1.7; color:var(--muted); font-size:14.5px; }

.stack-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 36px rgba(2,6,23,.18);
  background:linear-gradient(180deg, var(--primary), var(--primary-600));
  color:#fff; border-color:transparent;
}
.stack-card:hover .mv-content p{ color:#fff; }
.stack-card:focus-within{ outline:3px solid rgba(11,102,255,.25); outline-offset:3px; }

/* =========================================================
   Founder
   ========================================================= */
.founder-section{
  background:#f0f7ff;
  padding:60px 10%;
  display:flex; 
  justify-content:center;
} 
.founder-container{
  display:flex; 
  align-items:center; /* Changed from flex-start to center for vertical centering */
  max-width:1400px; 
  width:100%; 
  gap:60px;
}
.founder-container > div{ flex:1 1 50%; max-width:50%; }
.founder-image{ position:relative; flex:1; max-width:1000px; }
.founder-image img{
  width:600px; height:400px; object-fit:cover; border-radius:10px;
}
.icon-badge{
  position:absolute; bottom:-15px; right:-30px; background:#007bff; color:#fff;
  font-size:40px; font-weight:bold; width:80px; height:80px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; border:10px solid #f0f7ff;
}
.founder-info{ 
  flex:2; 
  color:#333; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; /* Vertically center the content */
  height: 100%; 
}
.founder-info .badge{
  display:inline-block; 
  background:#007bff; 
  color:#fff; 
  padding:4px 18px; 
  font-size:18px;   /* Added explicit px font size */
  font-weight:300;  /* Added font weight */
  border-radius:4px; 
  margin-bottom:10px;
  min-width: 80px; /* Reduce width of the button */
  max-width: 120px;
  text-align: center;
}
.founder-info h2{ margin:8px 0 15px; font-size:1.6rem; font-weight:550; }
.founder-info p{ margin-bottom:12px; line-height:1.6; }
/* =========================================================
   TIMELINE — tabs + panels (bottom-left content)
   ========================================================= */
.timeline-sec{
  background:var(--section-bg);
  padding: 42px 18px 64px;
  display:flex; justify-content:bottom; position:relative; overflow:hidden;
}
.timeline-sec::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(120deg, rgba(2,6,23,0.035) 1px, transparent 1px),
    linear-gradient(300deg, rgba(2,6,23,0.035) 1px, transparent 1px);
  background-size:52px 52px, 52px 52px;
  mask-image: linear-gradient(#000, rgba(0,0,0,0.25));
  pointer-events:none;
}
.timeline{ width:min(1100px, 100%); position:relative; z-index:1; }

/* Tabs */
.tabbar{
  --progress: 0px;
  position:relative;
  display:flex; justify-content:space-between; align-items:center;
  gap:min(3.5vw,36px);
  padding:12px 0 30px; margin-bottom:14px;
}
.tabbar::before{
  content:""; position:absolute; left:12px; right:12px; top:32px;
  height:3px; background:#e9f0ff; border-radius:2px;
}
.tabbar::after{
  content:""; position:absolute; left:12px; top:32px;
  width:var(--progress); height:3px; background:var(--primary); border-radius:2px;
  transition: width .55s cubic-bezier(.22,.61,.36,1);
}
.tabbar input{ display:none; }
.timeline > input{ position:absolute; opacity:0; pointer-events:none; } /* hide radios controlling panels */

.tab{
  position:relative; z-index:2;
  display:inline-flex; align-items:center; justify-content:center;
  min-width:110px; height:46px; padding:0 18px;
  border-radius:5px; background:var(--pill-bg);
  border: 1px solid var(--pill-br);
  color:#4e4e4e; font-weight:600; letter-spacing:.2px; /* reduced from 800 to 600 */
  opacity:0; visibility:hidden; transform:translateY(10px) scale(.98);
  pointer-events:none; transition:.2s ease;
}
.tab:hover{ transform: translateY(-1px); }

/* sequential reveal */
@keyframes tabIn{
  0%{ opacity:0; transform:translateY(12px) scale(.98); }
  100%{ opacity:1; transform:translateY(0) scale(1); visibility:visible; }
}
.tab.is-visible{ animation: tabIn .55s cubic-bezier(.22,.61,.36,1) forwards; pointer-events:auto; }

/* active year */
#y1990:checked ~ .tabbar label[for="y1990"],
#y2000:checked ~ .tabbar label[for="y2000"],
#y2010:checked ~ .tabbar label[for="y2010"],
#y2020:checked ~ .tabbar label[for="y2020"],
#y2025:checked ~ .tabbar label[for="y2025"]{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
  box-shadow:0 6px 18px rgba(37,99,235,.35);
}

/* Panels wrapper ensures space */
.panels{ min-height: var(--timeline-banner-height); position:relative; }

/* Each panel has fixed height and image cover; NO flex */
.panel{
  position:relative;
  height: var(--timeline-banner-height);
  display:none;               /* shown by radio logic below */
  opacity:0;
  transform: translateY(10px) scale(.995);
  border-radius:14px; overflow:hidden;
  box-shadow:0 18px 40px rgba(2,6,23,.15);
  background:#000;
}
@keyframes panelIn{
  from{ opacity:0; transform:translateY(10px) scale(.995); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
#y1990:checked ~ .panels #p1990,
#y2000:checked ~ .panels #p2000,
#y2010:checked ~ .panels #p2010,
#y2020:checked ~ .panels #p2020,
#y2025:checked ~ .panels #p2025{
  display:block; animation: panelIn .6s ease forwards;
}

/* Background photo layers */
.panel::before{
  content:""; position:absolute; inset:0;
  background-size:cover; background-position:center;
  filter:brightness(.55); transform:scale(1.02);
}
#p1990::before{ background-image:url("./assets/images/About/1990.webp"); }
#p2000::before{ background-image:url("./assets/images/About/2007.webp"); }
#p2010::before{ background-image:url("./assets/images/About/2018.webp"); }
#p2020::before{ background-image:url("./assets/images/About/2020.webp"); }
#p2025::before{ background-image:url("./assets/images/About/2025.webp"); }

#p1990::before{
  background-image:url("./assets/images/About/1990.webp");
  background-position:50% 30%; /* or try 50% 30% */
}

.panel::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.25) 30%, rgba(0,0,0,.55));
}

/* ✅ Bottom-left content inside each panel */
.panel-content{
  position:absolute;
  left:34px;
  right:34px;
  bottom:30px;
  color:#e5ecf7;
  z-index:2;
  padding:0; /* offsets handle spacing */
}
.panel h3{
  margin:0 0 14px; font-weight:450; color:#fff; /* reduced from 900 to 700 */
  font-size:clamp(22px,3.2vw,34px);
} 
.blue-chip{
  display:inline-block; background:var(--primary); color:#fff; font-weight:450;
  padding:10px 14px; border-radius:8px; 
  margin-bottom:14px; white-space:nowrap; font-size:16px;
}
.panel p{ margin:0; line-height:1.8; color:#dbe4f3; font-size:15.8px; }

/* =========================================================
   EXPERIENCE SECTION
   ========================================================= */
.experience-sec{ background:var(--bg); padding:56px 18px; }
.exp-wrap{
  width:min(1180px, 100%); margin:0 auto;
  display:grid; grid-template-columns: 1fr; gap:40px;
}
@media (min-width: 980px){
  .exp-wrap{ grid-template-columns: 1.05fr 1.4fr; align-items:start; }
}
.exp-title{
  margin:0 0 16px 0; font-size: clamp(28px, 4.2vw, 30px);
  line-height:1.2; letter-spacing:.2px; font-weight:600;
}
.exp-text{
  color:var(--muted); line-height:1.85; font-size:16px;
  max-width:46ch; margin:0 0 22px 0;
}
.exp-btn{
  display:inline-block; background:var(--primary); color:#fff; text-decoration:none;
  padding:12px 18px; font-weight:700; border-radius:10px;
  box-shadow:0 10px 24px rgba(37,99,235,.35);
  transition:transform .15s ease, box-shadow .15s ease;
}
.exp-btn:hover{ transform:translateY(-1px); box-shadow:0 14px 30px rgba(37,99,235,.4); }

.exp-right{ display:block; }
.exp-grid{ display:grid; grid-template-columns: 1fr; gap:22px; }
@media (min-width: 700px){ .exp-grid{ grid-template-columns: 1fr 1fr; } }

.stat-card{
  display:flex; align-items:flex-start; gap:14px;
  background:var(--card); border:1px solid var(--br);
  border-radius:12px; padding:18px 18px;
  box-shadow:0 6px 14px rgba(15,23,42,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.stat-card:hover{ transform: translateY(-2px); box-shadow:0 10px 22px rgba(15, 23, 42, 0.237); }
.stat-icon{
  flex:0 0 44px; width:50px; height:44px; background:var(--primary);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 14px rgba(37,99,235,.35);
}
.stat-icon img{ width:35px; height:35px; filter:brightness(0) invert(1); }
.stat-content h4{ margin:0 0 6px 0; font-size:20px; font-weight:500; color:var(--text); }
.stat-content p{ margin:0; color:var(--muted); line-height:1.6; font-size:15px; }

/* =========================================================
   UNIFIED CONTAINERS & SECTION SPACING
   ========================================================= */
.about-banner,
.who-we-are,
.founder-section,
.timeline-sec,
.experience-sec{
  padding: var(--section-y) 0;
}

/* Shared container behavior for inner wrappers */
.about-text,
.about-container,
.founder-container,
.timeline,
.exp-wrap{
  width:min(var(--container-max), 100%);
  margin:32px auto; /* default margin, can be adjusted in media queries */
  padding-left:var(--container-x);
  padding-right:var(--container-x);
}

@media (max-width: 991px) {
  .about-text,
  .about-container,
  .founder-container,
  .timeline,
  .exp-wrap{
    margin:22px auto;
  }
}
@media (max-width: 575px) {
  .about-text,
  .about-container,
  .founder-container,
  .timeline,
  .exp-wrap{
    margin:14px auto;
  }
}

/* remove extra side padding where we already boxed things */
.who-we-are{ padding-left:0; padding-right:0; }
.founder-section{ padding-left:0; padding-right:0; }
.timeline-sec{ padding-left:0; padding-right:0; }
.experience-sec{ padding-left:0; padding-right:0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px){
  :root{
    --container-x: 18px;
    --banner-h: 360px;               /* shorter hero */
    --timeline-banner-height: 260px; /* shorter panels */
  }

  .about-text h1{ font-size:1.5rem; }
  .about-text p{ font-size:1rem; }

  .about-container{ gap:28px; }
  .about-images .img2{
    position:static; width:100%; margin:18px auto 0; border-width:12px;
  }

  .founder-container{ flex-direction:column; gap:24px; }
  .founder-container > div{ flex:1 1 100%; max-width:100%; }
  .founder-image img{ width:100%; height:auto; }
  .icon-badge{ right:12px; bottom:12px; width:46px; height:46px; font-size:20px; }

  .tabbar{ gap:14px; }
  .tab{ height:40px; padding:0 14px; font-size:.95rem; }

  .panel-content{ left:26px; right:26px; bottom:24px; }
  .stat-card{ padding:16px; }
  .stat-icon{ width:40px; height:40px; }
  .stat-icon img{ width:18px; height:18px; }
  .stat-content h4{ font-size:18px; }
  .stat-content p{ font-size:14px; }
}

@media (max-width: 575px){
  :root{
    --container-x: 14px;
    --banner-h: 300px;               /* mobile hero height */
    --timeline-banner-height: 220px; /* mobile panels */
  }

  .about-text{ left:16px; right:16px; bottom:18px; } /* still bottom-left */
  .tabbar{ gap:10px; }
  .tab{ min-width:auto; padding:0 12px; height:38px; font-size:14px; }

  .panel-content{ left:18px; right:18px; bottom:18px; }
  .blue-chip{ font-size:13px; padding:8px 12px; }

  .stat-card{ gap:12px; padding:14px; }
  .stat-icon{ width:36px; height:36px; }
  .stat-icon img{ width:16px; height:16px; }
}

/* Jost Font Family for All About Page Sections */
body,
.about-banner,
.who-we-are,
.founder-section,
.timeline-sec,
.experience-sec,
footer {
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Inter, Arial, sans-serif !important;
}

/* ✅ Responsive About Banner (Fixed Crop & Spacing Issue) */
.about-banner {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height for perfect fit */
  max-height: 700px;
  min-height: 450px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: url('./assets/images/Indian Peoples.png') center center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
}

/* Overlay for readability */
.about-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* ✅ Text inside banner */
.about-text {
  position: relative;
  z-index: 2;
  padding: 0 6vw 6vh;
  text-align: left;
}

.about-text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.about-text p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  margin: 0;
}

/* ✅ Remove unwanted white space below */
.about-banner + section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ✅ Tablet View */
@media (max-width: 992px) {
  .about-banner {
    height: 80vh;
    min-height: 400px;
  }
  .about-text {
    padding: 0 7vw 5vh;
  }
}

/* ✅ Mobile View */
@media (max-width: 576px) {
  .about-banner {
    width: 94%;
    margin: 0 auto 20px auto;
    height: 280px;
    border-radius: 10px;
    padding-left: 10px; /* Optional, tweak as needed */
    padding-right: 10px;
  }
  .about-text {
    padding: 0 5vw 2vh;
  }
}

/* ✅ About Banner - Fully Responsive */
.about-banner {
  position: relative;
  width: 90%;
  max-width: 1400px;
  height: var(--banner-h);
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  background: url('./assets/images/Home/Peoples-image.webp') center/cover no-repeat;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
}

.about-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.about-text {
  position: relative;
  z-index: 2;
  padding: 0 4vw 6vh; /* fluid padding for all screens */
  text-align: left;
}

.about-text h1 {
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.about-text p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
}

/* ✅ Tablet View */
@media (max-width: 992px) {
  .about-banner {
    margin-top: 126px;
    /* margin: 126px 0px 30px 10px; */
  }
  .about-text {
    padding: 0 6vw 5vh;
  }
}

/* ✅ Mobile View */
@media (max-width: 576px) {
  .about-banner {
    width: 95%;
    height: 280px;
    border-radius: 10px;
  }
  .about-text {
    padding: 0 5vw 4vh;
  }

  .about-text h1 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }
}

/* Responsive for "Who we are" .about-content h2 and p */
.about-content h2 {
  font-size: 38px;
  margin-bottom: 20px;
  font-weight: 450;
  /* Responsive: */
}
.about-content p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #000000;
  /* Responsive: */
}
@media (max-width: 992px) {
  .about-content h2 {
    font-size: 2rem;
  }
  .about-content p {
    font-size: 15px;
  }
}
@media (max-width: 576px) {
  .about-content h2 {
    font-size: 1.70rem;
  }
  .about-content p {
    font-size: 13px;
  }
}
/* ============================
   FOOTER SECTION STYLING
   ============================ */
   .footer-section {
    background: #eff8ff;
    padding: 60px 0 30px;
    font-family: 'Jost', sans-serif;
    color: #333;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
  }
  
  .footer-col h4 {
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 18px;
    font-size: 1.1rem;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 8px;
  }
  
  .footer-col ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
  }
  
  .footer-col ul li a:hover {
    color: #0066cc;
  }
  
  /* --- Logo Column --- */
  .footer-logo {
    max-width: 80px;
    margin-bottom: 10px;
  }
  .logo-col p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-right: 1rem;
  }
  
  /* --- Search Form --- */
  .footer-search {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
  .footer-search input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 0.9rem;
  }
  .footer-search button {
    background: #0066cc;
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
  }
  .footer-search button i {
    font-size: 0.9rem;
  }
  
  /* --- Follow Us Column --- */
  .follow-col p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
  }
  .follow-col i {
    color: #0066cc;
  }
  
  .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
  }
  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #fff;
    color: #0066cc;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  }
  .social-links a:hover {
    background: #0066cc;
    color: #0066cc;
  }
  
  /* --- Footer Bottom --- */
  .footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #d8e7f7;
    padding-top: 16px;
  }
  .footer-bottom p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
  }
  
  /* ============================
     RESPONSIVE DESIGN
     ============================ */
  
  /* Tablet */
  @media (max-width: 992px) {
    .footer-container {
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      text-align: left;
    }
  }
  
  /* Mobile */
  @media (max-width: 576px) {
    .footer-container {
      grid-template-columns: 1fr;
      gap: 28px;
      text-align: center;
    }
    .footer-col h4 {
      margin-bottom: 10px;
    }
    .footer-search {
      justify-content: center;
    }
    .footer-search input {
      width: 60%;
    }
    .follow-col p {
      justify-content: center;
    }
    .social-links {
      justify-content: center;
    }
    .logo-col p {
      margin: 0 auto;
      max-width: 320px;
    }
  }
  /* Mobile */
@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left; /* ✅ changed from center */
  }

  .footer-col h4 {
    margin-bottom: 10px;
    text-align: left; /* ✅ left-align headings */
  }

  .footer-search {
    justify-content: flex-start; /* ✅ align search to left */
  }

  .footer-search input {
    width: 70%;
  }

  .follow-col p {
    justify-content: flex-start; /* ✅ left-align contact items */
  }

  .social-links {
    justify-content: flex-start; /* ✅ icons start from left */
  }

  .logo-col p {
    margin: 0;
    max-width: 340px;
    text-align: left; /* ✅ ensure paragraph left-aligned */
  }

  .footer-bottom {
    text-align: left; /* ✅ copyright text left-aligned */
    padding-left: 10px;
  }
}
/* =============================
      OUR ARTICLES SECTION
   ============================= */

   .articles-section {
    padding: 70px 15px;
    background: #eaf3ff;
    font-family: 'Jost', sans-serif;
  }
  
  .articles-wrapper {
    display: flex;
    gap: 45px;
    align-items: flex-start;
  }
  
  /* ------------ LEFT SIDE ------------ */
  .article-title {
    font-size: 28px;
    color: #0d47ff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .article-title .dot {
    width: 12px;
    height: 12px;
    background: #0d47ff;
    border-radius: 50%;
  }
  
  .article-title .line {
    width: 40px;
    height: 2px;
    background: #0d47ff;
    opacity: 0.4;
  }
  
  .article-desc {
    margin: 20px 0;
    line-height: 1.7;
    color: #333;
  }
  
  .article-arrows {
    display: flex;
    gap: 12px;
    margin-top: 25px;
  }
  
  .article-arrows button {
    width: 36px;
    height: 36px;
    border: 2px solid #0d47ff;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d47ff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .article-arrows button:hover {
    background: #0d47ff;
    color: #fff;
  }
  
  /* -------------- RIGHT SLIDER -------------- */
  .articles-slider {
    flex: 1;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
  }
  
  /* Hide scrollbar in desktop */
  .articles-slider::-webkit-scrollbar {
    height: 0 !important;
  }
  .articles-slider {
    scrollbar-width: none !important;
  }
  
  /* ---------- CARD ----------- */
  .article-card {
    width: 300px;
    min-width: 300px;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #d9e3ff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: 0.3s;
    cursor: pointer;
  }
  
  .article-card img {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
  }
  
  .article-card h4 {
    margin: 14px 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #0d1847;
  }
  
  .article-card p {
    color: #444;
    font-size: 14px;
  }
  
  .article-card .read-more {
    font-size: 14px;
    margin-top: 14px;
    display: inline-block;
    color: #1976ff;
    font-weight: 600;
  }
  
  /* ACTIVE BLUE CARD */
  .article-card.active,
  .article-card:hover {
    background: #1976ff;
    color: #fff;
    border-color: #1976ff;
  }
  
  .article-card.active p,
  .article-card.active h4,
  .article-card.active .read-more,
  .article-card:hover p,
  .article-card:hover h4,
  .article-card:hover .read-more {
    color: #fff !important;
  }
  
  /* MOBILE RESPONSIVE FIX */
  @media (max-width: 768px) {
    .articles-wrapper {
      flex-direction: column;
    }
  
    .articles-slider {
      padding-bottom: 40px;
    }
  
    .article-arrows {
      justify-content: center;
      margin: 25px auto 0;
    }
  }
  .articles-section {
    padding: 60px 30px 48px 24px;
    background: #eaf3ff;
    font-family: 'Jost', sans-serif;
  }
  .articles-wrapper {
    display: flex;
    gap: 40px;
  }
  
  .articles-left {
    flex: 0 0 32%;
  }
  
  .article-title {
    font-size: 30px;
    font-weight: 600;
    color: #0d47ff;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .article-title .dot {
    width: 12px;
    height: 12px;
    background: #0d47ff;
    border-radius: 50%;
  }
  
  .article-title .line {
    width: 40px;
    height: 2px;
    background: #0d47ff;
    opacity: 0.4;
  }
  
  .article-desc {
    margin: 18px 0;
    line-height: 1.7;
    color: #333;
  }
  
  .article-arrows {
    display: flex;
    gap: 12px;
    margin-top: 25px;
  }
  
  .article-arrows button {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #1976ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976ff;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .article-arrows button:hover {
    background: #1976ff;
    color: #fff;
  }
  
  .articles-slider {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
  }
  
  .article-card {
    background: #fff;
    min-width: 280px;
    max-width: 280px;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    border: 1px solid #e2e2e2;
  }
  
  .article-card img {
    width: 100%;
    height: 170px;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .article-card h4 {
    font-size: 16px;
    margin: 12px 0 6px;
    font-weight: 600;
  }
  
  .article-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
  }
  
  .article-card .read-more {
    font-size: 13px;
    color: #1976ff;
    font-weight: 500;
    text-decoration: none;
  }
  
  .article-card.active {
    background: #1976ff;
    color: #fff;
    border-color: #1976ff;
  }
  
  .article-card.active p,
  .article-card.active h4,
  .article-card.active .read-more {
    color: #fff;
  }
  @media (max-width: 768px) {
    .articles-wrapper {
      flex-direction: column;
    }
  
    /* Move arrows below slider */
    .article-arrows {
      order: 3;
      justify-content: center;
      margin-top: 20px;
    }
  
    /* Cards stack horizontally but scroll works smoothly */
    .articles-slider {
      width: 100%;
      overflow-x: scroll;
    }
  }
      