* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  background: linear-gradient(135deg, #0f1d2b 0%, #3498db 100%);
  color: white;
  padding: 10px 0;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff6b35;
}

.logo img {
  width: 90px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

/* .nav-menu li {
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
} */
.nav-menu a {
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
  text-decoration: none;
  color: #fff;
}

/* .nav-menu li a {
    text-decoration: none;
    color: #fff; 
}*/

/* .nav-menu li:hover {
  background-color: rgba(255, 107, 53, 0.2);
} */
.nav-menu a:hover {
  background-color: rgba(255, 107, 53, 0.2);
  background-color: #eaeaea;
  color: #333;
}

/* .nav-menu li.active {
  background-color: rgba(255, 107, 53, 0.2);
  background-color: #eaeaea;
} */
/* .nav-menu a.active {
  background-color: rgba(255, 107, 53, 0.2);
  background-color: #eaeaea;
  color: #333;
  font-weight: bold;
} */

.nav-menu li.active a {
  color: #333;
  background-color: #eaeaea;
}

/* Active state when anchors are direct children (current navbar) */
/* .nav-menu .nav-item.active {
  color: #333;
  background-color: #eaeaea;
} */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.faq {
  max-width: 1150px;
  margin: 10px auto 30px;
  padding: 0 20px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin: 0px 0;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
}

/* Main Content */
.main-content {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

.page {
  display: none;
  padding: 2rem 0;
}

.page.active {
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Certification Page */
.page-hero.small {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
}
.grid-2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.service,
.quote {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
}
.course {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px dashed var(--border);
}
.course-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 16px;
  margin-bottom: 20px;
}
.course-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 14px;
}
.course-card a {
  color: #068ef0;
  font-weight: bold;
  text-decoration: none;
}
.pill {
  display: inline-block;
  background: #1f2430;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-right: 6px;
  color: #fff;
}
.pill-accent {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.bullets {
  margin: 0 0 0 18px;
}
.cta-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px;
  text-align: center;
  background: linear-gradient(180deg, #1a1b1f, #131316);
  border: 1px solid #2a2b31;
  color: #fff;
  border-radius: 16px;
}
.cta-wide .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}
.cta-wide .btn-primary {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #2a2b31;
  text-decoration: none;
  margin-top: 20px;
  color: #e8e8ea;
  font-weight: 600;
  background: #1f6feb;
  border-color: #1f6feb;
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #ff6b35 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
  display: inline-block;
  background-color: #ff6b35;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

/* Carousel */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 2rem 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
  display: none;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem;
  text-align: center;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #ff6b35;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: white;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.card .price {
  color: #ff6b35;
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
}

.card .original-price {
  text-decoration: line-through;
  color: #666;
  font-size: 1.2rem;
}

/* USP Section */
.usp-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  margin: 3rem 0;
  border-radius: 15px;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.usp-item {
  text-align: center;
  padding: 1.5rem;
}

.usp-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Course Details */
.course-details {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.course-header {
  border-bottom: 2px solid #ff6b35;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.course-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.module {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

/* Testimonials */

.testimonial img {
  border: 1px solid #000;
  border-radius: 50%;
}

.testimonial-author {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

/* Internship */

.intern-banner {
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
  margin-top: 0;
}

.intern-banner .btn-white {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #2a2b31;
  text-decoration: none;
  margin-top: 20px;
  color: #e8e8ea;
  font-weight: 600;
  background: #fff;
  border-color: #1f6feb;
  color: #1f6feb;
}

/* Blogs */
.blog-btn .btn-primary {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #2a2b31;
  text-decoration: none;
  margin-top: 20px;
  color: #e8e8ea;
  font-weight: 600;
  background: #1f6feb;
  border-color: #1f6feb;
  color: white;
}
/* Footer */
.footer {
  background: #2c3e50;
  background: #0f1d2b;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section ul li a {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.footer-section ul li a:hover {
  color: #d8d8d8;
}

.footer-section h4 {
  color: #ff6b35;
  color: #ff5a1d;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  text-align: center;
  color: #95a5a6;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2c3e50;
    flex-direction: column;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .carousel-slide {
    padding: 2rem 1rem;
  }

  .carousel-slide h3 {
    font-size: 1.5rem;
  }
}

/* Page-specific styles */
.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ff6b35;
}

.testimonial-author {
  color: #666;
  margin-top: 1rem;
  font-style: italic;
}

.blog-post {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-meta {
  color: #666;
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}
