/* --- Core Variables --- */
:root {
  --primary-navy: #061c43;
  --primary-navy-light: #0a2960;
  --accent-gold: #d4a024;
  --text-dark: #2b323c;
  --text-muted: #6c757d;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-light: #e9ecef;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 15px 35px rgba(6, 28, 67, 0.1);
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* --- Page Header --- */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-navy) 0%,
    var(--primary-navy-light) 100%
  );
  padding: 100px 0 80px 0;
  position: relative;
  color: var(--white);
}

.page-title {
  font-weight: 800;
  font-size: 2.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.breadcrumb-custom {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.breadcrumb-custom li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-custom a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-custom a:hover {
  color: var(--white);
}

.breadcrumb-custom li + li::before {
  content: "\F285";
  font-family: "bootstrap-icons";
  margin: 0 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Main Content Styling --- */
.service-details-section {
  padding: 40px 0 100px 0;
}

/* Content Blocks */
.content-block {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  opacity: 0; /* For JS animation */
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.content-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.block-title {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.block-title i {
  color: var(--accent-gold);
  margin-right: 12px;
  font-size: 1.75rem;
}

.content-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 500;
}

.feature-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.feature-list i {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-right: 15px;
  margin-top: 2px;
}

/* --- Sidebar Styling --- */
.sidebar-sticky {
  position: sticky;
  top: 30px; /* Distance from top when scrolling */
}

.sidebar-widget {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  border-top: 4px solid var(--primary-navy);
}

.widget-title {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar Links */
.service-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-links li {
  margin-bottom: 0.5rem;
}

.service-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: var(--bg-light);
  color: var(--primary-navy);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-links a:hover,
.service-links a.active {
  background: var(--primary-navy);
  color: var(--white);
}

/* Quick Form */
.form-control {
  border: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.25rem rgba(212, 160, 36, 0.15);
}

.btn-theme {
  background-color: var(--accent-gold);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  width: 100%;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-theme:hover {
  background-color: #b3861d;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .sidebar-sticky {
    position: relative;
    top: 0;
    margin-top: 2rem;
  }
  .page-title {
    font-size: 2.25rem;
  }
}
/* --- Secondary Header Section --- */
.header-branding {
  border-bottom: 4px solid var(--accent-gold);

  position: relative;
  background-color: #ffffff;
  background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Vertical Divider Responsive Styling */
.divider-line {
  width: 2px;
  background-color: #d1d5db;
  height: 60px; /* Mobile height */
  margin: 0 auto;
}

/* Typography Responsive Styling */
.brand-title {
  color: var(--primary-navy);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
  font-size: 1.25rem; /* Mobile font size */
}

.slogan {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: normal; /* Allow wrapping on extra small screens if needed */
  line-height: 1.2;
}

.slogan::before,
.slogan::after {
  content: "";
  height: 2px;
  width: 15px; /* Smaller lines on mobile */
  margin: 0 8px;
}

.slogan-primary {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.75rem; /* Mobile font size */
}

.slogan-primary::before,
.slogan-primary::after {
  background-color: var(--accent-gold);
}

/* Desktop & Tablet Adjustments */
@media (min-width: 768px) {
  .brand-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
  }
  .slogan-primary {
    font-size: 1.25rem;
    white-space: nowrap;
  }

  .divider-line {
    height: 90px;
  }
}

@media (min-width: 992px) {
  .brand-title {
    font-size: 3.5rem;
  }
  .slogan-primary {
    font-size: 1.1rem;
  }

  .divider-line {
    height: 120px;
  }
}
/* --- Footer Main Styling --- */
.footer-section {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 80px 0 0 0;
  border-top: 5px solid var(--accent-gold);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Elements */
.footer-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 160, 36, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
}

/* Column Reveal Animation */
.footer-col {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-col.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Headings */
.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

/* --- Column 1: About & Social --- */
.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-logo span {
  color: var(--accent-gold);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent-gold);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(212, 160, 36, 0.3);
}

/* --- Column 2: Useful Links --- */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: "\F285"; /* Bootstrap Icon Chevron-Right */
  font-family: "bootstrap-icons";
  margin-right: 8px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* --- Column 3: Contact Details --- */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info i {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 2px;
}

/* --- Footer Bottom --- */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  margin-top: 60px;
  text-align: center;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.copyright span {
  color: var(--accent-gold);
  font-weight: 600;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--accent-gold);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ffffff;
  color: var(--primary-navy);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-col {
    margin-bottom: 40px;
  }
  .footer-section {
    padding-top: 60px;
  }
}
/* --- Sticky Bottom Bar Styling --- */
.quick-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #bb8b1a;
  display: flex;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(6, 28, 67, 0.2);
  border-top: 3px solid var(--accent-gold);
}

/* Individual Action Items */
.action-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 5px;
  color: var(--white);
  text-decoration: none;
  border-right: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Remove border from the last item */
.action-item:last-child {
  border-right: none;
}

/* Hover Effect for standard items */
.action-item:not(.chat-item):hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-gold);
}

.action-icon {
  font-size: 1.2rem;
  margin-bottom: 3px;
  transition: transform 0.3s ease;
}

.action-item:hover .action-icon {
  transform: translateY(-3px);
}

.action-text {
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
}

/* --- "Talk to TIA" Chat Bubble Styling --- */
.chat-item {
  position: relative;
  justify-content: flex-end;
  padding-bottom: 15px;
}

.chat-bubble {
  position: absolute;
  bottom: 15px;
  background-color: var(--accent-gold);
  color: var(--white);
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 5px 15px rgba(212, 160, 36, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
}

/* The tail of the chat bubble */
.chat-bubble::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 10px;
  width: 20px;
  height: 20px;
  background-color: var(--accent-gold);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  border-radius: 0 0 5px 0;
}

.chat-item:hover .chat-bubble {
  transform: scale(1.1);
  background-color: #bfa12a;
}

.chat-item:hover .chat-bubble::after {
  background-color: #bfa12a;
}

/* JS Ripple Effect Class */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.3);
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .action-text {
    font-size: 0.85rem;
  }
  .action-icon {
    font-size: 1.7rem;
  }
  .chat-bubble {
    width: 85px;
    height: 85px;
    font-size: 0.9rem;
    bottom: 20px;
  }
}
/* --- Section Styling --- */
.apply-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0a2960 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 2.25rem;
}

.title-accent {
  width: 60px;
  height: 4px;
  background-color: var(--accent-gold);
  margin: 1rem auto 0 auto;
  border-radius: 2px;
}

/* --- Form Card Styling --- */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  border-top: 5px solid var(--accent-gold);
}

.form-label {
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Custom Input Styling */
.form-control,
.form-select {
  border: 1.5px solid var(--input-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.25rem rgba(212, 160, 36, 0.15);
  outline: 0;
}

.input-group-text {
  background-color: var(--bg-light);
  border: 1.5px solid var(--input-border);
  border-right: none;
  color: var(--primary-navy);
  font-weight: 600;
}

.form-control:focus + .input-group-text,
.input-group:focus-within .input-group-text {
  border-color: var(--accent-gold);
}

/* Submit Button */
.btn-submit {
  background-color: var(--accent-gold);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: #b3861d;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 160, 36, 0.3);
  color: var(--white);
}

/* Success Message Overlay */
.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 10;
}

.success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.success-text {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .form-card {
    padding: 2rem 1.5rem;
  }
}
