  
  :root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --bg-color: #ffffff;
    --card-bg: #f9f9f9;
  }
  
  /* ----------------- --------------------------*/
  /*-----------------------All indentation is now one tab---------------------*/
  /* ----------------- --------------------------*/

  .dark-mode {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #34495e;
    --dark-color: #ecf0f1;
    --text-color: #ecf0f1;
    --text-light: #bdc3c7;
    --bg-color: #2c3e50;
    --card-bg: #34495e;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
}


  body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  
  }

  /* ----------------- --------------------------*/
  /*-----------------------Header Section----------------------------*/
  /* ----------------- --------------------------*/

  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* ----------------- --------------------------*/
  /*---------------------Utility Classes-----------------------*/
  /* ----------------- --------------------------*/

 
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
  }

  .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto;
  }

  .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
  }

  /* ----------------- --------------------------*/
  /*--------------------------Hero Section---------------------------------*/
  /* ----------------- --------------------------*/

  .hero {
    height: 100vh;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.555)), url('../img/home.png') no-repeat center center / cover;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;

  }

  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
  }

  .hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

    .btn {
      display: inline-block;
      padding: 12px 25px;
      background-color: var(--secondary-color);
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s;
    }
  
    .btn:hover {
      background-color: var(--primary-color);
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
  
    .btn-accent {
      background-color: var(--accent-color);
    }
  
    .btn-accent:hover {
      background-color: #c0392b;
    }
  
    .btn-outline {
      background-color: transparent;
      border: 2px solid var(--secondary-color);
      color: var(--secondary-color);
    }
  
    .btn-outline:hover {
      background-color: var(--secondary-color);
      color: white;
    }
  /* ----------------- --------------------------*/
  /*----------------------Study Materials Section------------------------*/
  /* ----------------- --------------------------*/

  .study-materials {
    padding: 100px 0;
    background-color: var(--bg-color);
  }

  .materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }

  .material-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }

  .material-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .material-content {
    padding: 20px;
  }

  .material-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
  }

  .material-content p {
    color: var(--text-light);
    margin-bottom: 20px;
  }

  .view-more {
    text-align: center;
    margin-top: 50px;
  }

  /* How It Works Section */
  .how-it-works {
    padding: 100px 0;
    background-color: var(--light-color);
  }

  .steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
  }

  .step {
    flex: 1;
    min-width: 300px;
    text-align: center;
  
    margin-bottom: 30px;
  }

  .step-icon {
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
  }

  .step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
  }

  .step p {
    color: var(--text-light);
  }

  /* ----------------- --------------------------*/
  /*----------------------------Testimonials Section-------------------------------*/
  /* ----------------- --------------------------*/

  .testimonials {
    padding: 100px 0;
    background-color: var(--bg-color);
  }

  .testimonial-slider {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
    overflow: hidden;
  }

  .testimonial-slide {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
  }

  .testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid var(--secondary-color);
  }

  .testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
  }

  .testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
  }

  .testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
  }

  .slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
    background-color: var(--text-light);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .slider-dot.active {
    background-color: var(--secondary-color);
  }
  /* ----------------- --------------------------*/
  /*-----------------------Footer Section----------------------------*/
  /* ----------------- --------------------------*/

     footer {
        background-color: #2c3e50;
        color: white;
        padding: 40px 20px;
        position: relative;
        /* Removed margin-left so it spans the full width and scrolls over the sidebar */
    }
    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }
    .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        position: relative;
    }
    .footer-column h3::after {
        content: ''; display: block; width: 40px; height: 3px;
        background-color: var(--accent-color); margin-top: 10px;
    }
    .footer-links { list-style: none; padding: 0; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a { color: white; text-decoration: none; opacity: 0.8; transition: all 0.3s; }
    .footer-links a:hover { opacity: 1; color: var(--accent-color); }
    .social-links { display: flex; gap: 15px; margin-top: 20px; }
    .social-links a { color: white; font-size: 1.2rem; opacity: 0.8; transition: all 0.3s; }
    .social-links a:hover { opacity: 1; color: var(--accent-color); }
    .footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); opacity: 0.7; }


  /* ----------------- --------------------------*/
  /*--------------------Floating Chat Button---------------------------*/
  /* ----------------- --------------------------*/

  .chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s;
  }

  .chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  .chat-label {
    position: absolute;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    right: 70px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .chat-btn:hover .chat-label {
    opacity: 1;
  }

  /* ----------------- --------------------------*/
  /*----------------------------Dark Mode Toggle-----------------------------*/
  /* ----------------- --------------------------*/

  .dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
  }

  .toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
  }

  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }

  input:checked + .slider {
    background-color: var(--secondary-color);
  }

  input:checked + .slider:before {
    transform: translateX(30px);
  }

  .toggle-icon {
    margin: 0 10px;
    font-size: 1.2rem;
  }

  /* ----------------- --------------------------*/
  /*-----------------------Language Switcher-------------------------*/
  /* ----------------- --------------------------*/

  .language-switcher {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 1001;
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .language-switcher select {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    padding: 5px;
    outline: none;
  }

  /* -------------------------------------------*/
  /* -----------------Mobile Responsiveness --------------------------*/
  /* ----------------- --------------------------*/
  @media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 500px;
        margin-bottom: 40px;
    }
  }

  @media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 30px;
        transition: left 0.3s;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
  }

  @media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .material-card {
        min-width: 100%;
    }
  }

