@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
@font-face {
    font-family: IRANsans;
    src: url('../font/FontsFree-Net-ir_sans.ttf') format('truetype');
  }


h1{

    font-weight: bold;
    color: #f16722;
    font-family: IRANsans;
}
h2{
    font-family: IRANsans;
    font-weight: bold;
    color: #000;
}
h3{
    font-weight: bold;
    color: #f16722;
    font-family: IRANsans;
}
p{
    font-family: IRANsans;
}

h1 span{
    color:  #f16722;;
}
body{
    direction: rtl !important;
    font-family: IRANsans !important;
}
    a{
        font-family: IRANsans !important;
    }
/* ==================================================== */
.top-bar {
    background-color: #ffd700;
    color: white;
    padding: 5px 0;
}
.social-icons{
    font-size: 0;
    display: flex;
}
.social-icons a {
    color: #ffffff;
    margin: 0 10px;
    transition: 0.3s;
    font-size: 16px;
}
.social-icons a:hover {
    color: #ddd;
}
.bottom-bar {
    background-color: white;
    padding: 10px 0;
    border-bottom: 3px solid #f16722;
}
.logo img {
    max-height: 60px;
}
.contact-info {
    color: #f16722;
    font-weight: bold;
}
.languages a.active {
    font-weight: bold; /* Bold text for active link */
    color: #000000; /* Blue color for active link */
    text-decoration: none; /* Underline for active link */
}
.languages a{
    text-decoration: none;
    color: #ffffff;
    padding: 0 5px;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;


}
/* ========================================================= */
.header-top {
    background: #fff;
    padding: 10px 0;
    overflow: hidden !important;
}
@media (max-width:650px){
    .header-top {
      text-align: center !important;
    }
}
.logo img {
    max-height: 100px;
}
.logo{
    display: flex;
    align-items: center;
    justify-content: start;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: end;
}

@media (max-width:650px){
    .logo{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-info {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.contact-info i {
    font-size: 24px;
    margin-left: 8px;
    color: #f16722;
}

.contact-info span{
    direction: ltr;
}
.navbar {
    background-color: #f16722;
    z-index: 100;
    position: sticky;
    top: 0;
}
.navbar-toggler span{
    color: #fff !important;
    border: none;

}
.navbar .nav-link {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.request-info {
    background: #ae4612;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    border: none;
}
.dropdown-menu {
    direction: rtl !important;
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-size: 14px;
    text-align: right;

}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}



.dropdown-menu a {
    direction: rtl !important;
    display: block;
    color: black;
    padding: 5px 0;
    text-decoration: none;
    text-decoration: none;
    text-align: right;
}

.dropdown-menu a:hover {
    text-decoration: none;
    background-color: #dfdfdf;
}
/* ===========================================carousel============= */
#schoolCarousel {
    height: 70vh; /* Set the height of the carousel */
  }

  .carousel-item {
    height: 100%; /* Ensure each carousel item takes the full height */
    position: relative; /* Position the caption correctly */
  }

  /* Default Caption Style */
  .carousel-caption {
    position: absolute;
    bottom: 40%;
    right: 50%;
    transform: translateX(-50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    text-align: center;
    width: 100%;
    opacity: 0; /* Initially hidden */
    animation: captionAnimation 1s forwards;
    animation-delay: 1s;
  }

  /* Caption Animation */
  @keyframes captionAnimation {
    from {
      transform: translateX(50%) translateY(-20px); /* Start from above */
      opacity: 0; /* Invisible at start */
    }
    to {
      transform: translateX(50%) translateY(0); /* Final position */
      opacity: 1; /* Fully visible */
    }
  }

  /* Caption Text Styling */
  .carousel-caption h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
    margin-bottom: 10px;
  }

  .carousel-caption span {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
    color: #ffffff;
  }

  .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  /* Responsive Caption Fix for Small Screens */
  @media (max-width: 768px) {
    .carousel-caption {
      bottom: 50%; /* Move caption higher */
      left: 50%;
      transform: translateX(-50%);
      padding: 10px;
      width: 90%; /* Adjust width for better readability */
    }

    .carousel-caption h1 {
      font-size: 2rem; /* Smaller font size for small screens */
    }

    .carousel-caption span {
      font-size: 2rem; /* Smaller font size for small screens */
    }

    .carousel-caption p {
      font-size: 1rem; /* Smaller font size for small screens */
    }
  }

  /* Make carousel images responsive */
  .carousel-inner img {
    width: 100%;
    height: 75vh;
    object-fit: cover; /* Ensure the image covers the container */
  }

/* ========================================== */
 /* استایل برای کارت‌ها */
 .custom-card {
    position: absolute;
    top: 90%; /* برای اینکه کارت‌ها از کاروسل بیرون بیایند */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 2 !important;

}

.card {
    width: 100%;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 10px;
}

.card img {
    width: 100%;
    height: 300px;
}

.card-body {
    padding: 20px;
    color: white;
}

.purple-bg { background-color: #f16722; } /* پس‌زمینه بنفش */
.green-bg { background-color: #f16722; } /* پس‌زمینه سبز */

    /* استایل کلی بخش */
    .about-section {
        margin-top: 70vh !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 50px 100px;
        background-color: #ffffff;
    }
    @media (max-width:650px){
        .about-section {
            margin-top: 166vh !important;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 50px 100px;
            background-color: #ffffff;
        }

        /* استایل برای کارت‌ها */
 .custom-card {
    position: absolute;
    top: 80%; /* برای اینکه کارت‌ها از کاروسل بیرون بیایند */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 20px;

}
    }

    /* استایل متن */
    .about-content {
        flex: 1;
        padding-right: 50px;
    }

    .about-content h1 {
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-size: 36px;
        font-weight: bold;
        color: #f16722;
    }

    .about-content h1 span {
        color: #000;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }

    .about-content p {
        font-size: 18px;
        color: #000;
        line-height: 1.6;
    }

    .highlight-text {
        font-weight: bold;
        color: #000;
        font-size: 20px;
    }

    /* استایل دکمه */
    .btn-read-more {
        background-color: #000;
        color: #fff;
        padding: 12px 24px;
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        display: inline-block;
        margin-top: 20px;
    }

    .btn-read-more:hover {
        background-color: #000;
        color: #fff;
    }

    /* استایل تصویر */
    .about-image {
        flex: 1;
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
        height: auto;
    }

    /* واکنش‌گرایی برای موبایل */
    @media (max-width: 992px) {
        .about-section {
            flex-direction: column;
            text-align: center;
            padding: 30px;
        }

        .about-content {
            padding-right: 0;
        }

        .about-image {
            margin-top: 20px;
        }
    }


/* ====================About Page============================================ */
.about-us .about-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .structure .fa-3x {
    color: #f16722; /* Blue color for icons */
  }

  .structure h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #222;
  }

  .structure p {
    font-size: 1rem;
    color: #555;
  }

  .vision-mission-values .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .vision-mission-values .card:hover {
    transform: translateY(-10px);
  }

  .vision-mission-values .fa-3x {
    color: #f16722; /* Green color for icons */
  }

  .vision-mission-values .card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
  }

  .vision-mission-values .card-text {
    font-size: 1rem;
    color: #555;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .about-us .about-text {
      font-size: 1rem;
    }

    .structure h3 {
      font-size: 1.25rem;
    }

    .structure p {
      font-size: 0.9rem;
    }

    .vision-mission-values .card-title {
      font-size: 1.25rem;
    }

    .vision-mission-values .card-text {
      font-size: 0.9rem;
    }
  }












    /* =====================footer============================================== */
    .footer {
        /* background: url('https://qataratnoor.edu.af/uploaded/2025-03/ilgar1741688583.jpg') center/cover no-repeat; */
        position: relative;
        color: white;
        padding: 50px 10%;
        margin-top: 2rem;
        overflow: hidden;
    }
    .footer img{
        position: absolute;
        height: 100%;
        top: 0;
        z-index: 1;
    }

    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8); /* لایه تیره */
        z-index: 2;
    }

    .footer-content {
    display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        position: relative;
        z-index: 2;
    }
    .footer-section {
        width: 22%;
    }
    @media (max-width:650px){
        .footer-content {
             display: block;
                position: relative;
                z-index: 2;
                width: 100%;
                padding: 0 10px;
            }
            .footer-section {
                width: 100%;

                margin-top: 5px;
            }
    }



    .footer-section h3 {
        color: #fff;
        font-size: 18px;
        margin-bottom: 15px;
        font-weight: bold;
        font-family: 'Lobster Two', cursive;
    }

    .footer-section p, .footer-section a {
        font-size: 14px;
        color: #bbb;
        text-decoration: none;
        line-height: 1.8;
    }

    .footer-section a:hover {
        text-decoration: underline;
    }

    .footer-section .social-icons{
        display: flex;
        justify-content: start;
        margin: 0 !important;
    }
    .footer-section .social-icons a {
        color: white;
        margin-right: 10px;
        display: inline-block;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        border: 1px solid white;
    }

    .footer-bottom {
        text-align: center;
        padding: 15px 0;
        background: rgba(0, 0, 0, 0.9);
        position: relative;

        color: #fff;
    }

    .footer-bottom a {
        color: white;
        margin: 0 10px;
        font-size: 14px;
        text-decoration: none;
    }

    .scroll-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: #f16722;
        color: #fff;
        text-align: center;
        line-height: 40px;
        font-size: 18px;
        cursor: pointer;

        display: none;
        z-index: 5;
    }

    .scroll-to-top:hover {
        color: #000;
    }
/* ====================================================================== */
.breadcrumb-section {
    position: relative;
    width: 100%;
    height: 250px; /* تنظیم ارتفاع */
    background: url('../img/cta-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.breadcrumb-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* لایه تیره روی تصویر */
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
}

.breadcrumb-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    font-size: 16px;
}

.breadcrumb-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: #fff;
}
/* ============================================================== */
.section-title span {
    color: #000000; /* Highlight color for "Our" */
  }

  .program-card .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .program-card .card:hover {
    transform: translateY(-10px);
  }

  .program-card .card-img-top {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover; /* Ensures the image covers the area */
  }

  .program-card .card-body {
    padding: 20px;
  }

  .program-card .card-title {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: #222;
  }

  .program-card .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .program-card .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }

  .program-card .btn-primary:hover {
    background-color: #0056b3;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .program-card .card-title {
      font-size: 1.5rem;
    }

    .program-card .card-text {
      font-size: 0.9rem;
    }

    .program-card .btn-primary {
      width: 100%;
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }
/* ========================News============================================= */
.news-card {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    direction: rtl !important;
  }

  .news-image img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-left: 20px;
  }

  .news-content {
    flex: 1;
  }

  .news-title {
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #222;
  }

  .news-date {
    font-size: 0.9rem;
    color: #777;
    margin: 0 0 10px;
  }

  .news-summary {
    font-size: 1rem;
    color: #555;
    margin: 0 0 15px;
  }

  .read-more {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
  }

  .read-more:hover {
    text-decoration: underline;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .news-card {
      flex-direction: column;
    }

    .news-image img {
      max-width: 100%;
      margin-right: 0;
      margin-bottom: 15px;
    }
  }
  /* ========================Events===================================================== */
  .events-container {
    width: 100%;
    margin: 20px auto;
  }

  .event-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .event-card {
    position: relative;
    width: calc(33.33% - 20px); /* Adjust width for 3 cards in a row */
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }

  .event-card:hover {
    transform: scale(1.05);
  }

  .event-image {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures the image covers the area */
    display: block;
  }

  .event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    color: #fff;
    padding: 20px;
    text-align: left;
  }

  .event-title {
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #fff;
  }

  .event-date {
    font-size: 1rem;
    margin: 0;
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .event-card {
      width: calc(50% - 20px); /* 2 cards in a row for tablets */
    }
  }

  @media (max-width: 768px) {
    .event-card {
      width: 100%; /* 1 card in a row for mobile */
      max-width: 100%;
    }
  }
  /* =============================NewsDetails============================================ */
  .news-detail .news-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
  }

  .news-detail .news-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
  }

  .news-detail .news-content {
    font-size: 1.1rem;
    color: #555;
  }
  .news-detail img{
    width: 40%;
  }
  .news-detail .news-content p {
    margin-bottom: 20px;
  }

  .other-news .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
  }

  .news-cards {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .news-cards:hover {
    transform: translateY(-5px);
  }

  .news-cards img {
    border-radius: 8px;
    width: 100px;
    padding-right: 5px;
  }

  .news-cards .news-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #222;
  }

  .news-cards .news-card-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
  }

  .news-cards .btn {
    width: 100%;
    margin-top: 10px;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .news-detail .news-title {
      font-size: 2rem;
    }

    .other-news .section-title {
      font-size: 1.75rem;
    }

    .news-card .news-card-title {
      font-size: 1.1rem;
    }
  }
  .other-new-a{
    text-decoration: none;
  }
  /* ===============================Event Details======================================== */

  .event-detail .event-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
  }

  .event-detail .event-meta {
    font-size: 1rem;
    color: #777;
    margin-bottom: 20px;
  }

  .event-detail .event-meta i {
    margin-right: 5px;
  }

  .event-detail .event-content {
    font-size: 1.1rem;
    color: #555;
  }

  .event-detail .event-content h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #222;
  }

  .event-detail .event-content ul {
    margin-bottom: 20px;
  }

  .event-detail .event-content ul li {
    margin-bottom: 10px;
  }

  .related-events .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
  }

  .event-card-detail {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .event-card-detail:hover {
    transform: translateY(-5px);
  }

  .event-card-detail img {
    border-radius: 8px;
  }

  .event-card-detail .event-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #222;
  }

  .event-card-detail .event-card-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
  }

  .event-card-detail .event-card-meta i {
    margin-right: 5px;
  }

  .event-card-detail .btn {
    width: 100%;
    margin-top: 10px;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .event-detail .event-title {
      font-size: 2rem;
    }

    .related-events .section-title {
      font-size: 1.75rem;
    }

    .event-card-detail .event-card-title {
      font-size: 1.1rem;
    }
  }
  /* =========================Needy-students=================================================== */
  .needy-students {
    background-color: #fff;
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f16722;
  }

  .section-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .needy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
  }

  .needy-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
  }

  .needy-list li i {
    color: #28a745; /* Green color for icons */
    margin-right: 10px;
  }

  .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
  }

  .btn-primary:hover {
    background-color: #0056b3;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .section-description {
      font-size: 1rem;
    }

    .needy-list li {
      font-size: 0.9rem;
    }

    .btn-primary {
      width: 100%;
      padding: 10px 20px;
      font-size: 1rem;
    }
  }
  /* =========================Education page========================================== */
  .program-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
  }

  .program-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .program-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
  }

  .program-features, .courses-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
  }

  .program-features li, .courses-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
  }

  .program-features li i {
    color: #28a745; /* Green color for icons */
    margin-right: 10px;
  }

  .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
  }

  .btn-primary:hover {
    background-color: #0056b3;
  }

  .cta {
    background-color: #f8f9fa;
    padding: 60px 0;
  }

  .cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
  }

  .cta-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
  }

  .footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .program-title {
      font-size: 1.75rem;
    }

    .program-description {
      font-size: 1rem;
    }

    .program-subtitle {
      font-size: 1.25rem;
    }

    .program-features li, .courses-list li {
      font-size: 0.9rem;
    }

    .btn-primary {
      width: 100%;
      padding: 10px 20px;
      font-size: 1rem;
    }

    .cta-title {
      font-size: 1.75rem;
    }

    .cta-description {
      font-size: 1rem;
    }
  }
  /* =========================Regulation======================================== */

.intro-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
  }

  .section-subtitle {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #222;
  }

  .accordion-button {
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
  }

  .accordion-body {
    font-size: 1rem;
    color: #555;
  }

  .accordion-body ul {
    padding-right: 20px;
  }

  .accordion-body ul li {
    margin-bottom: 10px;
  }

  .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .card:hover {
    transform: translateY(-10px);
  }

  .card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
  }

  .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }

  .btn-primary:hover {
    background-color: #0056b3;
  }

  .footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .intro-text {
      font-size: 1rem;
    }

    .section-subtitle {
      font-size: 1.5rem;
    }

    .accordion-button {
      font-size: 1rem;
    }

    .accordion-body {
      font-size: 0.9rem;
    }

    .card-title {
      font-size: 1.25rem;
    }

    .card-text {
      font-size: 0.9rem;
    }

    .btn-primary {
      width: 100%;
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }

  /* ==============================Newsss=================================================== */
  .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .card:hover {
    transform: translateY(-10px);
  }

  .card-img-top {
    border-radius: 10px 10px 0 0;
  }

  .card-body {
    padding: 20px;
  }

  .card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #222;
  }

  .card-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
  }

  .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }

  .btn-primary:hover {
    background-color: #0056b3;
  }

  .footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .card-title {
      font-size: 1.25rem;
    }

    .card-text {
      font-size: 0.9rem;
    }

    .btn-primary {
      width: 100%;
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }
  /* ====================================Gallery==================================== */

.gallery-image {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  /* Lightbox Override Styles */
  .lightbox .lb-image {
    border-radius: 10px;
  }

  .lightbox .lb-nav a.lb-prev,
  .lightbox .lb-nav a.lb-next {
    opacity: 1;
  }

  .lightbox .lb-close {
    opacity: 1;
  }

  .footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .gallery-image {
      width: 100%;
    }
  }
  /* ========================Needy Students========================== */
  .section-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    align-items: start;
  }

  .section-subtitle {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #222;
  }

  .needy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
  }

  .needy-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
  }

  .needy-list li i {
    color: #28a745; /* Green color for icons */
    margin-right: 10px;
  }

  .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
  }

  .btn-primary:hover {
    background-color: #0056b3;
  }

  .cta {
    background-color: #f8f9fa;
    padding: 60px 0;
  }

  .cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
  }

  .cta-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
  }

  .footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .section-description {
      font-size: 1rem;
    }

    .section-subtitle {
      font-size: 1.5rem;
    }

    .needy-list li {
      font-size: 0.9rem;
    }

    .btn-primary {
      width: 100%;
      padding: 10px 20px;
      font-size: 1rem;
    }

    .cta-title {
      font-size: 1.75rem;
    }

    .cta-description {
      font-size: 1rem;
    }
  }
  /* =============================Document Details===================================== */
  document-details {
    padding: 60px 0;
  }

  .document-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f16722;
  }

  .document-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
  }

  .section-subtitle {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #222;
  }

  .document-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
  }

  .document-highlights li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
  }

  .document-highlights li i {
    color: #28a745; /* Green color for icons */
    margin-right: 10px;
  }

  .document-details {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .card:hover {
    transform: translateY(-10px);
  }

  .card-img-top {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover; /* Ensures the image covers the area */
  }

  .card-body {
    padding: 20px;
  }

  .card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
  }

  .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .document-title {
      font-size: 2rem;
    }

    .document-description {
      font-size: 1rem;
    }

    .section-subtitle {
      font-size: 1.5rem;
    }

    .document-highlights li {
      font-size: 0.9rem;
    }

    .document-details {
      font-size: 0.9rem;
    }

    .card-title {
      font-size: 1.25rem;
    }

    .card-text {
      font-size: 0.9rem;

    }
  }
  .card a{
    text-decoration: none;

  }
  /* ===========================langs============ */
  /* language switcher */
.langs {
    display: flex;
    gap: 10px;
    z-index: 999;
    position: fixed;
    top: 120px;
    left: 20px;
    background-color: #f16722;
    color: #000;
  }

  @media screen and (max-width: 600px) {
    .langs {
      top: 25px;
      left: 60%;
    }
  }


  .lang {
    padding: 50px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    /* background-color: rgba(var(--default-color-rgb), 0.2); */
  }

  .lang.active {
    background-color: #007bff;
    color: rgb(255, 255, 255);
    font-weight: bold;
  }
  /* ============================ */
  .language-switcher {
    background: #f16722;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 2px 0;
    transition: all 0.5s;
    cursor: pointer;
    position: fixed !important;
    width: 40px;
    height: 40px;
    left: 20px;
    bottom: 15px;
    z-index: 99999;
  }

  .language-switcher:hover {
    height: 120px; /* Expand height on hover */
  }

  .lang-icon {
    padding: 5px 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }



  .language-switcher:hover .lang1 .lang2 .lang3 {
    text-align: center;
    text-decoration: none !important;
    color: #fff !important;
    opacity: 1 !important; /* Show languages on hover */
    transform: translateY(-60px) !important;
    transition: all .4s; /* Move languages into place */

  }
  /* ===========================Contact Us================= */
  .contact-title{
    border: 1px solid #f16722 !important;
  }
/* =================================================== */
/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #f16722;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Swiper Container */
.swiper {
    width: 100%;
    padding: 20px 0;
}

/* Reason Card Styling */
.reason-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 20px;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 2.5rem;
    color: #f16722;
    margin-bottom: 20px;
}

.reason-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.reason-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #f16722 !important;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #f16722 !important;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
    font-weight: bold;
}
