/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #07b1d0f3;
  --secondary: #07b1d0;
  --accent: #07b1d0;
  --light: #f0f9f4;
  --dark: #0b2a25;
  --text: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #f8fafc;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top Bar Styles */
.topbar {
  background: var(--secondary);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-left {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-right i {
  font-size: 0.8rem;
  opacity: 0.9;
}

.phone {
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Header Styles */
.site-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.logo-image {
  height: clamp(60px, 10vw, 100px);
  width: auto;
  vertical-align: middle;
  margin: 0 5px;
}

.logo-text {
  color: var(--dark);
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  align-items:center;
}

.main-nav li {
  margin-left: 15px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.main-nav a:hover {
  color: var(--secondary);
}

.main-nav a.active {
  color: var(--secondary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero Carousel Section */
.hero-carousel {
  position: relative;
  height: 40vh;
  min-height: 400px;
  max-height: 500px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-slides {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.carousel-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  padding-top: 80px;
}

.carousel-content h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.carousel-content p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 20px;
  animation: fadeInUp 1s ease-out 0.6s both;
  flex-wrap: wrap;
}

.breadcrumb li {
  margin: 0 10px;
}

.breadcrumb a {
  color: var(--white);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  color: var(--white);
  margin-left: 10px;
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: rgb(8, 8, 8);
  transform: scale(1.2);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.carousel-nav button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.carousel-nav button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Mission Section */
.mission-section {
  padding: 80px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mission-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 20px;
}

.mission-content p {
  margin-bottom: 20px;
  color: var(--dark);
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: var(--light);
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

.stat-label {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--dark);
}

.mission-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mission-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 15px;
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.value-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: #e8f5ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--secondary);
}

.value-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 15px;
  color: var(--dark);
}

/* Timeline Section */
.timeline-section {
  padding: 80px 0;
  background: var(--secondary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 20px;
  background: var(--light);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.timeline-year {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: var(--light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.team-member {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 5px;
  color: var(--dark);
}

.member-info p {
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.member-social a {
  color: var(--text-light);
  transition: var(--transition);
}

.member-social a:hover {
  color: var(--secondary);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: url("../images/IMG-20251102-WA0020.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  background-attachment: fixed;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 4vw, 3rem);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: white;
  color: var(--text);
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer with Logo */
.site-footer {
  background: var(--secondary);
  color: var(--dark);
  padding: 30px 0 10px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 10px;
  
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  /* color: var(--white); */
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  /* background: var(--white); */
}

.footer-col p {
  margin-bottom: 20px;
  color: var(--dark);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-image {
  height: 80px;
  width: auto;
  margin-right: 10px;
  color: var(--dark);
}

.footer-logo-text {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.9rem;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--text);
  color: var(--secondary);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .carousel-content h1 {
    font-size: 3rem;
  }
  .carousel-content p {
    font-size: 1.9rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .top-right {
    justify-content: center;
    width: 100%;
  }

  .social-icons {
    justify-content: center;
    width: 100%;
    margin-top: 5px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 177, 208, 0.95);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    backdrop-filter: blur(10px);
  }

  .main-nav.active ul {
    display: flex;
  }

  .main-nav a:hover {
    color: var(--white);
  }

  .main-nav a.active {
    color: var(--text);
  }

  .main-nav li {
    margin: 10px 0;
  }

  .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--secondary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
  }

  .btn-outline:hover {
    background: var(--text);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 178, 123, 0.2);
  }

  .hero-carousel {
    height: 30vh;
    min-height: 200px;
  }

  .carousel-content {
    padding-top: 120px;
  }

  .carousel-content h1 {
    font-size: 2.5rem;
  }

  .carousel-content p {
    font-size: 1.9rem;
  }

  .carousel-nav {
    display: none;
  }

  .mission-stats {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }

  .timeline-year {
    left: 20px;
    transform: translateX(0);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .top-right {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .social-icons {
    justify-content: center;
    width: 100%;
    margin-top: 5px;
  }

  .hero-carousel {
    height: 70vh;
    min-height: 500px;
  }

  .carousel-content {
    padding-top: 100px;
  }

  .carousel-content h1 {
    font-size: 2rem;
  }

  .carousel-content p {
    font-size: 1rem;
  }

  .mission-content h2,
  .section-header h2,
  .cta-section h2 {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Extra Small Screens (320px and below) */
@media (max-width: 320px) {
  .topbar-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .top-right {
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }

  .social-icons {
    justify-content: center;
    width: 100%;
    margin-top: 5px;
  }

  .carousel-content {
    padding-top: 80px;
  }

  .carousel-content h1 {
    font-size: 1.8rem;
  }

  .carousel-content p {
    font-size: 0.9rem;
  }

  .breadcrumb {
    flex-direction: column;
    gap: 5px;
  }

  .breadcrumb li:not(:last-child)::after {
    display: none;
  }

  .mission-stats {
    gap: 10px;
  }

  .stat-item {
    padding: 15px 10px;
  }

  .value-card {
    padding: 20px 15px;
  }

  .timeline-content {
    padding: 15px;
  }

  .timeline-year {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}
