/* Beckon Support Services - Bootstrap Custom Styles */

:root {
  --primary-teal: #0F5F6F;
  --primary-coral: #FF6B5B;
  --secondary-dark: #0D4A57;
  --light-bg: #f8f9fa;
  --text-dark: #1a1a1a;
  --text-muted: #666;
  --border-light: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
   padding-top: 170px; /* logo height + navbar padding */
}

/* Navbar */
.navbar {
  background-color: white;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Left section: logo + menu */
.navbar-left {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}

.logo {
  height: 140px;
  width: auto;
}

/* Menu styling */
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

/* Underline + highlight effect */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ff6b5c;
  transition: width 0.3s ease;
}

/* Prevent underline on dropdown toggle */
.dropdown-toggle::after {
  display: none;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: #b4f3f0;
  border-radius: 6px;
}


/* Base Navigation */
.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Nav links visible by default */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hide dropdown menus until hover */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger button */
.menu-toggle {
  display: none; /* Hidden on large screens */
  font-size: 34px;
  background: none;
  border: none;
  color: #003f4d;
  cursor: pointer;
  padding: 10px 15px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.menu-toggle:hover {
  transform: scale(1.15);
  color: #007a8c;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show only on small screens */
  }

  .nav-links {
    display: none; /* Hide links until toggled */
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex; /* Show when toggled */
  }

  .nav-links a {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 220px;
  z-index: 1000;
}

/* Dropdown items */
.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: #b4f3f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}


/* Right button */
.btn-contact {
  background-color: #ff6b5c;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #e85a4f;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}


.btn-get-in-touch {
  background-color: var(--primary-coral);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-get-in-touch:hover {
  background-color: #E85A4A;
  color: white;
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-dark) 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section:before {
    content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/beckon-hero-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
}


.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Hero Section 2*/
.hero-section2 {
  position: relative;
  height: 60vh; /* fixed height */
  width: 100%;
  background-image: url("../images/Contact-hero-banner.png"); /* replace with your new image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align:center;
  margin-top: -20px;
}

.hero-section2 h1 {
  color: #4d0c05; 
  font-weight: 700;
  font-size: 2.8rem;
}

.hero-section2 p {
  color: #4d0c05; 
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: -30px;
}


.hero-content2 {
  z-index: 2;
  max-width: 600px;
}

.hero-section2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 95, 111, 0.25); /* teal overlay for readability */
  z-index: 1;
}


/* Section Styling */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
}

.service-overview .section-title {
  text-align: center;
}

.service-overview .lead {
  text-align: center;
}

.service-overview .col-lg-8 {
  margin-left: auto;
  margin-right: auto;
}

/* Card Styling */
.feature-card {
  background: white;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h4 {
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Service Card */
.service-card {
  background: white;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.service-card-header {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-dark) 100%);
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.service-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-body .btn {
  align-self: flex-start;
}

/* Button Styles */
.btn-primary-custom {
  background-color: var(--primary-teal);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--secondary-dark);
  color: white;
}

.btn-secondary-custom {
  background-color: white;
  border: 2px solid var(--primary-teal);
  color: var(--primary-teal);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: var(--primary-teal);
  color: white;
}

.btn-coral {
  background-color: var(--primary-coral);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-coral:hover {
  background-color: #E85A4A;
  color: white;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-coral);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Footer */
footer {
  background-color: var(--primary-teal);
  color: white;
  padding: 2rem 0 1rem;
}


footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

footer p, footer a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

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

footer a:hover {
  color: var(--primary-coral);
}


footer .footer-logo {
  height: 100px;      /* enlarged from 40px */
  width: auto;       /* keeps proportions */
  margin-bottom: 1rem;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
  footer .row {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  footer .footer-logo {
    height: 80px;
  }
}


/* Contact Info Cards */
.contact-info-card {
  background: white;
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.contact-info-card h5 {
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Form Styling */
.form-control {
  border: 1px solid var(--border-light);
  border-radius: 0.375rem;
  padding: 0.75rem;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(15, 95, 111, 0.25);
}

.form-label {
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-section {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

/* FAQ Section */
.faq-item {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-coral);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
}

.faq-item h5 {
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Image Styling */
.img-fluid {
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: 300px;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures the image fills the box without distortion */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-image span {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.hero2 {
  width: 100%;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  margin-bottom: 2rem;
  background-color: var(--primary-teal);
}

.hero2-img {
  width: 100%;
  height: 500px; /* increase this value for taller images */
  display: block;
  object-fit: contain; /* ensures full image is visible without cropping */
}

.hero2 span {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero2-img {
    height: auto;
    object-fit: contain;
  }
}


.service-image-card {
  height: 250px;
  margin: 0;
  border-radius: 0;
}

.about-hero-image {
  height: 400px;
  margin: 0;
}

.about-card-accent {
  border-left: 4px solid var(--primary-coral);
}

.about-accreditation-icon {
  font-size: 3rem;
}

.service-detail-hero-image {
  height: 400px;
  margin: 0;
}

.service-step-badge {
  width: 60px;
  height: 60px;
  background: var(--primary-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* Spacing */
.py-section {
  padding: 4rem 0;
}

.py-section-sm {
  padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .feature-card, .service-card, .contact-info-card {
    margin-bottom: 1.5rem;
  }
  
  .py-section {
    padding: 2rem 0;
  }
}

/* Utility Classes */
.text-teal {
  color: var(--primary-teal);
}

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

.bg-teal {
  background-color: var(--primary-coral);
  
}

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

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

.border-coral {
  border-color: var(--primary-coral);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

#servicesCarousel {
  max-width: 900px;
  margin: 0 auto;
}

#servicesCarousel img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-teal);
  border-radius: 50%;
  padding: 1rem;
}

