:root {
  --primary-color: #0f623a;
  --primary-light: #e6f4ea;
  --secondary-color: #ffd200;
  --secondary-light: #fff5cc;
  --text-dark: #1a202c;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
}

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.text-secondary-custom {
  color: var(--secondary-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-primary-light {
  background-color: var(--primary-light) !important;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 98, 58, 0.15);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 98, 58, 0.15);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: #e6bd00;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 210, 0, 0.2);
}

/* Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 5px 0;
  transition: all 0.3s ease;
}

.navbar-custom .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary-color);
}

.navbar-custom .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-custom .nav-link:not(.dropdown-toggle):hover::after,
.navbar-custom .nav-link:not(.dropdown-toggle).active::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e6f4ea 100%);
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero-badge .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  margin-right: 8px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 15px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 15px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-card.card-1 {
  bottom: -20px;
  left: -30px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: -40px;
  right: 50px;
  animation-delay: 2s;
}

.floating-card.card-3 {
  top: 50%;
  left: -50px;
  animation-delay: 1s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper img {
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(15, 98, 58, 0.15);
  border: 8px solid var(--white);
}

/* Sections General */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  border: 1px solid #edf2f7;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-card.highlight {
  background-color: var(--primary-color);
  color: var(--white);
}

.feature-card.highlight .feature-title,
.feature-card.highlight .feature-desc {
  color: var(--white);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.icon-box-primary {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.icon-box-secondary {
  background-color: var(--secondary-light);
  color: #b08d00;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Nav Pills Custom */
.nav-pills-custom .nav-link {
  color: var(--text-muted);
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.nav-pills-custom .nav-link.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(15, 98, 58, 0.2);
}

/* Syllabus Cards */
.syllabus-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #edf2f7;
  transition: all 0.3s ease;
}

.syllabus-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.standard-badge {
  background-color: var(--secondary-light);
  color: #b08d00;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* News Cards */
.news-card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.news-img-wrapper {
  position: relative;
  padding-top: 60%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}

.news-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img {
  transform: scale(1.05);
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d2a 100%);
  color: #fff;
  padding: 40px 0 60px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Masonry Gallery */
.masonry-gallery {
  column-count: 1;
  column-gap: 20px;
}

@media (min-width: 576px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .masonry-gallery {
    column-count: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.masonry-item:hover {
  transform: translateY(-5px);
}

.masonry-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.filter-btn {
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

/* Gallery */
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-main {
  height: 420px;
}

.gallery-sub {
  height: 200px;
}

/* Contact Section */
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control-custom {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  background-color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(15, 98, 58, 0.1);
}

/* Footer */
.footer {
  background-color: #0a4227;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--secondary-color);
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50px;
  padding: 12px 20px;
}

.newsletter-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
  color: var(--white);
  box-shadow: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-section {
    padding: 100px 0 60px;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .floating-card {
    display: none;
  }

  .gallery-main,
  .gallery-sub {
    height: 250px;
  }
}

/* Swiper Slider CSS */
.standard-slide-card {
  height: 400px;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.standard-slide-card:hover {
  transform: translateY(-5px);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 50, 0, 0.8) 0%, rgba(0, 50, 0, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.slide-content {
  width: 100%;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* Responsive Logo Sizes */
.responsive-logo {
  height: 75px;
}

@media (max-width: 768px) {
  .responsive-logo {
    height: 50px;
  }
}