@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-color: #0F4C75;
  /* Deep Ocean Teal */
  --primary-gradient: linear-gradient(135deg, #0F4C75 0%, #3282B8 100%);
  --secondary-color: #1B262C;
  /* Dark Navy */

  /* Premium Accent - Golden Amber */
  --accent-color: #D4AF37;
  --accent-gradient: linear-gradient(135deg, #D4AF37 0%, #aa8920 100%);

  --text-main: #333333;
  --text-muted: #555555;

  --bg-body: #ffffff;
  --bg-section: #f4f7f6;
  --dark-bg: #0b1116;
  /* Added missing variable */
  /* Very subtle cool gray */

  /* Modern Glassmorphism & Depth */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  --card-shadow: 0 10px 40px rgba(15, 76, 117, 0.08);
  /* Colored shadow */
  --card-hover-shadow: 0 20px 50px rgba(15, 76, 117, 0.15);

  --transition-speed: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main) !important;
  line-height: 1.7;
  /* Slightly tighter line height */
  font-size: 0.925rem;
  /* ~14.8px - Compact & Professional */
  background-color: var(--bg-body) !important;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.01em;
}

/* Navbar Enhanced */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  /* Frosted */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  padding: 12px 0;
  /* Slightly reduced padding */
  border-bottom: 1px solid rgba(15, 76, 117, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 0.3s ease;
}

.navbar-brand {
  font-weight: 800;
  font-size: 22px;
  /* Reduced from 26px */
  color: var(--secondary-color) !important;
  letter-spacing: -0.5px;
}

.navbar-brand span {
  color: var(--primary-color);
  /* Teal Brand */
}

.navbar-light .navbar-nav .nav-link {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 13px;
  /* Reduced from 14px */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0 !important;
  margin: 0 12px;
  /* Slightly tighter spacing */
  position: relative;
  transition: all 0.3s;
}

.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--accent-gradient);
  /* Gold underline */
  transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* --- Creative Section Separators --- */
.curved-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 10;
}

.curved-separator svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.curved-separator .shape-fill {
  fill: #ffffff;
}

.curved-separator-top {
  transform: rotate(0deg);
  top: 0;
  bottom: auto;
}

/* Glass HUD for Stats */
.glass-hud {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.glass-hud::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* Sections */
section {
  position: relative;
  overflow: hidden;
  background-color: #ffffff !important;
}

section:nth-child(even) {
  background-color: var(--bg-section) !important;
}

/* Creative Heading */
.heading {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 30px;
  /* Reduced margin */
  font-size: 2.2rem;
  /* Reduced from 2.8rem */
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  /* Gold underline */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
}

/* Modern Buttons (Gold Accent) */
.btn-primary,
.button {
  background: var(--accent-gradient);
  border: none;
  color: #fff !important;
  /* White text on Gold */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 12px 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
  /* Gold shadow */
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before,
.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover::before,
.button:hover::before {
  left: 100%;
  /* Shine effect */
}

.btn-primary:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
  background: var(--accent-gradient);
  /* Keep gold */
}

/* Premium Cards */
.card {
  border: none;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover,
.shadow-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
}

/* Features Icon Box */
.fabIcon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fff8e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  position: relative;
}

.fabIcon i {
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
  transition: all 0.4s ease;
}

.card:hover .fabIcon {
  background: var(--primary-gradient);
  transform: rotateY(180deg);
}

.card:hover .fabIcon i {
  -webkit-text-fill-color: #fff;
  transform: rotateY(-180deg);
}

/* Marquee & Notifications */
.notify-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.news-item {
  padding: 15px;
  border-left: 4px solid var(--primary-color);
  background: #fdfdfd;
  margin-bottom: 15px;
  border-radius: 0 10px 10px 0;
  transition: all 0.3s;
}

.news-item:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

/* Strength Section Stats */
.strength h1 {
  font-size: 4rem;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* Gallery */
.gallery img {
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
  z-index: 2;
}

/* Footer */
/* Footer */
footer {
  background: linear-gradient(180deg, #172238 0%, #0f172a 100%) !important;
  color: #b0b8c4 !important;
  padding: 80px 0 0 !important;
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Texture Pattern Overlay */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  pointer-events: none;
}

.footer-wave {
  position: absolute;
  top: -1px;
  /* Overlap slightly to prevent gaps */
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
  /* Height of wave */
}

/* Mobile responsive wave height */
@media (max-width: 768px) {
  .footer-wave svg {
    height: 30px;
  }

  footer {
    padding-top: 60px;
  }
}

footer h4.footer-heading {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

footer h4.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 50px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 10px;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #b0b8c4;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-links a i {
  font-size: 0.8rem;
  color: var(--primary-color);
  margin-right: 8px;
  transition: margin-right 0.3s;
}

.footer-links a:hover {
  color: #ffffff !important;
  padding-left: 5px;
}

.footer-links a:hover i {
  margin-right: 12px;
}

.footer-contact li {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  color: #b0b8c4;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--primary-color);
  margin-right: 18px;
  font-size: 1.2rem;
  margin-top: 3px;
  background: rgba(255, 152, 0, 0.1);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Footer Form */
.footer-newsletter {
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.footer-newsletter:hover {
  transform: translateY(-5px);
}

.footer-form .form-control {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  padding: 12px 20px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  outline: none;
}

/* Autofill Fix for Dark Theme */
.footer-form .form-control:-webkit-autofill,
.footer-form .form-control:-webkit-autofill:hover,
.footer-form .form-control:-webkit-autofill:focus,
.footer-form .form-control:-webkit-autofill:active {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #1e2a4a inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.footer-form .btn-primary {
  padding: 12px 25px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
}

.footer-form .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.6);
}

/* Copyright Area */
.copyright-area {
  background: #0f172a;
  /* Darker shade */
  padding: 25px 0;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #64748b;
  font-size: 0.9rem;
}

.copyright-area a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.copyright-area a:hover {
  color: var(--primary-color);
}

/* Scroll Top */
.scroll_top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: var(--primary-gradient);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 10px 20px rgba(44, 83, 100, 0.4);
  transition: all 0.3s;
}

.scroll_top:hover {
  transform: translateY(-5px) rotate(360deg);
}

/* Utilities */
.text-uppercase {
  text-transform: uppercase;
}

.fw-bold {
  font-weight: 700;
}

.colorY {
  color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-carousel .item {
    height: 60vh;
  }

  .heading {
    font-size: 2rem;
  }

  /* Mobile Navbar Fixes */
  .navbar-collapse {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    position: absolute;
    /* Absolute positioning to overlay content */
    top: 60px;
    /* Adjust based on navbar height */
    left: 0;
    right: 0;
    z-index: 1001;
    /* High z-index */
    width: 90%;
    /* Width less than 100% for card look */
    margin-left: auto;
    margin-right: auto;
  }

  .navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
  }

  .navbar-toggler .fa-bars {
    color: var(--secondary-color);
    font-size: 24px;
    padding: 5px;
  }

  .navbar-nav {
    align-items: center;
    /* Center items on mobile */
  }

  #admin-btn {
    display: inline-block !important;
    /* Block for explicit width control if needed, or inline-block with centering */
    margin: 20px auto !important;
    /* Center with margin */
    padding: 10px 40px !important;
    background: var(--primary-gradient) !important;
    /* Solid background for visibility */
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    text-align: center;
    box-shadow: 0 5px 15px rgba(44, 83, 100, 0.3);
    width: auto !important;
  }
}

/* Specific fix for desktop to keep outline style if not covered by general media query */
@media (min-width: 992px) {
  #admin-btn {
    margin-left: 15px !important;
    padding: 8px 25px !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
    box-shadow: none;
  }

  #admin-btn:hover {
    background: var(--primary-gradient) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 83, 100, 0.3);
  }

  #admin-btn::after {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hero-carousel .item {
    height: 50vh;
  }

  .strength h1 {
    font-size: 3rem;
  }

  .navbar-brand {
    font-size: 20px;
  }
}

/* Custom Scrollbar - Hidden but Scrollable */
.custom-scrollbar {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.custom-scrollbar::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Webkit */
}

/* Social Media Icons */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--primary-gradient);
  box-shadow: 0 5px 15px rgba(44, 83, 100, 0.4);
  border-color: transparent;
}

/* Premium Gallery Styles */
.gallery-card img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  background: rgba(23, 34, 56, 0.5);
  /* Secondary color with opacity */
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  transform: scale(0) rotate(-180deg);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-card:hover .gallery-overlay i {
  transform: scale(1) rotate(0deg);
}


/* Multi-step Form Styles */
.form-step {
  display: none;
  animation: fadeIn 0.5s;
}

.form-step.active {
  display: block;
}

/* Progress Bar */
.step-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: sticky;
  /* Sticky positioning */
  top: 70px;
  /* Adjust based on navbar height */
  z-index: 990;
  background: rgba(248, 249, 250, 0.95);
  /* Backdrop for sticky */
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.step-progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: #e9ecef;
  z-index: 0;
  transform: translateY(-50%);
  border-radius: 10px;
}

.step-progress-step {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 3px solid #e9ecef;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #adb5bd;
  z-index: 1;
  position: relative;
  transition: all 0.3s ease;
  cursor: default;
}

/* New FAQ Styles */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--secondary-color);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #666;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Mission & Vision Styles */
.mission-vision-card {
  transition: transform 0.3s ease;
  border-top: 5px solid var(--primary-color);
}

.mission-vision-card:hover {
  transform: translateY(-10px);
}

.vision-border {
  border-top-color: var(--accent-color);
}


.step-progress-step.active {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(23, 34, 56, 0.15);
  /* More visible shadow */
}

.step-progress-step.completed {
  border-color: #198754;
  background: #198754;
  color: #fff;
}

.step-label {
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: #6c757d;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.8);
  /* Readability */
  padding: 2px 5px;
  border-radius: 4px;
}

.step-progress-step.active .step-label {
  color: var(--secondary-color);
}

/* Ensure labels are visible on mobile but smaller */
@media (max-width: 768px) {
  .step-label {
    font-size: 0.65rem;
    top: 40px;
  }

  .step-progress-bar {
    top: 60px;
    /* Adjust for mobile navbar */
  }
}

/* Navigation Buttons */
.step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed #e9ecef;

  /* Custom File Input */
  .custom-file-upload {
    border: 2px dashed #e2e8f0;
    display: block;
    padding: 40px 20px;
    cursor: pointer;
    border-radius: 20px;
    background: #f8fafc;
    transition: all 0.3s;
    text-align: center;
  }

  .custom-file-upload:hover {
    border-color: var(--primary-color);
    background: rgba(255, 152, 0, 0.05);
  }

  .custom-file-upload i {
    font-size: 2.5rem;
    color: #94a3b8;
    margin-bottom: 15px;
    display: block;
  }

  .custom-file-upload .upload-text {
    font-weight: 700;
    color: #1e293b;
    display: block;
    margin-bottom: 5px;
  }

  .custom-file-upload .upload-hint {
    font-size: 0.85rem;
    color: #64748b;
  }

  input[type="file"].hidden-input {
    display: none;
  }

  /* Premium Select Box */
  select.form-control,
  select.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
  }
}