
/* === Font Imports === */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Space+Mono:wght@400;700&display=swap');

/* If you have Futura locally or as a file */
@font-face {
  font-family: "Futura Bold";
  src: url("fonts/Futura-Bold.woff2") format("woff2"),
       url("fonts/Futura-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

/* === Font Usage === */

/* Headings */
/* h1, h2, h3, h4, h5, h6 {
  font-family: "Futura Bold", "Poppins", sans-serif;
  font-weight: 700;
} */

/* Playful or kid-friendly text */
.kids-font, .fun-text {
  font-family: "Fredoka One", cursive;
}

/* Tech / data / UI elements */
.tech-font, code, pre {
  font-family: "Space Mono", monospace;
}

/* Body default */
/* body {
  font-family: "Poppins", sans-serif;
} */

/********** Template CSS **********/
:root {
    /* --primary: #FE5D37; */
    /* --light: #FFF5F3; */
    /* --dark: #103741; */
}
  /* Remove the default orange focus glow */
  .form-control:focus {
    border-color: #743C9E !important; /* your brand purple */
    box-shadow: 0 0 0 0.2rem rgba(116, 60, 158, 0.25) !important; /* soft purple glow */
    outline: none !important;
  }

  /* Optional: remove glow completely (clean white focus) */
  /* 
  .form-control:focus {
    border-color: #743C9E !important;
    box-shadow: none !important;
    outline: none !important;
  }
  */

p {
    font-size: 1.1rem;
}
.image-box {
  position: relative;
  display: inline-block;
  padding: 20px;
}

.image-bg {
  position: absolute;
  inset: 0;
  transform: translate(10px, 10px);
  border-radius: 20px;
  background: linear-gradient(135deg, #743C9E, #4F46E5);
  z-index: 1;
  transition: all 0.3s ease;
}
.big-video {
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .big-video {
    height: 250px;
  }
}

.image-box:hover .image-bg {
  transform: translate(5px, 5px);
  filter: brightness(1.1);
}

.explore-btn {
    background: #301D57;
    border: none;
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
}
.events-section {
  background: #103741;
  overflow: hidden;
  position: relative;
}

/* Title */
.text-gradient {
  background: linear-gradient(90deg, #743C9E, #C084FC, #743C9E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: textGlow 6s ease-in-out infinite;
}
@keyframes textGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === BEND CARD === */
.bend-card {
  position: relative;
  perspective: 1200px;
  width: 100%;
  height: 420px;
  transition: all 0.4s ease;
}

.bend-card .inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #100b25;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* BEND effect */
.bend-card:hover .inner {
  transform: rotateX(25deg) scale(1.03);
  box-shadow: 0 40px 80px rgba(116, 60, 158, 0.5);
}

/* Glow Gradient (bottom curve illusion) */
.card-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150%;
  background: radial-gradient(circle at center top, rgba(116,60,158,0.4), transparent 70%);
  transform: translateZ(-30px) scale(1.1);
  transition: opacity 0.6s ease;
  opacity: 0;
}
.bend-card:hover .card-bg {
  opacity: 1;
}

/* Glow Beam Upward */
.bend-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 0;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #743C9E, #C084FC, transparent);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 3;
}
.bend-card:hover::before {
  height: 80px;
  opacity: 1;
}

/* Floating Tag */
.event-tag {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b0720;
  color:lightgrey;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 12px rgba(116, 60, 158, 0.3);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 10;
}
.bend-card:hover .event-tag {
  opacity: 1;
  top: -40px;
}

/* Image */
.card-img {
  position: relative;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.5s ease, filter 0.5s ease;
  transform-origin: center top;
}
.bend-card:hover .card-img {
  transform: translateY(-10px) scale(1.05) rotateX(10deg);
  filter: brightness(1.1);
}
/* === Responsive tweak for Recent Events (Tablet View) === */
@media (max-width: 992px) and (min-width: 577px) {
  .events-section .col-md-4 {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    margin-bottom: 2rem;
  }

  .bend-card {
    height: 480px !important; /* slightly taller cards */
  }

  .card-img {
    height: 260px !important; /* enlarge image area */
  }

  .events-section .row {
    justify-content: center !important;
    gap: 1.5rem !important;
  }

  .card-content h4 {
    font-size: 1.3rem !important;
  }

  .card-content p {
    font-size: 1rem !important;
  }
}

.testimonials-slider {
  overflow: hidden;
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #f9f7ff);
}

.testimonal-track {
  display: flex;
  gap: 2rem;
  animation: slideLeft 30s linear infinite;
  width: max-content;
  padding: 0 1rem;
}

.testimonial-item {
  flex: 0 0 350px;
  background: #ffffff;
  border: 1px solid rgba(116, 60, 158, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.testimonial-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(116, 60, 158, 0.15);
}

.testimonial-quote {
  font-size: 1.1rem;
  color: #333;
  font-style: italic;
  margin-bottom: 1rem;
}

.profile-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #743C9E;
}

/* Smooth continuous sliding animation */
@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.shine-text {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
 background: linear-gradient(90deg, #743C9E, #C084FC, #743C9E);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 2.5s linear infinite;
}

@keyframes shine {
  from {
    background-position: 0%;
  }
  to {
    background-position: 200%;
  }
}


/* Content */
.card-content {
  padding: 20px;
  position: relative;
  z-index: 2;
  color: white;
}
.card-content h4 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.heading-accent {
  border-left: 9px solid #6a11cb;
  padding-left: 15px;
  line-height: 1.2;
}
.dental-section .dental-img {
  margin-top: -170px; /* lifts image upward */
  max-width: 90%;
  transition: all 0.3s ease-in-out;
}
.dental-section .dental-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(116, 60, 158, 0.3);
}

@media (max-width: 768px) {
  .dental-section .dental-img {
    margin-top: 0; /* reset on mobile for proper stacking */
    max-width: 100%;
  }
}


.card-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}
.event-link {
  color: #C084FC;
  text-decoration: none;
  font-weight: 600;
}
.event-link:hover {
  color: #E0A9FF;
}
.icon-small {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

/* Shine Sweep */
.bend-card .inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: left 0.7s ease;
}
.bend-card:hover .inner::after {
  left: 125%;
}

/* Responsive */
@media (max-width: 768px) {
  .bend-card { height: 400px; }
  .bend-card .inner { transform: none; }
}


/* --- MOBILE STYLES --- */
@media (max-width: 767px) {
    .button-group {
        flex-direction: column; 
        gap: 15px;
        padding: 0 20px; /* RECOMMENDED: Adds 20px of space on the left and right */
    }

    .explore-btn {
        width: 100%; /* THE FIX: Makes buttons full-width */
    }
}
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.samaa-junior-section h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.samaa-junior-section .list-group-item {
    border: none;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    transition: background-color 0.3s ease;
}

.samaa-junior-section .list-group-item:hover {
    background-color: #f3fbfd;
}

.btn-samaa {
    background-color: #5D9CEC;
    color: #fff;
    border: none;
}

.btn-samaa:hover {
    background-color: #4A89DC;
    color: #fff;
}



/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}
h1,h2,h3,h4,h5,h6 {
    font-family: Futura Bold ;
}
/* p {
    font-family: Space Mono ;
} */
/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    /* font-family: 'Poppins', cursive; */
    font-weight: 700;
}

p {
    line-height: 1.8;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    /* font-family: 'poppins', cursive; */
}

/* Increase navbar height */
.navbar {
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 90px;
    /* taller navbar */
}
li {
    font-size: 1.1em;
}

/* Add more spacing between items */
.navbar-nav .nav-link {
    padding: 12px 30px;
    /* more horizontal space */
    font-size: 1.3rem;
}

/* Add margin around logo */
.navbar-nav .nav-link.p-0.mx-3 img {
    height: 65px !important;
    margin: 0 30px;
    /* space around logo */
}



.magnetic-hover-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 48px;
    background: rgba(200, 200, 200, 0.3);
    /* subtle gray */
    border-radius: 999px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    z-index: 0;
    pointer-events: none;
}


/* Hover text color (darker or custom) */
.navbar-nav .nav-link:hover {
    color: #301D57 !important;
    /* A warm brown for hover */
}


.navbar-nav .nav-link.active {
    position: relative;
    color: #743C9E !important;
    /* Match hover color */
    font-weight: 600;
}

.navbar-nav .nav-link.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 40px;
    /* background: #fce8b2; Same soft gold as hover */
    border-radius: 999px;
    transform: translateY(-50%);
    z-index: -1;
    transition: all 0.3s ease;
}


.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    /* font-family: "Font Awesome 5 Free"; */
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/img\ \(4\)[1]copy.jpg) no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: #AF3E98;

}

/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: #00A8A8;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    /* font-family: "Font Awesome 5 Free"; */
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* === SAMAA Digital Card Style === */
.samaa-card {
    background: linear-gradient(135deg, #5b2c85 0%, #9d50bb 100%); /* Deep Purple Gradient */
    border-radius: 20px;
    color: white;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(91, 44, 133, 0.4);
    min-height: 220px;
    max-width: 400px;
    font-family: 'Inter', sans-serif;
}

/* Background Pattern (Subtle Circles) */
.samaa-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.samaa-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Card Content Layout */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-status {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.card-status.active {
    background: #00d26a; /* Bright Green for Active */
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 210, 106, 0.5);
}

/* QR Code Container */
.qr-container {
    background: white;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-details {
    margin-top: 20px;
}

.card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: flex-end;
}