/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header and Navigation */
.header {
  background-color: #003f2d;
  color: #fff;
  padding: 20px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 63, 45, 0.6);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding-top: 100px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background-color: #00a86b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #007f50;
}

/* Section Labels and Titles */
.section-label {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #00a86b;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #666;
}

/* --- SERVICE CARD UPGRADE --- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #003f2d;
}

.service-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #555;
}

.service-link {
  color: #00a86b;
  font-weight: bold;
  text-decoration: none;
}

.service-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #003f2d;
  color: #fff;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.footer h3, .footer h4 {
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
/* Contact Section Styles */
.contact-section {
  padding: 80px 0;
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Contact Form */
.contact-form {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00a86b;
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  accent-color: #00a86b;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: 500;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background-color: #00a86b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #007f50;
}

.contact-form button:active {
  transform: scale(0.98);
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Contact Info Cards */
.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.info-card {
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #00a86b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-card h3 {
  margin-bottom: 12px;
  color: #003f2d;
  font-size: 1.1rem;
}

.info-card p {
  margin-bottom: 8px;
  color: #666;
  font-size: 0.95rem;
}

.info-card a {
  color: #00a86b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #007f50;
  text-decoration: underline;
}
/* Contact Section Styles */
.contact-page {
  padding: 80px 0;
  background-color: #fff;
}

.contact-intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Contact Form */
.contact-form-wrapper {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  display: block;
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00a86b;
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
  margin-bottom: 25px;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  margin-right: 12px;
  margin-top: 4px;
  accent-color: #00a86b;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-row .checkbox-label {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.checkbox-row label {
  margin: 0;
}

.contact-form button {
  padding: 14px 24px;
  background-color: #00a86b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.contact-form button:hover {
  background-color: #007f50;
}

.contact-form button:active {
  transform: scale(0.98);
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Contact Details */
.contact-details {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-details h3 {
  color: #003f2d;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.contact-details h3:first-child {
  margin-top: 0;
}

.contact-details h3:not(:first-child) {
  margin-top: 28px;
}

.contact-details p {
  margin: 8px 0;
  color: #666;
  font-size: 0.95rem;
}

.contact-details a {
  color: #00a86b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #007f50;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-form-wrapper,
  .contact-details {
    padding: 20px;
  }

  .contact-form label {
    margin-top: 14px;
  }
}
/* BER Guide Section */
.ber-guide-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.ber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.ber-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ber-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.ber-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background-color: #f5f5f5;
  padding: 20px;
  display: block;
}

.ber-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.1rem;
  color: #003f2d;
  margin: 0;
}

.ber-card p {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ber-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ber-card img {
    height: 200px;
  }
}
/* Video Embed Styling */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.video-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.video-card h3 {
  padding: 20px;
  margin: 0;
  color: #003f2d;
  font-size: 1.1rem;
}

.video-card .video-embed {
  margin: 20px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------- */
/* VIDEO SECTION STYLING        */
/* ----------------------------- */

.video-section {
  padding: 60px 0;
}

.video-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #003f2d;
}

.video-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.video-card h3 {
  margin-bottom: 15px;
  color: #003f2d;
  font-size: 1.3rem;
}

.pillar-video {
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* Pillars Section */
.pillars-section {
  padding: 80px 0;
  background: #ffffff;
}

.pillars-section .section-label {
  text-align: center;
  color: #00a86b;
}

.pillars-section .section-title {
  color: #003f2d;
  margin-bottom: 15px;
}

.pillars-section .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.pillar-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.pillar-item h3 {
  color: #003f2d;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Responsive layout */
@media (max-width: 900px) {
  .pillar-video {
    max-width: 100%;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .pillars-section {
    padding: 60px 0;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Video Resources Section */
.video-resources-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
  position: relative;
}

.section-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00a86b;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003f2d;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.resource-video {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.resource-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00a86b, #005a3d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}

.resource-video:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,168,107,0.15);
  border-color: rgba(0,168,107,0.2);
}

.resource-video:hover::before {
  transform: scaleX(1);
}

.resource-video h3 {
  padding: 22px;
  margin: 0;
  color: #003f2d;
  font-size: 1.15rem;
  font-weight: 600;
  background: linear-gradient(135deg, #f9f9f9, #f5f5f5);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.4;
}

.resource-video .video-embed {
  margin: 0;
  padding-bottom: 56.25%;
  position: relative;
  flex: 1;
}

.resource-video:focus-within {
  outline: 2px solid #00a86b;
  outline-offset: 4px;
}

.resource-video:focus-within h3 {
  color: #00a86b;
}

@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }
  
  .resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .video-resources-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .resource-video h3 {
    font-size: 1.05rem;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  .resources-grid {
    gap: 16px;
  }
  
  .resource-video h3 {
    font-size: 1rem;
    padding: 14px;
  }
}

/* ----------------------------- */
/* CAROUSEL SECTION STYLING     */
/* ----------------------------- */

.carousel-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  position: relative;
}

.carousel-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #003f2d;
  font-weight: 700;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-btn {
  background-color: #00a86b;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.2);
}

.carousel-btn:hover {
  background-color: #005a3d;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 168, 107, 0.35);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn.prev {
  order: -1;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  flex: 1;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: #00a86b #f0f0f0;
}

/* Webkit scrollbar styling */
.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: #00a86b;
  border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-thumb:hover {
  background: #005a3d;
}

.carousel-item {
  flex: 0 0 320px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 168, 107, 0.15);
}

.carousel-item h3 {
  color: #003f2d;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.video-container {
  position: relative;
  width: 100%;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 63, 45, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.carousel-item:hover .play-overlay {
  opacity: 1;
  background: rgba(0, 63, 45, 0.5);
}

.play-icon {
  color: white;
  font-size: 3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.carousel-item:hover .play-icon {
  transform: scale(1.1);
}

.carousel-item video {
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #f0f0f0;
}

/* Responsive design */
@media (max-width: 1024px) {
  .carousel-section h2 {
    font-size: 2rem;
  }

  .carousel-item {
    flex: 0 0 280px;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .carousel-section {
    padding: 60px 0;
  }

  .carousel-section h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  .carousel-item {
    flex: 0 0 240px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .carousel-item h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .carousel-section {
    padding: 40px 0;
  }

  .carousel-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .carousel-wrapper {
    gap: 10px;
  }

  .carousel-item {
    flex: 0 0 200px;
    padding: 10px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .carousel-item h3 {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
}

/* Roadmap Section Image Styling */
.roadmap-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 30px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 63, 45, 0.1);
}
