/* ======= VARIABLES ======= */
:root {
    --primary-color: #ea384c;
    --secondary-color: #ff8a9e;
    --accent-color: #ff5c72;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --bg-light: #f9fafc;
    --bg-dark: #1a1a2e;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-shadow: 0 8px 32px rgba(135, 31, 31, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease-in-out;
    --gradient-main: linear-gradient(90deg, var(--primary-color), #ff8a9e);
    --gradient-accent: linear-gradient(90deg, #ff5c72, #ff8a9e);
  }
  
  /* ======= RESET & BASE STYLES ======= */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  section {
    padding: 5rem 0;
    position: relative;
  }
  
  .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
  }
  
  .section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
  }
  
  .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
  }
  
  .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
  }
  
  /* ======= BUTTONS ======= */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
    text-align: center;
  }
  
  .btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(234, 56, 76, 0.4);
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 56, 76, 0.5);
  }
  
  .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
  }
  
  /* ======= HEADER ======= */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  
  .logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .logo span {
    font-weight: 400;
  }
  
  .nav-menu ul {
    display: flex;
  }
  
  .nav-menu li {
    margin-left: 2rem;
  }
  
  .nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
  }
  
  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition);
  }
  
  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: 100%;
  }
  
  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  /* ======= HERO SECTION ======= */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-main);
    overflow: hidden;
    position: relative;
    padding-top: 80px;
  }
  
  .hero-content {
    color: var(--white);
    max-width: 600px;
    z-index: 10;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
  }
  
  .hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
  }
  
  .hero-image {
    position: relative;
    width: 45%;
    z-index: 2;
  }
  
  .hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
  }
  
  .blob-animation {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -50px;
    right: -100px;
    z-index: 1;
    animation: morphBlob 15s linear infinite alternate;
  }
  
  @keyframes morphBlob {
    0% {
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
      border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
      border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
      border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
  }
  
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  .hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
  }
  
  .animate-text {
    background: linear-gradient(90deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 2s linear infinite;
    background-size: 200% auto;
  }
  
  @keyframes shine {
    to {
      background-position: 200% center;
    }
  }
  
  /* ======= COURSES SECTION ======= */
  .courses {
    background-color: var(--white);
  }
  
  .course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .course-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
  }
  
  .course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.15);
  }
  
  .course-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
  }
  
  .course-card h3 {
    margin-bottom: 1rem;
  }
  
  .course-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
  }
  
  .course-card ul {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .course-card li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
  }
  
  .course-card li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
  }
  
  .course-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
  }
  
  .course-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
  }
  
  .ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  /* ======= WHY US SECTION ======= */
  .why-us {
    background-color: var(--bg-light);
  }
  
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .feature {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
  }
  
  .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(31, 38, 135, 0.15);
  }
  
  .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(234, 56, 76, 0.15);
  }
  
  .stats {
    margin-top: 4rem;
    background: var(--gradient-main);
    padding: 3rem 0;
    color: var(--white);
  }
  
  .stat-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
  }
  
  .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  /* ======= TESTIMONIALS SECTION ======= */
  .testimonials {
    background-color: var(--white);
  }
  
  .testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .testimonial {
    flex: 0 0 100%;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
  }
  
  .quote {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
  }
  
  .student-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
  }
  
  .student-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
  }
  
  .student-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .student-details h4 {
    margin-bottom: 0.2rem;
  }
  
  .student-details p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
  }
  
  .slider-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
  }
  
  .slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
  }
  
  .slider-dots {
    display: flex;
    margin: 0 1rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
  }
  
  /* ======= CONTACT SECTION ======= */
  .contact {
    background-color: var(--bg-light);
  }
  
  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    position: relative;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(234, 56, 76, 0.1);
  }
  
  .contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
  }
  
  .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(31, 38, 135, 0.15);
  }
  
  .info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    background: var(--bg-light);
    color: var(--primary-color);
  }
  
  .info-card h3 {
    margin-bottom: 0.8rem;
  }
  
  .info-card p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
  }
  
  .form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-align: center;
  }
  
  .form-success.active {
    opacity: 1;
    visibility: visible;
  }
  
  .form-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
  }
  
  /* ======= FOOTER ======= */
  .footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 5rem 0 2rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .footer-logo p {
    color: #aaa;
    margin-bottom: 1.5rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
  }
  
  .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ddd;
  }
  
  .link-group ul li {
    margin-bottom: 0.8rem;
  }
  
  .link-group a {
    color: #aaa;
    transition: var(--transition);
  }
  
  .link-group a:hover {
    color: var(--white);
    padding-left: 5px;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom p {
    color: #888;
    margin-bottom: 0;
  }
  
  .footer-bottom-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .footer-bottom-links a {
    color: #888;
    font-size: 0.9rem;
  }
  
  .footer-bottom-links a:hover {
    color: var(--white);
  }
  
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(234, 56, 76, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
  }
  
  .back-to-top.active {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background: var(--gradient-main);
    transform: translateY(-5px);
  }
  
  /* ======= RESPONSIVE STYLES ======= */
  @media screen and (max-width: 991px) {
    h1 {
      font-size: 2.5rem;
    }
    
    h2 {
      font-size: 2rem;
    }
    
    .hero-content h1 {
      font-size: 2.8rem;
    }
    
    .contact-content {
      grid-template-columns: 1fr;
    }
    
    .footer-content {
      grid-template-columns: 1fr;
    }
  }
  
  @media screen and (max-width: 768px) {
    .hero .container {
      flex-direction: column;
      text-align: center;
    }
    
    .hero-content {
      margin-bottom: 3rem;
    }
    
    .hero-image {
      width: 80%;
    }
    
    .nav-menu {
      position: fixed;
      top: 80px;
      left: 0;
      width: 100%;
      height: 0;
      background: rgba(255, 255, 255, 0.95);
      overflow: hidden;
      transition: var(--transition);
      z-index: 999;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
      height: calc(100vh - 80px);
    }
    
    .nav-menu ul {
      flex-direction: column;
      align-items: center;
      padding: 2rem 0;
    }
    
    .nav-menu li {
      margin: 1rem 0;
    }
    
    .menu-toggle {
      display: block;
    }
    
    .footer-links {
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
  }
  
  @media screen and (max-width: 576px) {
    h1 {
      font-size: 2rem;
    }
    
    h2 {
      font-size: 1.8rem;
    }
    
    .hero-content h1 {
      font-size: 2.2rem;
    }
    
    .hero-image {
      width: 100%;
    }
    
    .features {
      grid-template-columns: 1fr;
    }
    
    .stat-items {
      grid-template-columns: 1fr 1fr;
    }
    
    .footer-links {
      grid-template-columns: 1fr;
    }
    
    .info-card {
      padding: 1.2rem;
    }
  }