 :root {
     --primary-color: #6f5dcf;
     --secondary-color: #f8f9ff;
     --text-dark: #1f2937;
     --text-light: #6b7280;
 }


 .navbar {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
     padding: 1.5rem 0;
     transition: all 0.3s ease;
     z-index: 1000;
 }

 .navbar.scrolled {
     background: rgba(255, 255, 255, 0.98);
     padding: 1rem 0;
 }

 .navbar-brand {
     font-weight: bold;
     color: var(--primary-color) !important;
     font-size: 1.8rem;
     transition: all 0.3s ease;
 }

 .navbar-brand:hover {
     transform: scale(1.05);
 }

 /* Multi-level Dropdown */
 .dropdown-menu {
     border: none;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     border-radius: 10px;
     padding: 0.5rem 0;
     animation: fadeInUp 0.3s ease;
     min-width: 250px;
 }

 .dropdown-item {
     padding: 0.75rem 1.5rem;
     transition: all 0.3s ease;
     position: relative;
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .dropdown-item:hover {
     background: var(--secondary-color);
     color: var(--primary-color);
     transform: translateX(5px);
 }

 .dropdown-submenu {
     position: relative;
 }

 .dropdown-submenu>.dropdown-item::after {
     content: '\f054';
     font-family: 'FontAwesome';
     font-weight: 900;
     font-size: 0.8rem;
     color: var(--text-light);
     transition: all 0.3s ease;
     border: none;
     right: 20px;
     position: absolute;
     opacity: .55;
     top: 12.5px;
 }

 .dropdown-submenu:hover>.dropdown-item::after {
     color: var(--primary-color);
     transform: translateX(3px);
 }

 /* Desktop submenu positioning */
 @media (min-width: 992px) {
     .dropdown-submenu .dropdown-menu {
         position: absolute;
         top: 0;
         left: 100%;
         margin-top: -1px;
         display: none;
     }

     .dropdown-submenu:hover .dropdown-menu {
         display: block;
     }
 }

 /* Mobile submenu styling */
 @media (max-width: 991.98px) {
     .dropdown-submenu .dropdown-menu {
         position: static;
         box-shadow: none;
         border-left: 3px solid var(--primary-color);
         margin-left: 1rem;
         margin-top: 0.5rem;
         background: var(--secondary-color);
         display: none;
     }

     .dropdown-submenu.show .dropdown-menu {
         display: block;
     }

     .dropdown-submenu>.dropdown-item {
         cursor: pointer;
     }

     .dropdown-submenu>.dropdown-item::after {
         content: '\f078';
         transition: transform 0.3s ease;
     }

     .dropdown-submenu.show>.dropdown-item::after {
         transform: rotate(180deg);
     }

     .navbar-nav {
         max-height: 70vh;
         overflow-y: auto;
     }

     .dropdown-menu {
         border: none;
         box-shadow: none;
         background: transparent;
         padding: 0;
     }

     .navbar-nav .dropdown-menu {
         position: static;
         float: none;
         width: auto;
         margin-top: 0;
         background-color: transparent;
         border: 0;
         box-shadow: none;
     }
 }

 /* Navbar toggler custom styling */
 .navbar-toggler {
     border: none;
     padding: 0.25rem 0.5rem;
     font-size: 1.25rem;
     background: transparent;
     display: flex;
     align-items: center;
 }

 .navbar-toggler:focus {
     box-shadow: none;
 }


 .navbar-nav .nav-link {
     color: var(--text-dark) !important;
     font-weight: 500;
     margin: 0 0.5rem;
     position: relative;
     transition: all 0.3s ease;
 }

 .navbar-nav .nav-link::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: -2px;
     top: unset;
     left: 50%;
     background: var(--primary-color);
     transition: all 0.3s ease;
     transform: translateX(-50%);
 }

 .navbar-nav .nav-link:hover::after {
     width: 100%;
 }

 .btn-primary {
     background: linear-gradient(135deg, var(--primary-color) 0%, #9382ed 100%);
     border: none;
     padding: 0.75rem 2rem;
     font-weight: 600;
     border-radius: 25px;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
 }

 /* Hero Slider Styles */
 .hero-slider {
     height: 100vh;
     position: relative;
     overflow: hidden;
     margin-top: 76px;
     /* Adjust based on navbar height */
 }

 .carousel-item {
     height: 100vh;
     background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
     display: flex;
     align-items: center;
 }

 .carousel-item .container {
     position: relative;
     z-index: 1;
 }

 .hero-content {
     z-index: 2;
     position: relative;
 }

 .hero-content h1 {
     color: var(--primary-color);
     font-weight: bold;
     font-size: 3.5rem;
     margin-bottom: 1rem;
 }

 .hero-content h2 {
     color: var(--text-dark);
     font-size: 2rem;
     margin-bottom: 1.5rem;
 }

 .hero-content p {
     color: var(--text-light);
     font-size: 1.2rem;
     line-height: 1.8;
     margin-bottom: 2rem;
 }

 /* Carousel Controls */
 .carousel-control-prev,
 .carousel-control-next {
     width: 5%;
     opacity: 0.8;
     transition: all 0.3s ease;
     z-index: 10;
 }

 .carousel-control-prev:hover,
 .carousel-control-next:hover {
     opacity: 1;
 }

 .carousel-indicators {
     bottom: 30px;
     z-index: 10;
 }

 .carousel-indicators [data-bs-target] {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     margin: 0 5px;
     background: var(--primary-color);
     opacity: 0.5;
     transition: all 0.3s ease;
 }

 .carousel-indicators .active {
     opacity: 1;
     transform: scale(1.2);
 }

 /* Features Section */
 .features-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 100px;
     background: linear-gradient(to bottom, var(--secondary-color), transparent);
 }

 .feature-card {
     background: white;
     border-radius: 20px;
     padding: 3rem 2rem;
     text-align: center;
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
     transition: all 0.4s ease;
     height: 100%;
     position: relative;
     justify-content: space-between;
     overflow: hidden;
 }

 .feature-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
     transition: all 0.6s ease;
 }

 .feature-card:hover::before {
     left: 100%;
 }

 .feature-card:hover {
     transform: translateY(-10px) scale(1.02);
     box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
 }

 .feature-icon {
     width: 100px;
     height: 100px;
     /* background: linear-gradient(135deg, var(--primary-color) 0%, #6f5dcf 100%); */
     border-radius: 20px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 2rem;
     color: white;
     font-size: 2.5rem;
     transition: all 0.4s ease;
 }

 .feature-card:hover .feature-icon {
     transform: rotateY(180deg);
 }

 /* Contact Section */
 .contact-section {
     background: #f7f5fc;
 }

 .contact-form {
     background: white;
     border-radius: 25px;
     padding: 3rem;
     box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
     position: relative;
     overflow: hidden;
 }

 /* .contact-form::before {
     content: '';
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
     animation: rotate 20s linear infinite;
 } */

 .form-control {
     border-radius: 12px;
     border: 1px solid #e5e7eb;
     padding: 1rem 1.5rem;
     margin-bottom: 1.5rem;
     transition: all 0.3s ease;
 }

 .form-control:focus {
     border-color: var(--primary-color);
     box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
     transform: translateY(-2px);
 }

 /* Footer */
 .footer {
     /* background: linear-gradient(135deg, #1f2937 0%, #374151 100%); */
     /* background: linear-gradient(135deg, #536d91 0%, #6f5dcf 50%, #5c759d 100%); */
     background: linear-gradient(135deg, #1f2937 0%, #6f5dcf 50%, #374151 100%);
     /* background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); */
     color: white;
     padding: 4rem 0 2rem;
     position: relative;
     text-align: justify;
 }

 .footer::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 1px;
     background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
 }

 .footer h5 {
     color: white;
     margin-bottom: 1.5rem;
     position: relative;
 }

 .footer h5::after {
     content: '';
     position: absolute;
     bottom: -5px;
     left: 0;
     width: 30px;
     height: 2px;
     /* background: var(--primary-color); */
     background: #fff;
 }

 .footer a {
     color: #d1d5db;
     text-decoration: none;
     margin-bottom: .5rem;
     transition: all 0.3s ease;
     position: relative;
 }

 .footer p {
     margin-bottom: .5rem;
 }

 .footer a:hover {
     color: white;
     transform: translateX(5px);
 }

 .hero-image {
     max-width: 80% !important;
 }

 /* Animations */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes slideInRight {
     from {
         opacity: 0;
         transform: translateX(100px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes zoomIn {
     from {
         opacity: 0;
         transform: scale(0.8);
     }

     to {
         opacity: 1;
         transform: scale(1);
     }
 }

 @keyframes rotate {
     from {
         transform: rotate(0deg);
     }

     to {
         transform: rotate(360deg);
     }
 }

 .section-title {
     text-align: center;
     margin-bottom: 4rem;
 }

 .section-title h2 {
     font-weight: bold;
     font-size: 3rem;
     margin-bottom: 1rem;
 }

 .section-title p {
     color: var(--text-light);
     font-size: 1.2rem;
     max-width: 600px;
     margin: 0 auto;
     flex: 1;
 }

 /* Floating Elements */
 .floating {
     animation: floating 3s ease-in-out infinite;
 }

 @keyframes floating {

     0%,
     100% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-10px);
     }
 }

 /* Responsive */
 @media (max-width: 768px) {
     .hero-content h1 {
         font-size: 2.5rem;
     }

     .hero-content h2 {
         font-size: 1.5rem;
     }

     /* 
     .hero-image {
         width: 250px;
         height: 250px;
     } */

     .contact-form {
         padding: 2rem;
     }
 }

 /* Fix for slide content */
 .carousel-item:not(.active) {
     display: none;
 }

 /* Language Selector Styles */
 .language-selector {
     border-radius: 20px;
     padding: 0.5rem 1rem;
     font-size: 0.9rem;
     font-weight: 500;
     border: 1px solid var(--primary-color);
     color: #fff !important;
     /* background: linear-gradient(135deg, var(--primary-color) 0%, #9382ed 100%); */
     border: 1px solid #fff;
     transition: all 0.3s ease;
     min-width: 80px;
 }

 .language-selector:hover {
     background: unset;
     border: 1px solid #fff;
     /* color: #fff !important; */
     /* background: linear-gradient(135deg, var(--primary-color) 0%, #9382ed 100%) !important; */
     transform: translateY(-1px);
 }

 .language-selector:focus {
     box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
 }

 .language-menu {
     border: none;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     border-radius: 10px;
     padding: 0.5rem 0;
     min-width: 180px;
     animation: fadeInUp 0.3s ease;
 }

 .language-option {
     padding: 0.75rem 1rem;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     font-size: 0.9rem;
 }

 .language-option:hover {
     background: var(--secondary-color);
     color: var(--primary-color);
     transform: translateX(5px);
 }

 .language-option.active {
     background: var(--primary-color);
     color: white;
 }

 .language-option.active:hover {
     background: var(--primary-color);
     color: white;
     transform: translateX(0);
 }

 .flag-icon {
     width: 24px;
     height: 16px;
     border-radius: 2px;
     object-fit: cover;
     border: 1px solid #e5e7eb;
 }

 .current-lang {
     font-weight: 600;
     letter-spacing: 0.5px;
 }

 .language-selector::after {
     top: -3px !important;
 }

 footer {
     text-align: justify;
 }

 .header-mobile {
     width: 100vw;
     height: 100vh;
     left: 0;
     top: 0;
     position: fixed;
     z-index: 1000;
     background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
     visibility: hidden;
     opacity: 0;
     transition: .5s all ease;
     backdrop-filter: blur(5px);
 }

 .header-mobile .header-mobile-box {
     width: 300px;
     background: #fff;
     height: 100%;
     position: absolute;
     right: -255px;
     transition: .3s all ease;
     overflow: auto;

 }

 .header-mobile-active.header-mobile {
     opacity: 1 !important;
     visibility: visible !important;
 }

 .header-mobile-active .header-mobile-box {
     right: 0% !important;
 }

 /* header mobile */
 .listMenu_mobile .m-accordion__item {
     background: none !important;
     border: none !important;
     padding: 0 !important;
     margin: 0 !important;
 }

 .listMenu_mobile .m-accordion__item-body {
     background: none !important;
     border: none !important;
 }

 .listMenu_mobile .m-accordion__item-title {
     font-size: 15px !important;
 }

 .listMenu_mobile .m-accordion__item-head {
     background: none !important;
     border: none !important;
     /* color: #fff; */
     padding: .5rem 1rem !important;
     font-size: 14px !important;
 }

 .listMenu_mobile .m-accordion__item-content {
     padding: 0px 10px !important;
 }

 .mobile-menu-header {
     position: sticky;
     top: 0;
     z-index: 10;
     padding: 20px;
 }

 .mobile-menu-footer {
     padding: 20px;
     border-top: 1px solid rgba(102, 126, 234, 0.1);
     background: rgba(102, 126, 234, 0.05);
 }

 .mobile-menu-close {
     background: none;
     border: none;
     color: white;
     font-size: 24px;
     float: right;
     padding: 0;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.2);
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
 }

 .mobile-cta-btn {
     background: linear-gradient(135deg, #667eea, #764ba2);
     border: none;
     color: white;
     font-weight: 600;
     padding: 10px 12px;
     border-radius: 12px;
     width: 100%;
     font-size: 14px;
     margin-bottom: 16px;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
 }

 .mobile-contact-info {
     display: flex;
     justify-content: space-around;
     margin-top: 16px;
 }

 .mobile-contact-item {
     text-align: center;
     color: var(--primary-color);
     text-decoration: none;
     font-size: 12px;
     transition: all 0.3s ease;
 }

 .mobile-contact-item i {
     font-size: 18px;
     margin-bottom: 4px;
     display: block;
 }

 .navbar-toggler {
     border: none;
     padding: 8px;
     border-radius: 8px;
     background: rgba(102, 126, 234, 0.1);
     position: relative;
     width: 40px;
     height: 40px;
 }

 .navbar-toggler-icon {
     background-image: none;
     width: 24px;
     height: 2px;
     background: #667eea;
     position: relative;
     transition: all 0.3s ease;
 }

 .navbar-toggler-icon::before,
 .navbar-toggler-icon::after {
     content: '';
     position: absolute;
     width: 100%;
     height: 2px;
     background: #667eea;
     transition: all 0.3s ease;
     left: 0;
 }

 .navbar-toggler-icon::before {
     top: -8px;
 }

 .navbar-toggler-icon::after {
     bottom: -8px;
 }

 .header-mobile .m-accordion__item-head[aria-expanded="true"] {
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05)) !important;
     color: var(--primary-color) !important;
 }

 .header-mobile .m-accordion__item-head[aria-expanded="true"] .m-accordion__item-title,
 .header-mobile .m-accordion__item-head[aria-expanded="true"] .m-accordion__item-mode {
     color: var(--primary-color) !important;

 }

 .header-mobile .m-accordion__item-body .m-accordion {
     border-left: 3px solid var(--primary-color) !important;
 }

 .m-accordion-icon {
     transition: .3s all ease;
 }

 .m-accordion__item-head[aria-expanded="true"] .m-accordion-icon {
     transform: rotate(180deg) !important;
 }

 /* Mobile responsive */
 @media (max-width: 991.98px) {
     .language-selector {
         padding: 0.4rem 0.8rem;
         font-size: 0.8rem;
         min-width: 70px;
     }

     .language-menu {
         min-width: 160px;
     }

     .flag-icon {
         width: 20px;
         height: 14px;
     }
 }

 /* Animation for language change */
 .language-changing {
     opacity: 0.7;
     transform: scale(0.95);
     transition: all 0.3s ease;
 }

 .language-changed {
     opacity: 1;
     transform: scale(1);
 }