/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Inter', sans-serif;
  color: var(--light);
  background-color: var(--dark);
  line-height: 1.6;
}

/* Root Variables */
:root {
  --primary: #00bfa6;
  --dark: #0f1115;
  --light: #f5f5f5;
  --card-bg: #1a1d24;
  --gray: #999;
}

/* selection */
::selection {
  background: var(--primary);  /* Highlight color */
  color: var(--dark);          /* Text color while selected */
}

::-moz-selection {
  background: var(--primary);
  color: var(--dark);
}




/* Navbar */
.navbar-modern {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(15,17,21,0.6);
  backdrop-filter: blur(6px);
  z-index: 100;
}
.navbar-modern .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
}




.navbar-modern .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.navbar-modern .nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.navbar-modern .nav-links a:hover {
  color: var(--primary);
}
.navbar-modern .menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--light);
  cursor: pointer;
}

/* Hero Section */
/* 🌐 Hero Modern Section */
.hero-modern {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: linear-gradient(135deg, #0f1115, #1a1d24);
  position: relative;
  gap: 2rem;
  flex-wrap: wrap;
}

/* 🧠 Text Side */
.hero-content {
  max-width: 550px;
  flex: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: var(--light);
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  color: var(--gray);
  font-size: 1.1rem;
  margin: 1rem 0 2rem;
  line-height: 1.6;
}

/* 🔘 CTA Button */
.btn-hero {
  background: var(--primary);
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-hero:hover {
  background: #00a891;
}

/* 🖼️ Hero Image Side */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  max-width: 500px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  max-height: 450px;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

/* 📱 Responsive Layout */
@media (max-width: 992px) {
  .hero-modern {
    flex-direction: column-reverse;
    text-align: center;
    padding: 4rem 1.5rem;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-image {
    max-width: 90%;
    margin-bottom: 2rem;
  }

  .hero-image img {
    width: 100%;
    max-height: 320px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .btn-hero {
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .navbar-modern .nav-links {
    display: none;
  }
  .navbar-modern .menu-toggle {
    display: block;
  }
}


/* Sections */
section {
  padding: 4rem 2rem;
}
h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--light);
}

/* Courses */
.courses-section-ultra {
  padding: 5rem 2rem;
  background: var(--dark);
  color: var(--light);
}

.courses-header {
  text-align: center;
  margin-bottom: 3rem;
}
.courses-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.courses-header p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 700px;
  margin-inline: auto;
}

.courses-grid-ultra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card-ultra {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.course-card-ultra:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,191,166,0.2);
}

.course-card-ultra img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

.course-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.course-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.course-details p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.course-price {
  font-size: 0.95rem;
  color: var(--gray);
}

.course-price del {
  margin-right: 0.4rem;
  opacity: 0.6;
}

.course-price .discount {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.buy-button {
  padding: 0.55rem 1.4rem;
  background: var(--primary);
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.buy-button:hover {
  background: #00a891;
}



/* Services */
.services-modern {
  padding: 5rem 2rem;
  background: var(--dark);
  color: var(--light);
}

.services-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.services-head h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.services-head p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* Grid Layout */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Styling */
.service-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.service-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 5px 30px rgba(0, 191, 166, 0.25);
}

/* Icon */
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Headings */
.service-block h3 {
  font-size: 1.15rem;
  color: var(--light);
  margin-bottom: 0.5rem;
}

/* Paragraph */
.service-block p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}




/* Projects */
.projects-section-modern {
  padding: 5rem 2rem;
  background: var(--dark);
  color: var(--light);
}

.projects-header {
  text-align: center;
  margin-bottom: 2rem;
}
.projects-header h2 {
  font-size: 2rem;
  color: var(--primary);
}
.projects-header p {
  color: var(--gray);
  font-size: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 191, 166, 0.25);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

.project-content {
  padding: 1.2rem;
}
.project-content h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.project-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}


/* About */
.about-section-modern {
  padding: 5rem 2rem;
  background: var(--dark);
  color: var(--light);
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text .intro {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.values {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.value-card {
  flex: 1;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  padding: 1.2rem;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.value-card h3 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  text-shadow: -4px -3px 50px #00bfa6bb;
}
.value-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

.core-services {
  list-style: none;
  padding-left: 0;
}
.core-services li {
    font-size: 1rem;
    padding: 0.4rem 0;
    color: var(--light);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.core-services li>i{
      text-shadow: -2px -2px 10px #00bfa6;

}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}


/* Contact */
.contact-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #0f1115, #1a1d24);
  color: var(--light);
}

.contact-container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-header {
  text-align: center;
}
.contact-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
}
.contact-header p {
  color: var(--gray);
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* Form Style */
.contact-form {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.form-group {
  margin-bottom: 1.3rem;
}
label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}
input, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--light);
  transition: 0.3s border, 0.3s box-shadow;
}
input:focus, textarea:focus {
  outline: none;
  border: 1px solid var(--primary);
  box-shadow: 0 0 0 2px rgba(0,191,166,0.25);
}

/* Button */
.btn {
  margin-top: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #00a891;
}

/* Contact Info */
.contact-info.modern {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  backdrop-filter: blur(6px);
}
.contact-info img {
  width: 100%;
  max-width: 300px;
  height: 330px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
  object-fit: cover;
  object-position: center;
}
.contact-info p {
  color: var(--gray);
  font-size: 0.95rem;
}


/* Footer */
.footer {
  background-color: #0f1115;
  color: #ccc;
  padding: 60px 20px 20px;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
  border-left: 4px solid #00bfa6;
  padding-left: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #00bfa6;
}

.footer-column.brand h2 {
  font-size: 22px;
  color: #00bfa6;
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #00bfa6;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #777;
}


/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
