:root {
  --primary-blue: #0d6efd;
  --light-bg: #f2f7fc;
  --light-blue: #e7f1ff;
  --text-dark: #1a1a1a;
  --text-gray: #64748b;
  --dark-blue: #0b5ed7;
  --border-color: #e0e0e0;
  --dark-bg: #eaf2fa;
}

/* --primary-blue: #0d6efd;
            --dark-blue: #0a58ca;
            --light-bg: #f8fafc;
            --text-dark: #1e293b;
            --text-gray: #64748b; */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Custom Styles */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  background-color: #fff !important;
}

/* Logo Styles */
.navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar-brand .text-logo {
  display: none;
}

/* Fallback if image fails */
.navbar-brand img.error {
  display: none;
}

.navbar-brand img.error + .text-logo {
  display: block;
  color: var(--primary-blue);
  font-size: 28px;
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  padding: 10px 15px;
  transition: color 0.3s;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue);
}

/* Phone Button */
.phone-btn {
  background-color: var(--primary-blue);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  display: inline-flex;
  align-items: center;
}

.phone-btn:hover {
  background-color: var(--dark-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.dropdown-menu {
  background: #609eee;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin: 0;
  border-radius: 0px !important;
  position: relative;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #dbdbdb;
}
/* Desktop Hover Dropdown */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeIn 0.3s;
  }

  .dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 10px;
    min-width: 220px;
  }

  .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
    color: white;
  }

  .dropdown-item:hover {
    background-color: transparent;
    color: rgb(241, 241, 241);
    padding-left: 25px;
  }

  /* Hide mobile submenus on desktop */
  .mobile-submenu {
    display: none !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Styles */
@media (max-width: 991px) {
  .navbar-brand img {
    height: 50px;
  }

  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .phone-btn {
    display: block;
    text-align: center;
    margin: 20px auto 0;
    max-width: 250px;
  }

  /* Hide desktop dropdowns on mobile */
  .nav-item.dropdown .dropdown-menu {
    display: none !important;
  }

  /* Mobile dropdown toggle button */
  .mobile-dropdown-toggle {
    width: 100%;
    text-align: left;
    position: relative;
    cursor: pointer;
  }

  .mobile-dropdown-toggle::after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-submenu {
    padding-left: 20px;
    display: none;
  }

  .mobile-submenu.show {
    display: block;
  }

  .mobile-submenu .nav-link,
  .mobile-submenu .dropdown-item {
    font-size: 15px;
    padding: 8px 0;
    color: #000;
  }

  /* Hide desktop-only dropdown toggles on mobile */
  .nav-item.dropdown .services-link {
    pointer-events: none;
    opacity: 0.6;
  }
}

/* ===== Footer Styles ===== */
.footer {
  background-color: #f4f5f7;
  padding: 60px 0 30px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo Section */
.footer-logo {
  font-size: 2.2rem;
  color: var(--dark-blue);
  font-weight: 300;
  margin-bottom: 5px;
  display: inline-block;
  position: relative;
}

.footer-logo .logo-icon {
  font-weight: 700;
  font-size: 1.8rem;
  vertical-align: middle;
  margin-right: 2px;
}

.footer-logo .logo-text {
  font-weight: 300;
  font-size: 2.4rem;
}

.footer-logo .registered {
  font-size: 0.75rem;
  vertical-align: super;
  margin-left: 2px;
  color: #333;
}

.footer-tagline {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 20px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--dark-blue);
  border-radius: 50%;
  color: var(--dark-blue);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--dark-blue);
  color: #fff;
}

/* Footer Headings */
.footer-heading {
  color: var(--dark-blue);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Quick Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--dark-blue);
  text-decoration: none;
}

/* Contact Info */
.contact-info p {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.contact-info strong {
  color: #333;
  font-weight: 700;
}

/* Copyright Bar */
.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  color: #777;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--dark-blue);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-col {
    margin-bottom: 30px;
  }
}

.main-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: block;
  padding: 15px 0;
}

.main-nav__menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
}

.main-nav__menu > li > a {
  display: flex;
  align-items: center;
  padding: 30px 10px;
  color: #000000;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

/* Updated Hover & Active State */
.main-nav__menu > li:hover > a,
.main-nav__menu > li.active > a {
  background-color: transparent;
  color: #0d6efd;
  /* Cyan text instead of background */
}

/* New Phone Button */
.btn-phone-pill {
  background-color: #0d6efd;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-phone-pill:hover {
  background-color: #0b5ed7;
}

/* Dropdown Container */
.has-dropdown {
  position: relative;
}

/* Updated Dropdown Design (Image 2) */
.dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #609eee;
  /* Soft blue from image */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

/* The pointer triangle on top of the dropdown */
.dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 35px;
  /* Aligns with the text of the nav item */
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #e2e2e2;
  /* Light grey triangle */
}

.has-dropdown:hover .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 25px;
  color: #ffffff;
  /* White text */
  font-size: 14px;
  font-weight: 500;
  border-bottom: none;
  /* Removed the border */
}

.dropdown li a:hover {
  background-color: transparent;
  color: #000000;
  opacity: 0.8;
}

/* =========================================
   RESPONSIVE LAYOUT FIXES
   ========================================= */
@media (max-width: 991px) {
  /* Hide the pill button on mobile so it doesn't crowd the layout, 
       assuming your top-bar__phone handles mobile phone display */
  .header-action-btn {
    display: none;
  }

  /* Keep your existing mobile CSS below... */
  .dropdown {
    background: var(--gray-bg);
  }

  .dropdown::before {
    display: none;
    /* Hide triangle on mobile dropdowns */
  }

  .dropdown li a {
    color: var(--text-secondary);
  }
}
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  .main-nav__menu > li > a {
    padding: 15px 6px !important;
    font-size: 14px !important;
  }
}

/* --- Responsive Layout (Mobile & Tablet) --- */
@media (max-width: 991px) {
  /* Header Responsive (Kept from before) */
  .top-bar {
    display: none;
  }

  .top-bar__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 15px 10px;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 50px;
    height: 50px;
    background: #4a4a4a;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 25px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
  }

  .top-bar__phone {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    font-size: 20px;
  }

  .top-bar__socials {
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    border-top: 1px solid var(--gray-border);
    padding-top: 10px;
  }

  .top-bar__socials a {
    border-left: none;
  }

  .top-bar__socials a:last-child {
    border-right: none;
  }

  .main-header__inner {
    flex-direction: column;
    position: relative;
  }

  .site-logo {
    padding: 20px 0;
    text-align: center;
  }

  .site-logo img {
    margin: 0 auto;
  }

  .main-nav {
    width: 100%;
    display: none;
    border-top: 1px solid var(--gray-border);
  }

  .main-nav.nav-open {
    display: block;
  }

  .main-nav__menu {
    flex-direction: column;
  }

  .main-nav__menu > li > a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-border);
  }

  .dropdown {
    position: static;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: none;
    background: var(--gray-bg);
  }

  .has-dropdown:hover .dropdown {
    display: block;
  }

  .dropdown li a {
    padding-left: 40px;
  }
}

a {
  text-decoration: none !important;
}

p{
  font-style: 18px !important;
}

.text-white{
  color: white !important;
}


.text-dark{
    color: black !important;
}

.text-primary{
  color: #0d6efd !important;
}

p{
  font-size: 18px !important;
}

@media(max-width:1024px){
  p{
    font-size: 15px !important;
  }
}