/* ============================================================
   MODERN DESIGN ENHANCEMENTS FOR INDIAN SKILL DEVELOPMENT
   Inspired by Rooman - Clean, Professional, Modern Aesthetic
   ============================================================ */

/* ============================================================
   COLOR PALETTE
   ============================================================ */
:root {
  --primary-dark: #1a2a4e;
  --primary-blue: #2d5a8c;
  --accent-orange: #ff6b35;
  --accent-pink: #ff4757;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --border-light: #e0e0e0;
  --success-green: #27ae60;
}

/* ============================================================
   HERO SECTION - MODERN DESIGN
   ============================================================ */
.carousel-inner {
  position: relative;
}

.carousel-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 42, 78, 0.7) 0%, rgba(45, 90, 140, 0.6) 100%);
  z-index: 1;
}

.carousel-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   HERO TEXT OVERLAY
   ============================================================ */
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  width: 90%;
  max-width: 800px;
}

.hero-overlay h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   MODERN BUTTONS
   ============================================================ */
.button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.button.red {
  background: var(--accent-orange);
  color: white;
}

.button.red:hover {
  background: #ff5722;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.button.primary {
  background: var(--primary-blue);
  color: white;
}

.button.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 90, 140, 0.4);
}

.button.outline {
  background: transparent;
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
}

.button.outline:hover {
  background: var(--accent-orange);
  color: white;
}

/* ============================================================
   STATISTICS SECTION
   ============================================================ */
.statistics-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: white;
  padding: 60px 0;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   ENHANCED SERVICE ITEMS
   ============================================================ */
.services {
  padding-top: 55px;
  padding-bottom: 72px;
  background: var(--bg-light);
}

.services h3 {
  color: var(--primary-dark);
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 36px;
}

.service-item {
  background: white;
  padding: 40px 30px;
  text-align: center;
  border: none;
  border-radius: 8px;
  min-height: 380px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-item:hover::before {
  transform: scaleX(1);
}

.service-item:hover .fa {
  background: var(--accent-orange);
  transform: scale(1.1);
}

.service-item .fa {
  width: 100px;
  height: 100px;
  color: white;
  background: var(--primary-blue);
  font-size: 45px;
  padding-top: 25px;
  border-radius: 50%;
  margin: -40px auto 30px;
  border: 5px solid white;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item h4 {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.service-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-item input[type="submit"] {
  margin-top: auto;
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */
.why-us {
  background: white;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.why-us h5 {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.why-us.pink1 {
  border-top: 4px solid var(--accent-orange);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  padding: 60px 0;
}

.module-header h2 {
  color: white;
  font-weight: 700;
}

.testimonial {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial h3 {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-details {
  text-align: right;
}

.testimonial-name {
  color: var(--accent-orange);
  font-weight: 700;
  margin-bottom: 5px;
}

.testimonial-title {
  color: var(--text-light);
  font-size: 13px;
}

/* ============================================================
   AWARDS & RECOGNITION SECTION
   ============================================================ */
.awards-section {
  background: white;
  padding: 60px 0;
  text-align: center;
}

.awards-section h3 {
  color: var(--primary-dark);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

.award-item {
  padding: 20px;
  margin-bottom: 20px;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--accent-orange);
}

.award-item h5 {
  color: var(--primary-dark);
  font-weight: 600;
  margin: 0;
}

/* ============================================================
   COURSE DETAILS PAGE
   ============================================================ */
.course-overview {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.course-overview h4 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 24px;
}

.course-overview ul {
  list-style: none;
  padding: 0;
}

.course-overview li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-dark);
  line-height: 1.8;
}

.course-overview li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 18px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 40px;
  color: var(--accent-orange);
  margin-bottom: 15px;
}

.feature-card h5 {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  margin: 40px 0;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-orange);
}

.faq-answer {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   HEADER ENHANCEMENTS
   ============================================================ */
header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-bar {
  background: var(--primary-dark);
  color: white;
  padding: 10px 0;
  font-size: 13px;
}

.top-bar a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: var(--accent-orange);
}

/* ============================================================
   FOOTER ENHANCEMENTS
   ============================================================ */
#footer {
  background: var(--primary-dark);
  color: white;
  padding: 50px 0 20px;
}

#footer h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 20px;
}

#footer p {
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 15px;
}

#footer a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: var(--accent-orange);
}

#footer ul li {
  margin-bottom: 10px;
}

.bottom-bar {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 32px;
  }

  .hero-overlay p {
    font-size: 16px;
  }

  .stat-number {
    font-size: 36px;
  }

  .service-item {
    min-height: auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.shadow-hover {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-dark);
}

.text-accent {
  color: var(--accent-orange);
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: var(--primary-dark);
  color: white;
}
