/*=========================================
        GRAPCAD 2.0
        STYLE SHEET
=========================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {

  --primary: #0066ff;
  --primary-dark: #0052cc;

  --secondary: #FFFFFF;

  --card: #F8FAFC;

  --card-light: #F1F5F9;

  --text: #0F172A;

  --paragraph: #475569;

  --border: rgba(15, 23, 42, .08);

  --shadow: 0 15px 40px rgba(15, 23, 42, .06);

  --radius: 18px;

  --transition: .35s ease;

}

html {

  scroll-behavior: smooth;

  scrollbar-color: var(--primary) var(--card-light);

  scrollbar-width: thin;

}

/* Custom Scrollbar for Webkit Browsers */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--card-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

body {

  font-family: 'Poppins', sans-serif;

  background: var(--secondary);

  color: var(--text);

  overflow-x: hidden;

  line-height: 1.7;

}

img {

  width: 100%;

  display: block;

}

a {

  text-decoration: none;

  color: inherit;

}

ul {

  list-style: none;

}

.container {

  width: min(1200px, 92%);

  margin: auto;

}

section {

  padding: 80px 0;

}

.section-heading {

  text-align: center;

  margin-bottom: 60px;

}

.section-heading span {

  color: var(--primary);

  letter-spacing: 3px;

  font-size: 14px;

  font-weight: 600;

}

.section-heading h2 {

  font-size: 48px;

  margin: 15px 0;

  font-weight: 700;

}

.section-heading p {

  max-width: 700px;

  margin: auto;

  color: var(--paragraph);

}

/*==============================
      BUTTONS
==============================*/

.primary-btn {

  display: inline-block;

  padding: 16px 34px;

  background: linear-gradient(135deg, var(--primary), #59dcff);

  color: #ffffff;

  border-radius: 40px;

  font-weight: 600;

  transition: var(--transition);

}

.primary-btn:hover {

  transform: translateY(-6px);

  box-shadow: 0 15px 35px rgba(41, 201, 255, .35);

}

.secondary-btn {

  display: inline-block;

  padding: 16px 34px;

  border: 2px solid var(--primary);

  border-radius: 40px;

  color: white;

  transition: var(--transition);

}

.secondary-btn:hover {

  background: var(--primary);

  color: #08111F;

}

/*==============================
    HEADER
==============================*/

.header {

  position: fixed;

  width: 100%;

  top: 0;

  left: 0;

  z-index: 1000;

  backdrop-filter: blur(14px);

  background: rgba(255, 255, 255, .85);

  border-bottom: 1px solid rgba(15, 23, 42, .08);

}

.nav-container {

  display: flex;

  align-items: center;

  justify-content: space-between;

  height: 85px;

}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform .3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-links {

  display: flex;

  gap: 40px;

}

.nav-links a {

  position: relative;

  transition: var(--transition);

}

.nav-links a:hover {

  color: var(--primary);

}

.nav-links a::after {

  content: "";

  position: absolute;

  width: 0;

  height: 2px;

  left: 0;

  bottom: -8px;

  background: var(--primary);

  transition: var(--transition);

}

.nav-links a:hover::after {

  width: 100%;

}

.nav-btn {

  background: var(--primary);

  color: #ffffff;

  padding: 14px 30px;

  border-radius: 30px;

  font-weight: 600;

  transition: var(--transition);

}

.nav-btn:hover {

  transform: translateY(-4px);

}

/*==============================
      HERO
==============================*/

.hero {

  min-height: 100vh;

  display: flex;

  align-items: center;

  position: relative;

  background:
    linear-gradient(rgba(8, 17, 31, .72),
      rgba(8, 17, 31, .88)),
    url("../images/hero.jpg");

  background-size: cover;

  background-position: center;

  color: #FFFFFF;

}

/*==============================
      PAGE HERO
==============================*/

.page-hero {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark), #123a91, var(--primary));
  background-size: 300% 300%;
  animation: heroGradientShift 14s ease infinite;
  padding: 140px 0 80px;
  text-align: center;
  color: #FFFFFF;
}

@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.hero-container {

  display: flex;

  align-items: center;

}

.hero-content {

  max-width: 700px;

}

.hero-subtitle {

  color: var(--primary);

  letter-spacing: 3px;

  margin-bottom: 18px;

  font-weight: 600;

}

.hero h1 {

  font-size: 78px;

  line-height: 1.1;

  margin-bottom: 25px;

  font-weight: 800;

}

.hero h1 span {

  color: var(--primary);

}

.hero-description {

  color: #B8C7DD;

  font-size: 20px;

  max-width: 650px;

}

.hero-buttons {

  margin-top: 40px;

  display: flex;

  gap: 20px;

  flex-wrap: wrap;

}

.hero-rating {

  margin-top: 45px;

  font-size: 18px;

  color: #FFD34D;

}

.hero-rating span {

  color: white;

  margin-left: 15px;

}

/*=========================================
        STATISTICS
=========================================*/

.stats {

  margin-top: -70px;

  position: relative;

  z-index: 5;

}

.stats-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;

}

.stat-card {

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 35px;

  text-align: center;

  transition: var(--transition);

  box-shadow: var(--shadow);

}

.stat-card:hover {

  transform: translateY(-10px);

  border-color: var(--primary);

}

.stat-card .stat-number {

  color: var(--primary);

  font-size: 48px;

  margin-bottom: 10px;

}

.stat-card h4 {

  font-size: 22px;

  margin-bottom: 8px;

}

.stat-card p {

  color: var(--paragraph);

}


/*=========================================
      COURSES
=========================================*/

.courses {

  background: var(--card-light);

}

.course-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 35px;

}

.course-card {

  background: linear-gradient(180deg,
      var(--card),
      var(--card-light));

  border-radius: 20px;

  padding: 35px;

  border: 1px solid var(--border);

  transition: var(--transition);

  overflow: hidden;

  position: relative;

  display: flex;

  flex-direction: column;

  height: 100%;

}

.course-card::before {

  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 5px;

  background: linear-gradient(90deg,
      var(--primary),
      #2343fad3);

  transform: scaleX(0);

  transition: var(--transition);

}

.course-card:hover::before {

  transform: scaleX(1);

}

.course-card:hover {

  transform: translateY(-12px);

  border-color: var(--primary);

  box-shadow: 0 25px 45px rgba(0, 0, 0, .45);

}

.course-icon {

  width: 80px;

  height: 80px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: rgba(41, 201, 255, .12);

  color: var(--primary);

  font-size: 38px;

  margin-bottom: 25px;

}

.course-card h3 {

  font-size: 28px;

  margin-bottom: 18px;

}

.course-card p {

  color: var(--paragraph);

  margin-bottom: 30px;

  flex-grow: 1;

}

.course-details {

  margin-bottom: 25px;

  display: flex;

  flex-direction: column;

  gap: 8px;

}

.course-details li {

  color: var(--paragraph);

  font-size: 15px;

}

.course-details li strong {

  color: rgb(0, 0, 0);

}

.course-card .primary-btn {

  align-self: flex-start;

}

.course-footer {

  display: flex;

  justify-content: space-between;

  align-items: center;

}

.course-footer span {

  color: var(--primary);

  font-weight: 600;

}

.course-footer a {

  color: rgb(0, 0, 0);

  transition: var(--transition);

}

.course-footer a:hover {

  color: var(--primary);

}


/*=========================================
      ABOUT
=========================================*/

.about {

  background: var(--secondary);

}

.about-container {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;

}

.about-image img {

  border-radius: 25px;

  box-shadow: var(--shadow);

}

.section-tag {

  color: var(--primary);

  letter-spacing: 2px;

  font-weight: 600;

}

.about-content h2 {

  font-size: 48px;

  margin: 18px 0 25px;

}

.about-content p {

  color: var(--paragraph);

  margin-bottom: 35px;

}

.about-features {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;

  margin-bottom: 40px;

}

.feature {

  background: var(--card);

  padding: 16px;

  border-radius: 12px;

  border: 1px solid var(--border);

  transition: var(--transition);

}

.feature:hover {

  border-color: var(--primary);

  transform: translateX(8px);

}


/*=========================================
      WHY CHOOSE US
=========================================*/

.why {

  background: var(--card-light);

}

.why-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 30px;

}

.why-card {

  background: var(--card);

  border-radius: 20px;

  padding: 35px;

  border: 1px solid var(--border);

  transition: var(--transition);

}

.why-card:hover {

  transform: translateY(-10px);

  border-color: var(--primary);

}

.why-card h3 {

  margin-bottom: 18px;

  font-size: 24px;

}

.why-card p {

  color: var(--paragraph);

}

/*=========================================
            STUDENT GALLERY
=========================================*/

.gallery {

  background: var(--secondary);

}

.gallery-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 25px;

}

.gallery-grid img {

  height: 260px;

  object-fit: cover;

  border-radius: 20px;

  transition: var(--transition);

  cursor: pointer;

  border: 1px solid var(--border);

}

.gallery-grid img:hover {

  transform: scale(1.05);

  box-shadow: var(--shadow);

}

.center-btn {

  text-align: center;

  margin-top: 50px;

}


/*=========================================
          TESTIMONIALS
=========================================*/

.testimonials {

  background: var(--card-light);

}

.testimonial-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 30px;

}

.testimonial-card {

  background: var(--card);

  padding: 35px;

  border-radius: 20px;

  border: 1px solid var(--border);

  transition: var(--transition);

}

.testimonial-card:hover {

  transform: translateY(-10px);

  border-color: var(--primary);

}

.testimonial-card p {

  color: var(--paragraph);

  margin-bottom: 25px;

  font-style: italic;

}

.testimonial-card .star-rating {

  display: block;

  color: #FFD54F;

  margin-bottom: 10px;

}

.testimonial-card h3 {

  font-size: 20px;

}

/* ---- Google Reviews ---- */

.google-reviews-summary {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  flex-wrap: wrap;

  margin-top: 12px;

}

.g-rating-score {

  font-weight: 700;

  font-size: 1.4rem;

  color: var(--text);

}

.g-rating-stars {

  color: #FBBC04;

  letter-spacing: 2px;

}

.g-rating-count {

  color: var(--paragraph);

  font-size: .95rem;

}

.google-review-head {

  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 12px;

}

.google-review-head img {

  border-radius: 50%;

}

.google-review-time {

  display: block;

  font-size: .85rem;

  color: var(--paragraph);

}


/*=========================================
              FAQ
=========================================*/

.faq {

  background: var(--secondary);

}

.faq-container {

  max-width: 900px;

  margin: auto;

}

.faq-item {

  background: var(--card);

  margin-bottom: 20px;

  border-radius: 15px;

  overflow: hidden;

  border: 1px solid var(--border);

}

.faq-question {

  width: 100%;

  background: none;

  color: rgb(0, 0, 0);

  border: none;

  cursor: pointer;

  padding: 22px 30px;

  font-size: 18px;

  font-weight: 600;

  text-align: left;

}

.faq-answer {

  max-height: 0;

  overflow: hidden;

  transition: max-height .4s ease;

}

.faq-answer p {

  color: var(--paragraph);

  padding: 0 30px 25px;

}

.faq-item.active .faq-answer {

  max-height: 250px;

}


/*=========================================
          CALL TO ACTION
=========================================*/

.cta {

  text-align: center;

  background: linear-gradient(135deg,
      #0d203d,
      #162d55);

  color: #FFFFFF;

}

.cta h2 {

  font-size: 52px;

  margin-bottom: 20px;

}

.cta p {

  max-width: 700px;

  margin: auto;

  color: #B8C7DD;

  margin-bottom: 40px;

}


/*=========================================
          CONTACT
=========================================*/

.contact {

  background: var(--secondary);

}

.contact-container {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

}

.contact-form {

  background: var(--card);

  padding: 40px;

  border-radius: 20px;

  border: 1px solid var(--border);

}

.contact-form h2 {

  margin-bottom: 25px;

}

.contact-form form {

  display: flex;

  flex-direction: column;

  gap: 18px;

}

.contact-form input,
.contact-form select,
.contact-form textarea {

  width: 100%;

  padding: 16px;

  background: var(--secondary);

  color: var(--text);

  border: 1px solid var(--border);

  border-radius: 10px;

  outline: none;

  font-size: 16px;

}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {

  border-color: var(--primary);

}

.contact-form textarea {

  resize: none;

}

.contact-info {

  background: var(--card);

  padding: 40px;

  border-radius: 20px;

  border: 1px solid var(--border);

}

.contact-info h2 {

  margin-bottom: 30px;

}

.contact-info p {

  margin-bottom: 18px;

  color: var(--paragraph);

  font-size: 17px;

}

.contact-info iframe {

  width: 100%;

  height: 300px;

  border: none;

  border-radius: 18px;

  margin-top: 25px;

}


/*=========================================
          FOOTER
=========================================*/

.footer {

  background: #050b16;

  padding: 80px 0 30px;

  color: #FFFFFF;

}

.footer-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 40px;

}

.footer h2 {

  margin-bottom: 20px;

}

.footer h2 span {

  color: var(--primary);

}

.footer h3 {

  margin-bottom: 18px;

}

.footer ul li {

  margin-bottom: 12px;

}

.footer ul li a {

  color: #B8C7DD;

  transition: .3s;

}

.footer ul li a:hover {

  color: var(--primary);

}

.footer p {

  color: #B8C7DD;

}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #ccc;
  line-height: 1.8;
}

/*=========================================
        LOADER
=========================================*/

#loader {

  position: fixed;

  inset: 0;

  background: var(--secondary);

  color: var(--text);

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  z-index: 99999;

  transition: .6s;

}

.loader-circle {

  width: 80px;

  height: 80px;

  border-radius: 50%;

  border: 6px solid var(--border);

  border-top: 6px solid var(--primary);

  animation: spin 1s linear infinite;

}

#loader h2 {

  margin-top: 25px;

  letter-spacing: 4px;

}

@keyframes spin {

  from {

    transform: rotate(0deg);

  }

  to {

    transform: rotate(360deg);

  }

}


/*=========================================
   WHATSAPP BUTTON
=========================================*/

.whatsapp {

  position: fixed;

  right: 25px;

  bottom: 95px;

  width: 65px;

  height: 65px;

  background: #25D366;

  color: white;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 30px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);

  transition: .35s;

  z-index: 999;

}

.whatsapp:hover {

  transform: scale(1.12);

}


/*=========================================
     BACK TO TOP
=========================================*/

/*=========================================
     CIRCULAR BACK TO TOP PROGRESS
=========================================*/
.progress-wrap {
  position: fixed;
  right: 25px;
  bottom: 20px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 300ms ease;
  background-color: var(--secondary);
  border: none;
  padding: 0;
  outline: none;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap::after {
  position: absolute;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f062';
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: var(--primary);
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  z-index: 1;
  transition: all 200ms ease;
}

.progress-wrap:hover::after {
  transform: scale(1.15);
}

.progress-wrap svg.progress-circle path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4;
  box-sizing: border-box;
  stroke-dasharray: 307.876;
  stroke-dashoffset: 307.876;
  transition: stroke-dashoffset 10ms linear;
}

.progress-wrap svg.progress-circle {
  position: absolute;
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  z-index: 10;
}

.progress-wrap svg.progress-circle path.bg-circle {
  stroke: rgba(15, 23, 42, 0.08);
  stroke-dasharray: none;
  stroke-dashoffset: none;
}


/*=========================================
    SCROLL ANIMATION
=========================================*/

.reveal {

  opacity: 0;

  transform: translateY(70px);

  transition: all .8s ease;

}

.reveal.active {

  opacity: 1;

  transform: translateY(0);

}


/*=========================================
    CUSTOM SCROLLBAR
=========================================*/

::-webkit-scrollbar {

  width: 10px;

}

::-webkit-scrollbar-track {

  background: #08111F;

}

::-webkit-scrollbar-thumb {

  background: var(--primary);

  border-radius: 20px;

}

::-webkit-scrollbar-thumb:hover {

  background: var(--primary-dark);

}


/*=========================================
    IMAGE HOVER EFFECT
=========================================*/

img {

  transition: .4s;

}

img:hover {

  transform: scale(1.02);

}

/*=========================================
      MISSION & VISION
=========================================*/
.mission-section {
  background: var(--secondary);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.mission-card {
  background: var(--card);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.mission-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.mission-card i {
  font-size: 45px;
  color: var(--primary);
  margin-bottom: 25px;
}

.mission-card h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

.mission-card p {
  color: var(--paragraph);
}

/*=========================================
      WHY US (ABOUT PAGE)
=========================================*/
.why-us {
  background: var(--card-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 35px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.feature-box i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-box p {
  color: var(--paragraph);
}

/*=========================================
      ABOUT STATS
=========================================*/
.about-stats {
  background: var(--secondary);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.about-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.about-stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.about-stat-card .stat-number {
  color: var(--primary);
  font-size: 48px;
  margin-bottom: 10px;
}

.about-stat-card p {
  color: var(--paragraph);
}

/*=========================================
      TEAM SECTION
=========================================*/
.team-section {
  background: var(--card-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.team-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.team-card span {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
}

/*=========================================
      TIMELINE SECTION
=========================================*/
.timeline {
  background: var(--secondary);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--secondary);
  border: 4px solid var(--primary);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-item h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--paragraph);
}

@media (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item::after {
    left: 21px !important;
  }
}


/*=========================================
    RESPONSIVE
=========================================*/

@media(max-width:1100px) {

  .hero h1 {

    font-size: 62px;

  }

  .stats-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .about-container {

    grid-template-columns: 1fr;

  }

  .about-stats-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .contact-container {

    grid-template-columns: 1fr;

  }

}

@media(max-width:768px) {

  .nav-links {

    display: none;

  }

  .nav-btn {

    display: none;

  }

  .hero {

    text-align: center;

  }

  .hero-buttons {

    justify-content: center;

  }

  .hero h1 {

    font-size: 48px;

  }

  .section-heading h2 {

    font-size: 36px;

  }

  .stats-grid {

    grid-template-columns: 1fr;

  }

  .about-stats-grid {

    grid-template-columns: 1fr;

  }

  .course-grid {

    grid-template-columns: 1fr;

  }

  .why-grid {

    grid-template-columns: 1fr;

  }

  .features-grid {

    grid-template-columns: 1fr;

  }

  .gallery-grid {

    grid-template-columns: 1fr;

  }

  .testimonial-grid {

    grid-template-columns: 1fr;

  }

  .about-features {

    grid-template-columns: 1fr;

  }

  .mission-grid {

    grid-template-columns: 1fr;

  }

  .team-grid {

    grid-template-columns: 1fr;

  }

  .footer-grid {

    grid-template-columns: 1fr;

    text-align: center;

  }

  .contact-form,

  .contact-info {

    padding: 30px;

  }

}

@media(max-width:480px) {

  .hero h1 {

    font-size: 38px;

  }

  .hero-description {

    font-size: 17px;

  }

  .primary-btn,

  .secondary-btn {

    width: 100%;

    text-align: center;

  }

  .section-heading h2 {

    font-size: 30px;

  }

  .logo img {

    height: 38px;

  }

  .whatsapp {

    width: 55px;

    height: 55px;

    font-size: 24px;

  }



}










.btn:hover,
.hero-btn:hover {
  box-shadow: 0 10px 30px rgba(41, 201, 255, .45);
}

.course-card,
.stat-box,
.work-card,
.testimonial-card {
  transition: .35s;
}

.course-card:hover,
.stat-box:hover,
.work-card:hover,
.testimonial-card:hover {
  transform: translateY(-10px);
}

.about img,
.work-card img {
  transition: .5s;
  max-height: 500px;
}

.about img:hover,
.work-card img:hover {
  transform: scale(1.05);
}

.course-card,
.work-card,
.testimonial-card {
  border: 1px solid rgba(255, 255, 255, .05);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #08101d;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.nav-links a {
  transition: .3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  width: 100%;
}

.hero h1 {
  animation: fadeUp 1s ease;
}

.hero p {
  animation: fadeUp 1.2s ease;
}

.hero-btn {
  animation: fadeUp 1.4s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width:768px) {

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .logo img {
    height: 38px;
  }

}

.call-btn {

  position: fixed;

  right: 25px;

  bottom: 100px;

  width: 60px;

  height: 60px;

  border-radius: 50%;

  background: #0066ff;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 24px;

  color: white;

  z-index: 999;

  transition: .35s;

}

.call-btn:hover {

  transform: scale(1.1);

}

.social-links {

  display: flex;

  gap: 15px;

  margin-top: 20px;

}

/* Follow Us Section */
/*=========================================
    FOOTER SOCIAL
=========================================*/

.footer-social {
  width: 100%;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 50px 0 30px;
}

.footer-social h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-social .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.footer-social .social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1a2745;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  transition: .3s;
}

.footer-social .social-links a:hover {
  background: #29C9FF;
  color: #08111F;
  transform: translateY(-5px);
}






/*=========================================
    COPYRIGHT
=========================================*/

.copyright {
  width: 100%;
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 25px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #ccc;
  line-height: 1.8;
}

/*=========================================
    BLOG STYLES
=========================================*/

.blog {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-bottom: 40px;
}

.blog-card {
  background: linear-gradient(180deg, var(--card), var(--card-light));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 102, 255, 0.2);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

.blog-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  align-self: flex-start;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--paragraph);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta span i {
  color: var(--primary);
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--text);
  transition: var(--transition);
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card p {
  color: var(--paragraph);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
  margin-top: auto;
}

.blog-readmore:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/*=========================================
    SINGLE BLOG POST STYLES
=========================================*/

.post-wrapper {
  padding: 80px 0;
}

.post-container {
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
}

.post-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 30px;
  transition: var(--transition);
}

.post-back-btn:hover {
  transform: translateX(-5px);
}

.post-header {
  margin-bottom: 40px;
}

.post-header .blog-badge {
  margin-bottom: 20px;
}

.post-header h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text);
}

.post-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 45px;
  border: 1px solid var(--border);
}

.post-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.post-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--paragraph);
}

.post-body p {
  margin-bottom: 25px;
}

.post-body h2,
.post-body h3 {
  color: var(--text);
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-body h2 {
  font-size: 26px;
}

.post-body h3 {
  font-size: 20px;
}

.post-body ol,
.post-body ul {
  margin-bottom: 30px;
  padding-left: 25px;
}

.post-body li {
  margin-bottom: 12px;
}

.post-body strong {
  color: var(--text);
}

.pro-tip {
  background: rgba(0, 102, 255, 0.05);
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  border-radius: 0 12px 12px 0;
  margin: 35px 0;
}

.pro-tip strong {
  color: var(--primary);
}

@media(max-width: 768px) {
  .post-header h1 {
    font-size: 28px;
  }
}

/* Post Table Styles */
.post-table-container {
  overflow-x: auto;
  margin: 35px 0;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.post-table th,
.post-table td {
  padding: 18px 24px;
}

.post-table th {
  background: var(--card-light);
  color: var(--text);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.post-table td {
  border-bottom: 1px solid var(--border);
}

.post-table tr:last-child td {
  border-bottom: none;
}

.post-table tr:nth-child(even) {
  background: rgba(241, 245, 249, 0.5); /* card-light translucent */
}


/*=========================================
    HOMEPAGE 3D / TRENDING EFFECTS
    (index.html only — see js/home-fx.js)
=========================================*/

/* ---- 3D tilt cards: course cards, testimonials, google reviews, gallery ---- */
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
}

/* Faster, more responsive transform transition than the base card's
   default so the tilt tracks the cursor smoothly. Explicitly restates
   border-color/box-shadow so existing hover fades keep working. */
.course-card.tilt-card {
  transition: transform .15s ease-out, border-color .3s ease, box-shadow .3s ease;
}

.testimonial-card.tilt-card {
  transition: transform .15s ease-out, border-color .3s ease;
}

.gallery-grid img.tilt-card {
  transition: transform .15s ease-out;
}

/* Same fast-tilt treatment for the card types on the other pages
   (about, courses, work, blog) */
.mission-card.tilt-card,
.feature-box.tilt-card,
.about-stat-card.tilt-card,
.why-card.tilt-card,
.stat-card.tilt-card {
  transition: transform .15s ease-out, border-color .3s ease;
}

.blog-card.tilt-card {
  transition: transform .15s ease-out, border-color .3s ease, box-shadow .3s ease;
}

/* Cursor-tracked glare sweep — only renders on real elements (not <img>,
   which browsers don't allow generated content on; harmless no-op there) */
.tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, .35), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.tilt-card:hover::after {
  opacity: 1;
}

/* ---- Magnetic / shine buttons ---- */
.magnetic-btn {
  position: relative;
  overflow: hidden;
}

.magnetic-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}

.magnetic-btn:hover::before {
  left: 130%;
}

/* ---- Hero: floating glass stat chips + cursor glow ---- */

/* Give the hero copy its own stacking context so the absolutely
   positioned 3D layer (glow + chips) can sit behind/around it instead
   of painting over the heading and buttons */
.hero-container {
  position: relative;
  z-index: 2;
}

.hero-3d-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 201, 255, .28), transparent 70%);
  filter: blur(30px);
  transform: translate3d(-9999px, -9999px, 0);
  opacity: 0;
  transition: opacity .4s ease;
}

.hero-3d-layer.is-active .hero-glow {
  opacity: 1;
}

.float-chip-wrap {
  position: absolute;
  transition: transform .3s ease-out;
}

.float-chip-wrap.chip-1 { top: 16%; right: 6%; }
.float-chip-wrap.chip-2 { bottom: 24%; right: 15%; }
.float-chip-wrap.chip-3 { top: 56%; right: -2%; }

.float-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  opacity: 0;
  animation: chipIn .8s ease forwards, floatY 6s ease-in-out infinite;
}

.float-chip-wrap.chip-1 .float-chip { animation-delay: .3s, 1.1s; }
.float-chip-wrap.chip-2 .float-chip { animation-delay: .6s, 1.4s; }
.float-chip-wrap.chip-3 .float-chip { animation-delay: .9s, 1.7s; }

.float-chip span {
  font-size: 18px;
}

@keyframes chipIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Placeholder box for the Google Reviews embed slot, before a widget
   snippet is pasted in — looks intentional rather than broken/empty */
#google-reviews-embed:has(> p:only-child) {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 50px 20px;
  background: var(--card);
}

/* Gradient accent text (e.g. the "Draft." keyword in the hero) */
/* .hero h1 span (specificity 0,1,2,0) would otherwise beat this single
   class and override color:transparent, hiding the gradient entirely */
.hero h1 span.gradient-text {
  background: linear-gradient(135deg, var(--primary), #59dcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hide the floating chips on narrower screens — no room, and they'd
   overlap the hero copy once it stacks */
@media (max-width: 900px) {
  .hero-3d-layer { display: none; }
}

/* Respect reduced-motion preference: kill parallax/float/tilt motion,
   keep content instantly visible and static */
@media (prefers-reduced-motion: reduce) {
  .float-chip {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .float-chip-wrap {
    transition: none;
    transform: none !important;
  }
  .hero-glow {
    display: none;
  }
  .tilt-card,
  .gallery-grid img.tilt-card,
  .magnetic-btn::before {
    transition: none;
  }
  .page-hero {
    animation: none;
  }
}
