* {
  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 .price_tag_line {
  color: #ff6b35;
  font-size: 1rem;
  font-weight: bold;
  margin: 1rem 0;
}

.card .price_tag_line_green {
  color: #067e06;
  font-size: 1rem;
  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;
  cursor: pointer; 
}

/* 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;
}

/* Students form */
.form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 40px;
}
.form-header {
  text-align: center;
  margin-bottom: 20px;
}
.form-icon {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 10px;
}
.form-label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}
.form-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.form-input.error {
  border-color: red;
}
.form-textarea {
  resize: vertical;
}
.submit-button {
  width: 100%;
  margin-top: 15px;
  background: #007bff;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
}
.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: 4px;
}
.help-text {
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}
.result-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-message.success {
  background: #e7f7ec;
  color: #2e7d32;
}
.result-message.error {
  background: #fdecea;
  color: #c62828;
}
.result-icon {
  margin-right: 8px;
}
.result-close {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* Thanks component */
.thanks {
  margin-top: 120px;
}

.thanks .container {
  max-width: 600px;
  margin: 50px auto;
  padding: 2rem;
  text-align: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.thanks .gradient-text {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.thanks p {
  font-size: 1rem;
  color: #333;
}
.thanks a {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  background: #25d366;
  font-weight: bold;
  transition: 0.3s;
}
.thanks a:hover {
  background: #1ebc59;
}
.thanks .courseLink {
  background: #007bff;
  margin-top: 15px;
}
.thanks .courseLink:hover {
  background: #0056b3;
}

/* 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;
}

/* Social Media Popup Styles */
.social-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
  background: white;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid #eee;
}

.popup-header h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin: 0;
}

.close-popup {
  background: none;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-popup:hover {
  background: #f0f0f0;
  color: #333;
}

.popup-body {
  padding: 1.5rem 2rem;
}

.popup-body p {
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.6;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-link i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.social-link span {
  font-size: 1rem;
}

.social-link.youtube {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-link.linkedin {
  background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link.instagram {
  background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.popup-footer {
  padding: 1rem 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid #eee;
}

.popup-footer .btn {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Banner buttons layout */
.banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: white;
  color: #2c3e50;
  transform: translateY(-2px);
}

.footer-follow-btn {
  margin-top: 1rem;
  background: transparent;
  border: 2px solid #ff6b35;
  color: #ff6b35;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-follow-btn:hover {
  background: #ff6b35;
  color: white;
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    margin: 1rem;
  }

  .popup-header {
    padding: 1rem 1.5rem 0.5rem;
  }

  .popup-header h3 {
    font-size: 1.3rem;
  }

  .popup-body {
    padding: 1rem 1.5rem;
  }

  .social-links {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .social-link {
    padding: 0.875rem;
  }

  .popup-footer {
    padding: 0.75rem 1.5rem 1rem;
  }

  .banner-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-outline {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}
