@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.0),rgba(0, 0, 0, 0.0)),url(images/banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

nav{
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 135px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #662483;
    display: block;
    margin: auto;
    transition: .5s;    
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 60px;
}
.text-box p{
    margin: 20px 0 40px;
    font-size: 20px;
    color: #fff;
}
.hero1-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #e94e1b;
    padding: 12px 34px;
    font-size: 13px;
    background: #e94e1b;
    position: relative;
    cursor: pointer;
    transition: 1s;
}

.hero1-btn:hover{
    border: 1px solid #e94e1b;
    background: #a462a5;
}

.hero2-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #662483;
    padding: 12px 34px;
    font-size: 13px;
    background: #662483;
    position: relative;
    cursor: pointer;
    transition: 1s;
}

.hero2-btn:hover{
    border: 1px solid #662483;
    background: #a462a5;
}

.hero3-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #008d36;
    padding: 12px 34px;
    font-size: 13px;
    background: #008d36;
    position: relative;
    cursor: pointer;
    transition: 1s;
}

.hero3-btn:hover {

    border: 1px solid #008d36;
    background: #a462a5;
}


@media(max-width: 700px)
{
   .nav-links ul li
    {
        display: block;
    }
    .nav-links
    {
        position: fixed;
        background: #662483;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    .nav-links ul{
        padding: 30px;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer; 
    }
    .text-box h1{
        font-size: 20px;
    }
}

/*---------- course --------*/

.course{
    width: 80%;
    margin: auto;
    text-align: left;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 1px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between; 
    
}

.course-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 20px;
    box-sizing: border-box;
    transition: .5s;
}

.row1{
    margin-top: -2%;
    display: flex;
    justify-content: left;
    gap: 20px;
    flex-wrap: wrap;
    position: static;
    bottom: auto;
    left: auto;
    padding: 0 16px;
}
  
.course1-col{
    flex-basis: 35%;
    background: #e94e1b;
    border-radius: 20px;
    overflow: hidden;      /* IMPORTANT: fixes the "notch" */
    margin-bottom: 5%;
    padding: 50px 30px;
    transition: .5s;
    width: 100%;
    max-width: 560px;
}


.course1-col h3{
    font-size: 35px;
    text-align: center;
    color: #662483;
    font-weight: 600;
    margin: 10px 0;

}

.course1-col p{
    color: floralwhite;
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
    padding: 1px;
}
h3{
    text-align: left;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}



@media (max-width:700px){
    .row{
        flex-direction: column;
    }
} 

@media (max-width: 700px){
    .row1{
        flex-direction: column;
        align-items: center;
    }
    .course1-col{
        max-width: 50%;
        padding: 40px 22px;
    }
}

/*---------------- campus ----------------*/

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.campus-col img{
    width: 100%;
}

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: .5s;
}
.layer:hover{
    background: rgba(102, 36, 131, 0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: .5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*-------------- Facilities ----------------*/

.facility{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.facility-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facility-col img{
    width: 100%;
    border-radius: 10px;
}
.facility-col p{
    padding: 0;
}
.facility-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*---------------- testimonials ------------------*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonial-col p{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonial-col .fa{
    color: #662483;
}

@media(max-width:700px){
    .testimonial-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}

/*-------- Call To Action ----------*/


.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px; 
    padding: 0; 
}

@media(max-width:700px){
    .cta h1{
        font-size: 24px;
    }
}

/*--------------Footer---------------*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: #662483;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart-o{
    color: #662483;
}

/*--------------- Contact Page --------------*/


.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/background.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
/*--------------- About Us Page --------------*/


.sub-header-about{
    height: 70vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/aboutpage.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
/*--------------- VoiceBox --------------*/
.sub-header-voicebox{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/school.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

/*--------------- School --------------*/
.sub-header-school{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/WhatsApp\ Image\ 2026-01-20\ at\ 15.50.04.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

/*--------------- E-Learning --------------*/
.sub-header-online_school{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/online.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 100px;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
}

.hero-btn.red-btn{
    border: 1px solid #662483;
    background: transparent;
    color: #662483;
}
.hero-btn.red-btn:hover{
    border: 1px solid #662483;
    background: #662483;
    color: #fff;
}
.hero-btn.red-btn::after{
    background: #662483;
}
.hero-btn.red-btn::before{
    background: #662483;
}
.content-image{
    flex-basis: 50%;
}
.about-col img{
    width: 100%;
}

.about-section {
  background-color: #54458C;
  padding: 90px 20px;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Title */
.about-title {
  font-size: 42px;
  margin-bottom: 30px;
}

/* Body text */
.about-text {
  font-size: 22px;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Title Purple */
.about-title1{
  color: #54458C;
  font-size: 42px;
  margin-bottom: 30px;
}

/* Body text purple */
.about-text1{
  font-size: 22px;
  color: #54458C;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Highlight closing line */
.about-highlight {
  font-size: 26px;
  color: #f0f0f0;
  margin-top: 40px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .about-title {
    font-size: 32px;
  }

  .about-text {
    font-size: 18px;
  }

  .about-highlight {
    font-size: 22px;
  }
}


/*---------- Blog Page -------------*/

.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-right{
    flex-basis: 32%;
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #999;
    padding: 0;
}

.blog-right h3{
    background: #662483;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}

.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px 0;
}


@media (max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
} 


/*------- Contact Us Page ------------*/

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color: #662483;
    margin: 10px;
    margin-right: 30px;
}
    
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
    
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
}

.footer-link{
    text-decoration: none;
    color: #777;
}

/*------- voicebox-section ------------*/

.voicebox-section {
  background-color: #54458C; /* Purple background */
  padding: 60px 20px;
  font-family: Arial, sans-serif;
  color: #ffffff;
}

.voicebox-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Left side */
.voicebox-left {
  flex: 1;
  min-width: 300px;
}

.voicebox-left h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.benefits-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.benefits-list li {
  font-size: 18px;
  margin-bottom: 10px;
}

.schedule-note {
  font-size: 12px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.testimonial {
  font-size: 22px;
  line-height: 1.4;
  position: relative;
  padding-left: 30px;
}

.testimonial::before {
  content:"“";
  font-size: 48px;
  color: #F28B4B;
  position: absolute;
  left: 0;
  top: -10px;
}

/* Right side */
.voicebox-right {
  flex: 0 0 320px;
  text-align: center;
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.location-icon {
  font-size: 32px;
  margin-right: 10px;
}

.location-name {
  font-size: 22px;
  color: #f0f0f0;
  font-weight: bold;
}

.location-age {
  font-size: 18px;
  color: #f0f0f0;
}

/* Button */
.cta-button {
  display: inline-block;
  background-color: #F28B4B;
  color: #ffffff;
  text-decoration: none;
  padding: 20px 30px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #008d36;
}

/* Responsive */
@media (max-width: 768px) {
  .voicebox-container {
    flex-direction: column;
    text-align: center;
  }

  .voicebox-left {
    text-align: left;
  }
}

/*-------School------------*/

.schools-section {
  background-color: #54458C;
  padding: 80px 20px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  text-align: center;
}

.schools-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* school2 */

.schools-section1 {
  background-color: #54458C;
  padding: 80px 20px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  text-align: left;
}

.schools-container1 {
  max-width: 1200px;
  margin: 0 auto;
}

/* Headings */
.section-title {
  font-size: 40px;
  margin-bottom: 20px;
}

.section-intro {

  font-size: 22px;
  color: #f0f0f0;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto 40px;
}

.programmes-title {
  font-size: 36px;
  color: #F28B4B;
  margin-bottom: 50px;
}

/* Programme Cards */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.programme-card {
  border: 8px solid #ffffff;
  border-radius: 25px;
  padding: 40px 20px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.programme-card .icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.programme-card p {
  font-size: 20px;
  color: #f0f0f0;
  line-height: 1.3;
}

/* CTA Button */
.schools-cta {
  display: inline-block;
  background-color: #F28B4B;
  color: #ffffff;
  text-decoration: none;
  padding: 22px 50px;
  font-size: 22px;
  font-weight: bold;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.schools-cta:hover {
  background-color: #e3793c;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }

  .programmes-title {
    font-size: 28px;
  }

  .section-intro {
    font-size: 18px;
  }
}

/*-------E-learning------------*/

.elearning-section {
  background-color: #54458C;
  padding: 90px 20px;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.elearning-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Headline */
.elearning-title {
  font-size: 42px;
  margin-bottom: 30px;
}

/* Paragraphs */
.elearning-text {
  font-size: 22px;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Testimonial */
.elearning-testimonial {
  font-size: 26px;
  line-height: 1.4;
  margin-top: 50px;
  padding-left: 40px;
  position: relative;
}

/* Quotation mark */
.elearning-testimonial::before {
  content: "“";
  font-size: 60px;
  color: #F28B4B;
  position: absolute;
  left: 0;
  top: -10px;
}

/* Responsive */
@media (max-width: 768px) {
  .elearning-title {
    font-size: 32px;
  }

  .elearning-text {
    font-size: 18px;
  }

  .elearning-testimonial {
    font-size: 22px;
  }
}

/* "About" footer button */


.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;    
}

/* wraps nicely on smaller screens */

.btn {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    background-color: #e94e1b;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    background-color: #1e7e34;
    transform: translateY(-2px);
}

.primary {
    background-color: #e94e1b;
}

.primary:hover {
    background-color: #1e7e34;
}

.outline {
    background-color: transparent;
    color: #008d36;
    border: 2px solid #008d36;
}

.outline:hover {
    background-color: #008d36;
    color: #ffffff;
}

/* Responsive 2.0 */

/* ===== Responsive typography + consistent spacing patch ===== */

/* 1) Base typography */
html {
  font-size: 16px;
}

body {
  line-height: 1.6;
  -webkit-text-size-adjust: 100%; /* stops iOS zoomed text weirdness */
}

/* Make text readable everywhere */
p {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  padding: 0; /* your global p padding:1px adds inconsistencies */
  color: #777;
}

/* 2) Consistent heading spacing */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin: 0 0 0.6em; /* consistent gap under headings */
}

/* Keep your existing sizes, but make them responsive */
h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
}

h3 {
  margin: 0 0 0.6em;
}

/* Hero heading should scale instead of jumping to 20px */
.text-box h1 {
  font-size: clamp(28px, 6vw, 60px);
  margin-bottom: 0.4em;
}

.text-box p {
  font-size: clamp(16px, 2.5vw, 20px);
}

/* 3) Make rows wrap nicely on mid sizes */
.row, .row1 {
  flex-wrap: wrap;
  gap: 20px;
}

/* Remove forced offsets that break mobile */
@media (max-width: 900px) {
  .row1 {
    position: static;
    bottom: auto;
    left: auto;
  }
}

/* 4) Columns should not squeeze */
.course-col,
.course1-col,
.campus-col,
.facility-col,
.testimonial-col {
  min-width: 250px;
}

/* 5) Navigation link text slightly bigger */
.nav-links ul li a {
  font-size: 15px;
}

/* 6) Mobile improvements */
@media (max-width: 700px) {
  .course, .campus, .facility, .testimonials, .blog-content, .contact-us, .location {
    width: 92%;
  }

  /* Your old rule makes hero h1 20px (too small) — override it */
  .text-box h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  /* Make buttons more tappable */
  .hero1-btn, .hero2-btn, .hero3-btn, .cta-button, .schools-cta {
    padding: 14px 22px;
    font-size: 16px;
  }

  /* Text blocks spacing */
  .text-box p {
    margin: 14px 0 24px;
  }
}

/* Optional: reduce ultra-thin text on mobile */
@media (max-width: 700px) {
  p { font-weight: 400; }
}



/* Cookie Banner */

.cookie-banner[hidden] { display: none; }

.cookie-banner {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
}

.cookie-card {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.cookie-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.cookie-text {
  margin: 0 0 14px;
  line-height: 1.4;
  color: #222;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cookie-actions-secondary { margin-top: 10px; }

.btn {
  border: 1px solid #a462a5;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}

.btn-primary {
  background: #008d36;
  border-color: #008d36;
  color: #fff;
}

.btn-secondary {
  background: #a462a5;
}

.btn-ghost {
  background: #a462a5;
}

.btn:focus {
  outline: 3px solid rgba(0,0,0,0.2);
  outline-offset: 2px;
}

.cookie-prefs {
  border-top: 1px solid #eee;
  padding-top: 12px;
  margin-top: 6px;
}

.pref-row {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}

.pref-row label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pref-row small { color: #555; }

.cookie-links {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.cookie-links a { color: #111; }

.cookie-settings-link {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 9998;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
}
