/* Core Variables derived from your screenshot */
:root {
  --primary-orange: #ff7612; /* Brand Orange */
  --nav-scrolled-bg: #142032; /* Dark blue background for scrolled navbar */
  --hero-overlay: rgba(20, 32, 50, 0.546); /* Deep blue tint overlay matching image */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

/* Custom Light Slate Background */
.bg-custom-slate {
  background-color: #F8FAFC !important;
}

@media only screen and (max-width: 768px){
    html,
    body{
    width:100%;
    overflow-x: hidden;
    }
}


/* ============================================
       Navbar section Styles
   ============================================ */
.transition-navbar {
  transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out, box-shadow 0.3s ease;
  background-color: transparent;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Class added via JS on scroll */
.navbar-scrolled {
  background-color: var(--nav-scrolled-bg) !important;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-orange) !important;
}

/* ============================================
    MOBILE NAVBAR FIX
============================================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #213652; 
    padding: 1.5rem;
    border-radius: 16px; 
    margin-top: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border: none;
  }

  .navbar-nav {
    gap: 0 !important; 
  }

  .nav-item {
    width: 100%;
    text-align: left; 
    border-bottom: none; 
  }

  .nav-link {
    padding: 12px 10px !important;
    font-size: 1rem;
    color: #ffffff !important;
    font-weight: 500;
  }

  .navbar-nav .btn-primary-custom {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 12px 0 !important;
    font-size: 1.05rem;
    text-align: center;
  }
}
/* ================= Global Utilities ================= */
.text-primary-custom {
  color: var(--primary-orange) !important;
}

/* Solid Orange Button */
.btn-primary-custom {
  background-color: var(--primary-orange);
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #e66800;
  color: #fff;
}

/* Outline White Button */
.btn-outline-light {
  border: 1px solid #fff;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1); /* Subtle hover instead of full white */
  color: #fff;
}

/* ============================================
       Hero Section Styles
   ============================================ */
:root {
  --hero-overlay: rgba(20, 32, 50, 0.88); /* Deep blue tint overlay matching brand */
  --primary-orange: #ff7612;
}

.hero-section {
  min-height: 100vh;
  /* Add your background image path inside url() */
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('images/hero-bg.jpeg') center/cover no-repeat;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

/* Top Small Badge styling */
.badge-custom {
  background-color: rgba(255, 118, 18, 0.1); 
  border: 1px solid rgba(255, 118, 18, 0.3);
}

.hero-heading {
  line-height: 1.15;
  letter-spacing: -1px;
}

.text-light-custom {
  color: #d1d5db; /* Softer white/gray for readability */
}

/* --- Stats Row Styles --- */
.stats-row {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.stat-label {
  color: #9ca3af;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

/* =========================================
   Interactive Price Badge Styles
============================================ */

/* Glass background effect to look premium on the dark hero image */
.bg-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.border-orange {
  border: 1px solid rgba(255, 118, 18, 0.3);
  transition: all 0.3s ease;
  cursor: pointer; /* Makes it feel interactive/clickable */
}

/* Hover effect lifts the badge and brightens the border */
.interactive-price-badge .bg-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 118, 18, 0.8);
  box-shadow: 0 10px 30px rgba(255, 118, 18, 0.2) !important;
}

/* The Tag Icon */
.price-icon {
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 10px rgba(255, 118, 18, 0.4);
  /* Triggers the pulsing animation */
  animation: pulse-orange 2s infinite; 
}

/* Gold text for the actual price number to make it pop */
.highlight-price {
  color: #ffd700; /* Vibrant Gold */
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Pulsing Animation Keyframes */
@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(255, 118, 18, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 118, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 118, 18, 0); }
}

/* =========================================
   Hero Buttons
============================================ */
.btn-primary-custom {
  background-color: var(--primary-orange);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #e66800;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 118, 18, 0.4);
}

.btn-outline-light {
  border: 1px solid #fff;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1); 
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================
   Mobile Adjustments
============================================ */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 7.5rem;
    padding-bottom: 4rem;
    min-height: auto; /* Let content dictate height on small screens */
  }
  
  .hero-heading {
    font-size: 2.5rem;
  }

  /* Keep price tag readable on small screens */
  .interactive-price-badge h3 {
    font-size: 1.15rem !important; 
  }
  
  .price-icon {
    width: 40px;
    height: 40px;
  }
  
  /* Stack stats nicely on mobile */
  .stats-row .d-flex {
    gap: 1.5rem !important;
  }
}

/* =================================================
    Certifications Section Styles
==================================================== */

/* Banner Background matching the screenshot */
.certifications-section {
  background-color: #1e334d; /* Specific dark blue matching the image */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle bottom border */
}

/* Icon Styling */
.cert-icon i {
  font-size: 2.2rem; /* Large enough to stand out */
  color: var(--primary-orange); /* Uses the orange variable we set earlier */
}

/* Label Text Styling */
.cert-text {
  font-size: 0.95rem; /* Slightly scaled down text */
  letter-spacing: 0.3px; /* Minor letter spacing for readability */
}

/* Mobile Responsiveness Adjustment */
@media (max-width: 768px) {
  .cert-icon i {
    font-size: 1.8rem;
  }
  .cert-text {
    font-size: 0.85rem;
  }
}

/* =========================================
   Top Courses Card Styles (Full-Width Image)
============================================ */

/* Specific Brand Colors */
:root {
  --dmpl-orange: #ff7612;
  --dmpl-orange-hover: #e66800;
  --dmpl-purple: #6c5ce7; 
  --soft-orange-bg: #fff3ec; 
}

.text-dmpl-orange { color: var(--dmpl-orange) !important; }
.bg-dmpl-orange { background-color: var(--dmpl-orange) !important; }
.bg-soft-orange { background-color: var(--soft-orange-bg) !important; }

/* Card Container Styling */
.custom-course-card {
  border-radius: 16px;
  border: 1px solid #f0f0f0 !important;
  background-color: #ffffff;
  overflow: hidden; /* CRUCIAL: Clips the top corners of the full-width image */
}

/* Image Wrapper */
.icon-box-bg {
  width: 100%;
  height: 200px; /* Fixed height for uniformity */
  background-color: #ffff;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

/* Full Width Image */
.icon-img-size {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Stretches the image to fill the entire box perfectly */
  transition: transform 0.4s ease;
}

/* Hover Animations */
@media (hover: hover) {
  .custom-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08) !important;
  }
  
  /* Zoom effect on the image when hovering over the card */
  .custom-course-card:hover .icon-img-size {
    transform: scale(1.05);
  }
}

/* Outline Pill Button Styling */
.btn-outline-dmpl {
  color: var(--dmpl-orange);
  background-color: transparent;
  border: 2px solid var(--dmpl-orange); 
  transition: all 0.2s ease-in-out;
}

.btn-outline-dmpl:hover {
  background-color: var(--dmpl-orange); 
  color: #ffffff;
  border-color: var(--dmpl-orange);
}

.btn-outline-dmpl:active {
  transform: scale(0.96);
  background-color: #e66800;
}

/* Active State (Touch-friendly/Mobile) */
.custom-course-card:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

/* Mobile Typography Fixes */
@media (max-width: 768px) {
  .custom-course-card h5 {
    font-size: 1.15rem; 
  }
  .icon-box-bg {
    height: 180px; /* Slightly shorter on mobile */
  }
}

/* ==================================
    About Section Styles
===================================== */

/* Reusing your brand variables just in case */
:root {
  --dmpl-orange: #ff7612;
  --dmpl-orange-hover: #e66800;
  --soft-orange-bg: #fff3ec;
  --dark-blue: #142032; /* Text color for headers */
}

.text-dark-blue {
  color: var(--dark-blue) !important;
}

/* Image wrapper to handle absolute positioning context */
.about-img-wrapper {
  z-index: 1;
}

/* Floating Award Badge specific positioning */
.award-badge {
  /* Positions it at the bottom left, slightly overlapping outside the image */
  bottom: 20px;
  left: -30px;
  z-index: 2;
  min-width: 220px;
}

/* Solid Brand Button */
.btn-dmpl-orange {
  background-color: var(--dmpl-orange);
  color: #ffffff;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 118, 18, 0.3);
}

.btn-dmpl-orange:hover {
  background-color: var(--dmpl-orange-hover);
  color: #ffffff;
  transform: translateY(-2px); /* Slight lift effect on hover */
  box-shadow: 0 6px 20px rgba(255, 118, 18, 0.4);
}

/* Responsive adjustment for the floating badge on mobile */
@media (max-width: 991px) {
  .award-badge {
    left: 10px; /* Brings the badge fully inside the container on smaller screens */
    bottom: -20px; /* Pushes it slightly below the image instead */
  }
  .about-img-wrapper {
    margin-bottom: 2rem; /* Creates space for the badge drop */
  }
}

/* ==================================================
    Who Can Benefit Section Styles
===================================================== */

/* Benefit Card Styling */
.benefit-card {
  border-radius: 16px;
  border: 1px solid #f0f0f0 !important;
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* On hover, the border slightly turns orange and the card lifts */
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(255, 118, 18, 0.3) !important; 
}

/* Icon Circular Wrapper */
.benefit-icon-wrapper {
  width: 65px;
  height: 65px;
  background-color: var(--soft-orange-bg); /* Keeping the brand color rhythm */
}

/* Customizing the list text slightly for better readability */
.benefit-card ul li span {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Ensure checkmarks align nicely with multi-line text */
.benefit-card ul li i {
  font-size: 1.1rem;
}

/* =========================================
    Agency Services Section Styles
============================================ */

/* Applied Custom Slate Background */
.bg-custom-slate {
  background-color: #F8FAFC !important;
}

/* Agency Card Styling */
.agency-card {
  border-radius: 16px; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

.agency-card:hover {
  transform: translateY(-5px); 
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Keep images inside rounded padding */
.agency-card .card-img-top {
  border-radius: 12px;
  object-fit: contain;
  background-color: #ffffff;
}

/* Square Icon Box */
.agency-icon {
  width: 40px;
  height: 40px;
  background-color: var(--soft-orange-bg); 
  color: var(--dmpl-orange); 
  border-radius: 10px;
  font-size: 1.1rem;
}

/* ==============================================
    Contact Section Styles
    ============================================= */

/* Form Card Styling */
.contact-form-card {
  border-radius: 16px;
  border: 1px solid #eef0f3; /* Very faint gray border */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); /* Extremely soft shadow */
}

/* Custom Input Field Styling */
.custom-input {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #475569;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.custom-input:focus {
  border-color: var(--dmpl-orange);
  box-shadow: 0 0 0 4px rgba(255, 118, 18, 0.1);
  outline: none;
}

.custom-input::placeholder {
  color: #cbd5e1;
}

/* ==========================================
    Map Section Styles
============================================= */

.map-wrapper {
  width: 100%;
  height: 300px; /* Forces height to exactly 300px */
  max-height: 300px;
  background-color: #f8f9fa; /* Light gray placeholder color while map loads */
}

/* Ensure the iframe fills the wrapper perfectly */
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) contrast(100%); /* Optional: Slightly tones down map colors to fit a modern UI */
}

/* ==========================================
    Footer Section Styles
============================================= */

/* Footer Background matching the deep blue */
.footer-section {
  background-color: #0d1727; 
}

/* Footer text colors */
.text-footer-muted {
  color: #94a3b8; /* Soft blue-gray for readability against dark bg */
}

/* Footer Links */
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease-in-out, padding-left 0.2s ease-in-out;
}

.footer-link:hover {
  color: var(--dmpl-orange);
  padding-left: 5px; /* Slight right shift on hover for interactivity */
}

/* Social Media Footer Buttons */
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05); /* Subtle dark gray circle */
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-btn:hover {
  background-color: var(--dmpl-orange);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ====================================
    Floating Action Buttons
======================================= */
.floating-action-menu {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px; 
  z-index: 9999; 
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px; /* Adjusted perfectly for Bootstrap Icons */
  color: #ffffff; /* White icon for better contrast */
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Smooth hover effect */
.floating-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* Tactile click effect for mobile */
.floating-btn:active {
  transform: scale(0.95);
}

/* DMPL Brand Theme Call Button */
.btn-call-floating {
  background-color: var(--dmpl-orange); /* Uses your brand orange */
}

/* Official WhatsApp Green */
.btn-whatsapp-floating {
  background-color: #25D366; 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .floating-action-menu {
    bottom: 20px;
    right: 20px;
  }
}


/* ============================================
   Page Header (For T&C, Privacy Policy, etc.)
=============================================== */
.bg-dark-blue {
    background-color: #142032 !important; /* Your brand dark blue */
}

/* ============================================
   Legal Content Formatting
=============================================== */
.legal-text p, .legal-text ul {
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-text ul {
    padding-left: 1.5rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
}

.legal-text h4 {
    margin-top: 2rem;
}

.legal-text h4:first-child {
    margin-top: 0;
}

.bg-light-custom {
    background-color: #f8f9fa;
}