/* ==========================================
   CloudKampus Learning Centre - Master CSS
   Clean, Organized, No Duplicates bbbbbbbbbbbbbbbbbbbb
   ========================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary-blue: #0056b3;
  --accent-orange: #ff6600;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --navbar-gradient: linear-gradient(to right, #ffffff 0%, #e8f2fa 100%);
  /* --body-bg: #8797c2; */
}

/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', 'Poppins', sans-serif;
  color: var(--dark-gray);
  background-color: var(--body-bg);
  padding-top: 115px;
}

/* ===== HEADER SECTION ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* ===== TOP BAR ===== */
.top-bar {
  background-color: #8797c2;
  padding: 0.45rem 0;
  width: 100%;
  z-index: 2001;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.8rem;
}

.top-bar .btn {
  padding: 0.5rem 1.4rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-call {
  background-color: #4a6a8f;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/*added from by sezhian*/

.text-gradient 
{ 
    background:linear-gradient(60deg, #5b5bd6, #2ec4b6); -webkit-background-clip:text;  -webkit-text-fill-color: transparent;
}
.btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    /*background-color: #007bff;*/
    /*background-color: #5b5bd3;*/
    /*background-color: #526aa8;    color: #fff;*/
    background-color: #fff;
    color: #526aa8;
    border: none;
}

.btn-primary:hover {
 /*   background-color: #0056b3;*/
    background-color:#e8a170;
    color: #fff;
}

.btn-outline-primary {
    background-color: transparent;
   /* color: #007bff;*/
   color: #526aa8;
   /* color: #5b5bd3;*/
    /*border: 1px solid #007bff;*/
    /*border: 1px solid #5b5bd3;*/
      border: 1px solid #526aa8;
}

.btn-outline-primary:hover {
  /*  background-color: #007bff;*/
    background-color:#e8a170;
    color: #fff;
    border: 1px solid #e8a170;
}

.btn-outline-secondary {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.btn-outline-danger {
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
}
/* added till here by Sezhian */
.btn-call:hover {
  background-color: #3d5a7f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

.btn-reach {
  background-color: white;
  color: #4a6a8f;
  border: 1px solid white;
}

.btn-reach:hover {
  background-color: #f0f5fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  color: #4a6a8f;
}

/* ===== MAIN NAVBAR ===== */
.main-navbar {
  background: var(--navbar-gradient);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  z-index: 2000;
  position: relative;
}

.main-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.08);
}

/* ===== NAVIGATION LINKS ===== */
.navbar-nav {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.navbar-nav .nav-link {
  color: #2c3e50 !important;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue) !important;
  background-color: rgba(0, 86, 179, 0.1);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
  font-weight: 700;
  background-color: #c1d3e6;
  box-shadow: 0 3px 10px rgba(0, 86, 179, 0.2);
}

/* ===== HAMBURGER MENU ===== */
.navbar-toggler {
  border: 2px solid #4a6a8f;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(74, 106, 143, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(74, 106, 143, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin: 60px 0 40px;
}

.section-header h2 {
  color: var(--primary-blue);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-header p {
  color: #2c64b0;
  font-size: 1.5rem;
}

.section-title {
  font-weight: 700;
  /* color: #1f2e3a; */
    color: #2c3e50;

  letter-spacing: 1px;
}

/* ===== BANNER SECTIONS ===== */
.banner-section {
  /* background-color: var(--body-bg) !important; */
  text-align: center;
  padding: 80px 0;
  height: 180px;
}

.banner-section h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #2b3a49;
}

.banner-section p {
  color: #555;
  font-size: 1.1rem;
}

.bannerings {
  background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
              url('../assets/images/about-banner.jpg') center/cover no-repeat;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('../assets/images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 140px 20px;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Hero section removed from landpage.pgp*/

/* Hero Section */
.hero-section {
  background: white;
  padding: 120px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section  h1 ,p{

  color: #2c3e50;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-stats {
  margin-top: 3rem;
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* till here*/

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(90deg, #003366, #00509e);
  color: white;
  text-align: center;
  padding: 70px 20px;
}

/* ===== CARDS - UNIFIED STYLES ===== */
.card,
.blog-card,
.course-card,
.domain-card,
.event-card,
.media-card,
.gallery-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.blog-card:hover,
.course-card:hover,
.domain-card:hover,
.event-card:hover,
.media-card:hover,
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* ===== BLOG CARDS ===== */
.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.blog-summary {
  color: #555;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* ===== COURSE CARDS ===== */
.course-card {
  padding: 25px;
  line-height: 17px;
  border: 1px solid #e1e1e1;
}

.course-title {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.2rem;
}

.course-card p {
  color: #555;
  font-size: 0.95rem;
}

.course-desc-card {
  background: #fff;
  transition: 0.3s ease;
  border: 1px solid #e0e0e0;
}

.course-desc-card:hover {
  box-shadow: 0 6px 18px rgba(255, 123, 0, 0.3);
}

/* ===== DOMAIN CARDS ===== */
.domain-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  height: 100%;
}

.domain-card h5 {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== EVENT CARDS ===== */
.event-card img,
.event-img {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.event-body {
  padding: 20px;
}

.event-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #704214;
}

.event-date {
  color: #a07956;
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 5px;
}

.event-description,
.event-desc {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #555;
}

/* ===== GALLERY CAROUSEL ===== */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 0.5rem;
}

.day-card,
.gallery-card {
  flex: 0 0 auto;
  width: 320px;
  border-radius: 15px;
  overflow: hidden;
}

.day-card img,
.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.day-card:hover img,
.gallery-card:hover img {
  transform: scale(1.1);
}

.meta {
  padding: 1rem;
  text-align: center;
}

.meta h2 {
  color: #c59d32;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.meta p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ===== CAROUSEL BUTTONS ===== */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-orange);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* ===== OVERLAY EFFECTS ===== */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 86, 179, 0.7);
  opacity: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
  transition: all 0.4s ease;
}

.gallery-card:hover .overlay {
  opacity: 1;
}

.overlay h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.overlay p {
  font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background-color: var(--accent-orange) !important;
  border-color: var(--accent-orange) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: #fff !important;
}

.btn-outline-primary {
  color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
}

.btn-outline-primary:hover {
  background-color: var(--accent-orange) !important;
  border-color: var(--accent-orange) !important;
  color: #fff !important;
}

.btn-secondary {
  background-color: var(--primary-blue) !important;

  background-color: #ef963a;

  border: none;
  color: #fff !important;
}

.btn-secondary:hover {
  background-color: var(--accent-orange) !important;
  color: #fff !important;
}

.btn-brown,
.btn-success1,
.read-more-btn {
  background-color: var(--accent-orange);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 6px 16px;
  transition: background 0.3s ease;
}

.btn-brown:hover,
.btn-success1:hover,
.read-more-btn:hover {
  background-color: var(--primary-blue);
  color: #fff;
}

/* ===== TEXT UTILITIES ===== */
.text-brown {
  color: var(--primary-blue) !important;
}

.text-gold {
  color: var(--accent-orange) !important;
}

.text-gradient {
  background: linear-gradient(60deg, #5b5bd6, #2ec4b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-brown {
  background-color: var(--primary-blue) !important;
}

/* ===== LINKS ===== */
a {
  color: var(--primary-blue);
  text-decoration: none;
}

a:hover {
  color: var(--accent-orange);
}

.view-link {
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: none;
}

.view-link:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* ===== MODAL ===== */
.modal-content {
  border-radius: 15px;
}

.modal-header {
  background-color: var(--primary-blue);
  color: #fff;
}

/* ===== CATEGORY DIVIDER ===== */
.category-divider {
  width: 100px;
  height: 4px;
  background: #b8926d;
  margin: 10px auto 40px;
  border-radius: 2px;
}

/* ===== CAROUSEL CONTROLS ===== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 15px;
}




.gallery-carousel-section{


  background-color: #f8f9fb;
}
.stat-item h3 {
  background: linear-gradient(135deg, #ff8c00, #ff6347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
  body {
    padding-top: 105px;
  }

  .top-bar {
    padding: 0.4rem 0;
  }

  .top-bar .container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .top-bar .btn {
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navbar-gradient);
    padding: 1rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .banner-section h1 {
    font-size: 2rem;
  }

  .day-card,
  .gallery-card {
    width: 260px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    display: none;
  }
}

@media (max-width: 768px) {
  .gallery-card {
    width: 80%;
    margin: 0 auto;
  }
}