@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --deep-teal: #0a4d63;
    --soft-gold: #c5a059;
    --text-dark: #1e272e;
    --text-white: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Base Typo Overrides */
h1, h2, h3 { font-family: 'Merriweather Sans', sans-serif; color: var(--text-dark); }
p, a, span, button { font-family: 'Inter', sans-serif; }

.hero-banner {
    background: radial-gradient(circle at top right, #0d5a75, #063140);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

/* Subtitle Styling */
.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    color: var(--soft-gold);
    margin-bottom: 10px;
}

/* Main Title - Extreme Contrast */
.hero-title {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: clamp(32px, 5vw, 64px); /* Scales perfectly */
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
}

.text-gold {
    color: var(--soft-gold);
    font-weight: 300; /* Contrast thick with thin */
}

/* Description */
.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin-bottom: 40px;
}

.name-highlight {
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid var(--soft-gold);
}

/* Premium Button (Replaces the glowing rainbow) */
.btn-premium {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: #fff;
    border: 1px solid var(--soft-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    background: var(--soft-gold);
    color: #fff;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
    transform: translateY(-3px);
}

/* Image Presentation */
.image-wrapper {
    position: relative;
    z-index: 1;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(197,160,89,0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero-img {
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
    transition: var(--transition);
}

/* Responsive Adjustments */
@media (max-width: 991px) {

  .hero-image-area {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 40px; /* Adds space between image and text */
    }

    /* Ensures the image itself is centered and appropriately sized */
    .hero-img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 80%; /* Prevents the image from being too large on mobile */
        height: auto;
    }

    /* Optional: Centers the text content to match the centered image */
    .hero-text-area {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width:600px){
  /* Subtitle Styling */
  .hero-subtitle {
      font-size: 12px;
  }
  /* Description */
  .hero-description {
      font-size: 12px;
      line-height: 1.8;
  }
  .btn-premium {
      padding: 13px 30px;
      font-size: 12px;
  }
}

/*============================================ About Us ==============================================================*/

.about{
  width: 90%;
  margin: 8% auto;
  max-width: 1170px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  grid-gap: 60px;
  padding: 35px 0;
}
.contentLeft,
.contentRight{
  width: 100%;
}
.contentLeft .row{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}
.contentLeft .row .imgWrapper{
  width: 100%;
  height: 350px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.15);
}
.contentLeft .row .imgWrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: 0.3s ease;
}
.contentLeft .row .imgWrapper:hover img{
  transform: scale(1.3);
}
.contentLeft .row .imgWrapper:nth-child(odd){
  transform: translateY(-20px);
}
.contentLeft .row .imgWrapper:nth-child(even){
  transform: translateY(20px);
}
.contentRight .content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contentRight .content p{
  line-height: 28px;
  padding-bottom: 10px;
  text-align: justify;
}
.contentRight .content a{
  padding: 0.4em 2em;
  border: none;
  outline: none;
  font-size: 18px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.contentRight .content a:before{
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}
@keyframes glowing-button {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}
.contentRight .content a:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}
@media(max-width: 767px){
  .about{
      grid-template-columns: 1fr;
  }
  .contentLeft .row{
      grid-template-columns: repeat(2, 1fr);
  }
  .contentLeft .row .imgWrapper{
      height: 150px;
  }
  .contentRight .content{
    align-items: center;
  }
  
  .contentRight .content h2{
      padding: 0;
  }
  .contentRight .content p{
    font-size: 14px;
    line-height: 28px;
  }
  .contentRight .content a{
    padding: 0.2em 1em;
    font-size: 16px;
  }

}
@media(max-width: 450px){
    .contentRight .content p{
      font-size: 12px;
      line-height: 20px;
    }
    .contentRight .content a{
      padding: 0.2em 1em;
      font-size: 14px;
    }
}


/*============================================ Coaching/Courses ==============================================================*/
.coaching-section {
    padding: 30px 0;
    background: #fff;
}

.section-title {
    font-family: "Merriweather Sans", sans-serif;
    text-align: center;
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.section-title span {
    font-weight: 300; /* Light weight for "Featured" */
    display: block;
    font-size: 14px;
    color: var(--soft-gold);
    margin-bottom: 5px;
    border:none;
}

/* Carousel Card Container */
.course-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05); /* Very faint border */
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.course-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px; /* Fixed height for symmetry */
}

.course-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 77, 99, 0.7); /* Using --deep-teal with alpha */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.course-overlay span {
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 1px solid var(--soft-gold);
    padding-bottom: 5px;
}

.course-info {
    padding: 30px 20px;
    text-align: center;
    background: #fff;
}

.course-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.course-divider {
    width: 20px;
    height: 2px;
    background: var(--soft-gold);
    margin: 15px auto 0;
    transition: width 0.4s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.course-card:hover .course-image-wrapper img {
    transform: scale(1.1);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-card:hover .course-divider {
    width: 50px; /* Line grows on hover for a sophisticated feel */
}

/*============================================ Owl Carousel Navigation Customization ==============================================*/
.course-carousel .owl-nav button {
    position: absolute;
    top: 40%;
    font-size: 30px !important;
    color: var(--deep-teal) !important;
    transition: var(--transition);
    opacity: 0.5;
}

.course-carousel .owl-nav button:hover {
    opacity: 1;
    background: none !important;
}

.course-carousel .owl-nav .owl-prev { left: -50px; }
.course-carousel .owl-nav .owl-next { right: -50px; }

@media (max-width: 991px) {
    .course-carousel .owl-nav { display: none; } /* Hide side arrows on mobile */
    .course-image-wrapper { height: 200px; }
    .course-info h4 { font-size: 14px; }
}

/*============================================ 
   Offers Section - Dark Elite Theme
==============================================*/
.offers {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Deep midnight teal gradient */
    background: radial-gradient(circle at top right, #0a4d63, #063140);
    background-size: 400% 400%;
    animation: darkFlow 15s ease infinite;
}

/* Glowing Energy Orbs */
.offers::before,
.offers::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.offers::before {
    width: 400px;
    height: 400px;
    background: var(--soft-gold); 
    top: -10%;
    right: -5%;
    animation: orbMovement 20s infinite alternate;
}

.offers::after {
    width: 300px;
    height: 300px;
    background: #00d7fd; 
    bottom: -5%;
    left: -5%;
    animation: orbMovement 25s infinite alternate-reverse;
}

/* Ensuring text sits above the background glow */
.offers .container {
    position: relative;
    z-index: 2;
}

/* Typography & Titles */
.offers h2 {
    color: #ffffff !important;
    font-family: 'Merriweather Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    text-align: center;
}

.offers h2 span {
    color: var(--soft-gold);
    font-weight: 300;
}

.offers-cont-item {
    margin-bottom: 40px;
    text-align: center;
    cursor: pointer; /* Suggests interactivity */
}

/* Title Hover Glow Effect */
.offers-cont-item h3 {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    margin: 20px 0 10px;
    letter-spacing: 1px;
    transition: var(--transition); /* Using your root transition */
    text-shadow: 0 0 0px rgba(197, 160, 89, 0); /* Initial state: no glow */
}

.offers-cont-item:hover h3 {
    color: var(--soft-gold);
    text-shadow: 0 0 15px rgba(197, 160, 89, 0.6); /* Soft gold illumination */
    transform: translateY(-2px);
}

.offers-cont-item p {
    color: rgba(255, 255, 255, 0.7); 
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    width: 85%;
    margin: 0 auto;
    transition: var(--transition);
}

.offers-cont-item:hover p {
    color: rgba(255, 255, 255, 1); /* Brightens text on hover */
}

/* Image/Icon Styling */
.offers-cont-item img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.offers-cont-item:hover img {
    border-color: var(--soft-gold);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 45px rgba(197, 160, 89, 0.25);
}

/* Animations */
@keyframes darkFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes orbMovement {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-60px, 90px); }
}



/*============================================ join us ==============================================================*/

.join-us{
  padding: 1em;
}
.join-us .front-card{
  margin: 3% auto;
  color: white;
  max-width: 100%;
  height: 235px;
  border-radius: 11px;
  background: linear-gradient(135deg, #45484d 0%,#000000 100%);
  box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
  transition: transform .3s ease, box-shadow .2s ease-in;  
}
.join-us .front-card:hover{
  cursor: pointer;
  transform: scale(1.015);
  box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.45);
}
.join-us .front-card .join-img img{
  height: 235px;
  width: 100%;
  border-top-left-radius:10px;
  border-bottom-left-radius:10px;
}
.join-us .front-card .join-cont{
  padding:30px 20px;
}
.join-us .front-card .join-cont h3 span{
  background: -webkit-linear-gradient(#e2e2e2, #00d7fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.join-us .front-card .join-cont .join-cont-p{
  width: 90%;
}
.join-us .front-card .join-cont .join-cont-p p{
  color: #fff;
}
.join-us .front-card .join-cont .join-cont-p .join-btn{
  background-color: #c2fbd7;
  border-radius: 100px;
  box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset,rgba(44, 187, 99, .15) 0 1px 2px,rgba(44, 187, 99, .15) 0 2px 4px,rgba(44, 187, 99, .15) 0 4px 8px,rgba(44, 187, 99, .15) 0 8px 16px,rgba(44, 187, 99, .15) 0 16px 32px;
  cursor: pointer;
  margin-top: 20px;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  float: right;
}
.join-us .front-card .join-cont .join-cont-p .join-btn a{
 text-decoration: none;
 color: rgb(0, 0, 0);
}
.join-us .front-card .join-cont .join-cont-p .join-btn:hover{
  box-shadow: rgba(44,187,99,.35) 0 -25px 18px -14px inset,rgba(44,187,99,.25) 0 1px 2px,rgba(44,187,99,.25) 0 2px 4px,rgba(44,187,99,.25) 0 4px 8px,rgba(44,187,99,.25) 0 8px 16px,rgba(44,187,99,.25) 0 16px 32px;
  transform: scale(1.05) rotate(-1deg);
}
@media(max-width:767px){
  .join-us .front-card{
    height: auto; 
    text-align: center; 
  }
  .join-us .front-card .join-img {
    display: none;
  }
}
@media(max-width:500px){
  .join-us .front-card .join-cont h3 span{
    font-size: 20px;
  }
  .join-us .front-card .join-cont p{
    font-size: 14px;
    font-weight: 300;
    text-align: justify;
  }
  .join-us .front-card .join-cont .join-cont-p{
    width: 100%;
  }
  .join-us .front-card .join-cont .join-cont-p .join-btn{
    font-size: 14px;
    margin-top: 5px;
    padding: 5px 10px;
  }
}

