@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --primary: #102A43;
  --primary-rgb: 16, 42, 67;
  --secondary: #1F6F78;
  --secondary-rgb: 31, 111, 120;
  --accent: #20A39E;
  --accent-rgb: 32, 163, 158;
  --background: #F6F8FA;
  --text: #1C2733;
  --sub-text: #66788A;
  --border: #E5EAF0;
  --white: #FFFFFF;
  
  /* Font Families */
  --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-english: 'Inter', sans-serif;
  
  /* Transition Constants */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-in-out;
}

/* Global Reset & Base Styles */
body {
  font-family: var(--font-primary);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* Scroll Padding for Sticky Header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Layout Utilities & Section Spacing */
.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 991.98px) {
  .section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

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

.bg-navy-custom {
  background-color: var(--primary);
  color: var(--white);
}
.bg-navy-custom h2, 
.bg-navy-custom h3, 
.bg-navy-custom h4, 
.bg-navy-custom p {
  color: var(--white);
}

/* Typography Helpers */
.font-english {
  font-family: var(--font-english);
}

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

.section-subtitle {
  font-family: var(--font-english);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.bg-navy-custom .section-subtitle {
  color: var(--accent);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 24px;
  position: relative;
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.75rem;
  }
}

.lead-custom {
  color: var(--sub-text);
  font-size: 1.1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Custom Buttons */
.btn {
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.btn-primary-custom {
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: var(--white);
}
.btn-primary-custom:hover, 
.btn-primary-custom:focus {
  background-color: #0b1e30;
  border-color: #0b1e30;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary-custom {
  background-color: var(--secondary);
  border: 1px solid var(--secondary);
  color: var(--white);
}
.btn-secondary-custom:hover,
.btn-secondary-custom:focus {
  background-color: #17545b;
  border-color: #17545b;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent-custom {
  background-color: var(--accent);
  border: 1px solid var(--accent);
  color: var(--white);
}
.btn-accent-custom:hover,
.btn-accent-custom:focus {
  background-color: #178a86;
  border-color: #178a86;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white-custom {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}
.btn-outline-white-custom:hover,
.btn-outline-white-custom:focus {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-primary-custom {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline-primary-custom:hover,
.btn-outline-primary-custom:focus {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Sticky Header Styling */
.custom-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  transition: var(--transition-smooth);
  padding: 20px 0;
  background-color: rgba(16, 42, 67, 0.85); /* Semi-transparent navy initially */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-header.scrolled {
  background-color: var(--white);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border);
}

.custom-header .navbar-brand {
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: var(--transition-smooth);
}

.custom-header.scrolled .navbar-brand {
  color: var(--primary);
}

.custom-header .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition-smooth);
  position: relative;
}

.custom-header .nav-link:hover,
.custom-header .nav-link.active {
  color: var(--accent);
}

.custom-header.scrolled .nav-link {
  color: var(--primary);
}

.custom-header.scrolled .nav-link:hover,
.custom-header.scrolled .nav-link.active {
  color: var(--secondary);
}

/* Bottom line on active links (desktop only) */
@media (min-width: 992px) {
  .custom-header .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 16px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
  }
  
  .custom-header .nav-link:hover::after,
  .custom-header .nav-link.active::after {
    width: calc(100% - 32px);
  }
  
  .custom-header.scrolled .nav-link::after {
    background-color: var(--secondary);
  }
}

/* Offcanvas Hamburger Menu Button */
.header-toggler {
  border: none;
  background: transparent;
  padding: 4px 8px;
  color: var(--white);
  font-size: 1.75rem;
  transition: var(--transition-smooth);
}

.custom-header.scrolled .header-toggler {
  color: var(--primary);
}

/* Offcanvas Custom styling */
.offcanvas {
  background-color: var(--primary);
  color: var(--white);
}

.offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
}

.offcanvas .btn-close-white {
  opacity: 0.8;
}

.offcanvas .offcanvas-body {
  padding: 40px 24px;
}

.offcanvas .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 0 !important;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
  color: var(--accent) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 42, 67, 0.95) 0%, rgba(31, 111, 120, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding-top: 80px; /* Header space offset */
}

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

@media (max-width: 991.98px) {
  .hero-section {
    height: 750px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    height: 700px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 650px;
  line-height: 1.7;
}

.hero-footer-text {
  font-family: var(--font-english);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 48px;
}

/* Sub-page Hero Section */
.sub-hero-section {
  position: relative;
  padding: 180px 0 100px;
  background-color: var(--primary);
  overflow: hidden;
}

.sub-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
}

.sub-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.sub-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.sub-hero-breadcrumbs {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.sub-hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  margin-right: 8px;
}
.sub-hero-breadcrumbs a:hover {
  color: var(--accent);
}

.sub-hero-breadcrumbs span {
  margin-left: 8px;
  color: var(--accent);
}

/* Service Card Design */
.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--secondary);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16, 42, 67, 0.08);
  border-color: rgba(31, 111, 120, 0.2);
}

.service-card:hover::before {
  height: 100%;
}

.service-card-num {
  font-family: var(--font-english);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 24px;
  line-height: 1;
}

.service-card-icon {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: 24px;
  background-color: rgba(31, 111, 120, 0.06);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon {
  background-color: var(--secondary);
  color: var(--white);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--sub-text);
  margin-bottom: 30px;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card-btn {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.service-card-btn i {
  transition: var(--transition-fast);
}

.service-card-btn:hover {
  color: var(--accent);
}

.service-card-btn:hover i {
  transform: translateX(4px);
}

/* Feature/Why Section Grid */
.feature-card {
  padding: 30px 20px;
  height: 100%;
}

.feature-num {
  font-family: var(--font-english);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 16px;
  line-height: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.feature-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Problems Grid Checklist */
.problem-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px 30px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-smooth);
}

.problem-card:hover {
  border-color: rgba(31, 111, 120, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.problem-icon {
  font-size: 1.35rem;
  color: #DC3545; /* Red indicator for problem */
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0;
}

/* CTA Callout Banner */
.cta-banner {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 12px 35px rgba(16, 42, 67, 0.04);
}

/* Process Timeline Section */
.process-timeline {
  display: flex;
  position: relative;
  margin-top: 50px;
}

/* Connecting Line on PC */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: var(--border);
  z-index: 1;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.process-circle {
  width: 60px;
  height: 60px;
  background-color: var(--white);
  border: 2px solid var(--border);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.process-step:hover .process-circle {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(32, 163, 158, 0.25);
  transform: scale(1.05);
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.process-desc {
  font-size: 0.9rem;
  color: var(--sub-text);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Vertical Timeline for Mobile */
@media (max-width: 991.98px) {
  .process-timeline {
    flex-direction: column;
    gap: 40px;
  }
  
  .process-timeline::before {
    top: 30px;
    bottom: 30px;
    left: 30px;
    width: 2px;
    height: auto;
    right: auto;
  }
  
  .process-step {
    display: flex;
    text-align: left;
    padding: 0;
    align-items: flex-start;
    gap: 20px;
  }
  
  .process-circle {
    margin: 0;
    flex-shrink: 0;
  }
  
  .process-step-content {
    padding-top: 10px;
  }
}

/* Projects Grid Card */
.project-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16, 42, 67, 0.08);
  border-color: rgba(31, 111, 120, 0.15);
}

.project-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category {
  font-family: var(--font-english);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  line-height: 1.4;
}

.project-info-item {
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.project-info-label {
  font-weight: 700;
  color: var(--text);
  display: inline-block;
  width: 75px;
}

.project-info-value {
  color: var(--sub-text);
}

.project-details-list {
  background-color: var(--background);
  padding: 16px 20px;
  border-radius: 4px;
  margin-top: 16px;
  font-size: 0.85rem;
  list-style: none;
  margin-bottom: 0;
}

.project-details-list li {
  margin-bottom: 8px;
  color: var(--text);
  position: relative;
  padding-left: 14px;
}

.project-details-list li::before {
  content: '•';
  color: var(--secondary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.project-details-list li:last-child {
  margin-bottom: 0;
}

/* Category Filters for Project page */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid var(--border);
  color: var(--sub-text);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 15px rgba(16, 42, 67, 0.15);
}

/* Insight Card (Blog Grid) */
.insight-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16, 42, 67, 0.08);
  border-color: rgba(31, 111, 120, 0.15);
}

.insight-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.insight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.insight-card:hover .insight-img {
  transform: scale(1.05);
}

.insight-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary);
  color: var(--white);
  font-family: var(--font-english);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insight-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-date {
  font-family: var(--font-english);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sub-text);
  margin-bottom: 12px;
}

.insight-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.3em;
}

.insight-card-desc {
  font-size: 0.9rem;
  color: var(--sub-text);
  margin-bottom: 24px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.insight-card-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.insight-card-link i {
  transition: var(--transition-fast);
}

.insight-card-link:hover {
  color: var(--accent);
}

.insight-card-link:hover i {
  transform: translateX(4px);
}

/* FAQ Accordion Styling */
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: 4px !important;
  margin-bottom: 16px;
  overflow: hidden;
  background-color: var(--white);
  transition: var(--transition-smooth);
}

.faq-accordion .accordion-item:hover {
  border-color: rgba(31, 111, 120, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.faq-accordion .accordion-button {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  padding: 24px;
  background-color: var(--white);
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(31, 111, 120, 0.03);
  color: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.faq-accordion .accordion-button::after {
  background-size: 1rem;
}

.faq-accordion .accordion-body {
  padding: 24px;
  font-size: 0.95rem;
  color: var(--sub-text);
  line-height: 1.7;
}

/* Final CTA Banner (Full-Width) */
.final-cta-section {
  position: relative;
  padding: 120px 0;
  background-color: var(--primary);
  overflow: hidden;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
}

.final-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(16, 42, 67, 0.7) 0%, rgba(16, 42, 67, 0.95) 100%);
  z-index: 2;
}

.final-cta-content {
  position: relative;
  z-index: 3;
  color: var(--white);
}

.final-cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.final-cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 40px;
}

@media (max-width: 767.98px) {
  .final-cta-content h2 {
    font-size: 1.85rem;
  }
  .final-cta-content p {
    font-size: 1rem;
  }
}

/* Contact Page Layout & Map Frame */
.contact-info-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 4px;
  height: 100%;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(31, 111, 120, 0.06);
  color: var(--secondary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.contact-info-content h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}

.contact-info-content p {
  font-size: 0.95rem;
  color: var(--sub-text);
  margin-bottom: 0;
}

.contact-form-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.02);
}

.form-label {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(31, 111, 120, 0.1);
  color: var(--text);
}

/* Validation Style */
.error-msg {
  color: #DC3545;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.is-invalid {
  border-color: #DC3545 !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1) !important;
}

.map-container {
  height: 400px;
  border: 1px solid var(--border);
  background-color: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
}

/* Floating Action Button (FAB) */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-main-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  box-shadow: 0 8px 24px rgba(32, 163, 158, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.fab-main-btn:hover {
  transform: rotate(135deg) scale(1.05);
  background-color: #178a86;
}

.fab-main-btn.active {
  transform: rotate(135deg);
  background-color: var(--secondary);
}

.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.fab-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.fab-label {
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.fab-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.fab-item:hover .fab-icon-btn {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

/* Footer Section */
.custom-footer {
  background-color: #0b1824; /* Deeper navy than primary */
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  font-size: 0.9rem;
  border-top: 4px solid var(--secondary);
}

.footer-brand {
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white) !important;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-link-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-info i {
  color: var(--accent);
  margin-top: 3px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 20px;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
  transform: translateY(40px);
}

.fade-in {
  transform: scale(0.95);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Scroll to Top inside FAB (Responsive/Functional) */
@media (max-width: 575.98px) {
  .fab-container {
    bottom: 20px;
    right: 20px;
  }
  .fab-main-btn {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .fab-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
