/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Savate", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #eceaea;
  text-align: center;
}

/* PARALLAX SECTION STYLING */
.parallax-section {
  position: relative; /* Essential for positioning children */
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* Prevents scroll bars */
}

/* PARALLAX BACKGROUND IMAGE */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates parallax effect */
  z-index: 1; /* Places below text */
}

/* TEXT CONTAINER */
.parallax-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* Places above background */
  width: 90%;
  max-width: 1200px;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  padding: 20px;
}

/* MAIN HEADING */
.parallax-text h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive sizing */
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* SUBHEADING */
.parallax-text h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
}

/* OPTIONAL: DARK OVERLAY FOR BETTER CONTRAST */
.parallax-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
  z-index: 1; /* Between background and text */
}

/* COLUMN LAYOUT WITH FIXED HEIGHTS */
/*.wrapper {
  max-width: 1458px;
  margin: 0 auto;
  padding: 20px;
}

.responsive-columns {
  display: flex;
  gap: 20px; /* Space between columns
}

.column {
  flex: 1; /* Equal width columns 
  min-width: 0; /* Fixes flexbox overflow issues 
  display: flex;
  flex-direction: column;
  height: 400px; /* Fixed height for all columns *
  border: 1px solid #e0e0e0; /* Optional border *
  border-radius: 8px;
  overflow: hidden; /* Contains all child elements *
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Optional shadow *
}

.image-container {
  height: 500px;  Fixed height for images 
  overflow: hidden;
}*/

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill container */
}

.column p {
  flex-grow: 1; /* Takes remaining space */
  padding: 0px;
  margin: 0;
  overflow-y: auto; /* Adds scroll when content overflows */
  line-height: 1.6;
  font-size: 16px;
}

.wrapper {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
}

.responsive-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.column {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.image-container {
    width: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.03);
}

.column-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.column-content h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.scroll-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px; /* Space for scrollbar */
}

.qualification-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    margin: 0;
    list-style-type: none;
}

.qualification-item:last-child {
    border-bottom: none;
}

/* Custom scrollbar */
.scroll-content::-webkit-scrollbar {
    width: 6px;
}

.scroll-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.scroll-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.scroll-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.feature-list {
  margin: 0.55rem 0;
  padding: 0;
  list-style-type: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
  text-align: left;
}

.feature-list li:before {
  content: "•";
  color: #3498db; /* Your brand color */
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Numbered List Styling */
.programme-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style-type: none;
  counter-reset: programme-counter;
}

.programme-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  text-align: left;
}

.programme-list li:before {
  counter-increment: programme-counter;
  content: counter(programme-counter);
  color: white;
  background-color: #3498db;
  font-weight: bold;
  position: absolute;
  left: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  text-align: center;
  line-height: 1.8rem;
  font-size: 0.9rem;
}









/* TWO COLUMN LAYOUT */
.two-column-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* IMAGE COLUMN - NO TOP SPACING */
.image-column {
  position: relative;
  flex: 1;
  margin: 0; /* Remove all margins */
  padding: 0; /* Remove all padding */
  align-self: stretch; /* Force full height */
}

/* COLUMN STYLES */
.column {
  flex: 1;
  min-width: 0; /* Fixes flexbox overflow issues */
}

/* TWO COLUMN LAYOUT FIX */
.two-column-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30; /* Remove gap between columns */
}

/* IMAGE COLUMN - NO TOP SPACING */
.image-column {
  position: relative;
  flex: 1;
  margin: 0; /* Remove all margins */
  padding: 0; /* Remove all padding */
  align-self: stretch; /* Force full height */
}

.image-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXT COLUMN - MATCHED HEIGHT */
.text-area-container {
  margin: 20px;
}

.text-column {
  flex: 1;
  padding: 20px;
  background: #f9f9f9;
}

/* TEXT OVERLAY - TIGHT TO TOP */
.text-overlay {
  position: absolute;
  top: 0; /* Stick to top */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top */
  padding-top: 30px; /* Add padding only at top */
}

/* TEXT COLUMN - MATCH HEIGHT */
.text-column {
  flex: 1;
  display: flex;
  padding: 30px;
  background: #f9f9f9;
  align-items: flex-start; /* Align to top */
}

/* HEIGHT MATCHING FOR BOTH COLUMNS */
.two-column-container {
  min-height: 400px; /* Set minimum height */
}

/* TEXT COLUMN STYLES */
.text-column {
  display: flex;
  align-items: center;
  background: #f9f9f9; /* Light background */
  padding: 40px;
}

.centered-content h3 {
  font-size: 2rem;
  margin-bottom: 0px;
  color: #333;
}

.centered-content p {
  line-height: 1.6;
  color: #555;
}






/* POLICIES PARALLAX SECTION - COMPACT VERSION */
.policies-parallax {
  position: relative;
  height: 40vh; /* Reduced from 100vh */
  min-height: 300px; /* Ensures visibility on small screens */
  overflow: hidden;
  /* background: #2c3e50; Fallback color */
}

/* Modern Teal Background Overlay */
.policies-parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 /* background: rgba(0, 128, 128, 0.85);  Rich teal color */
  z-index: 1;
}

.policies-parallax .parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  /* opacity: 0.7;  Makes color overlay more visible */
}

.policies-parallax .parallax-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  text-align: center;
  z-index: 2;
  color: white;
  padding: 20px;
}

.policies-parallax h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  font-weight: 700;
}

/* POLICY BUTTONS STYLING */
.policy-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.policy-btn {
  display: inline-block;
  padding: 15px 30px;
  background: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px); /* Frosted glass effect */
  min-width: 180px;
  text-align: center;
}

.policy-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* DARK OVERLAY FOR BETTER READABILITY */
.policies-parallax::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* CONTACT US SECTION */
.regular-content {
  padding: 80px 20px;
  text-align: center;
  background: #f8f8f8; /* Light background */
}

.regular-content p {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive sizing */
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

/* Optional decorative underline */
.regular-content p::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #0066cc; /* Accent color */
}

/* THREE COLUMN CONTACT LAYOUT */
.three-column-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px; /* Tight gap between columns */
  padding: 40px 20px;
  /* background: #fff; Clean white background */
}

.column {
  flex: 1;
  min-width: 0;
  padding: 25px;
  background: #f8f9fa; /* Very light gray background */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.text-content h3 {
  font-size: 1.5rem;
  color: #2c3e50; /* Dark blue-gray */
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc; /* Accent underline */
}

.text-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #4a5568; /* Medium gray */
  margin: 0 0 10px 0; /* Tight paragraph spacing */
}

.text-content p:last-child {
  margin-bottom: 0;
}

/* Highlight contact methods */
.column:nth-child(2) p:first-child {
  font-weight: 600;
  color: #2c3e50;
}

.column:nth-child(2) p:nth-child(2) {
  word-break: break-all; /* Prevent email overflow */
}



/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1024px) {
  .responsive-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .policy-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .three-column-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .three-column-container .column:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .two-column-container {
    grid-template-columns: 1fr;
  }
  
  .text-column {
    padding: 30px 20px;
  }
  
  .policies-parallax {
    height: 70vh;
  }
  
  .policy-buttons {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  
  .three-column-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .three-column-container .column:last-child {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .responsive-columns {
    grid-template-columns: 1fr;
  }
  
  .image-container {
    height: 200px;
  }
  
  .regular-content {
    padding: 40px 20px;
  }
}

/* Rest of your CSS remains unchanged */