/* ========== GOOGLE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2847;
  --secondary: #c9a84c;
  --secondary-light: #e0c56a;
  --accent: #e74c3c;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: #333;
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

.set img {
  height: 55px;
}

img {
  max-width: 100%;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 20px auto 0;
}

/* ========== PRELOADER ========== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== SCROLL TO TOP ========== */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

#scrollTop.visible {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
  color: var(--secondary);
}

.top-bar i {
  color: var(--secondary);
  margin-right: 5px;
}

.top-bar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 5px;
  font-size: 0.8rem;
}

.top-bar .social-links a:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ========== NAVBAR ========== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0;
  transition: var(--transition);
  z-index: 1050;
}

.navbar.scrolled {
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.navbar-brand .logo-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-right: 12px;
  flex-shrink: 0;
}

.navbar-brand .college-name {
  line-height: 1.2;
}

.navbar-brand .college-name h1 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.navbar-brand .college-name span {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.navbar-nav .nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  padding: 25px 16px !important;
  font-size: 0.92rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 240px;
  border-top: 3px solid var(--secondary);
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  padding: 10px 20px;
  font-size: 0.9rem;
  color: #555;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(26, 60, 110, 0.08), transparent);
  color: var(--primary);
  padding-left: 25px;
}

.dropdown-item i {
  width: 20px;
  color: var(--secondary);
  margin-right: 8px;
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 40, 71, 0.92), rgba(26, 60, 110, 0.75));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-content .badge-text {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat h3 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.hero-stat p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* ========== BUTTONS ========== */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  padding: 14px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-custom:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary-custom {
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 14px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-custom:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  padding: 14px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========== MARQUEE / NOTICE ========== */
.notice-bar {
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 10px 0;
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
}

.notice-bar .marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.notice-bar .marquee-content span {
  margin-right: 80px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ========== ABOUT SECTION ========== */
.about-section {
  background: var(--white);
}

.about-img-wrapper {
  position: relative;
}

.about-img-wrapper .main-img {
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-img-wrapper .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper .experience-badge h3 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.about-img-wrapper .experience-badge p {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.about-content .subtitle {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content p {
  color: #555;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-item i {
  width: 35px;
  height: 35px;
  background: rgba(26, 60, 110, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.about-feature-item span {
  font-weight: 500;
  font-size: 0.95rem;
  color: #444;
}

/* ========== SERVICES / COURSES ========== */
.services-section {
  background: var(--light);
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .icon-box {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, rgba(26, 60, 110, 0.1), rgba(201, 168, 76, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--secondary);
  transform: rotateY(180deg);
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.service-card .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card .read-more:hover {
  color: var(--secondary);
  gap: 10px;
}

/* ========== WHY CHOOSE US ========== */
.why-choose-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.why-choose-section .section-title h2 {
  color: var(--white);
}

.why-choose-section .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.why-card .icon {
  width: 65px;
  height: 65px;
  background: rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--secondary);
}

.why-card h5 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.why-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* ========== COUNTER SECTION ========== */
.counter-section {
  background: var(--secondary);
  padding: 60px 0;
}

.counter-item {
  text-align: center;
  padding: 20px;
}

.counter-item i {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.counter-item h3 {
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.counter-item p {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* ========== EVENTS SECTION ========== */
.events-section {
  background: var(--white);
}

.event-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  background: var(--white);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.event-card .event-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card .event-img i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
}

.event-card .event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 8px 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
}

.event-card .event-date .day {
  display: block;
  font-size: 1.3rem;
  line-height: 1;
}

.event-card .event-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.event-card .event-body {
  padding: 25px;
}

.event-card .event-body .event-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--gray);
}

.event-card .event-body .event-meta i {
  color: var(--secondary);
  margin-right: 4px;
}

.event-card .event-body h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.event-card .event-body h5 a {
  color: var(--primary-dark);
}

.event-card .event-body h5 a:hover {
  color: var(--secondary);
}

.event-card .event-body p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  background: var(--light);
}

.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 3rem;
  color: rgba(26, 60, 110, 0.08);
}

.testimonial-card .stars {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.testimonial-card p {
  color: #555;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 25px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-card .author .avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-card .author .info h6 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-dark);
}

.testimonial-card .author .info span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========== BLOG SECTION ========== */
.blog-section {
  background: var(--white);
}

.blog-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  height: 100%;
  background: var(--white);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card .blog-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card .blog-img i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
}

.blog-card .blog-img .category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card .blog-body {
  padding: 25px;
}

.blog-card .blog-body .blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--gray);
}

.blog-card .blog-body .blog-meta i {
  color: var(--secondary);
  margin-right: 4px;
}

.blog-card .blog-body h5 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card .blog-body h5 a {
  color: var(--primary-dark);
}

.blog-card .blog-body h5 a:hover {
  color: var(--secondary);
}

.blog-card .blog-body p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.blog-card .blog-body .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card .blog-body .read-more:hover {
  color: var(--secondary);
  gap: 10px;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: var(--light);
}

.contact-info-card {
  background: var(--primary);
  border-radius: 15px;
  padding: 40px;
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-info-card>p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item .details h6 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-info-item .details p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.contact-info-item .details a {
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-item .details a:hover {
  color: var(--secondary);
}

.contact-social {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-social h6 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: 8px;
  transition: var(--transition);
}

.contact-social a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.contact-form-card {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.contact-form-card .form-control {
  padding: 12px 18px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-form-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.1);
}

.contact-form-card .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 6px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer h5 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-about .footer-logo .logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.footer-about .footer-logo h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
}

.footer-links li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.6rem;
  color: var(--secondary);
}

.footer-links li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact li {
  list-style: none;
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact li i {
  color: var(--secondary);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 50px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

/* ========== PAGE HEADER / BREADCRUMB ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.page-header .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.page-header .breadcrumb-item {
  font-size: 0.9rem;
}

.page-header .breadcrumb-item a {
  color: var(--secondary);
}

.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ========== STAFF SECTION ========== */
.staff-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.staff-card .staff-img {
  height: 250px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.staff-card .staff-img i {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.15);
}

.staff-card .staff-img .staff-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 60, 110, 0.9);
  padding: 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.staff-card:hover .staff-img .staff-social {
  transform: translateY(0);
}

.staff-card .staff-img .staff-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.staff-card .staff-img .staff-social a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

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

.staff-card .staff-body h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.staff-card .staff-body .designation {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.staff-card .staff-body p {
  color: var(--gray);
  font-size: 0.85rem;
  margin: 0;
}

/* ========== HISTORY SECTION ========== */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--light-gray);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
  position: relative;
  margin-bottom: 40px;
  width: 50%;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 40px;
  padding-right: 0;
  margin-left: 50%;
}

.timeline-item .timeline-dot {
  position: absolute;
  right: -10px;
  top: 15px;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--secondary);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
  right: auto;
}

.timeline-content {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  max-width: 100%;
}

.timeline-content .year {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-content h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ========== MISSION VISION ========== */
.mission-vision-card {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mission-vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mission-vision-card .card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.mission-vision-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.mission-vision-card p {
  color: #555;
  font-size: 0.95rem;
}

.mission-vision-card ul {
  list-style: none;
  padding: 0;
}

.mission-vision-card ul li {
  padding: 6px 0;
  color: #555;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mission-vision-card ul li i {
  color: var(--secondary);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ========== GALLERY ========== */
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.2);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 60, 110, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 12px 16px !important;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 25px;
    flex-wrap: wrap;
  }

  .hero-stat h3 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-img-wrapper .experience-badge {
    right: 10px;
    bottom: -15px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 55px;
    padding-right: 0;
  }

  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 55px;
  }

  .timeline-item .timeline-dot {
    left: 11px;
    right: auto;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .counter-item h3 {
    font-size: 2.2rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 575.98px) {
  .top-bar {
    display: none;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 25px;
  }
}