*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
body, html {
    width: 100%;
    overflow-x: hidden; 
    padding-top: 20px;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}
/* Hero Section */
.banner{
    background-color: #011F59 !important;
}
.hero { 
    width: 100%;
    height: 100vh;
    position: relative;
}
.swiper {
    width: 100%;
    height: 100%;
}

/* Background images for slides */
.swiper-slide {
    background-size: cover;
    background-position: center;
    height: 100%;
}

/* Overlay for text and buttons */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.534);
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Buttons Container */
.hero-buttons {
    margin-top: 20px;
}

/* Button Styling */
.hero-buttons a {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px;
    font-size: 18px;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    transition: 0.3s;
}

/* Button Hover Effects */
.hero-buttons .btn-primary {
    background-color: #011F59;
    border-color: #011F59;
}
.navbar-toggler {
    border-color: white; 
}

.navbar-toggler-icon {
    filter: invert(1); 
}

.hero-buttons .btn-primary:hover {
    background-color: gold;
    border-color: gold;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
}

.hero-buttons .btn-secondary:hover {
    background-color: white;
    color: black;
}

/* section 2 */
.com{padding-bottom: 100px;}

.first{
    background-color: #011F59;
    width: 100%;
    height: auto;
    position: relative;
}
.flip-box {
    background-color: transparent;
    width: 300px;
    height: 350px;
    perspective: 1000px; 
}

/* Flip Box Inner Wrapper */
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style:preserve-3d;
}

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

/* Front & Back Side */
.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides back side initially */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.flip-box-front {
    background-color: gold;
    color: black;
}

.flip-box-back {
    background-color: whitesmoke;
    transform: rotateY(180deg);
}
/* Third Section */
.featured-content {
background-color: #f8f9fa;
padding: 60px 0;
}

.materials-container {
display: flex;
overflow-x: auto;
padding: 10px 0;
gap: 20px;
scrollbar-width: thin;
scrollbar-color: #ddd #f5f5f5;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.materials-container::-webkit-scrollbar {
height: 6px;
}

.materials-container::-webkit-scrollbar-track {
background: #f5f5f5;
border-radius: 10px;
}

.materials-container::-webkit-scrollbar-thumb {
background: #ddd;
border-radius: 10px;
}

.materials-container::-webkit-scrollbar-thumb:hover {
background: #ccc;
}

.material-card {
min-width: 250px;
max-width: 250px;
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.material-thumbnail {
height: 150px;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}

.material-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}

.material-thumbnail.video {
background-color: #212529;
}

.material-thumbnail.pdf {
background-color: gray;
color: white;
}

.material-thumbnail.audio {
background-color: grey;
color: white;
}

.pdf-icon,
.audio-icon {
font-size: 48px;
opacity: 0.8;
}

.material-info {
padding: 15px;
}

.material-title {
font-size: 16px;
font-weight: 600;
margin-bottom: 5px;
line-height: 1.3;
}

.material-meta {
font-size: 12px;
color: #6c757d;
margin-bottom: 12px;
}

.material-action {
width: 100%;
}
/* forth section */
.quote_container{
  padding: 90px 15px;
  background-color: #011F59;
}
.carousel-item {
  text-align: center;
}

.content-box {
  height: 200px;
  border-radius: 0 12px;
  padding: 30px 15px;
  background-color: #fff;
  text-align: center;
  transition: 0.3s;
  border-left: 4px solid gold;
} 
.hen{
  padding-bottom: 30px;
}
.quote_author span{
  display: block;
  font-style: italic;
}
/* Fifth section */
.cta-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #000061 0%, #1CB5E0 100%);
    border-radius: 12px;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: white;
    color: #6366f1;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #f9fafb;
  }
  
  .cta-button.primary {
    background-color: #f97316;
    color: white;
  }
  
  .cta-button.primary:hover {
    background-color: #ea580c;
  }

    /* Footer Styles */
    footer {
        background-color: #011F59 !important;
        color: white;
        padding: 3rem 0 1.5rem;
        margin-top: 32px;

    }

    .footer-container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 2rem;
    }

    .footer-section {
        flex: 1;
        min-width: 250px;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .footer-heading {
        position: relative;
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 2px;
        background-color: gold;
    }

    .footer-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-list li {
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
    }

    .footer-list li i {
        margin-right: 0.5rem;
        width: 16px;
        color: gold;
    }

    .social-links a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
        display: inline-flex;
        align-items: center;
    }

    .social-links i {
        font-size: 1.1rem;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.9rem;
    }

/* Responsive adjustments */
@media (max-width: 820px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    .cta-section {
        border-radius: 0;}
    .quote_container{
        padding: 50px 5px;
        font-size: 9px;
          }
    .content-box {
            height: 150px;}
}
  /* Responsive adjustments */
  @media (max-width: 640px) {
    .cta-title {
      font-size: 2rem;
    }
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
    .content-box {
        margin: 15px;
    }
    
    .cta-button {
      width: 100%;
      max-width: 280px;
    }
    .cta-section {
        border-radius: 0;}
    .content-box {
        height: 160px;
        padding: 30px;
        font-size: 12px;
        width: 70%;
        margin: 6px auto;
        
    } 
  }
  
/* Responsive Grid for larger screens */
@media (min-width: 768px) {
.materials-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
overflow-x: visible;
}
.material-card {
min-width: auto;
max-width: none;
}
}

@media (min-width: 992px) {
.materials-container {
grid-template-columns: repeat(4, 1fr);
}
}
