/* Override Bootstrap Danger Color */
.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

.bg-danger {
    background-color: var(--bs-danger) !important;
}

.text-danger {
    color: var(--bs-danger) !important;
}

/* Repeat for other Bootstrap classes */
.bg-success {
    background-color: var(--bs-success) !important;
}

.text-success {
    color: var(--bs-success) !important;
}

.bg-warning {
    background-color: var(--bs-warning) !important;
}

.text-warning {
    color: var(--bs-warning) !important;
}

.bg-info {
    background-color: var(--bs-info) !important;
}

.text-info {
    color: var(--bs-info) !important;
}

:root {
  /* Primary Colors */
  --bs-primary: #194d8a;         /* Core branding color */
  --bs-primary-light: #a3ceff;   /* Lighter accent of primary */
  --bs-primary-dark: #35649c;    /* Darker accent of primary */

  /* Secondary & Accent Colors */
  --bs-secondary: #82b2f4;       /* Soft secondary color */
  --bs-accent-light: #e8f4fd;    /* Soft, pale accent background */
  --bs-accent-warm: #ffe4e1;     /* Warm accent color (for light callouts) */

/* Nemophila Colors */
  --nemophila-petal: #5591d6;
  --nemophila-stem: #435e4c;
  --nemophila-leaf: #4a8c57;
  --nemophila-sky: #f0f7ff;
  --nemophila-ice: #cfe2ff;
  --nemophila-earth: #f2fff5;
  --nemophila-light: #e9ecef;
  --nemophila-dark: #35649c;

  /* Text Colors */
  --bs-text-dark: #35649c;       /* Dark text for headers */
  --bs-text-muted: #94a3b8;      /* Muted text (e.g., in footers) */
  --bs-text-light: #acccfa;      /* Lighter text for secondary info */

  /* Background Colors */
  --bs-body-bg: #f5f9fd;         /* Soft background for entire body */
  --bs-bg-light: #f8fafc;        /* Light background (consistent with your existing bg-light) */
  --bs-bg-dark: #1a365d;         /* Darker, footer-style background */

  /* Border Color */
  --bs-border-color: #dce7f5;    /* Light border for card and container elements */
  
  /* Success and Alert Colors */
  --bs-success: #70c49c;         /* Soft green for success messages */
  --bs-info: #88bde4;            /* Light blue for informational messages */
  --bs-warning: #f6c674;         /* Muted amber for warnings */
  --bs-danger: #e68a8a;          /* Soft red for errors or alerts */
  --border-light: #e9ecef;
  --shadow-sm: 0 3px 9px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  /* Shadows */
  --bs-shadow-soft: 0 4px 20px rgba(62, 137, 224, 0.15);  /* Adjusted for your blue theme */
  --bs-shadow-medium: 0 8px 30px rgba(62, 137, 224, 0.2);

  /* Border Radius */
  --bs-border-radius: 12px;      /* Rounded corners */

/*  --bg-gradient: linear-gradient(135deg, rgba(43, 107, 199, 0.8) 0%, rgba(107, 163, 232, 0.2) 100%);*/
  --bg-gradient: linear-gradient(135deg, rgba(17, 51, 89, 0.6) 0%, rgba(107, 163, 232, 0.2) 100%);
  --i-gradient: linear-gradient(135deg, rgba(43, 107, 199, 1) 0%, rgba(107, 163, 232, 0.7) 100%);

  .bg-nemophila-sky { background-color: var(--nemophila-sky) !important; }
  .bg-nemophila-earth { background-color: var(--nemophila-earth) !important; }
  .bg-nemophila-petal { background-color: var(--nemophila-petal) !important; }
  .bg-nemophila-ice { background-color: var(--nemophila-ice) !important; }
  .text-nemophila-petal { color: var(--nemophila-petal) !important; }
  .text-nemophila-stem { color: var(--nemophila-stem) !important; }
  .text-nemophila-dark { color: var(--nemophila-dark) !important; }
  .border-nemophila-petal { border-color: var(--nemophila-petal) !important; }
  .border-nemophila-stem { border-color: var(--nemophila-stem) !important; }
  .border-nemophila-light { border-color: var(--nemophila-light) !important; }

  /* Typography */
  /* Base font size */
  --body-font-size: 1rem; /* Default size for body text */
  --h1-size: 1.5rem;
  --h2-size: 1.3rem; /* h2 should be smaller than h1 */
  --h3-size: 1.2rem;  /* h3 smaller than h2 */
  --h4-size: 1.1rem;  /* h4 smaller than h3 */
  --h5-size: 1rem;    /* h5 smaller than h4 */
  --h6-size: 0.9rem;  /* h6 smallest */
}

 /* Responsive adjustments */
@media (max-width: 768px) {
  :root {
  /* Base font size */
  --body-font-size: 0.875rem; /* Default size for body text */
  --h1-size: 1.3rem;
  --h2-size: 1.2rem; /* h2 should be smaller than h1 */
  --h3-size: 1.1rem;  /* h3 smaller than h2 */
  --h4-size: 1rem;  /* h4 smaller than h3 */
  --h5-size: 0.9rem;    /* h5 smaller than h4 */
  --h6-size: 0.8rem;  /* h6 smallest */
  }
}

/* Global Styling */
a {
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    color: var(--bs-bg-dark);
}

h1 {
  font-size: var(--h1-size);
  margin-bottom: 1rem;
  font-weight: 600;
  word-break: break-word;
  line-height: 1.2;
}

h2 {
  font-size: var(--h2-size);
  white-space: normal !important; /* Remove pre-line on mobile */
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
  white-space: normal !important; /* Remove pre-line on mobile */
  color: #113359 !important;
}

h5 {
  font-size: var(--h5-size);
  color: var(--bs-primary-dark) !important;
  white-space: normal !important; /* Remove pre-line on mobile */
}

h6 {
  font-size: var(--h6-size);
}

.large {
  font-size: var(--h4-size);
  font-weight: 500;
}

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

.custom-ol {
  list-style: none;
  padding-left: 0 !important;
  line-height: 2.4;
}

        * {
            font-family: 'Noto Sans JP', sans-serif;
        }

        body {
            line-height: 1.7;
            color: var(--text-dark);
            background-color: #ffffff;
            background-image:url(../img/bg.png);
        }

        .lead {
          font-size: 1.1rem !important;
        }

        /* Links */
        .white-link {
            color: white !important;
            text-decoration: none;
            font-weight: 400;
        }

        .white-link:hover {
            color: var(--nemophila-light) !important;
            text-decoration-line: underline !important;
        }

        .darkb {
          display: none !important;
        }

        span.btmbr br {
            margin-bottom: 1rem !important;
        }

       .nobr br {
           display: block; /* or inline-block if you need the breaks to be inline */
       }

      .no-break {
           white-space: nowrap;      /* Prevents line breaks */
        }

        span.smaller {
          font-size: 81% !important;
       }

        p.smaller {
          font-size: 90% !important;
       }

        span.narrow-letter-spacing {
          letter-spacing: -0.2em;
       }

        .text-shadow {
             text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Horizontal, Vertical, Blur Radius, Color */
      }
      
       .minvh {
             min-height: 36vh !important;
      }

        .topbar {
            display: block;
            width: 100%;
            padding: 0.5rem 0;
            margin: 0;
            border: none;
            background: linear-gradient(135deg, var(--bs-primary), #3b82f6);
        }

        .top-text {
           display: inline-block;
           font-size: 0.85rem !important;
           color: white;
        }

        .module {
            padding: 0 15px;
       }

        .module.left {
            float: left;
       }

        .module.right {
            float: right;
       }

        .navbar {
            padding: 0.8rem 0  !important; /* Adjusted padding */
            margin-top: 0 !important; /* Ensure no margin */
            background: rgba(255, 255, 255, 1);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(62, 137, 224, 0.6);
            transition: all 0.3s ease-in-out; /* Added transition for shadow */
        }

        .navbar-brand {
            display: flex;
            align-items: center;
        }

        .navbar-brand img {
            width: auto;
            height: 27px !important;
            margin-right: 10px;
            transition: all 0.3s ease;
        }

        .navbar-brand img:hover {
            transform: translateY(-2px);
        }

        .navbar-nav .nav-link {
            font-size: 0.9rem !important;
            font-weight: 500;
            color: var(--bs-primary) !important;
            margin: 0 0.5rem;
            transition: all 0.3s ease;
        }

        .navbar-nav .nav-link:hover {
            color: var(--bs-primary-light) !important;
            transform: translateY(-1px);
        }

        .navbar-nav .dropdown:hover > .dropdown-menu {
            display: block;
            margin-top: 0;
       }

        .dropdown-menu {
            border-top-left-radius: 0 !important;
            border-top-right-radius: 0 !important;
            font-size: 0.9rem !important;
            width: 200px; /* Set a fixed width for consistency */
       }

        .dropdown-menu .dropdown-submenu { /* Added class for nested dropdowns */
            position: relative;
        }

        .dropdown-menu .dropdown-submenu > .dropdown-menu {
            top: 0;
            left: 100%;
            margin-top: -6px; /* Adjust as needed */
        }

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

     /* Hero Section */
        .hero-section {
            min-height: 54vh; /* Changed to min-height */
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
      }

        .hero-icon {
            width: 75px;
            height: 75px;
            background: var(--secondary-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
        }

        .number-icon {
            width: 32px;
            height: 32px;
            background: var(--secondary-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
        }

        .carousel-inner img {
            width: 100%;
            height: auto;
            object-fit: cover;
     }

/* Overlay for Gradient and SVG Icon */
       .carousel-overlay {
           position: absolute;
           top: 0;
           left: 0;
           width: 100%;
           height: 100%;
           display: flex;
           justify-content: center;
           align-items: center;
           z-index: 1;
     }

      .gradient-overlay {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: var(--bg-gradient);
          z-index: 1;
     }

      .carousel {
          position: relative; /* or absolute */
          width: 100%;
          z-index: 1; /* lower number */
     }

      .carousel-inner img {
          width: 100%;
          height: 54vh;
          object-fit: cover;
      }

      /* Text Block */
      .hero-text-container {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          z-index: 2;
          color: white;
          width: 85%; /* Ensure full width */
          max-width: 85%; /* Avoid max-width limitations */
          padding: 1.5rem 1.5rem;
          margin: 0;
      }

      .hero-content {
          max-width: 660px;
        }

    /* Banner Section */
/*.banner-section {
  background: 
    var(--bg-gradient),
    url('../img/slide3.jpg') center center / cover no-repeat;
  border-bottom: 1px solid var(--primary-dark);
  padding: 1.6rem 0.8rem 1.3rem 0.8rem;
  margin-bottom: 2rem;
  position: relative;
  height: 13vh;
  display: flex;
  align-items: center;
}*/

.banner-section {
  border-bottom: 1px solid var(--primary-dark);
  padding: 1.6rem 0.8rem 1.3rem 0.8rem;
  margin-bottom: 2rem;
  position: relative;
  height: 18vh;
  display: flex;
  align-items: center;
}

.banner-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../img/slide3.jpg') center center / cover no-repeat;
  filter: brightness(0.8); /* optional dimming */
  z-index: -2;
}

.banner-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg-gradient);
  z-index: -1;
}

      .banner-section h1 {
	   font-size: 1.45rem;
	   font-weight: 400;
	   color: #eee;
	   letter-spacing: 3px;
	   display: flex;
	   align-items: center;
	   gap: 0.6rem;
	   margin-bottom: 0.6em;
	 }
      .banner-section h1 i {
	   color: #ddd !important;
          font-size: 2.4rem;
          margin-right: 6px;
        }
       .banner-breadcrumb {
          margin-left: auto;
          font-size: 13px;
          line-height: 1.8em;
          font-weight: 400;
          letter-spacing: 1px;
          display: flex;
          align-items: center;
        }
       .banner-breadcrumb .breadcrumb {
           margin-bottom: 0;
           background: transparent;
           padding: 0;
        }
      .banner-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            content: "›";
            color: #eee;
            font-weight: 600;
        }
      .banner-breadcrumb .breadcrumb-item a {
            text-decoration: none;
            color: #f5f9f6;
        }
      .banner-breadcrumb .breadcrumb-item a: hover {
            color: #ffffff;
            text-decoration: none;
        }

        .banner-breadcrumb .breadcrumb-item.active {
            color: #eee;
            font-weight: 600;
        }

        .btn {
           font-size: 0.9rem;
        }

        .btn-sm {
           font-size: 0.9rem;
           border-radius: 7px;
        }


    .nemophila-badge {
      width: 24px;
      height: 24px;
      font-size: 14px;
      line-height: 24px;
      border-radius: 50%;
      background-color: var(--nemophila-petal);
      color: white;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    @media (max-width: 767.98px) {
      .nemophila-badge {
        width: 20px;
        height: 20px;
        font-size: 12px;
        line-height: 20px;
        min-width: 20px;
      }
    }

    .nemophila-card {
      border: none;
      box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    }

    .card-body {
      border-radius: var(--bs-border-radius);
      background-color: #fdfdfd !important;
}

    .card-body-sky {
      border-radius: var(--bs-border-radius);
      background-color: var(--nemophila-sky);
}

    .card-body-earth {
      border-radius: var(--bs-border-radius);
      background-color: var(--nemophila-earth);
}

    .table-hover-nemophila tbody tr:hover {
      background-color: rgba(94, 164, 147, 0.08);
    }

        .service-card {
           transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
           border: 1px solid #e9ecef !important;
           border-radius: var(--bs-border-radius);
           overflow: hidden;
           background: white;
        }

        .service-card:hover {
           transform: translateY(-9px);
           box-shadow: var(--bs-shadow-medium);
        }

        .service-icon {
           width: 75px;
           height: 75px;
           background: var(--i-gradient);
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;
           margin: 0 auto 20px;
           position: relative;
           overflow: hidden;
        }

        .service-icon::before {
           content: '';
           position: absolute;
           top: 0;
           left: 0;
           right: 0;
           bottom: 0;
           background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
           border-radius: 50%;
        }

        .service-icon-s {
           width: 60px;
           height: 60px;
           background: var(--i-gradient);
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;
           margin: 0 auto 20px;
           position: relative;
           overflow: hidden;
        }

        .service-icon-s::before {
           content: '';
           position: absolute;
           top: 0;
           left: 0;
           right: 0;
           bottom: 0;
           background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
           border-radius: 50%;
        }

        .service-icon-case {
           width: 60px;
           height: 60px;
           background: var(--i-gradient);
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;
           position: relative;
           overflow: hidden;
        }

        .service-icon-case::before {
           content: '';
           position: absolute;
           top: 0;
           left: 0;
           right: 0;
           bottom: 0;
           background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
           border-radius: 50%;
        }

        .service-number {
           width: 36px;
           height: 36px;
           background: var(--i-gradient);
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;
           margin: 0 auto 20px;
           position: relative;
           overflow: hidden;
        }

        .service-number::before {
           content: '';
           position: absolute;
           top: 0;
           left: 0;
           right: 0;
           bottom: 0;
           background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
           border-radius: 50%;
        }

        .section-title {
            position: relative;
            display: inline-block;
            margin-bottom: 3rem;
            font-size: 1.3rem;
            color: var(--bs-text-dark);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 0; /* Adjusted for better centering */
            transform: translateX(0); /* Removed translateX */
            width: 100%; /* Adjusted width */
            height: 4px;
            background: var(--bg-gradient);
            border-radius: 2px;
        }

        .floating-cta {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            animation: nemophila-pulse 2s infinite;
        }

        @keyframes nemophila-pulse {
            0% { 
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(62, 137, 224, 0.4);
            }
            50% { 
                transform: scale(1.05);
                box-shadow: 0 0 0 20px rgba(62, 137, 224, 0);
            }
            100% { 
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(62, 137, 224, 0);
            }
        }

        .contact-form {
            background: white;
            border-radius: 20px;
            box-shadow: var(--bs-shadow-medium);
            position: relative;
            overflow: hidden;
        }

        .contact-form::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--bg-gradient);
        }

        .form-control:focus {
            border-color: var(--bs-primary);
            box-shadow: 0 0 0 0.2rem rgba(62, 137, 224, 0.25);
        }

        .ctabanner {
            background: linear-gradient(135deg, var(--bs-primary), #3b82f6);
            border: none;
            color: white;
        }

        /* Content Cards */
        .content-card {
            background: white;
            border-radius: 16px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .content-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .service-item {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
            position: relative;
        }

        .service-item:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

        .tab-content {
            border-radius: 16px;
        }

        .process-step {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 12px;
            border-left: 4px solid var(--secondary-color);
        }

        .step-number {
            width: 40px;
            height: 40px;
            background: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            flex-shrink: 0;
        }

        /* Modern Table */
        .pricing-table {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
        }

        .pricing-table thead th {
            background: var(--primary-color);
            color: white;
            font-weight: 600;
            padding: 1.25rem;
            border: none;
        }

        .pricing-table tbody td {
            padding: 1.25rem;
            border-bottom: 1px solid var(--border-light);
            vertical-align: middle;
        }

        .pricing-table tbody tr:hover {
            background: var(--accent-color);
        }

        /* Feature Box */
        .feature-box {
            background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
            color: white;
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            box-shadow: var(--shadow-md);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: rgba(255,255,255,0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 2rem;
        }

        /* Consultation Card */
        .consultation-card {
            background-color: var(--nemophila-earth);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
        }

        .consul-hover:hover {
            box-shadow: var(--shadow-md);
            transform: translateX(4px);
        }

        .consultation-icon {
            width: 50px;
            height: 50px;
            background: var(--accent-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary-color);
            font-size: 1.25rem;
        }

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

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

        /* Section Headers */
        .section-header {
            position: relative;
            padding-bottom: 1rem;
            margin-bottom: 2rem;
        }

        .section-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--secondary-color);
            border-radius: 2px;
        }

        .footer-section {
            background: var(--bs-bg-dark);
            font-size: 0.9rem;
            color: white;
            position: relative;
        }

        .footer-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--bg-gradient);
        }

        .footer-link {
            font-weight: 500;
            color: #acccfa !important;
            transition: all 0.3s ease;
            text-decoration: none; /* Ensure no underline by default */
        }

        .footer-link:hover {
            color: #ffffff !important;
            transform: translateY(-1px);
            text-decoration: underline; /* Add underline on hover for better UX */
        }

        .footer-brand {
            display: flex;
            align-items: center;
        }

        .footer-brand img {
            width: auto;
            height: 100%;
            margin-right: 10px;
            transition: all 0.3s ease;
        }

        .footer-brand img:hover {
            transform: translateY(-2px);
        }

        .footer-title {
            position: relative;
            display: inline-block;
            margin-bottom: 3rem;
            color: var(--bs-text-light); /* Changed to text-light for visibility */
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 0; /* Adjusted for better centering */
            transform: translateX(0); /* Removed translateX */
            width: 100%; /* Adjusted width */
            height: 3px;
            background: var(--bg-gradient); /* Changed to primary-color for visibility */
            border-radius: 2px;
        }

        .news-card {
            background: white;
            border-radius: var(--bs-border-radius);
            box-shadow: var(--shadow-soft);
            transition: all 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--bs-shadow-medium);
        }

        /* Google Maps Embed Styling */
        .map-container {
            overflow:hidden;
            padding-bottom:56.25%; /* 16:9 Aspect Ratio */
            position:relative;
            height:0;
            border-radius: var(--bs-border-radius);
            box-shadow: var(--bs-shadow-soft);
        }

        .map-container iframe {
            left:0;
            top:0;
            height:100%;
            width:100%;
            position:absolute;
            border:0;
        }

        .sitemap a {
            text-decoration: none;
            color: #0d6efd;
        }

        .sitemap h5,
        .sitemap strong {
            cursor: pointer;
            display: block;
            margin-bottom: 0.5rem;
        }

        .arrow-icon {
            margin-left: 0.4em;
            transition: transform 0.3s ease;
        }

        .sitemap-sub {
            display: none;
            margin-left: 1rem;
        }

        .sitemap-toggle.open + .sitemap-sub {
            display: block;
        }

        .sitemap-toggle.open .arrow-icon {
            transform: rotate(180deg);
        }

/* On desktop, show all submenus by default */
@media (min-width: 768px) {
        .sitemap-sub {
         display: block !important;
        }
        .sitemap h5,
        .sitemap strong {
         pointer-events: none;
        }
    }

/* On desktop, show all submenus by default */
@media (min-width: 480px) {
        .notshown {
          display: none !important;
        }
    }

@media (max-width: 1280px) {

        .navbar-brand img {
            max-height: 21px !important;
        }

        .hero-section {
            min-height: 54vh;
        }

       .hero-content {
           width: 75%;
        }

       .hero-content h1 {
           font-size: 1.6rem;
           line-height: 1;
        }

       .hero-content h4 {
           font-size: 1rem;
        }

        .footer-brand img {
            max-height: 21px !important;
        }
    }

@media (max-width: 992px) {

        .lead {
            font-size: 1rem !important;
        }

        .navbar-brand {
            text-align: center; /* Center logo on mobile */
        }

        .top-address {
            display: none !important;
        }
    }



  /* Adjust padding and margins for smaller screens */
@media (max-width: 768px) {

  p, div, li {
    font-size: 0.875rem;
  }
 .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .card {
    margin-bottom: 1rem;
  }

        .topbar {
            font-size: 0.7rem !important; /* Smaller font for topbar on mobile */
        }

        .top-text {
            font-size: 0.7rem !important; /* Smaller font for topbar on mobile */
        }

        .navbar-brand img {
            max-height: 21px !important;
        }

        .darkb {
            display: none !important; /* Hide on mobile */
        }

      .banner-section .banner-title {
	   font-size: 1.2rem;
	   letter-spacing: 2px;
	   gap: 0.5rem;
	   margin-bottom: 0.5em;
	 }

      .banner-section .banner-title i {
          font-size: 2.0rem;
          margin-right: 4px;
        }

       .breadcrumb-item {
          font-size: 11px !important;
          letter-spacing: 0;
        }

       .hero-section {
            min-height: 45vh; /* Changed to min-height */
        }

       .hero-text-container {
            width: 100% !important;
       }

       .hero-content {
           width: 100% !important;
        }

       .hero-content h1 {
           font-size: 1.3rem; /* Adjusted font size */
           line-height: 1.2;
        }

       .hero-content h4 {
           font-size: 0.85rem !important; /* Adjusted font size */
        }

        .floating-cta {
            bottom: 20px;
            right: 20px;
        }

        .service-icon {
            width: 60px; /* Adjusted size */
            height: 60px; /* Adjusted size */
        }

        .service-icon-case {
            width: 45px; /* Adjusted size */
            height: 45px; /* Adjusted size */
            min-width: 45px !important;
        }

            .hero-icon {
                width: 50px;
                height: 50px;
                font-size: 1.25rem;
            }
            
            .service-item {
                padding: 1.5rem;
            }
            
            .tab-content-wrapper {
                padding: 1.5rem;
            }
    }

@media (max-width: 575.98px) {
  .img-auto {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

  /* Adjust padding and margins for smaller screens */
@media (max-width: 398px) {
        p, div, li {
          font-size: 0.81rem;
       }
       /* Text Block */
        .hero-text-container {
          padding: 1rem 1rem;
       }

        .navbar-brand img {
            max-height: 18px !important;
        }

        .top-phone {
            display: none !important;
        }

       .hero-content h1 {
           font-size: 1.2rem; /* Adjusted font size */
           line-height: 1.2;
        }

       .hero-content h4 {
           font-size: 0.81rem !important; /* Adjusted font size */
        }
    }
