/* === Reset & Base Styles === */
:root {
  --primary-color:#1a0dab;
  --primary-hover: #007bff;
  --text-color: #212529;
  --bg-color: #ffffff;
  --box-bg: #626262e0;
  --footer-bg: #f8f9fa;
  --border-radius: 5px;
  --transition-speed: 0.3s;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Make images responsive by default */
.img-fluid {
max-width: 100%;
height: auto;
}

/* Hero banner styling */
.hero-banner {
overflow: hidden;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Card image management */
.card-img-top {
aspect-ratio: 3/4;
object-fit: cover;
}


/* === Accessibility === */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary-color);
  color: #fff;
  z-index: 1000;
  padding: 0.5rem 1rem;
  transform: translateY(-120%);
  transition: transform var(--transition-speed);
}

.skip-link:focus { 
  transform: translateY(0); 
}

/* === Navbar Styling === */
.navbar {
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-color);
}

.navbar-toggler {
  transition: transform var(--transition-speed);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url('/images/site/x-icon-black.svg');
}

.navbar-toggler-text {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 1.5rem;
  vertical-align: middle;
}

.navbar-brand {
  padding: 0;
  margin-right: 1rem;
}

.navbar-brand img {
  max-width: 240px;
  max-height: 80px;
  width: auto;
  height: auto;
}

/* Nav Items */
.navbar-nav {
  flex-wrap: wrap;
  gap: 0.25rem;
}

.navbar-nav .nav-item {
  margin-right: 0.25rem;
  position: relative;
}

/* Nav Links */
.navbar-nav .nav-link {
  text-align: center;
  color: var(--primary-color);
  padding: 0.1rem 0.75rem;
  font-size: 1.95rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-hover);
  text-decoration: underline;
  background-color: rgba(0,123,255,0.05);
}

/* Nav Subtitles */
.nav-subtitle {
  display: block;
  font-size: 0.8rem;
  color: inherit;
  opacity: 0.85;
  margin-top: 0.125rem;
}

.navbar-nav .nav-link:hover .nav-subtitle,
.navbar-nav .nav-link:focus .nav-subtitle {
  opacity: 1;
  /* Important used intentionally to override any other styles */
  text-decoration: none !important;
}

/* Dropdown menus */
.navbar-nav .dropdown-menu {
  min-width: 180px;
  border-radius: var(--border-radius);
  margin-top: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border: none;
}

.navbar-nav .dropdown-item {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  color: var(--text-color);
  transition: all var(--transition-speed);
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background-color: rgba(0,123,255,0.1);
  color: var(--primary-color);
}

/* Contact & Language switcher */
.contact-lang-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.contact-info .phone-link {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
}

.contact-info .phone-link:hover,
.contact-info .phone-link:focus {
  background-color: rgba(0,123,255,0.1);
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.phone-icon {
  margin-right: 0.375rem;
  width: 16px;
  height: 16px;
  transition: transform var(--transition-speed);
}

.phone-link:hover .phone-icon {
  transform: scale(1.1);
}

/* Language switcher */
.language-switcher {
  margin-left: 0.5rem;
}

.flag-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-switcher a {
  display: flex;
  opacity: 0.75;
  transition: opacity var(--transition-speed);
}

.language-switcher a:hover,
.language-switcher a:focus {
  opacity: 1;
}

.language-switcher img {
  width: 36px;
  height: 24px;
  /*border: 1px solid rgba(0,0,0,0.1);*/
}

/* === Content Areas === */
.box1 {
  background: #fff;
  color: #000000;
 
}

.box2 {
  background: var(--box-bg);
  color: #fff;
  
}

.box3 {
  background: #DFDFDF;
  color: #000000;
  
}


.box4 {
  background: #007bff;;
  color: #fff;
}

/* Box5 - Purple */
.box5 {
  background: #6f42c1;
  color: #fff;
}

/* Box6 - Light Blue */
.box6 {
  background: #e3f2fd;
  color: #212529;
}

.box7 {
  background: #fd7e14;
  color: #fff;
}
.box8 {
  background: #cc0000;
  color: #fff;
}
/* Box9 - Simple Blue theme using existing brand blue */
.box9 {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 5px 15px rgba(26, 13, 171, 0.3);
}

/* Button style for Box9 */
.box9 .btn-light {
  background-color: #fff;
  color: var(--primary-color);
  border-color: #fff;
  font-weight: 500;
}

.box9 .btn-light:hover,
.box9 .btn-light:focus {
  background-color: #f8f9fa;
  color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.box9 .btn-outline-light {
  color: #fff;
  border-color: #fff;
}

.box9 .btn-outline-light:hover,
.box9 .btn-outline-light:focus {
  background-color: #fff;
  color: var(--primary-color);
}

/* Box10 - Apple-style grey gradient */
.box10 {
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  color: #1d1d1f;
}
.box11 {
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  color: #0099d8;
}

.box12 {

  color: #fff;
  background: #fa539e;

}

/* PINK BUTTON */
.btn-cta-pink {
  background-color: #fa539e;
  color: #ffffff;
  border: 2px solid #fa539e;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-cta-pink:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fa539e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-cta-pink:hover,
.btn-cta-pink:focus {
  color: #ffffff;
  border-color: #fa539e;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(253, 68, 139, 0.788);
}

.btn-cta-pink:hover:before,
.btn-cta-pink:focus:before {
  transform: scaleX(1);
  transform-origin: left;
}
/* END PINK BUTTON */

/* Reusable call-to-action button */
/* Reusable call-to-action button with enhanced hover effects */
.btn-cta {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Improved hover/focus effects */
.btn-cta:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #001affe0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-cta:hover,
.btn-cta:focus {
  color: #ffffff;
  border-color: #007bff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 20, 204, 0.3);
}

.btn-cta:hover:before,
.btn-cta:focus:before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Size variants */
.btn-cta-sm {
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
}

.btn-cta-lg {
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
}

/* Icon within button */
.btn-cta-icon {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

/* Icon animation on hover */
.btn-cta:hover .btn-cta-icon,
.btn-cta:focus .btn-cta-icon {
  transform: translateX(-3px);
}






/* === Links === */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover, a:focus {
  color: var(--primary-hover);
  text-decoration: underline;
}





/* === Footer === */
footer {
  background: var(--footer-bg);
  padding: 2rem 0;
  margin-top: 2rem;
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  color: var(--primary-hover);
  text-decoration: underline;
}






/* === Gallery Cards === */
.gallery-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.gallery-desc {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* === Centered Hero === */
.centered-hero {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.centered-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  width: 80%;
  max-width: 500px;
}

/* === Testimonial Cards === */
.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
  height: 100%;
}

.testimonial-content {
  position: relative;
  padding: 0.5rem 0;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-content:before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  left: -0.8rem;
  top: -1rem;
  color: rgba(0,123,255,0.2);
  font-family: serif;
}

.testimonial-img {
  object-fit: cover;
}

/* === Stat Cards === */
.stat-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* === Blog Cards === */
.blog-card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* === CTA Section === */
.cta-divider {
  height: 200px;
  width: 1px;
  background: rgba(255,255,255,0.3);
  margin: 0 auto;
}

.cta-image {
  max-width: 100%;
  transition: transform 0.5s ease;
}

.cta-image:hover {
  transform: scale(1.05) rotate(5deg);
}
@media (max-width: 575.98px) {
  .centered-text-overlay {
    width: 95%;
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
}








/* === Image Positioning Styles === */

/* === Image Positioning Styles === */

/* Common Styles for All Layouts */
.image-text-row {
  margin-bottom: 2rem;
}

.image-container {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.image-container img {
  transition: transform 0.3s ease;
  width: 100%;
}

.image-container img:hover {
  transform: scale(1.03);
}

.text-content {
  padding: 0.5rem;
}



/* Center Image Specific */
.img-center {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.img-center img {
  width: 100%;
}



/* Introduction Text */
.lead {
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

/* Media Queries */
@media (max-width: 767.98px) {
  .image-text-row {
    flex-direction: column;
  }
  
  /* On mobile, force image above text regardless of original position */
  .row.image-text-row .col-md-5 {
    order: 1;
  }
  
  .row.image-text-row .col-md-7 {
    order: 2;
  }
  
  /* For image-right layouts, we need to reverse this order */
  .row.image-text-row .col-md-5.order-md-last {
    order: 1;
  }
  
  .row.image-text-row .col-md-7.order-md-first {
    order: 2;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .image-container {
    margin-bottom: 1rem;
  }
  
  .text-content {
    text-align: center;
  }
}





/* === Media Queries === */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 0.1rem;
    padding-top: 0.9rem;
  }
  
  .contact-lang-container {
    margin-top: 1rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
  }
  
  .navbar-brand img {
    max-width: 250px;
  }
  
  .navbar-collapse {
    padding-top: 0.5rem;
  }
  
  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
}

@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }
  
  .navbar-brand img {
    max-width: 250px;
  }
  
  .contact-lang-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
 
  }
  
  .navbar-brand img {
    max-width: 250px;
  }
  
  .flag-container {
    gap: 0.9rem;
  }
}

/* === Print styles === */
@media print {
  .navbar-toggler,
  .contact-lang-container,
  .skip-link {
    display: none !important;
  }
  
  a {
    text-decoration: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.3;
  }
  
  .navbar, footer {
    box-shadow: none !important;
    border-bottom: 1pt solid #ddd;
  }
/* New CSS added for footer links */
.footer-link {
  min-height: 44px;
  min-width: 44px;
  padding: 10px;
  margin: 0 -10px;
  display: inline-block;
  position: relative;
  touch-action: manipulation;
  border-radius: var(--border-radius);
}

.footer-link:hover,
.footer-link:focus {
  background-color: rgba(0, 123, 255, 0.05);
  outline: none;
}

/* Add spacing between footer links when they wrap on small screens */
.footer-link + .footer-link {
  margin-top: 4px;
}



}

/* === Utility classes === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}