/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== VARIABLES ===== */
:root {
  --orange: #E89A0C;
  --orange-dark: #c7830a;
  --black: #000000;
  --white: #ffffff;
  --green: #25D366;
  --green-dark: #1da851;
  --gray-light: #f5f5f5;
  --gray: #666;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left a {
  color: var(--white);
  margin-right: 20px;
  transition: color 0.3s;
}
.top-bar-left a:hover { color: var(--orange); }
.top-bar-left i { margin-right: 6px; color: var(--orange); }
.top-bar-right { display: flex; align-items: center; gap: 10px; }
.top-bar-right .social-icons { display: flex; gap: 8px; }
.top-bar-right .social-icons a {
  width: 30px; height: 30px;
  background: var(--orange);
  color: var(--white);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background 0.3s;
}
.top-bar-right .social-icons a:hover { background: var(--orange-dark); }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo img { height: 85px; }
.navbar-logo .logo-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}
.navbar-menu { display: flex; align-items: center; gap: 25px; }
.navbar-menu a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.3s;
  position: relative;
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--orange); }
.navbar-menu .dropdown { position: relative; cursor: pointer; }
.navbar-menu .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow);
  border-radius: 4px;
  z-index: 100;
  padding: 10px 0;
}
.navbar-menu .dropdown:hover .dropdown-content { display: block; }
.navbar-menu .dropdown-content a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  text-transform: none;
}
.navbar-menu .dropdown-content a:hover { background: var(--gray-light); }
.navbar-contact {
  background: var(--green);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.3s;
}
.navbar-contact:hover { background: var(--green-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--black); border-radius: 2px; }

/* ===== HERO SECTION ===== */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 30px;
}
.hero-badge i { color: var(--orange); }
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.hero h2 {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

/* Training Modes Cards */
.training-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.training-mode-card {
  background: var(--white);
  color: var(--black);
  padding: 18px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.training-mode-card:hover { transform: translateY(-3px); }
.training-mode-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-top: 30px solid var(--orange);
  border-left: 30px solid transparent;
}

/* Hero Description */
.hero-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
}
.hero-stat .label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.3s;
  border: none; cursor: pointer;
}
.btn-orange:hover { background: var(--orange-dark); }
.btn-green {
  background: var(--green);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.3s;
  border: none; cursor: pointer;
}
.btn-green:hover { background: var(--green-dark); }

/* ===== ABOUT SECTION (Homepage) ===== */
.about-section {
  padding: 60px 0;
  background: var(--white);
}
.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 500px;
  background: var(--black);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-box img {
  width: 80%;
  height: auto;
  opacity: 0.3;
}
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  z-index: 2;
}
.overlay-text span {
  color: var(--orange);
  font-size: 32px;
}
.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--black);
}
.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 16px;
}

/* ===== COURSES SECTION ===== */
.courses-section {
  padding: 80px 0;
  background: var(--gray-light);
}
.courses-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}
.courses-section .section-header h3 {
  font-size: 14px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.courses-section .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}
.courses-section .section-header p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.course-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.course-card:hover { transform: translateY(-5px); }
.course-card-header {
  background: var(--black);
  color: var(--white);
  padding: 25px;
  position: relative;
}
.course-card-header h3 { font-size: 20px; font-weight: 700; }
.course-card-header .subtitle { font-size: 13px; color: rgba(255,255,255,0.6); }
.course-badge {
  position: absolute;
  top: 15px; right: 15px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.course-card-body { padding: 25px; }
.course-card-body ul { margin-bottom: 20px; }
.course-card-body ul li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--gray);
  display: flex; align-items: center; gap: 8px;
}
.course-card-body ul li i { color: var(--orange); }
.course-card-body .course-contact { display: flex; flex-direction: column; gap: 5px; margin-bottom: 15px; }
.course-card-body .course-contact a {
  font-size: 13px;
  color: var(--gray);
  display: flex; align-items: center; gap: 6px;
}
.course-card-body .course-contact a:hover { color: var(--orange); }

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-hero .breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 15px;
}
.page-hero .breadcrumb a { color: var(--orange); }
.page-hero h1 { font-size: 40px; font-weight: 700; }
.page-hero-image {
  max-width: 200px;
  margin: 20px auto 0;
}

/* ===== ABOUT PAGE ===== */
.about-page-content {
  padding: 80px 0;
}
.about-page-content .about-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.about-info-card {
  background: var(--gray-light);
  padding: 30px;
  border-radius: 12px;
}
.about-info-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--black);
}
.about-info-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* Process Steps */
.process-section {
  padding: 60px 0;
  background: var(--gray-light);
}
.process-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.process-card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
.process-card h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.process-card p { font-size: 13px; color: var(--gray); }

/* Team */
.team-section { padding: 60px 0; }
.team-section h2 { text-align: center; font-size: 32px; margin-bottom: 40px; }
.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.team-card { text-align: center; }
.team-card img {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  object-fit: cover;
}
.team-card h4 { font-size: 16px; font-weight: 600; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--gray-light);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-info-card p { color: var(--gray); font-size: 14px; }
.contact-form {
  background: var(--gray-light);
  padding: 40px;
  border-radius: 12px;
}
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* Working Hours */
.working-hours {
  background: var(--black);
  color: var(--white);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.working-hours h3 { font-size: 18px; margin-bottom: 15px; }
.working-hours p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 5px; }

/* ===== BATCHES PAGE ===== */
.batches-section { padding: 80px 0; }
.batches-tabs { display: flex; gap: 15px; margin-bottom: 30px; }
.batches-tabs .tab {
  padding: 10px 25px;
  background: var(--gray-light);
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.batches-tabs .tab.active, .batches-tabs .tab:hover {
  background: var(--orange);
  color: var(--white);
}
.batches-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.batches-table th, .batches-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.batches-table th {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}
.batches-table td { font-size: 14px; }

/* ===== TESTIMONIAL PAGE ===== */
.testimonial-section { padding: 80px 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}
.testimonial-card {
  background: var(--gray-light);
  padding: 30px;
  border-radius: 12px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 60px;
  color: var(--orange);
  position: absolute;
  top: 10px; left: 20px;
  font-family: serif;
  opacity: 0.3;
}
.testimonial-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 45px; height: 45px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author h4 { font-size: 14px; font-weight: 600; }

/* ===== TRAINING PAGES ===== */
.training-content {
  padding: 80px 0;
}
.training-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.training-content img {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 12px;
}
.training-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}
.training-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 25px;
}

/* ===== INTERNSHIP PAGE ===== */
.internship-section { padding: 80px 0; }
.internship-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.internship-badge {
  background: var(--gray-light);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.internship-badge i { color: var(--orange); }
.internship-curriculum {
  padding: 60px 0;
  background: var(--gray-light);
}
.curriculum-list {
  max-width: 800px;
  margin: 0 auto;
}
.curriculum-item {
  background: var(--white);
  padding: 20px 25px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}
.curriculum-item h4 { font-size: 15px; font-weight: 600; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo img { height: 50px; margin-bottom: 15px; }
.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}
.footer ul li { margin-bottom: 8px; }
.footer ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.footer ul li a:hover { color: var(--orange); }
.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a {
  width: 35px; height: 35px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.3s;
}
.footer-social a:hover { background: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 55px; height: 55px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== POPUP MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 15px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
}
.modal-content h3 { font-size: 22px; margin-bottom: 20px; }

/* ===== INTERNSHIP POPUP ===== */
.internship-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.internship-popup-overlay.active { display: flex; }

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

.internship-popup {
  background: var(--white);
  border: 4px solid var(--orange);
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.internship-popup-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.internship-popup-close:hover { background: #333; }

.internship-popup-content {
  padding: 30px 40px;
  position: relative;
}

.internship-logo {
  margin-bottom: 20px;
}
.internship-logo img {
  height: 60px;
  width: auto;
}

.internship-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  color: var(--black);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.internship-subtitle-bar {
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 25px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.internship-topics {
  list-style: none;
  margin-bottom: 20px;
}
.internship-topics li {
  padding: 8px 0;
  font-size: 16px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}
.internship-topics li i {
  color: var(--orange);
  font-size: 16px;
}

.internship-apply {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.internship-contact {
  margin-bottom: 20px;
}
.internship-contact p {
  font-size: 14px;
  color: var(--black);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.internship-contact p i {
  color: var(--orange);
  font-size: 16px;
  margin-top: 2px;
  min-width: 20px;
}

.internship-footer-bar {
  background: var(--black);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 -40px -30px -40px;
  border-radius: 0 0 4px 4px;
}
.internship-footer-bar span {
  color: var(--white);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.internship-footer-bar span i {
  color: var(--orange);
}

/* ===== SERVICES SECTION ===== */
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon i {
  font-size: 28px;
  color: var(--white);
}

.service-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.service-content p {
  font-size: 16px;
  color: var(--black);
  line-height: 1.6;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .navbar-menu { display: none; }
  .hamburger { display: flex; }
  .navbar-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 999;
  }
  
  /* Hero */
  .hero h1 { font-size: 36px; }
  .hero h2 { font-size: 18px; }
  .training-modes { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 30px; }
  
  /* About Section */
  .about-content { grid-template-columns: 1fr !important; gap: 40px !important; }
  .about-image-box { max-width: 100% !important; height: 400px !important; }
  
  /* Courses */
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Gallery & Services */
  .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Why Section */
  .container > div[style*="grid-template-columns:1fr 1fr"] > div:first-child {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Blog */
  .container > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  /* Training pages */
  .training-content .container { grid-template-columns: 1fr; }
  .about-page-content .about-info { grid-template-columns: 1fr; }
  
  /* Modal */
  .modal-content { width: 90%; padding: 30px; }
}

@media (max-width: 768px) {
  /* Top bar */
  .top-bar .container { 
    flex-direction: column; 
    gap: 10px;
    text-align: center;
  }
  
  /* Navbar */
  .navbar-contact { display: none; }
  
  /* Hero */
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero h2 { font-size: 16px; }
  .hero-badge { font-size: 14px; padding: 8px 16px; }
  .training-modes { grid-template-columns: 1fr; gap: 10px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat .number { font-size: 32px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn-orange,
  .hero-ctas .btn-green { width: 100%; justify-content: center; }
  
  /* About Section */
  .about-content { gap: 30px !important; }
  .about-image-box { height: 350px !important; }
  .about-text h2 { font-size: 24px; }
  .about-text p { font-size: 14px; }
  
  /* Courses */
  .courses-grid { grid-template-columns: 1fr; gap: 20px; }
  .course-card { margin-bottom: 0; }
  
  /* Gallery & Services */
  .container > div[style*="grid-template-columns:1fr 1fr"] {
    gap: 30px !important;
  }
  
  /* Why Section */
  .container > div[style*="grid-template-columns:1fr 1fr"] > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .container > div[style*="grid-template-columns:1fr 1fr"] > div:last-child {
    margin-top: 20px;
  }
  
  /* Testimonial */
  .container > div[style*="max-width:800px"] {
    padding: 30px 20px !important;
  }
  .container > div[style*="max-width:800px"] h2 {
    font-size: 24px !important;
  }
  
  /* Portfolio */
  .container > div[style*="flex-wrap:wrap"] {
    gap: 20px !important;
  }
  .container > div[style*="flex-wrap:wrap"] > div {
    padding: 15px !important;
  }
  .container > div[style*="flex-wrap:wrap"] img {
    height: 60px !important;
  }
  
  /* Blog */
  .container > div[style*="grid-template-columns:repeat(3"] {
    gap: 20px !important;
  }
  
  /* FAQ */
  .faq-item { margin-bottom: 10px !important; }
  .faq-question {
    padding: 15px !important;
    font-size: 14px !important;
  }
  .faq-answer {
    padding: 15px !important;
    font-size: 14px !important;
  }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-logo img { max-width: 200px; }
  
  /* Modal */
  .modal-content { 
    width: 95%; 
    padding: 25px 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-content h3 { font-size: 20px; }
  
  /* Batches table */
  .batches-table { font-size: 13px; }
  .batches-table th,
  .batches-table td { padding: 12px 10px; }
  .btn-enroll { padding: 8px 15px; font-size: 13px; }
  
  /* Contact page */
  .contact-grid { gap: 30px; }
  .working-hours,
  .contact-info-card { padding: 25px !important; }
  
  /* WhatsApp float */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  /* Top bar */
  .top-bar { font-size: 13px; }
  .top-bar-left a { font-size: 13px; }
  .top-bar-right .social-icons a {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  
  /* Hero */
  .hero h1 { font-size: 28px; }
  .hero h2 { font-size: 15px; }
  .hero-badge { font-size: 13px; padding: 6px 14px; }
  .hero-description { font-size: 14px; }
  
  /* About Section */
  .about-image-box { height: 300px !important; }
  .overlay-text { font-size: 22px !important; }
  .overlay-text span { font-size: 26px !important; }
  .about-text h2 { font-size: 22px; }
  
  /* Courses */
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 14px; }
  .course-card-header h3 { font-size: 20px; }
  .course-card-body ul { font-size: 14px; }
  
  /* Services */
  .service-icon {
    width: 50px;
    height: 50px;
  }
  .service-icon i { font-size: 22px; }
  .service-content h3 { font-size: 18px; }
  .service-content p { font-size: 14px; }
  
  /* Why Section benefits */
  .container > div[style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Testimonial */
  .container > div[style*="max-width:800px"] {
    padding: 25px 15px !important;
  }
  .container > div[style*="max-width:800px"] h2 {
    font-size: 22px !important;
    margin-bottom: 15px !important;
  }
  .container > div[style*="max-width:800px"] p {
    font-size: 14px !important;
  }
  
  /* Portfolio */
  .container > div[style*="flex-wrap:wrap"] {
    flex-direction: column !important;
    align-items: center !important;
  }
  .container > div[style*="flex-wrap:wrap"] > div {
    width: 100%;
    max-width: 200px;
  }
  
  /* Blog */
  .container > div[style*="grid-template-columns:repeat(3"] > div {
    margin-bottom: 20px;
  }
  
  /* FAQ */
  .faq-question {
    padding: 12px !important;
    font-size: 13px !important;
  }
  .faq-answer {
    padding: 12px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
  
  /* Footer */
  .footer { padding: 40px 0 20px; }
  .footer-grid { gap: 25px; }
  .footer h4 { font-size: 16px; margin-bottom: 15px; }
  .footer ul li { margin-bottom: 8px; }
  .footer ul li a { font-size: 14px; }
  .footer-contact p { font-size: 14px; margin-bottom: 8px; }
  .footer-bottom { font-size: 13px; padding-top: 20px; }
  
  /* Internship popup */
  .internship-popup { width: 95%; max-height: 85vh; }
  .internship-popup-content { padding: 20px 15px; }
  .internship-title { font-size: 32px; }
  .internship-subtitle-bar { font-size: 11px; padding: 8px 12px; }
  .internship-topics li { font-size: 13px; }
  .internship-contact p { font-size: 13px; }
  .internship-footer-bar { 
    flex-direction: column; 
    gap: 8px;
    margin: 0 -15px -20px -15px;
    padding: 10px 12px;
  }
  .internship-footer-bar span { font-size: 12px; }
  
  /* Modal */
  .modal-content { 
    padding: 20px 15px;
  }
  .modal-content h3 { font-size: 18px; margin-bottom: 15px; }
  .modal-content label { font-size: 13px; }
  .modal-content input,
  .modal-content select,
  .modal-content textarea { font-size: 14px; padding: 10px; }
  
  /* Batches */
  .batches-tabs .tab-btn {
    padding: 10px 15px;
    font-size: 13px;
  }
  .batches-table { font-size: 12px; }
  .batches-table th,
  .batches-table td { padding: 10px 8px; }
  .btn-enroll { padding: 6px 12px; font-size: 12px; }
  
  /* Contact page */
  .working-hours h3,
  .contact-info-card h3 { font-size: 18px; }
  .working-hours p,
  .contact-info-card p { font-size: 14px; }
  
  /* Page hero */
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 28px; }
  .breadcrumb { font-size: 13px; }
  
  /* CTA section */
  .container > h2[style*="font-size:28px"] {
    font-size: 22px !important;
  }
  
  /* Map */
  iframe { height: 300px !important; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 24px; }
  .hero h2 { font-size: 14px; }
  .about-image-box { height: 250px !important; }
  .overlay-text { font-size: 20px !important; }
  .overlay-text span { font-size: 24px !important; }
  .section-header h2 { font-size: 22px; }
  .course-card-header h3 { font-size: 18px; }
}
