/* Global Styles */
:root {
  --button-color-form: #0056b3;
  --pree-heading-color: #6c757d;
  --primary-color: #0056b3;
  --secondary-color: #ff6b00;
  --text-color: #3498db;
  --login-bg: #ff6b00;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}
.top-bar {
  background-color: #1a237e;
  color: white;
  padding: 8px 0;
  font-size: 14px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
  margin-bottom: 1rem;
}

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

.colorIcons {
  color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff !important;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  /* color: var(--text-color) !important; */
}

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

/* Hero Section */
.hero-section {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-section p.lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  padding: 100px 0;
}

.features-item {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
}

.features-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.features-item i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.features-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.features-item h3 a {
  color: #333;
}

.features-item:hover h3 a {
  color: var(--primary-color);
}

/* Advantage Section */
.advantage-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
  border: 1px solid #eee;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.advantage-item h4 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Services Section */
.services {
  padding: 100px 0;
}

.service-item {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
  border: 1px solid #eee;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-item i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.service-item h3 {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.testimonial-item {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.testimonial-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-item h4 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.testimonial-item .text-muted {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.stars {
  color: #f1c40f;
  margin-bottom: 1rem;
}

.stars i {
  margin: 0 2px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-info i {
  width: 24px;
  color: var(--primary-color);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50%;
  color: var(--text-color);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* =================================
   FOOTER STYLES
   ================================= */
.footer {
  background: #0a1f44;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}

/* Footer Top Section */
.footer-top {
  padding: 70px 0 30px;
  background: #0a1f44;
  position: relative;
  z-index: 1;
}

.footer-top::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Footer Widgets */
.footer-widget {
  margin-bottom: 30px;
}

.footer-widget .widget-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-widget .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #ff6b6b;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
}

.footer-links li:hover {
  padding-left: 5px;
}

.footer-links a {
  color: #b8c4d1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links i {
  color: #ff6b6b;
  margin-right: 8px;
  font-size: 16px;
}

/* Contact Info */
.footer-contact .contact-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  color: #ff6b6b;
  margin-top: 5px;
  min-width: 20px;
}

.footer-contact a {
  color: #b8c4d1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: #fff;
}

/* Newsletter Form */
.newsletter-form .form-control {
  height: 50px;
  border-radius: 3px 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  box-shadow: none;
  padding: 10px 15px;
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form .btn-newsletter {
  background: #ff6b6b;
  color: #fff;
  border: none;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 3px 3px 0;
  transition: all 0.3s ease;
}

.newsletter-form .btn-newsletter:hover {
  background: #ff5252;
}

/* Social Icons */
.social-links {
  /* display: flex; */
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #ff6b6b;
  transform: translateY(-3px);
  color: #fff;
  text-decoration: none;
}

/* Footer Middle Section */
.footer-middle {
  padding: 20px 0;
  background: #091a38;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.branch-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.branch-link {
  color: #b8c4d1;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 10px;
}


.branch-link:hover {
  color: #fff;
}

/* Footer Bottom Section */
.footer-bottom {
  padding: 25px 0;
  background: #091a38;
  font-size: 14px;
  color: #b8c4d1;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-bottom a {
  color: #b8c4d1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-bottom a:hover {
  color: #ff6b6b;
  text-decoration: none;
}

.text-underline {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .footer-widget {
    margin-bottom: 40px;
  }

  .footer-widget .widget-title {
    font-size: 16px;
  }

  .branch-scroll {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .footer-middle h6 {
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .footer-top {
    padding: 50px 0 0;
  }

  .footer-widget {
    text-align: center;
  }

  .footer-widget .widget-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact .contact-item {
    justify-content: center;
    text-align: center;
  }

  .footer-contact i {
    display: none;
  }

  .social-links {
    justify-content: center;
  }

  .branch-scroll {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .footer-bottom {
    text-align: center;
  }

  .footer-bottom p {
    font-size: 13px;
  }
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ffc107, #fd7e14, #dc3545);
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
  transform: translateX(3px);
}

.footer h5 {
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

/* Newsletter Form */
.footer .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 4px;
  padding: 10px 15px;
  height: auto;
}

.footer .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer .btn-light {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

.footer .btn-light:hover {
  background: #f8f9fa;
  transform: none;
}

/* Social Icons */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #fff;
  color: var(--primary) !important;
  transform: translateY(-3px);
  text-decoration: none !important;
}

/* Enhanced Tab Navigation */
.nav-pills {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  margin-bottom: 2rem;
}

.nav-pills::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.nav-pills .nav-item {
  white-space: nowrap;
  margin: 0 2px;
}

.nav-pills .nav-link {
  color: #4a5568;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  margin: 0 0.1rem;
  transition: all 0.2s ease;
  position: relative;
  border: 2px solid transparent;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-pills .nav-link.active {
  background: var(--primary-color) !important;
  color: #fff !important;
  border: 2px solid #1d4ed8;
  box-shadow: none;
  transform: none;
  font-weight: 600;
  border-radius: 50px;
}

.nav-pills .nav-link:not(.active):hover {
  background: #f8fafc;
  color: #1e40af;
  border: 2px solid #e2e8f0;
}

.nav-pills .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--login-bg);
  border-radius: 2px;
}

@media (max-width: 991.98px) {
  .nav-pills {
    padding-bottom: 3px;
  }

  .nav-pills .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

.tab-pane.fade {
  transition: opacity 0.25s ease-in;
}

.nav-pills .nav-link:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Branch Links */
.branch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.branch-links a {
  position: relative;
  padding-right: 15px;
}

.branch-links a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 5px;
  color: rgba(255, 255, 255, 0.5);
}

/* Copyright Section */
.footer .small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.6;
}

.footer a.text-decoration-underline {
  text-decoration: underline !important;
}

/* Hover Effects */
.footer ul li {
  transition: all 0.3s ease;
  margin-bottom: 8px;
  width: 100%;
}

.footer ul li:hover {
  transform: translateX(5px);
}

.footer ul li i {
  width: 20px;
  text-align: center;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-menu-item ul,
.footer-menu-row2 ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu-item ul li,
.footer-menu-row2 ul li {
  margin-bottom: 8px;
}

.footer-fullblack {
  background-color: #000;
  padding: 30px 0;
  margin: 20px 0;
}

.get-in-touch-title {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.get-in-touch-title:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.address-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.address-row i {
  color: var(--primary-color);
  font-size: 20px;
  margin-top: 5px;
}

.contact-details {
  margin-bottom: 20px;
}

.contact-details a {
  display: block;
  /* margin-bottom: 10px; */
  color: #ccc;
}

.contact-details i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  margin-right: 8px;
}

.social-media h5 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #fff;
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-address {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #999;
}

.footer-address a {
  color: #ccc;
  position: relative;
  padding: 0 10px;
}

.footer-address a:not(:last-child):after {
  content: "|";
  position: absolute;
  right: -5px;
  color: #666;
}

.copyright-block {
  padding: 20px 0;
  background: #111;
  font-size: 13px;
  color: #999;
  line-height: 1.7;
}

.copyright-block a {
  color: #ccc;
}

.copyright-block a:hover {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .footer {
    text-align: center;
  }

  .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer .text-md-start {
    text-align: center !important;
  }

  .social-icons {
    justify-content: center !important;
  }

  .branch-links {
    justify-content: center;
  }
  .footer-menu-item,
  .footer-menu-row2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .get-in-touch-row > div {
    margin-bottom: 30px;
  }

  .social-media {
    text-align: center !important;
  }

  .social-icons {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 30px 0 0;
  }

  .footer .col-md-6 {
    margin-bottom: 30px;
  }

  .branch-links a {
    padding: 0 10px 0 0;
  }

  .branch-links a:not(:last-child)::after {
    right: 0;
  }

  .footer .btn-light {
    padding: 8px 15px;
  }

  .footer .social-icons {
    margin-top: 20px;
  }

  .footer .text-center.text-md-start {
    text-align: center !important;
  }

  .footer .text-end {
    text-align: center !important;
    margin-top: 15px;
  }
}

/* Animation for better user experience */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  animation: fadeInUp 0.6s ease-out;
}

.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Footer */
footer {
  background: #0a1f44;
  color: #fff;
  padding: 60px 0 20px;
}

footer h5 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #adb5bd;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #fff; 
}

footer .social-links a {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff;
}

footer .social-links a:hover {
  background: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  bottom: 30px;
}

.back-to-top:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 120px 0 80px;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .features-item,
  .advantage-item,
  .service-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }
}

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

.fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Light Background */
.light-background {
  background-color: #f8f9fa;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400 !important;
}

.flip-card {
  background-color: transparent;
  perspective: 1000px;
  height: 200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.flip-card-back {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  transform: rotateY(180deg);
  text-align: left;
}

.flip-card h5 {
  color: #0d6efd;
  font-weight: 600;
}

.flip-card-back h5 {
  color: white !important;
}

.flip-card .icon-box {
  transition: all 0.3s ease;
}

.flip-card:hover .icon-box {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

@media (max-width: 768px) {
  .flip-card {
    height: 180px;
    margin-bottom: 20px;
  }

  .flip-card h5 {
    font-size: 1.1rem;
  }

  .flip-card p {
    font-size: 0.9rem;
  }
}

/* Gallery Styles */
.gallery-image {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.gallery-image:focus,
.gallery-image:active {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.gallery-item-container {
  -webkit-tap-highlight-color: transparent;
}

/* Hide gallery overlay */
.gallery-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.gallery-filter-container {
  position: relative;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.btn-pill {
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-pill.active {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  margin: 0 auto;
}

.gallery-item-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 300px;
}

.gallery-item-wide {
  grid-column: span 2;
  height: 300px;
}

.gallery-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  min-height: 300px;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: white;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  transform: translateY(20px);
  transition: transform 0.3s ease;
  width: 100%;
}

.gallery-card:hover .gallery-content {
  transform: translateY(0);
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.gallery-description {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-zoom {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-zoom:hover {
  background: var(--bs-primary);
  transform: scale(1.1);
}

.gallery-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.empty-state {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  border: 1px dashed #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .gallery-item-wide {
    grid-column: span 1;
  }
}

@media (max-width: 575.98px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-container,
  .gallery-item-wide {
    height: 250px;
  }

  .btn-pill {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

.gallery-item {
  transition: all 0.4s ease-in-out;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.gallery-item:hover {
  transform: scale(1.03);
  z-index: 2;
}

.gallery-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem 0.5rem 0 0;
  height: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gallery-image-container img.image-error {
  display: none;
}

.gallery-image-container .image-fallback {
  display: none;
  text-align: center;
  padding: 20px;
  color: #6c757d;
}

.gallery-image-container img.image-error + .image-fallback {
  display: block;
}

.gallery-item:hover .gallery-image-container {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.96, 0.34, 1);
}

.gallery-item:hover .gallery-image-container img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 110, 253, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-zoom {
  color: #6c757d;
  transition: color 0.3s ease;
}

.gallery-zoom:hover {
  color: #0d6efd;
  text-decoration: none;
}

.year-filter .btn {
  margin: 0 5px 10px;
  border-radius: 20px;
  padding: 0.375rem 1.25rem;
  transition: all 0.3s ease;
}

.year-filter .btn.active {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

.contact-hero {
  padding: 4rem 0;
  background-color: #f8fafc;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* Adjust height on mobile */
@media (max-width: 991.98px) {
  .contact-hero {
    min-height: auto;
    padding: 2rem 0;
  }
}

.contact-card {
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
}

/* Ensure equal height columns */
.row.align-items-stretch > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Image container */
 

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-cards .contact-icon {
  width: 40px;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method {
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.contact-method:hover {
  background-color: #f8fafc;
}

.contact-method h6 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-method a {
  transition: all 0.2s ease;
}

.contact-method a:hover {
  color: #2563eb !important;
}

.badge {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .contact-hero {
    padding: 2rem 0;
  }

  .contact-card {
    margin-bottom: 1.5rem;
  }

  .contact-method {
    padding: 0.75rem 0;
  }
}

.contact-card:hover::before {
  transform: scaleX(1);
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a73e8, #0d47a1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/hero-bg.jpg") no-repeat center center/cover;
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* Contact Cards */
.contact-cards {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: #3498db;
  transform: translateX(-50%);
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  border: 1px solid #eef2f7;
  overflow: hidden;
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Card Header */
.contact-header {
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: white;
  padding: 25px 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.contact-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-20deg) translateX(50px);
}

.contact-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: white;
  position: relative;
  z-index: 1;
}

.contact-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* Contact Details */
.contact-details {
  padding: 25px 30px;
}

.contact-section {
  margin-bottom: 25px;
}

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

.section-title {
  display: flex;
}

.section-content {
  padding-left: 0;
}

/* Contact Info Items */
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

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

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8f0fe;
  margin-right: 12px;
  flex-shrink: 0;
}

.email-icon {
  background: #fce8e6;
}

.contact-icon {
  font-size: 14px;
}

.contact-icon.fa-phone-alt {
  color: #34a853; /* Green for phone icon */
}

.contact-icon.fa-envelope {
  color: #d93025; /* Gmail red for email icon */
}

.contact-detail {
  flex: 1;
}

.phone-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.phone-numbers a {
  color: #1a73e8;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.phone-numbers a:hover {
  text-decoration: underline;
}

.divider {
  color: #dee2e6;
  font-weight: 300;
}

.contact-detail a[href^="mailto:"] {
  color: #5f6368;
  text-decoration: none;
  font-size: 0.9rem;
  word-break: break-all;
}

.contact-detail a[href^="mailto:"]:hover {
  color: #d93025;
  text-decoration: underline;
}

/* Card Hover Effects */
.contact-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a73e8, #0d47a1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: #1a73e8;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover .contact-header {
  background: linear-gradient(135deg, #0d47a1, #1a237e);
}

.contact-card:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-card:hover .contact-name {
  transform: translateY(-2px);
}

.contact-card .contact-name {
  transition: transform 0.3s ease;
}

.contact-card .icon-circle {
  transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-header {
    padding: 12px 15px;
  }

  .contact-details {
    padding: 12px 15px;
  }

  .phone-numbers {
    gap: 6px;
  }

  .phone-link,
  .email-wrapper a {
    font-size: 0.85rem;
  }
}

.contact-details p {
  margin-bottom: 8px;
  color: #6c757d;
}

.contact-details a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-numbers {
  /* margin-bottom: 15px; */
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.phone-numbers a {
  color: #1976d2;
  font-weight: 500;
}

.email-section {
  padding: 12px 0;
}

.phone-numbers span {
  color: #999;
  font-weight: normal;
}

.contact-details i {
  color: #1976d2;
  width: 20px;
  text-align: center;
  margin-right: 0px;
}

.contact-details i {
  width: 20px;
  text-align: center;
  color: #3498db;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .contact-card {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .page-header {
    padding: 80px 0 40px;
    margin-bottom: 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

.advisor-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.advisor-content {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.advisor-content h1 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 2.5rem;
  line-height: 1.2;
}
.advisor-content p {
  color: #495057;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.advisor-image-container {
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.carousel-item:hover img {
  transform: scale(1.03);
}
  
.team .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.team .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
}

.team .card-title {
    font-size: 1.1rem;
    color: #2c3e50;
}

.team .text-warning {
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .team .card-body {
        padding: 1rem !important;
    }
    
    .team .card-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .team .btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.85rem;
    } 