/* =============================================
   Fiat Lux Global Styles (Alumni Sans + Roboto)
   ============================================= */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Color Palette */
  --color-primary: #1295d8;
  --color-secondary: #ffb511;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark-blue: #163561;
  
  /* Typography */
  --font-heading: 'Alumni Sans', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  
  /* Spacing */
  --spacing-unit: 1rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  background-color: var(--color-white);
  color: var(--color-black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Utility Classes */
.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-secondary {
  background-color: var(--color-secondary) !important;
}

.bg-dark-blue {
  background-color: var(--color-dark-blue) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-secondary {
  color: var(--color-secondary) !important;
}

.text-white {
  color: var(--color-white) !important;
}

.text-black {
  color: var(--color-black) !important;
}

/* Button Styles */
.custom-btn {
  background-color: #f8aa00 !important; 
  color: #000 !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  font-weight: 400 !important;
  border: none !important;
  display: inline-block !important; 
  transition: background-color 0.3s ease !important;
}

.custom-btn:hover {
  background-color: #1295d8 !important;
  color: #fff !important;
}

.custom-btns {
  background-color: #f8aa00 !important;
  color: #000 !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  border: none !important;
  display: inline-block !important;
  transition: background-color 0.3s ease !important;
}

.custom-btns:hover {
  background-color: #000080 !important;
  color: #fff !important;
}


ul#menu-menu a {
    color: #000 !important;
}
ul#menu-footer-menu a {
    color: #000 !important;
    text-decoration: none;
}
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 6px 10px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 0 var(--spacing-unit);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-family: var(--font-heading);
  max-width: 900px;
  margin: 0 auto;
}

/* Content Layout */
.content-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.about-section .img-fluid {
  max-width: 100%;
  height: auto;
}

/* Flip Card Component */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 250px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 4px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-front {
  background-color: #163561 !important;
  color: var(--color-white) !important;
}

.flip-card-back {
  background-color: #163561 !important;
  color: var(--color-white) !important;
  transform: rotateY(180deg);
}

/* Responsive Typography */
@media (min-width: 768px) {
  :root {
    --font-size-base: 18px;
  }
}


i.fab.fa-linkedin {
    color: #1295d8 !important;
    font-size: 35px !important;
}

p.services-description {
  color: black !important;
}


input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 10px;
}
.form-check br {
    display: none !important;
}

@media (min-width: 1200px) {
  a.navbar-brand.text-black {
    font-family: "Alumni Sans", sans-serif;
    font-size: 50px;
    line-height: 50px;
    font-weight: 400;
}

a.navbar-brands {
    font-family: "Alumni Sans", sans-serif;
    font-size: 40px;
    line-height: 50px;
    font-weight: 400;
    text-decoration: none;
}

a.nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    margin-left: 10px;
    margin-right: 10px;
}
ul#menu-footer-menu a{
  font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    margin-left: 10px;
    margin-right: 5px;
}
.section-heading {
  font-family: "Alumni Sans", sans-serif;
  font-size: 47px;
  line-height: 56px;
  font-weight: 400;
}

p.lead.mb-4{
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
  }
  footer a.text-white.text-decoration-none {
    color: black !important;
}


}


@media (min-width: 768px) and (max-width: 1199px) {
  
}


@media (max-width: 767px) {
 a.navbar-brand.text-black {
    font-family: "Alumni Sans", sans-serif;
    font-size: 25px;
    line-height: 25px;
    font-weight: 400;
}
 .offcanvas-body .nav-link {
      padding: 10px 0;
    }
}


/* Set consistent section heights */
.hero-section,
.about-section,
#services,
#prices,
#contact {
  min-height: 100vh; /* This makes each section at least the height of the viewport */
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

/* Specific adjustments for sections with background images */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ensure content is properly aligned in each section */
section > .container {
  width: 100%;
}

/* Adjust padding for smaller screens */
@media (max-width: 768px) {
  .hero-section,
  .about-section,
  #services,
  #prices,
  #contact {
    padding: 2rem 0;
    min-height: auto;
    height: auto;
  }
}

/* Hero Section */
.hero-section {
  background-image: url('assets/images/hero-bg.webp');
  background-size: cover;
  background-position: center;
}

.hero-section h1 {
    font-family: var(--font-heading);
    max-width: 100% !important;
    margin: 0 auto;
}

/* About Section */
.about-section {
  background-color: #ffffff; /* or your preferred color */
}

/* Services Section */
#services {
  background-image: url('assets/images/service.jpg');
  background-size: cover;
  background-position: center;
}

/* Prices Section */
#prices {
  background-image: url('assets/images/bg-pricing.jpg');
  background-size: cover;
  background-position: center;
}

/* Contact Section */
#contact {
  background-image: url('assets/images/contact.webp');
  background-size: cover;
  background-position: center;
}

  /* Add this to your CSS file or style tag */
  .navbar-nav .nav-link.active {
    position: relative;
  }
  
  .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1295d8; /* Black underline */
    transform: scaleX(1);
    transition: transform 0.3s ease;
  }
  
  /* Optional: Add hover effect for all links */
  .navbar-nav .nav-link {
    position: relative;
  }
  
  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1295d8;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
  }
  
  .border-primary {
    border-color: #0d6efd !important;
    border-width: 3px !important;
}
.flip-card-inner
 {
    border: 2px solid #fff;
    border-radius: 0px !important;
}
.flip-card
 {
    border-radius: 0px !important;
}

.custom-underline {
  position: relative;
  display: inline-block; /* So width wraps the content */
  padding-bottom: 20px;
}

/* Underline line */
.custom-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background-color: #1295d8;
}

/* Center the heading and underline on mobile */
@media (max-width: 767px) {
  .custom-underline {
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .custom-underline::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.custom-underline-center {
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* Centered underline */
.custom-underline-center::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #1295d8;
}
