/* Global Styles */
/* Reset margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Remove default list styles */
  ul, ol {
    list-style: none;
  }
  
  /* Make images responsive */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
:root {
    --primary-color: rgb(0, 4, 255);
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
    --light-bg: #fff;
    --dark-bg: #343a40;
    --border-radius: 0.25rem;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

  .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
  }
  /* navbar drop down*/
  .dropdown {
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.dropdown-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(51, 49, 96, 0.95);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: white !important;
    transition: all 0.3s ease;
    height: auto;
}



/* Mobile dropdown styles */
@media (max-width: 768px) {
    .dropdown-menu {
        width: calc(100% - 30px);
        padding-left: 20px !important; /* Indent dropdown items */
        background-color: rgba(0, 0, 0, 0.1) !important;
        position: relative;
        left: 15px !important;
        right: 15px !important;
        margin: 5px 0;
        padding: 0 !important;
        background-color: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .dropdown {
        width: 100%;
    }
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    .dropdown-menu li {
       margin: 0;
    }
    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    .dropdown-arrow {
        font-size: 0.8em;
        transition: transform 0.3s ease;
    }
    .dropdown-menu a {
        display: block;
        padding: 12px 15px !important;
        margin-left: 10px;
        border-left: 2px solid rgba(255,255,255,0.3);
        transition: all 0.3s ease;
    }
    .dropdown-toggle i {
        transition: transform 0.3s ease;
        margin-left: 8px;
    }
    
    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}
/* Navigation */
/* ===== Main Navbar Styles ===== */
.main-header {
    position: fixed !important; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(51, 49, 96, 0.9); 
    backdrop-filter: blur(5px); 
    transition: all 0.4s ease;
    padding: 15px 0;
    margin: 0 !important;
  }
  
  /* Scrolled state - slightly more opaque */
  .main-header.scrolled {
    background: rgba(51, 49, 96, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  /* Nav container */
  .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Logo */
  .logo img {
    height: 55px;
    width: auto;
    transition: all 0.3s;
  }
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-text {
    margin-left: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    font-family: Bradley Hand ITC; 
}
  /* Navigation Links */
  .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li {
    margin-left: 30px;
  }
  .nav-links > li {
    margin-left: 30px;
    position: relative;
    display: flex;
    align-items: center; 
    height: 100%; 
}
  .nav-links a {
    display: flex;
    align-items: center;
    height: 100%;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
  }
  
  /* Link hover effect */
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: white;
    transition: width 0.3s;
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  /* Scrolled state link colors */
  .main-header.scrolled .nav-links a {
    color: white; 
  }
  
  .main-header.scrolled .nav-links a::after {
    background: white;
  }
  
/* ===== Mobile Menu Styles ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    position: relative;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Active state for mobile menu */
.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        max-height: calc(100vh - 70px);
        background: #2d2d7f;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: right 0.4s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links > li {
        width: 100%;
        margin: 0;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        color: white;
        font-size: 18px;
        text-decoration: none;
        transition: all 0.3s;
    }
    
    .nav-links a:hover {
        color: #f0f0f0;
        padding-left: 10px;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    .logo {
        height: 100%;
        display: flex;
        align-items: center; 
        margin: 0 !important;
    }
    .logo img {
        height: 55px !important; 
        width: auto;
    }
    
    .main-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px !important;
        position: fixed;
        height: 60px;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(51, 49, 96, 0.9) !important;
        backdrop-filter: blur(5px) !important;
    }
}
/* Hero Section */
/*/* ===== Optimized Hero Section ===== */
body.index-page {
    background: url('../assets/indx.webp') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body.index-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* white overlay with transparency */
    z-index: -1;
    opacity: 0.8;
}

#particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Darker gradient for contrast */
    background: linear-gradient(135deg, #0a1a3a 0%, #1a3a6a 100%); 
  }
.hero {
    position: relative; /* Needed for particle positioning */
    background-color: rgba(0, 4, 255, 0.93);
    overflow: hidden;  
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Two-column grid */
.hero-content {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    height: 100%;
}

/* Text column */
.hero-text {
    color: #e9e2e2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.6s ease-out 0.2s forwards;
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Image column */
.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end; 
    height: 100%;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    /* aspect-ratio: auto; */
    transform: translateX(30px);
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.4s forwards;
}

@keyframes fadeInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Button styles - improved visibility */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem; /* Reduced space */
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
}

.btn-primary {
    background-color: var(--primary-color, #2563eb);
    color: white;
    background: #000000;
    border: 2px solid var(--primary-color, #2563eb);
    animation: fadeInUp 0.5s ease-out 0.6s forwards;
}

.btn-outline {
    background-color: var(--primary-color, #2563eb);
    color: rgb(0, 0, 0);
    background: #ffffff;
    border: 2px solid var(--primary-color, #2563eb);
    animation: fadeInUp 0.5s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hover states */
.btn-primary:hover {
    background-color: var(--primary-dark, #1e4fcd);
    transform: translateY(-2px);
}

.btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    body.index-page {
        background-attachment: scroll;
    }
    
    body.index-page::before {
        background-color: rgba(255, 255, 255, 0.9);
    }
    .hero {
        position: relative; 
        background-color: rgba(0, 4, 255, 0.93);
        padding: 5rem 1rem 2rem;
        padding-top: 70px; 
    }
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        align-items: center;
        gap: 1rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        padding: 0;
        transform: none;
        animation: none;
        text-align: center;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    .hero .particle-canvas {
        display: block;
        width: 100%;
        height: 100%;
    }
    .hero #particle-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; /* Behind hero content */
        background: linear-gradient(135deg, #0a1a3a 0%, #1a3a6a 100%);
    }
    
    /* Simplified animations for mobile */
    .hero-text {
        animation: fadeInUp 0.6s ease-out 0.2s forwards;
    }
    .hero-image img {
        max-height: 400px;
        animation: fadeInUp 0.8s ease-out 0.4s forwards;
    }
}
/* Features Section */
.features {
    padding: 4rem 0;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
}

.features-title {
    flex: 1 1 30%;
    margin-bottom: 2rem;
}

.features-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.features-grid {
    flex: 1 1 70%;
    display: grid;
    /* Changed to 2 fixed columns (remove auto-fit) */
    grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    gap: 2rem;
}

.feature-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Optional: Stack items on smaller screens */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 item per row on mobile */
    }
}

/* Testimonials */
.col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .shadow-effect {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
  border:1px solid #ECECEC;
    box-shadow: 0 19px 38px rgba(0,0,0,0.10), 0 15px 12px rgba(0,0,0,0.02);
  }
  .mx-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
  }
  .text-primary {
    color: var(--primary-color) !important;
  }
  #customers-testimonials .shadow-effect p {
    font-family: inherit;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 17px 0;
    font-weight: 300;
  }
  .testimonial-name {
    margin: -17px auto 0;
    display: table;
    width: auto;
    background: #3190E7;
    padding: 9px 35px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
  }
  #customers-testimonials .item {
    text-align: center;
    padding: 50px;
    margin-bottom:80px;
    opacity: .2;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  #customers-testimonials .owl-item.active.center .item {
    opacity: 1;
    -webkit-transform: scale3d(1.0, 1.0, 1);
    transform: scale3d(1.0, 1.0, 1);
  }
  .owl-carousel .owl-item img {
    transform-style: preserve-3d;
    max-width: 90px;
    margin: 0 auto 17px;
  }
  #customers-testimonials.owl-carousel .owl-dots .owl-dot.active span,
  #customers-testimonials.owl-carousel .owl-dots .owl-dot:hover span {
    background: #3190E7;
    transform: translate3d(0px, -50%, 0px) scale(0.7);
  }
  #customers-testimonials.owl-carousel .owl-dots{
  display: inline-block;
  width: 100%;
  text-align: center;
  }
  #customers-testimonials.owl-carousel .owl-dots .owl-dot{
  display: inline-block;
  }
  #customers-testimonials.owl-carousel .owl-dots .owl-dot span {
    background: #3190E7;
    display: inline-block;
    height: 20px;
    margin: 0 2px 5px;
    transform: translate3d(0px, -50%, 0px) scale(0.3);
    transform-origin: 50% 50% 0;
    transition: all 250ms ease-out 0s;
    width: 20px;
  }
  .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
  }


/* CTA Section */
.cta {
    padding: 2rem 0;
}

.cta-container {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cta-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    opacity: 0.9;
}

.cta-button {
    text-align: center;
}

.cta-button p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #e9ecef;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-info {
    flex: 1 1 40%;
    margin-bottom: 2rem;
}

.footer-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-links {
    flex: 1 1 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-links a {
    text-decoration: none;
}
.links-column ul li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.links-column ul li br {
    display: block;
    content: "";
    margin: 0.5rem 0;
}

.links-column {
    flex: 1 1 45%;
    margin-bottom: 1.5rem;
}

.links-column h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.links-column ul li a:hover {
    color: var(--primary-color);
}
.footer-links a {
    color: #333;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.links-column ul li:last-child {
    margin-top: 1rem;
    line-height: 1.6;
}

.links-column ul li {
    margin-bottom: 0.8rem;
}

.links-column ul li br {
    display: block;
    content: "";
    margin: 0.5rem 0;
}
.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
    font-size: 0.9rem;
}
/* Footer Mobile Responsive Styles */
@media (max-width: 768px) {
    .footer {
      padding: 2rem 1rem 1rem !important;
    }
  
    .footer-content {
      flex-direction: column !important;
      gap: 2rem !important;
    }
  
    .footer-info, 
    .links-column {
      flex: 1 1 100% !important;
      text-align: center !important;
      margin-bottom: 1.5rem !important;
    }
  
    .footer-links {
      width: 100% !important;
      flex-direction: column !important;
    }
    
    .links-column {
      margin-bottom: 2rem !important;
    }
  
    .links-column ul {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      padding: 0 !important;
    }
  
    .links-column li {
      margin-bottom: 0.8rem !important;
    }
  
    .footer-copyright {
      margin-top: 1rem !important;
      padding-top: 1.5rem !important;
      font-size: 0.9rem !important;
    }
  
    /* Contact numbers alignment */
    .links-column ul li:last-child {
      text-align: center !important;
      margin-top: 1rem !important;
      line-height: 1.6 !important;
    }
  }
    
    /* Social links alignment */
    .social-icons {
        justify-content: center;
    }


/* Responsive Styles */
@media (max-width: 992px) {
    .hero-text, .hero-image {
        flex: 1 1 100%;
    }
    
    .hero-text {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-title, .features-grid {
        flex: 1 1 100%;
    }
}

/* Navbar Styles */
.navbar {
    background-color: rgb(0, 4, 255);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
}

.navbar-brand img {
    margin-right: 0.5rem;
}

.navbar-menu {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Mobile Toggle Button */
.navbar-toggler {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }
    
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgb(0, 4, 255);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        padding-top: 60px;
    }
    
    .navbar-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 2rem;
    }
    
    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.5rem 1rem;
    }
    
    /* Hamburger animation */
    .navbar-toggler.active .toggler-icon:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .navbar-toggler.active .toggler-icon:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggler.active .toggler-icon:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Mobile Toggle Button */
.navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.toggler-icon {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .navbar-toggler {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgb(0, 4, 255);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
    }
    
    .navbar-menu.active {
        right: 0;
    }
    
    .navbar-menu ul {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-menu li {
        margin: 1rem 0;
    }
    
    /* Hamburger animation */
    .navbar-toggler.open .top-bar {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggler.open .middle-bar {
        opacity: 0;
    }
    
    .navbar-toggler.open .bottom-bar {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info, .links-column {
        flex: 1 1 100%;
    }
}

/* About Page Specific Styles */
body.about-page {
    background: url('../assets/abt.webp') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    padding-top: 55px;
}

body.about-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15); /* white overlay with transparency */
    z-index: -1;
    opacity: 0.8;
}

.about-header {
    padding: 5rem 0;
    text-align: center;
    margin-top: 0 !important;
    background-color: rgba(248, 249, 250,   0.70) !important;
}

.about-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.about-header p {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.about-section {
    background-color: rgba(248, 249, 250,   0.70) !important;
    padding: 2rem;
}

.about-section.bg-light {
    background-color: rgba(248, 249, 250,   0.70) !important;
}

.about-section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-section-content.reverse {
    flex-direction: row-reverse;
}

.about-image, .about-text {
    flex: 1 1 45%;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
}
.btn-abt {
    background-color: var(--primary-color, #2563eb);
    color: white;
    background: #000000;
    border: 2px solid var(--primary-color, #2563eb);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.5s ease-out 0.6s forwards;
}

.btn-abt:hover {
    background-color: var(--primary-color, #2563eb);
    border-color: var(--primary-color, #2563eb);
}

a.btn-abt {
    text-decoration: none;
}

/* Team Section */
/* Team Section */
.team {
    background-color: rgba(248, 249, 250, 0.70) !important;
    padding: 4rem 0;
    text-align: center;
}

.team .header {
    margin-bottom: 3rem;
}

.team .header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team .header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.img-block {
    transition: transform 0.3s;
    margin-bottom: 2rem;
}

.img-block:hover {
    transform: translateY(-5px);
}

.img-block img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f1f1f1;
    margin: 0 auto;
}

.img-block .content {
    margin-top: 1rem;
}

.img-block .content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.img-block .content p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.social-icons a {
    color: #6c757d;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.social-icons a:hover {
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .team-members {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .img-block img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
}

@media (max-width: 576px) {
    .about-section-content, 
    .about-section-content.reverse {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 1 1 100%;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Materials Page Specific Styles */
.materials-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.material-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.material-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.material-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin-top: auto;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0, 4, 255); /* Flame Learnings theme color */
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #0003cc;
}

.download-btn i {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Materials Page Background */
body.materials-page {
    background: url('../assets/std.webp') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body.materials-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.80); 
    z-index: -1;
    opacity: 0.8;
}

.materials-section {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    background-color: transparent;
}

/* Make cards opaque for better readability */
.material-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body.materials-page {
        background-attachment: scroll;
    }
    
    body.materials-page::before {
        background-color: rgba(255, 255, 255, 0.9); /* more opaque on mobile */
    }
    
    .material-card {
        background-color: rgba(255, 255, 255, 0.98);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-header h1 {
        font-size: 2rem;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-header h1 {
        font-size: 1.75rem;
    }
    
    .material-card {
        padding: 1rem;
    }
    
    .material-card h2 {
        font-size: 1.25rem;
    }
}

/* FAQ Page Specific Styles */
/* ====================== */
.faq-section {
    position: relative;
    z-index: 1;
    background-color: transparent;
    padding: 4rem 0;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .faq-page .faq-text h1 {
        font-size: 1.8rem !important; 
        text-align: left !important; 
        padding: 0 !important; 
    }
    
    .faq-page .faq-question h3 {
        font-size: 1.1rem !important;
        text-align: left !important;
        padding-right: 30px; 
    }
    
    .faq-page .faq-container {
        padding: 0 !important;
        text-align: left !important;
    }
    
    .faq-page .faq-answer p {
        text-align: left !important;
    }

    body.faq-page {
        background-attachment: scroll;
    }
    body.faq-page::before {
        opacity: 0.3;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .faq-item {
        background-color: rgba(255, 255, 255, 0.95);
    }
}
@media (max-width: 480px) {
    .faq-page .faq-text h1 {
        font-size: 1.6rem !important; 
    }
}
.faq-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.faq-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.faq-text {
    flex: 1 1 60%;
    min-width: 300px;
}

.faq-image {
    flex: 1 1 35%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.faq-image img {
    width: 100%;
    height: auto;
    display: block;
}

.faq-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.faq-text h1 strong {
    font-weight: 900;
    color: var(--primary-color);
}

.faq-container {
    
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question i.fa-question-circle {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.25rem;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.toggle-icon {
    margin-left: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .faq-content {
        flex-direction: column;
    }
    
    .faq-text h1 {
        font-size: 2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-text h1 {
        font-size: 1.75rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}
/* Contact Page Specific Styles */
body.contact-page {
    background: url('../assets/contact.webp') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body.contact-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.80); 
    z-index: -1;
    opacity: 0.8;
}


.contact-section {
    padding: 4rem 0;
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    border-radius: 0.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;   
}

.contact-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e9ecef;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 1.75rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
}
.btn-whatsapp {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background-color: #0000ff;
    color: white;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #7df797;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    margin: 0 0.5rem;
    font-size: 1.25rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}
/* map */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    height: 0;
  }
  .map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
#particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Darker gradient for contrast */
    background: linear-gradient(135deg, #0a1a3a 0%, #1a3a6a 100%); 
  }

/* Make hero section semi-transparent */
.hero {
  background-color: rgba(0, 4, 255, 0.85) !important; 
  position: relative; /* Ensures particles appear beneath */
}

/* Other sections remain solid white */
.features, .testimonials-section, .cta, .footer {
  background-color: white;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}
  
 

  .about-header {
    margin-top: 80px; 
  }

  h1, .h1, h2, .h2 {
    font-family: 'Berlin Sans FB', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: calc(1.375rem + 1.5vw);
  }
  
  /* Mobile heading adjustments */
@media (max-width: 768px) {
    h1, .h1, h2, .h2 {
      font-size: calc(1.25rem + 1.5vw) !important;
      line-height: 1.3 !important;
      max-width: calc(100% - 2rem);
    }
    
    /* Specific page adjustments */
    .hero-text h1 {
      font-size: calc(1.5rem + 1vw) !important;
    }
    
    .about-header h1,
    .team .header h1 {
      font-size: 2rem !important;
    }
  }
 /* Add this to your styles.css file */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6,
    .h1, .h2, .h3, .h4, .h5, .h6 {
      text-align: center !important;
      padding: 0 15px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
  
    /* Specific adjustments for different heading types */
    .hero-text h1,
    .about-header h1,
    .section-header h1,
    .faq-text h1,
    .contact-header h1,
    .team .header h1 {
      font-size: 1.8rem !important;
      line-height: 1.3 !important;
      margin-bottom: 1rem !important;
    }
  
    .about-text h2,
    .faq-question h3,
    .contact-card h3,
    .feature-item h3 {
      font-size: 1.5rem !important;
      line-height: 1.3 !important;
    }
  
    /* Ensure containers have proper padding */
    .container,
    .section-header,
    .about-header-content,
    .faq-text {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
  
    /* Center-align all text in mobile for consistency */
    .about-text p,
    .section-header p,
    .faq-answer p,
    .contact-header p {
      text-align: center !important;
      padding: 0 10px !important;
    }
  }
/* video */

  .responsive-video {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .responsive-video {
        max-height: 300px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .hero-text h2 {
      font-size: 1.6rem !important; 
      line-height: 1.2 !important; 
      display: inline-block;
      width: 100%;
      padding: 0 10px; 
      box-sizing: border-box;
      word-spacing: normal; 
    }
  
  
    .hero-text h2 {
      white-space: pre-line; 
    }
  }

  /* mobile alignment for lower pixels */
  @media (max-width: 400px) {  
    .menu-toggle {
        padding: 10px;
    }
    
    .nav-links {
        width: 100%;
        right: -100%;
        padding: 10px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .nav-links a {
        padding: 10px 5px;
        font-size: 14px;
    }
}

/* Hide logo text on mobile devices */
@media (max-width: 400px) {  
    .logo-text {
        display: none !important;
        visibility: hidden !important;
    }

}