/* Base Styles */
:root {
  --primary-color: #002147;
  --secondary-color: #028a0f;
  --accent-color: #e6b800;
  --accent-color-2: #00bcd4;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
}

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

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

ul {
  list-style: none;
}

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

/* Fade-in effect for sections */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image hover zoom and shadow effect */
img.fade-img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
img.fade-img:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  filter: brightness(1.08) saturate(1.2);
}

/* Button pulse effect */
.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::after,
.btn-secondary::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 33, 71, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: -1;
}
.btn-primary:active::after,
.btn-secondary:active::after {
  width: 200px;
  height: 200px;
}

/* Card pop effect */
.service-card {
  perspective: 1000px;
  height: 350px; /* Adjusted height to accommodate text */
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front, .service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: var(--white);
  border-radius: 10px;
}

.service-card-back {
  transform: rotateY(180deg);
  background-color: var(--primary-color);
  color: var(--white);
}

.service-card-back h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.service-card-back p {
  color: var(--light-gray);
  margin-bottom: 20px;
}

.service-card-back .read-more {
  color: var(--accent-color);
}

.service-card-back .read-more:hover {
  color: var(--accent-color-2);
}

/* Existing card pop effect for other cards */
.college-card,
.testimonial-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.college-card:hover,
.testimonial-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
}

/* Table styles for FAQ section */
.accordion-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.accordion-content th,
.accordion-content td {
    border: 1px solid var(--medium-gray);
    padding: 10px;
    text-align: left;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f7f7;
  color: #002855;
}

.heading {
  text-align: center;
  font-size: 2rem;
  padding: 20px 0;
  color: #002855;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.card {
  position: relative;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 40px 20px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.card .hover-bg {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #6fcf97, #34a853);
  z-index: 1;
  transition: bottom 0.4s ease-in-out;
}

.card:hover .hover-bg {
  bottom: 0;
}

.card-content {
  position: relative;
  z-index: 2;
  font-weight: bold;
  color: #002855;
}

.card-content button {
  margin-top: 15px;
  padding: 8px 20px;
  background-color: #002855;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.card-content button:hover {
  background-color: #001633;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .ug-pg-courses {
        padding: 60px 0;
    }

    .ug-pg-courses .section-header h2 {
        font-size: 2.2em;
    }

    .course-categories-grid {
        grid-template-columns: 1fr;
    }

    .course-category-card {
        padding: 25px;
    }

    .course-category-card h3 {
        font-size: 1.6em;
    }

    .course-category-card ul li {
        font-size: 1em;
    }
}

.accordion-content th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

.accordion-content tr:nth-child(even) {
    background-color: var(--light-gray);
}

.accordion-content tr:hover {
    background-color: var(--medium-gray);
}

/* Soft gradient background for hero and about */
.hero,
.about {
  background: linear-gradient(135deg, white 0%, white 100%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

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

.section-header p {
  font-size: 1.1rem;
  color: var(--dark-gray);
}

.btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo h1 {
  font-size: 2.1rem;
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo a {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 0.2s;
}

.nav-links a.active {
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  background-color: var(white);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 30px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--dark-gray);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  text-align: right;
}

/* Stats Section */
.stats {
  background-color: var(--primary-color);
  padding: 40px 0;
}

.stats .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

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

.stat-item h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.stat-item p {
  color: var(--white);
  font-size: 1.1rem;
}

/* Services Section */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-gray);
  border-radius: 10px;
  padding: 30px;
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon i {
  font-size: 30px;
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  margin-bottom: 20px;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

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

/* Courses Section */
.courses {
  background-color: var(--white);
}

.tabs {
  max-width: 900px;
  margin: 0 auto;
}

.tab-header {
  display: flex;
  border-bottom: 2px solid var(--medium-gray);
  margin-bottom: 30px;
}

.tab-btn {
  padding: 15px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.active {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.course-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center; /* Align items vertically in the middle */
}

.course-image {
  flex: 0 0 400px; /* Fixed width for landscape image */
  height: 250px; /* Fixed height for landscape image */
  overflow: hidden; /* Hide overflow if image is larger */
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure image covers the area and maintains aspect ratio */
  border-radius: 8px;
}

.course-details {
  flex: 1; /* Allow details to take remaining space */
  flex: 2;
  min-width: 300px;
}

.course-details h3 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.course-meta span {
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.course-meta i {
  margin-right: 8px;
  color: var(--secondary-color);
}

.course-details p {
  margin-bottom: 20px;
}

.course-details h4 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.course-details ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.course-details ul li {
  margin-bottom: 5px;
  list-style-type: disc;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f7f7;
  color: #002855;
}

.heading {
  text-align: center;
  font-size: 2.5rem;
  margin: 30px 0;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}

.card {
  position: relative;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  width: 100%;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
}

.hover-bg {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #028a0f, #028a0f);
  z-index: 1;
  transition: bottom 0.4s ease-in-out;
}

.card:hover .hover-bg {
  bottom: 0;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: center;
  color: #002855;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.card-content h2 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  padding: 0 10px;
  white-space: normal;
}

.card-content button {
  padding: 8px 18px;
  background-color: #002855;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.card-content button:hover {
  background-color: #001633;
}

.extra-details {
  margin-top: 15px;
  font-size: 0.95rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.extra-details.show {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* About Section */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.about-text p {
  margin-bottom: 25px;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.team-member {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.team-member p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  background-color: var(--light-gray);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--white);
  border-radius: 5px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: rgba(0, 33, 71, 0.05);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.accordion-icon {
  transition: var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 24px;
  color: var(--secondary-color);
  margin-right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(2, 138, 15, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.info-item p {
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(2, 138, 15, 0.2);
}

.form-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  display: none;
}

.form-status.success {
  background-color: rgba(2, 138, 15, 0.1);
  color: var(--secondary-color);
  display: block;
}

.form-status.error {
  background-color: rgba(255, 0, 0, 0.1);
  color: red;
  display: block;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 70px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-links,
.footer-services,
.footer-newsletter {
  flex: 1;
  min-width: 200px;
}

footer h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

footer ul li a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-newsletter p {
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.footer-newsletter button {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 0 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  opacity: 0.8;
}

.footer-bottom-links a {
  color: var(--white);
  opacity: 0.8;
  margin-left: 20px;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
}

/* Responsive Styles */

@media (max-width: 600px) {
  .accordion-content > div[style*="overflow-x:auto"] {
    overflow-x: auto;
    width: 100%;
  }
  .accordion-content table {
    min-width: 540px;
    width: 100%;
    font-size: 0.97rem;
  }
  .accordion-content td, .accordion-content th {
    word-break: break-word;
    white-space: normal;
    padding: 8px 6px !important;
  }
}


@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    text-align: center;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    order: 2;
    text-align: center;
  }

  .about-text {
    order: 1;
  }

  .course-info {
    flex-direction: column;
  }

  .course-image {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: var(--transition);
    z-index: 998;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding-top: 130px;
  }

  .ticker-wrap {
    top: 60px;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .colleges-grid {
    grid-template-columns: 1fr;
  }

  .tab-header {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
  }

  .footer-content > div {
    flex: 100%;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .stat-item {
    flex: 100%;
  }

  .filter-group {
    flex: 100%;
  }

  .contact-container {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    margin-top: 15px;
  }

  .footer-bottom-links a {
    margin: 0 10px;
  }
}

.title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin: 20px 0;
  color: #000;
}

.slider-container {
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
  touch-action: pan-y;
}

.slide {
  min-width: 100%;
  height: auto;
  display: none;
}

.slide.active {
  display: block;
}

.dots {
  text-align: center;
  margin: 15px 0;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background-color: #000;
}
