/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px; /* Increased from 14px */
  color: #333;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== TOP BAR ===== */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar .logo img {
  height: 55px;
  }

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-member {
  background: #1A427E;
  color: #fff;
  padding: 9px 20px;
  border-radius: 25px;
  font-size: 15px; /* Increased from 13px */
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-member:hover { background: #1558a0; }

.btn-login {
  font-size: 15px; /* Increased from 13px */
  color: #333;
  font-weight: 600;
}
.btn-login:hover { color: #1a73c8; }

/* ===== NAVIGATION ===== */
nav {
  background: #1A427E;
}

.nav-container {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  padding: 14px 18px;
  font-size: 15.5px; /* Increased from 13.5px */
  font-weight: 600;
  transition: background 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  background: rgba(0,0,0,0.15);
}

.nav-menu > li.active > a {
  background: rgba(0,0,0,0.2);
}

.nav-menu > li > a .arrow {
  font-size: 12px; /* Increased from 10px */
  display: inline-block;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 999;
  display: none;
  border-top: 3px solid #1a73c8;
}

.nav-menu > li:hover .dropdown { display: block; color: #C5B526; }

.dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 15px; /* Increased from 13px */
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s;
}
.dropdown li a:hover { background: #f5f8ff; color: #1a73c8; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== HERO / SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 360px;
  background: #555;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  text-align: center;
  padding: 40px 15px 30px;
  background: #fff;
}

.intro-section h2 {
  font-size: 26px; /* Increased from 24px */
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-family: 'Merriweather', serif;
}

.intro-section p {
  font-size: 16px; /* Increased from 14px */
  color: #555;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SKILL SLIDER ===== */
.skill-slider-section {
  background: #ffffff;
  /* white background for the outer section */
  padding: 35px 15px;
}

.skill-slider-section .container {
  max-width: 780px;
  background: rgba(214, 237, 255, 0.43);
  border-radius: 10px;
  padding: 20px;
}

.skill-card {
  text-align: center;
  padding: 30px 20px;
}

.skill-card .icon {
  font-size: 38px; /* Increased from 36px */
  color: #1a73c8;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.skill-card .icon svg {
  width: 42px; /* Increased from 40px */
  height: 42px; /* Increased from 40px */
  stroke: #1a73c8;
  fill: none;
  stroke-width: 1.5;
}

.skill-card h3 {
  font-size: 22px; /* Increased from 20px */
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
  font-family: 'Merriweather', serif;
}

.btn-learn {
  background: #1a73c8;
  color: #fff;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 15px; /* Increased from 13px */
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
}

.btn-learn:hover {
  background: #1558a0;
}

@media (max-width: 767px) {
  .skill-slider-section .container {
    max-width: 100%;
    border-radius: 6px;
    padding: 15px 10px;
  }
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.slider-dots span.active {
  background: #1a73c8;
}

/* ===== MISSION SECTION ===== */
.mission-section {
  background: #fff;
  padding: 35px 15px;
}

.mission-section p {
  font-size: 16px; /* Increased from 14px */
  color: #444;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: left;
}

.btn-join {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid #1a73c8;
  color: #1a73c8;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 15px; /* Increased from 13px */
  font-weight: 600;
  transition: all 0.2s;
}
.btn-join:hover { background: #1a73c8; color: #fff; }

.mission-center { text-align: center; }

/* ===== WHY CHOOSE ===== */
.why-section {
  background: #f0f4f9;
  padding: 50px 15px;
}

.why-section .section-title {
  text-align: center;
  margin-bottom: 8px;
}

.why-section .section-title h2 {
  font-size: 28px; /* Increased from 26px */
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Merriweather', serif;
}

.why-section .section-subtitle {
  text-align: center;
  font-size: 15.5px; /* Increased from 13.5px */
  color: #555;
  max-width: 600px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-card {
  background: #fff;
  border-radius: 6px;
  padding: 22px 20px;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.why-card h4 {
  font-size: 17px; /* Increased from 15px */
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-card h4 .card-icon {
  color: #1a73c8;
  font-size: 20px; /* Increased from 18px */
}

.why-card p {
  font-size: 15px; /* Increased from 13px */
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.why-card .card-tag {
  background: #eef3e7;          /* light green from figma */
  color: #4a4a4a;               /* darker readable text */
  font-size: 14px; /* Increased from 12px */
  font-style: italic;
  line-height: 1.5;

  padding: 10px 12px;           /* inner spacing */
  margin-top: 12px;

  border-radius: 4px;           /* subtle rounding */
  display: block;
}

.why-card .corner-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  background: #1a73c8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px; /* Increased from 13px */
}

/* ===== NEWS SECTION ===== */
.news-section {
  background: #fff;
  padding: 50px 15px;
}

.news-label {
  font-size: 14px; /* Increased from 12px */
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.news-section h2 {
  font-size: 28px; /* Increased from 26px */
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
  font-family: 'Merriweather', serif;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

.news-card-img {
  position: relative;
  height: 160px;
  background: #222;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.news-date-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #f0b429;
  color: #fff;
  text-align: center;
  border-radius: 3px;
  padding: 4px 8px;
  line-height: 1.2;
}

.news-date-badge .day {
  font-size: 20px; /* Increased from 18px */
  font-weight: 700;
  display: block;
}
.news-date-badge .month {
  font-size: 13px; /* Increased from 11px */
  text-transform: uppercase;
}

.news-card-body {
  padding: 14px;
}

.news-meta {
  font-size: 13.5px; /* Increased from 11.5px */
  color: #888;
  margin-bottom: 8px;
}
.news-meta a { color: #1a73c8; }

.news-card-body h5 {
  font-size: 15.5px; /* Increased from 13.5px */
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.btn-read {
  display: inline-block;
  background: #1a73c8;
  color: #fff;
  padding: 7px 16px;
  font-size: 14px; /* Increased from 12px */
  font-weight: 600;
  border-radius: 3px;
  transition: background 0.2s;
}
.btn-read:hover { background: #1558a0; }

/* ===== PARTNERS SECTION - UPDATED TO MATCH SECOND IMAGE ===== */
.partners-section {
  background: #fff;
  padding: 60px 15px;
  border-top: 1px solid #eaeef2;
  border-bottom: 1px solid #eaeef2;
}

.partners-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.partners-header {
  flex: 0 0 auto;
  min-width: 280px;
}

.partners-header p {
  font-size: 18px; /* Increased from 16px */
  color: #7c8a9a;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.partners-header h2 {
  font-size: 44px; /* Increased from 42px */
  font-weight: 800;
  color: #0b1c2f;
  font-family: 'Merriweather', serif;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.5px;
}

.partners-logos-single {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.partners-single-image {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  filter: brightness(1);
}

.partners-single-image:hover {
  opacity: 1;
}

/* Responsive adjustment for mobile */
@media (max-width: 992px) {
  .partners-section .container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .partners-header {
    min-width: auto;
    width: 100%;
  }
  
  .partners-header h2 {
    font-size: 38px; /* Increased from 36px */
  }
  
  .partners-logos-single {
    justify-content: center;
    width: 100%;
  }
  
  .partners-single-image {
    max-width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 40px 15px;
  }
  
  .partners-header h2 {
    font-size: 34px; /* Increased from 32px */
  }
  
  .partners-header p {
    font-size: 16px; /* Increased from 14px */
  }
}

/* ===== FOOTER ===== */
footer {
  background: #1A427E;
  color: #ccc;
  padding: 45px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 35px;
}

.footer-logo img { height: 70px; margin-bottom: 12px; }
.footer-logo .footer-logo-text {
  font-size: 15px; /* Increased from 13px */
  line-height: 1.7;
  color: #aaa;
}
.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 15px; /* Increased from 13px */
  margin-bottom: 4px;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 16px; /* Increased from 14px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links ul li a {
  color: #aaa;
  font-size: 15px; /* Increased from 13px */
  transition: color 0.2s;
}
.footer-links ul li a:hover { color: #fff; }

.footer-contact p {
  font-size: 15px; /* Increased from 13px */
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-contact a {
  color: #aaa;
  font-size: 15px; /* Increased from 13px */
  transition: color 0.2s;
}
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  background: #1A427E;
  text-align: center;
  padding: 14px;
  font-size: 14px; /* Increased from 12px */
  color: #666;
}

/* ===== SVG Icons for why-cards ===== */
.icon-svg {
  width: 22px; /* Increased from 20px */
  height: 22px; /* Increased from 20px */
  fill: none;
  stroke: #1a73c8;
  stroke-width: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .why-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners-logos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero-slider { height: 220px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .partners-logos { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    color: #fff;
    font-size: 24px; /* Increased from 22px */
    margin-left: auto;
    padding: 0 10px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #1a73c8;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { padding: 12px 16px; }

  .nav-container { flex-wrap: wrap; }

  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.15);
  }
  .dropdown li a { color: #ddd; background: transparent; }
  .nav-menu > li:hover .dropdown { display: none; }
  .nav-menu > li.open .dropdown { display: block; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.hero {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust based on your needs */
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures images cover the area without distortion */
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px; /* Increased from 18px */
    z-index: 3;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.icon-i{
  font-size:18px;
  color:#2f6bd6;
  margin-right:8px;
}

.corner-icon i{
  color:#fff;
  font-size:14px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active,
.indicator:hover {
    background: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: 300px;
    }
    
    .carousel-btn {
        padding: 10px 15px;
        font-size: 18px; /* Increased from 16px */
    }
}