@import url("https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cabin", sans-serif;
}

body {
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

/* Add padding for fixed navbar on mobile */
@media (max-width: 991px) {
  body {
    padding-top: 80px;
  }

  body.mobile-menu-open {
    padding-top: 0;
  }
}

.hero-left {
  max-width: 100%;
}

/* Hero Section - Full Screen with left-to-transparent gradient overlay */
.hero {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0) 80%), url('../assets/images/hero_images/sign_streacthed.png') right/cover no-repeat;
  height: 80vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 100px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-left {
  background: transparent;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
  max-width: 60%;
  position: relative;
  color: #ffffff;
}



.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero_img {
  width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: #f3f3f3;
  margin-bottom: 20px;
}

.tag-line {
  margin-bottom: 150px;
  width: 100%;
  padding: 0 20px;
}

.tag-line-text {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.tag-line-text span {
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  margin: 0 10px;
}

.tag-line-text span:hover {
  transform: translateY(-3px);
}

.hero-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #e8e8e8;
  max-width: 598px;
  margin-bottom: 30px;
}

.hero-right {
  display: none;
}

.image-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  object-fit: cover;
  border-radius: 10px;
}

.slide.active {
  opacity: 1;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 2;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

.about-us .container {
  flex-direction: column;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

/* About Us Section */
.about-us {
  background-color: #ffffff;
}

.about-content {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.about-text {
  flex: 1;
  max-width: 593px;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: center;
}

/* Statistics Section */
.statistics-section {
  background-color: #f8f9fa;
  margin-top: 150px;
  width: 100%;
}

.statistics-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.statistics-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 0.5px;
}

.stat-item:hover .stat-number {
  color: #1674bb;
}

.stat-item:hover .stat-label {
  color: #000000;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.stat-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.stat-item-wide {
  grid-column: span 4;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.stat-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #666666;
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* Tablet responsiveness for statistics */
@media (max-width: 1024px) and (min-width: 769px) {
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item-wide {
    grid-column: span 2;
  }
}

/* Mobile responsiveness for statistics */
@media (max-width: 768px) {
  .statistics-section {
    padding: 40px 0;
  }

  .statistics-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-item-wide {
    grid-column: span 2;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 14px;
  }
}

/* Small mobile responsiveness */
@media (max-width: 480px) {
  .statistics-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-item-wide {
    grid-column: span 1;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 13px;
  }
}

.about-img-1,
.about-img-2 {
  width: 417px;
  object-fit: cover;
  border-radius: 3px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.215;
  color: #000000;
  margin-bottom: 6px;
}

.title-line {
  width: 100%;
  height: 1px;
  background-color: #000000;
  margin-bottom: 21px;
}

.about-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.215;
  color: #000000;
  margin-bottom: 22px;
}

/* Koode Project Section */
.koode-project {
  background-color: #ffffff;
}

.koode-content {
  display: flex;
  gap: 95px;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
}

.koode-text {
  flex: 1;
  max-width: 50%;
}

.koode-subtitle {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.215;
  color: #000000;
  margin-bottom: 11px;
}

.koode-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.215;
  color: #000000;
  margin-bottom: 22px;
}

.koode-image {
  height: 100%;
}

.koode-image img {
  width: 379px;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

/* Programs Section */
.programs {
  background-color: #ffffff;
  padding: 60px 0;
}

.programs-content {
  width: 100%;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.program-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.2);
}

.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.program-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
  margin-bottom: 12px;
}

.program-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #404040;
  flex-grow: 1;
}

/* Media Queries for Programs Section */
@media (max-width: 991px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    padding: 12px;
  }

  .program-card img {
    height: 180px;
  }

  .program-title {
    font-size: 20px;
  }
}

/* Button Styles */
.btn-primary {
  background-color: #1674bb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(22, 116, 187, 0.2);
}

.btn-primary:hover {
  background-color: #0d5a8a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(22, 116, 187, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(22, 116, 187, 0.2);
}

.statistics-section .container {
  flex-direction: column;
}

section.koode-project,
section.programs {
  margin-top: 150px;
}

/* History Section Styles */
.history-content {
  display: flex;
  gap: 36px;
  justify-content: space-between;
  margin-top: 150px;
  align-items: center;
}

.history-text {
  flex: 1;
  max-width: 50%;
}

.history-description {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.215;
  color: #000000;
}

.history-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  height: 100%;
}

.history-img-1,
.history-img-2 {
  width: 444px;
  height: 200px;
  object-fit: cover;
  border-radius: 3px;
}

/* History Section Responsive Styles */
@media (max-width: 991px) {
  .history-content {
    flex-direction: column;
    gap: 30px;
  }

  .history-text {
    max-width: 100%;
  }

  .history-images {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    min-width: 100%;
  }

  .history-img-1,
  .history-img-2 {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .history-description {
    font-size: 16px;
  }

  .history-img-1,
  .history-img-2 {
    width: 80%;
    height: 160px;
  }
}

@media (max-width: 575px) {
  .history-description {
    font-size: 14px;
  }
}

@media (max-width: 511px) {
  .history-images {
    flex-direction: column;
    align-items: center;
  }

  .history-images img {
    width: 100%;
    height: 47%;
  }
}

/* Footer */
.footer {
  background-color: #1674bb;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 0;
}

.copyright {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.215;
  color: #ffffff;
}

.footer-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-link {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.215;
  transition: color 0.3s ease;
}

.footer-link.active {
  font-weight: 700;
}

.footer-link:hover {
  color: #e0e0e0;
}

/* Responsive Design */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-container {
    max-width: 960px;
  }

  .tag-line-text {
    font-size: 26px;
  }

  .container {
    max-width: 960px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero_img {
    width: 550px;
    height: 350px;
  }

  .about-img-1,
  .about-img-2 {
    width: 350px;
  }

  .program-img-1,
  .program-img-2 {
    width: 380px;
  }
}

@media (max-width: 702px) {
  .koode-image {
    display: none;
  }
}

/* Small screens (768px to 991px) */
@media (max-width: 991px) {
  .hero {
    height: 80vh;
    background-attachment: scroll;
    background: none;
    margin-bottom: 0;
  }

  .hero-container {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 40px;
    padding: 0 20px;
    height: 100%;
    width: 100% !important;
  }

  .hero-left {
    min-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-right {
    display: none;
  }

  .koode-text {
    max-width: 100%;
  }

  .hero-title,
  .hero-subtitle,
  .hero-description {
    text-align: center;
    color: #000000
  }

  .about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .about-images {
    display: none;
  }

  .about-description {
    text-align: center;
  }

  .hero_img {
    width: 100%;
    max-width: 500px;
    height: 300px;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about-images {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .about-img-1,
  .about-img-2 {
    width: 300px;
  }

  .koode-image {
    width: 40%;
  }

  .koode-content {
    gap: 40px;
  }

  .koode-image img {
    width: 100%;
    max-width: 500px;
  }

  .programs .container {
    /* flex-direction: column; */
    gap: 40px;
  }

  .programs-right {
    /* flex-direction: row; */
    justify-content: center;
    gap: 20px;
  }

  /* .program-img-1,
  .program-img-2 {
    width: 300px;
    height: 200px;
  } */

  .section-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 20px;
  }
}

@media (max-width: 840px) {

  .program-img-1,
  .program-img-2 {
    width: 350px;
  }
}

/* Extra small screens (576px to 767px) */
@media (max-width: 767px) {
  .tag-line {
    margin-bottom: 144px 0;
  }

  .hero {
    padding: 20vh 0 5vh 0;
    height: 80vh;
  }

  .tag-line-text span {
    display: block;
    margin: 10px 0;
  }

  .hero-container {
    padding: 0 15px;
  }

  .hero-left {
    padding: 25px;
    max-width: 95%;
  }

  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-img-1,
  .about-img-2 {
    width: 100%;
    max-width: 280px;
  }

  .about-images {
    flex-direction: column;
    align-items: center;
  }

  .programs-right {
    display: none;
  }

  section.koode-project,
  section.programs {
    margin-top: 80px;
  }

  .programs-content {
    width: 100%;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 15px;
  }

  .program-title {
    font-size: 20px;
  }

  .program-description {
    font-size: 14px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile screens (up to 575px) */
@media (max-width: 575px) {
  .hero-container {
    padding: 0 10px;
  }

  .hero-left {
    padding: 20px;
    max-width: 98%;
  }

  .tag-line-text span {
    margin: 8px 0;
  }

  .container {
    padding: 0 10px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-description,
  .koode-description {
    font-size: 16px;
  }

  .about-img-1,
  .about-img-2 {
    width: 100%;
  }

  .program-img-1,
  .program-img-2 {
    width: 100%;
    height: 160px;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }

  .program-title {
    font-size: 18px;
  }

  .program-description {
    font-size: 13px;
  }

  .footer-nav {
    gap: 12px;
  }

  .footer-link {
    font-size: 13px;
  }
}