@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --navy: #12345b;
  --blue: #174b7a;
  --orange: #f07819;
  --red: #c53b32;
  --ink: #1d2a3a;
  --muted: #667085;
  --white: #fff;
  --line: #e7ebf0;
  --shadow: 0 14px 40px rgba(18, 52, 91, 0.1);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", Arial, sans-serif !important;
  color: var(--ink);
  background: #fff;
   padding-top: 88px;
  line-height: 1.7;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
}
a {
  transition: 0.25s ease;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(18, 52, 91, 0.08);
  box-shadow: 0 5px 25px rgba(18, 52, 91, 0.06);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  min-width: 370px;
}
.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 12px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text h1 {
  font:
    700 25px "Playfair Display",
    serif;
  color: var(--navy);
}

.brand-text small {
  margin-top: 5px;
  font:
    600 13px "DM Sans",
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.main-nav a {
  position: relative;
  padding: 31px 11px 27px;
  color: #354052;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav a:after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 18px;
  height: 3px;
  border-radius: 10px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: 0.25s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
}
.main-nav a:hover:after,
.main-nav a.active:after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  width: 46px;
  height: 42px;
  border-radius: 10px;
  padding: 9px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.page-hero {
  padding: 85px 0;
  background: linear-gradient(
    120deg,
    rgba(18, 52, 91, 0.96),
    rgba(23, 75, 122, 0.9)
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -100px;
  top: -170px;
  background: rgba(240, 120, 25, 0.2);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffd0a4;
  font-weight: 700;
}
.page-hero h2 {
  font-size: 52px;
  margin: 12px 0 6px;
}
.page-hero h2 span {
  color: #ff9a4d;
}
.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.section-heading {
  text-align: center;
  margin-bottom: 38px;
}
.section-heading > span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--orange);
}
.section-heading h3 {
  font-size: 38px;
  color: var(--navy);
  margin: 6px 0;
}
.heading-line {
  width: 58px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  margin: auto;
  border-radius: 10px;
}
.gallery-section {
  padding: 75px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-card {
  position: relative;
  display: block;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f6;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 24, 42, 0.65));
  opacity: 0.25;
  z-index: 1;
}
.gallery-card:hover img {
  transform: scale(1.07);
}
.gallery-overlay {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.site-footer {
  margin-top: 60px;
  background: var(--navy);
  color: #dfe8f2;
}
.footer-main {
  padding: 58px 0 35px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-column h4 {
  font:
    700 20px "Playfair Display",
    serif;
  color: #fff;
  margin: 0 0 15px;
}
.footer-column p {
  font-size: 14px;
  margin: 7px 0;
  color: #c9d5e2;
}
.footer-column span {
  color: #fff;
  font-weight: 600;
}
.footer-column a {
  color: #ffb477;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 35px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.footer-nav a:hover {
  color: #ff9a4d;
}
.footer-thanks {
  text-align: center;
  padding: 8px 0 15px;
}
.footer-thanks h2 {
  color: #fff;
  font-size: 28px;
  margin: 0;
}
.footer-bottom {
  background: #0c2846;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
.footer-bottom p {
  font-size: 12px;
  margin: 0;
  color: #b9c7d7;
}
.footer-bottom a {
  color: #ffad73;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
}
@media (max-width: 1100px) {
  .header-inner {
    min-height: 78px;
  }
  .brand img {
    width: 55px;
    height: 55px;
  }
  .brand-text strong {
    font-size: 21px;
  }
  .main-nav a {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 13px;
  }
  .main-nav a:after {
    left: 7px;
    right: 7px;
  }
}
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 10px 5%;
    box-shadow: 0 15px 30px rgba(18, 52, 91, 0.12);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 13px 12px;
  }
  .main-nav a:after {
    left: 12px;
    right: auto;
    width: 35px;
    bottom: 7px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 650px) {
  .brand {
    min-width: 0;
  }
  .brand-text strong {
    font-size: 18px;
  }
  .brand-text small {
    font-size: 10px;
  }
  .page-hero {
    padding: 60px 0;
  }
  .page-hero h2 {
    font-size: 38px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }
  .gallery-card {
    height: 180px;
  }
  .gallery-section {
    padding: 55px 0;
  }
  .section-heading h3 {
    font-size: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    gap: 15px;
  }
}
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card {
    height: 220px;
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 17, 30, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 35px;
}
.gallery-lightbox.show {
  display: flex;
}
.lightbox-content {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  text-align: center;
}
.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}
.lightbox-content p {
  color: #fff;
  margin: 14px 0 0;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 25px;
  border: 0;
  background: #fff;
  color: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover {
  background: var(--orange);
  color: #fff;
}
.lightbox-open {
  overflow: hidden;
}


/* =========================================================
   NEWS & EVENTS - MODERN CARD DESIGN
========================================================= */

#news {
    padding: 70px 0;
    background: #f7f9fc;
}

#news .title-div {
    margin-bottom: 45px;
}

#news .tittle {
    color: var(--navy);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

#news .tittle span {
    color: var(--orange);
}


/* =========================================================
   EVENTS ROW
========================================================= */

.yaallahaa-news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -14px 28px;
}


/* =========================================================
   EVENT CARD
========================================================= */

.yaallahaa-news-left {
    width: calc(50% - 28px);
    margin: 0 14px 28px;
    padding: 0;

    background: #ffffff;

    border: 1px solid #edf0f4;
    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(18, 52, 91, 0.10),
        0 4px 12px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Card Hover */

.yaallahaa-news-left:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(18, 52, 91, 0.16),
        0 7px 18px rgba(240, 120, 25, 0.08);
}


/* =========================================================
   TOP EVENT AREA
========================================================= */

.yaallahaa-news-left .news-left-img {
    width: 45%;
    height: 260px;

    float: left;

    background-size: cover !important;
    background-position: center !important;

    position: relative;
    overflow: hidden;
}


/* Image Overlay */

.yaallahaa-news-left .news-left-img::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.02),
        rgba(0, 0, 0, 0.20)
    );

    pointer-events: none;
}


/* =========================================================
   DATE BADGE
========================================================= */

.news-left-text {
    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 15px;

    z-index: 5;

    background: rgba(255, 255, 255, 0.97);

    padding: 10px 8px;

    border-radius: 10px;

    text-align: center;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.16);
}

.news-left-text h5 {
    margin: 0;

    color: var(--navy);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.4;
}


/* =========================================================
   EVENT INFORMATION - RIGHT SIDE
========================================================= */

.news-grid-info-bottom-w3ls {
    width: 55%;

    float: left;

    padding: 27px 22px 20px;

    margin: 0;

    min-height: 260px;
}


/* Event Title */

.news-left-top-text {
    margin: 0 0 17px;
}

.news-left-top-text a {
    display: block;

    color: var(--navy) !important;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 23px;

    font-weight: 700;

    line-height: 1.3;

    text-decoration: none !important;

    transition: color 0.25s ease;
}

.news-left-top-text a:hover {
    color: var(--orange) !important;
}


/* =========================================================
   TIME + LOCATION
========================================================= */

.date-grid {
    margin: 0;
}

.date-grid .admin,
.date-grid .time {
    margin: 0 0 12px;
}


/* Time */

.date-grid .admin a {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    color: #667085 !important;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 14px;

    line-height: 1.55;

    text-decoration: none !important;
}


/* Location */

.date-grid .time p {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    color: #667085;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 14px;

    line-height: 1.55;

    margin: 0;
}


/* Icons */

.date-grid .fa {
    flex-shrink: 0;

    width: 16px;

    color: var(--orange);

    font-size: 15px;

    margin: 3px 0 0;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.news-grid-info-bottom-w3ls-text {
    clear: both;

    padding: 22px 25px 27px;

    border-top: 1px solid #edf0f4;

    background: #ffffff;
}

.news-grid-info-bottom-w3ls-text p {
    margin: 0;

    color: var(--muted);

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 15px;

    line-height: 1.75;

    text-align: left;
}


/* =========================================================
   CLEARFIX
========================================================= */

.yaallahaa-news-left .clearfix {
    display: none;
}


/* =========================================================
   EVENT HOVER COLORS
========================================================= */

.text-color1 a:hover {
    color: var(--orange) !important;
}

.text-color2 a:hover {
    color: var(--orange) !important;
}

.text-color3 a:hover {
    color: var(--orange) !important;
}

.text-color4 a:hover {
    color: var(--orange) !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .yaallahaa-news-left {
        width: calc(100% - 28px);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    #news {
        padding: 55px 0;
    }

    #news .tittle {
        font-size: 30px;
    }

    .yaallahaa-news-grid {
        display: block;

        margin-left: 0;
        margin-right: 0;
    }

    .yaallahaa-news-left {
        width: 100%;

        margin: 0 0 25px;

        border-radius: 15px;
    }


    /* Image becomes full width on mobile */

    .yaallahaa-news-left .news-left-img {
        width: 100%;

        height: 230px;

        float: none;
    }


    /* Details below image */

    .news-grid-info-bottom-w3ls {
        width: 100%;

        min-height: auto;

        float: none;

        padding: 22px 22px 18px;
    }


    .news-left-top-text {
        margin-bottom: 14px;
    }


    .news-left-top-text a {
        font-size: 21px;
    }


    .news-grid-info-bottom-w3ls-text {
        padding: 20px 22px 24px;
    }


    .news-grid-info-bottom-w3ls-text p {
        font-size: 14px;

        line-height: 1.75;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    #news .tittle {
        font-size: 27px;
    }

    .yaallahaa-news-left .news-left-img {
        height: 210px;
    }

    .news-left-text {
        left: 10px;
        right: 10px;
        bottom: 12px;

        padding: 9px 6px;
    }

    .news-left-text h5 {
        font-size: 14px;
    }

    .news-grid-info-bottom-w3ls {
        padding: 20px 18px 17px;
    }

    .news-grid-info-bottom-w3ls-text {
        padding: 18px 18px 22px;
    }

}

/* =========================================================
   OUR ACADEMY - IMAGE DESIGN
========================================================= */

.blog-cource .blog-grid-img {
    padding: 15px;
}

/* Academy Image */
.blog-cource .blog-grid-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;

    /* Rectangular with slightly rounded corners */
    border-radius: 12px;

    /* Premium shadow */
    box-shadow:
        0 12px 30px rgba(18, 52, 91, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.08);

    display: block;

    /* Smooth animation */
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* Hover Effect */
.blog-cource .blog-grid-img:hover img {
    transform: translateY(-7px) scale(1.025);

    box-shadow:
        0 20px 45px rgba(18, 52, 91, 0.20),
        0 8px 18px rgba(240, 120, 25, 0.12);
}


/* =========================================================
   ACADEMY TEXT
========================================================= */

.blog-cource .blog-grid-text {
    padding: 25px 30px;
}

.blog-cource .blog-grid-text h4 {
    color: var(--navy);
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 8px;
}

.blog-cource .blog-grid-text h6 {
    color: var(--orange);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    text-transform: capitalize;
}

.blog-cource .blog-grid-text p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .blog-cource .blog-grid-img {
        padding: 15px 15px 5px;
    }

    .blog-cource .blog-grid-img img {
        height: 220px;
        border-radius: 10px;
    }

    .blog-cource .blog-grid-text {
        padding: 20px 25px 30px;
    }

    .blog-cource .blog-grid-text h4 {
        font-size: 24px;
    }

}

/* =========================================================
   FIX: WELCOME IMAGE SHOULD NOT OVERLAP OUR SERVICES
========================================================= */

.services {
    margin-top: 0 !important;
    padding-top: 2em !important;
    position: relative;
    z-index: 2;
}

.banner-bottom-w3l {
    position: relative;
    z-index: 1;
}

.stats-info-agile {
    position: relative;
    z-index: 1;
}

/* =========================================================
   FIX: EVENT LOCATION TEXT SPACING
========================================================= */

.date-grid .time p {
    text-align: left !important;
    justify-content: flex-start !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    gap: 8px !important;
}

/* ================================
   INNER PAGE BANNER
   No Image Required
================================ */

.page-banner {
    position: relative;
    width: 100%;
    min-height: 300px;

    margin: 0 !important;
    padding: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(255, 255, 255, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #102a43 0%,
            #176b87 50%,
            #0d536b 100%
        );
}



/* Decorative shapes */
.page-banner::before {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    top: -150px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
}

.page-banner::after {
    content: "";
    position: absolute;

    width: 220px;
    height: 220px;

    left: -90px;
    bottom: -130px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
}

.page-banner-content {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 50px 24px;

    text-align: center;
    color: #fff;
}

.page-banner-content p{
  text-align: center;
}

.page-banner .breadcrumb {
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 18px 0 0 !important;
    padding: 0 !important;

    background: transparent !important;

    color: #fff !important;
}

.page-banner .breadcrumb a {
     color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    font-weight: 600;
}

.page-banner > *:first-child {
    margin-top: 0 !important;
}

.banner-kicker {
    display: inline-block;

    margin-bottom: 12px;
    padding: 7px 15px;

    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50px;

    background: rgba(255,255,255,0.10);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.page-banner h2 {
    margin: 0;

    color: #fff;

    font-family: "Playfair Display", serif;

    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;

    line-height: 1.15;
}

.page-banner h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 3px;

    margin: 15px auto 14px;

    border-radius: 10px;

    background: #fff;
}

.page-banner p {
    margin: 0 auto 18px;

    max-width: 650px;

    color: rgba(255,255,255,0.90);

    font-family: "DM Sans", sans-serif;

    font-size: 16px;
    line-height: 1.6;
}

.breadcrumb {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 9px;

    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

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

.breadcrumb span:last-child {
    color: rgba(255,255,255,0.75);
}


/* ================================
   TABLET
================================ */

@media (max-width: 991px) {

    .page-banner {
        min-height: 270px;
    }

    .page-banner-content {
        padding: 45px 22px;
    }

    .page-banner p {
        font-size: 15px;
    }
}


/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {

    .page-banner {
        min-height: 245px;
    }

    .page-banner-content {
        padding: 38px 18px !important;
    }

    .page-banner .breadcrumb {
        margin-top: 15px !important;
        font-size: 13px;
    }

    .banner-kicker {
        font-size: 10px;
        padding: 6px 12px;
        letter-spacing: 1px;
    }

    .page-banner h2 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .page-banner p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .breadcrumb {
        font-size: 13px;
    }
}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

    .page-banner {
        min-height: 220px;
    }

    .page-banner-content {
        padding: 32px 15px;
    }

    .page-banner h2::after {
        width: 45px;
        margin-top: 11px;
        margin-bottom: 11px;
    }

    .page-banner p {
        font-size: 13px;
    }
}

/* =========================================================
   NEWS & EVENTS - COMPLETE CARD DESIGN
   ========================================================= */

.yaallahaa-news-section {
    padding: 80px 0;
    background: #f7f9fc;
}

/* Section Heading */
.yaallahaa-news-section .section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
}

.yaallahaa-news-section .section-heading span {
    display: inline-block;
    color: #f07819;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.yaallahaa-news-section .section-heading h2 {
    margin: 0 0 12px;
    color: #12345b;
    font-size: 38px;
    font-weight: 700;
}

.yaallahaa-news-section .section-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
}


/* Main Card */
.yaallahaa-event-card {
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8edf3;
    box-shadow: 0 8px 25px rgba(18, 52, 91, 0.08);
    transition: all 0.35s ease;
}

.yaallahaa-event-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(18, 52, 91, 0.14);
}


/* Image */
.yaallahaa-event-image {
    height: 260px;
    width: 100%;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.yaallahaa-event-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(18, 52, 91, 0.35),
        transparent 55%
    );
}


/* Event Images */
.news-teachers {
    background-image: url("../Gallery/c12.jpeg");
}

.news-republic {
    background-image: url("../Gallery/adarshvidyalayadalimbari20.jpg");
}

.news-independence {
    background-image: url("../Gallery/adarshvidyalayadalimbari4.jpg");
}

.news-children {
    background-image: url("../Gallery/c13.jpeg");
}

.news-gunotsav {
    background-image: url("../Gallery/c8.jpeg");
}

.news-sports {
    background-image: url("../Gallery/adarshvidyalayadalimbari35.jpg");
}

.news-trip {
    background-image: url("../Gallery/adarshvidyalayadalimbari15.jpg");
}

.news-annual {
    background-image: url("../Gallery/c1.jpeg");
}


/* Date Badge */
.event-date {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    width: 62px;
    min-height: 68px;
    padding: 7px 5px;
    background: #ffffff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.event-date strong {
    display: block;
    color: #12345b;
    font-size: 25px;
    line-height: 28px;
    font-weight: 800;
}

.event-date small {
    display: block;
    color: #f07819;
    font-size: 11px;
    line-height: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* Content */
.yaallahaa-event-content {
    padding: 25px 25px 28px;
}

.yaallahaa-event-content h3 {
    margin: 10px 0 12px;
    color: #12345b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.yaallahaa-event-content p {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}


/* Meta */
.event-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: #777f8c;
    font-size: 13px;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-meta i {
    color: #f07819;
    font-size: 14px;
}


/* Read More */
.event-read-more {
    display: inline-flex;
    align-items: center;
   
    gap: 8px;
    color: #12345b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.event-read-more:hover {
    color: #f07819;
}

.event-read-more:hover i {
    transform: translateX(5px);
}


/* Bootstrap Row Gap */
.yaallahaa-news-section .row {
      margin-left: -15px;
    margin-right: -15px;
    row-gap: 30px;
}

.yaallahaa-news-section .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .yaallahaa-news-section {
        padding: 65px 0;
    }

    .yaallahaa-news-section .section-heading h2 {
        font-size: 34px;
    }

    .yaallahaa-event-image {
        height: 240px;
    }

    .yaallahaa-event-content {
        padding: 22px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .yaallahaa-news-section {
        padding: 50px 0;
    }

    .yaallahaa-news-section .section-heading {
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .yaallahaa-news-section .section-heading h2 {
        font-size: 30px;
    }

    .yaallahaa-news-section .section-heading p {
        font-size: 14px;
    }

    .yaallahaa-event-image {
        height: 220px;
    }

    .yaallahaa-event-content {
        padding: 20px;
    }

    .yaallahaa-event-content h3 {
        font-size: 21px;
    }

    .yaallahaa-event-content p {
        font-size: 14px;
    }

    .event-meta {
        gap: 10px;
        font-size: 12px;
    }

    .event-date {
        top: 15px;
        left: 15px;
        width: 58px;
        min-height: 64px;
    }

    .event-date strong {
        font-size: 23px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .yaallahaa-news-section .section-heading h2 {
        font-size: 27px;
    }

    .yaallahaa-event-image {
        height: 200px;
    }

    .yaallahaa-event-content {
        padding: 18px;
    }

    .yaallahaa-event-content h3 {
        font-size: 20px;
    }

    .event-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

}

