/* Global Styles */
:root {
  --primary: #0073e6;
  --primary-dark: #0056b3;
  --secondary: #ff6b00;
  --dark: #222831;
  --light: #f5f5f5;
  --gray: #aaaaaa;
  --text: #333333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
 
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}
/*Style for industry card*/
.industry-partnership {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

    .section-header h2 {
        font-size: 28px;
        margin-bottom: 10px;
        color: #333;
    }

    .section-header p {
        font-size: 16px;
        color: #666;
    }

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

    .partners-card:hover {
        transform: translateY(-4px);
    }

.partner-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px; /* same as h-24 */
    width: 96px; /* same as w-24 */
    padding: 8px;
    margin-bottom: 16px;
}

    .partner-image-box img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.partner-name {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600;
    margin: 0;
    color: #333;
}
.partners-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partners-card.clickable {
    cursor: pointer;
}
.hidden {
    display: none;
}

.show-more-btn {
    background-color: #007bff;
    color: white;
    border: none;
    margin-top:24px;
    padding: 10px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .show-more-btn:hover {
        background-color: #0056b3;
    }

.text-center {
    text-align: center;
}
/*Instructor section*/
.instructor-section {
    background-color: #ffffff;
    border-radius: 0.5rem; /* rounded-lg */
    /*border: 1px solid #e5e7eb;*/ /* light gray border */
    padding: 2rem; /* p-8 */
    margin-bottom: 2rem; /* mb-8 */
}

.instructor-container {
    max-width: 1024px;
    margin: 0 auto; /* center content */
}

.instructor-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 1.5rem; /* mb-6 */
    text-align: center;
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem; /* gap-8 */
    justify-content: center; 
}

@media (min-width: 768px) {
    .instructor-grid {
        grid-template-columns: repeat(3, 1fr); /* md:grid-cols-2 */
        justify-content: start;
}
}
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.instructor-card {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/*.instructor-card {
    border-radius: 0.5rem;*/ /* rounded-lg */
    /*border: 1px solid #e5e7eb;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);*/ /* shadow-sm */
    /*overflow: hidden;
}*/

.instructor-card-content {
    padding: 1.5rem; /* p-6 */
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 1rem; /* space-x-4 */
}

.instructor-avatar img.instructor-image {
    width: 5rem; /* w-20 */
    height: 5rem; /* h-20 */
    border-radius: 5px; /* rounded-full */
    object-fit: cover;
    border: 2px solid rgba(59, 130, 246, 0.2); /* border-primary/20 (blue-ish) */
}

.instructor-details {
    flex-grow: 1;
}

.instructor-name {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.5rem; /* mb-2 */
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6; /* text-primary */
    transition: color 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

    .linkedin-link:hover {
        color: #60a5fa; /* hover:text-primary/80 */
    }

    .linkedin-link img {
        width: 1rem;
        height: 1rem;
        margin-right: 0.5rem;
    }

/*instructor section End*/
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
}
/*logo container */
.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-link {
    display: block;
}

.logo-image {
    height: 48px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Header Styles */

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background-color: #fff;
  box-shadow: var(--shadow);
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 70px;
} 

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  text-decoration: none;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
  .logo img {
    height: 50px;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    display: none;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  header .container {
    padding: 10px 20px;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('image/herosection.png') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 150px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* About Section */
/* .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 30px;
} */

/* About Section Base Styles */
.about {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* About Content - Mobile First (image first) */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Reverse order for mobile - image first */
.about-content {
  flex-direction: column-reverse;
}

.about-text p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid hsl(229, 87%, 63%);
  color: #4c6cf3;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #4c6cf3;
  color: white;
}

/* Tablet (≥768px) - switch back to normal order */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  
  .about-text {
    flex: 1;
    order: 1; /* Ensure text comes first */
  }
  
  .about-image {
    flex: 1;
    order: 2; /* Ensure image comes second */
  }
}

/* Desktop (≥992px) */
@media (min-width: 992px) {
  .about {
    padding: 80px 0;
  }
  
  .about-content {
    gap: 80px;
  }
  
  .about-text p {
    font-size: 1.1rem;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .about {
    padding: 40px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .about-text p {
    margin-bottom: 20px;
  }
  
  .btn-outline {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Courses Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  background-color: #cecece;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-content {
  padding: 20px;
}

.course-content h3 {
  margin-bottom: 10px;
}

.course-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

/* Stats Section */
.stats {
  background-color: var(--primary);
  color: #fff;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Learning Culture Section */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.culture-item {
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.culture-item:hover {
  transform: translateY(-5px);
}

.culture-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.culture-item h3 {
  margin-bottom: 15px;
}

/* Partnerships Section */

/* Partnership Section - Mobile First */
.partnerships {
  background-color: #fff;
  padding: 60px 0;
}

.partnership-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.partnership-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.partnership-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--dark);
}

.partnership-text ul {
  list-style-type: none;
  padding-left: 0;
  margin: 25px 0;
}

.partnership-text li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.partnership-text li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-size: 1.5em;
  line-height: 1;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .partnership-content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  /* Optional: Reverse order for even items */
  /* .partnership-ku:nth-child(even) .partnership-content {
    direction: rtl;
  }
  .partnership-ku:nth-child(even) .partnership-content > * {
    direction: ltr;
  } */
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .partnership-content {
    gap: 70px;
  }
  
  .partnership-text p {
    font-size: 1.1rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .partnerships {
    padding: 40px 0;
  }
  
  .partnership-content {
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .partnership-text li {
    padding-left: 24px;
    font-size: 0.95rem;
  }
}
/* .partnerships {
  background-color: var(--light);
  background-color: #fff;
}

.partnership-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.partnership-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.partnership-text ul li {
  margin-bottom: 10px;
} */

.partnership-industry {
  margin-top: 70px;
}


.partners-logo {
  width: 250px;
  height: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
 
}


@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-200px * 14))}
}

.partners-slider {
	height: 100px;
	margin: auto;
	overflow:hidden;
	position: relative;
	width: auto;
  
	
.partners-slide-track {
		animation: scroll 60s linear infinite;
		display: flex;
		width: calc(250px * 28);
    margin-left: 20px;
  
}
	
.partners-logo {
  /* filter: grayscale(100%); */
  /* transition: var(--transition); */
  /* margin-bottom: 40px; */
  height: 100px;
		width: 250px;
    align-items: center;

}
}


/* .partners-logo img:hover {
  filter: grayscale(0);
} */
 

/* Testimonials Section */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin: 20px 0;
  
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.testimonial-author h4 {
  margin-bottom: 5px;
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--gray);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-controls button:hover {
  background-color: var(--primary);
  color: #fff;
}
/*New event blog style*/
.page-title {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #dee2e6;
}

    .page-title h1 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #333;
    }

.breadcrumbs {
    font-size: 0.95rem;
    color: #666;
}

.section.inner {
    background-color: #fff;
    padding: 60px 0;
}

.content img {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .content img:hover {
        transform: scale(1.03);
    }

.content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

    .content a {
        color: #007bff;
        text-decoration: none;
    }

        .content a:hover {
            text-decoration: underline;
        }
/* News Section */
.news-banner{
  padding:  40px 0px 0px 0px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-img {
  position: relative;
}

.news-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* .news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
} */

.news-date span {
  display: block;
}

.news-date span:first-child {
  font-size: 1.5rem;
  font-weight: 700;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  margin-bottom: 15px;
}

.read-more {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  color: var(--primary-dark);
}

/* Contact Section */
/* Contact Section - Mobile First */
.contact-section {
  padding: 60px 0;
  background-color: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form-container,
.contact-info-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form h2,
.contact-info-container h2 {
  margin-bottom: 25px;
  color: var(--dark);
}

.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 #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(76, 108, 243, 0.2);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* Contact Info Cards */
.info-card {
  display: flex;
  margin-bottom: 25px;
}

.info-card .icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
  min-width: 25px;
}

.info-card h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-card p {
  margin: 3px 0;
  color: var(--gray);
  line-height: 1.5;
}
.map-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: block;
}
/* Map Placeholder */
/*.map-placeholder {
    background-color: #f5f5f5;*/
    /*  padding: 30px;*/
    /*border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}*/
.map-placeholder {
    width: 100%;
    height: 400px; /* Adjust as needed: 100vh, 500px, etc. */
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.map-placeholder i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Social Media */
.social-media-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.social-icon.facebook { background-color: #3b5998; }
.social-icon.twitter { background-color: #1da1f2; }
.social-icon.instagram { background-color: #e1306c; }
.social-icon.linkedin { background-color: #0077b5; }
.social-icon.youtube { background-color: #ff0000; }

/* Tablet (768px+) */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 40px;
  }
  
  .map-placeholder {
/*    padding: 40px;*/
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .contact-section {
    padding: 40px 0;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 25px 20px;
  border-radius: 6px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
  }
  
  .info-card {
    flex-direction: column;
  }
  
  .info-card .icon {
    margin-bottom: 10px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Footer */
footer {
  background-color: var(--dark);
  color: #fff;
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 0;
  color: #ddd;
}

.footer-links h4,
.footer-courses h4,
.footer-newsletter h4 {
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-courses h4::after,
.footer-newsletter h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul li,
.footer-courses ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-courses ul li a {
  color: #ddd;
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-courses ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-newsletter input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Page Specific Styles */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/website/assets/img/herosection.png') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Mission-Vision Section - Mobile First */
.mission-vision {
  background-color: var(--light);
  padding: 40px 0;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.mission, .vision {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.mission-icon, .vision-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.mission h2, .vision h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.mission p, .vision p {
  line-height: 1.6;
  color: var(--dark);
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .mission-vision {
    padding: 60px 0;
  }
  
  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .mission, .vision {
    padding: 35px;
  }
  
  .mission-icon, .vision-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .mission h2, .vision h2 {
    font-size: 1.75rem;
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .mission-vision-grid {
    gap: 50px;
  }
  
  .mission, .vision {
    padding: 40px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .mission-vision {
    padding: 30px 0;
  }
  
  .mission, .vision {
    padding: 25px 20px;
  }
  
  .mission-icon, .vision-icon {
    font-size: 2.2rem;
  }
  
  .mission h2, .vision h2 {
    font-size: 1.4rem;
  }
} 
.principal-content {
  display: flex;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.principal-signature {
  margin-top: 30px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
} */

/* Compact Principal Message Section */
.principal-message {
  padding: 40px 0;
}

.principal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.principal-image {
  width: 100%;
  max-width: 300px; /* Smaller fixed width */
  margin: 0 auto; /* Center the image */
}

.principal-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.principal-text h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.principal-text p {
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.principal-signature {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.principal-signature h4 {
  margin-bottom: 3px;
  font-size: 1.1rem;
}

.principal-signature p {
  font-size: 0.9rem;
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .principal-content {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  
  .principal-image {
    width: 35%;
    max-width: 250px; /* Even smaller on tablet */
    margin: 0;
  }
  
  .principal-text {
    width: 65%;
  }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
  .principal-message {
    padding: 50px 0;
  }
  
  .principal-content {
    gap: 40px;
  }
  
  .principal-image {
    width: 30%;
  }
  
  .principal-text {
    width: 70%;
  }
}

/* .faculty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.faculty-card {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faculty-image {
  width: 35%;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-info {
  width: 65%;
  padding: 20px;
}

.faculty-position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.faculty-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.faculty-social a {
  color: var(--primary);
  transition: var(--transition);
}

.faculty-social a:hover {
  color: var(--primary-dark);
} */

/* Faculty Section - Mobile First */
.faculty {
  padding: 60px 0;
}

.faculty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.faculty-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column; /* Stack image and content vertically on mobile */
}

.faculty-image {
  width: 100%;
  height: 250px; /* Increased height for better face visibility */
  overflow: hidden;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Ensures faces are always visible */
}

.faculty-info {
  padding: 20px;
}

/* Tablet (600px+) */
@media (min-width: 600px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Desktop (900px+) */
@media (min-width: 900px) {
  .faculty-card {
    flex-direction: row; /* Side-by-side layout */
    height: auto;
  }
  
  .faculty-image {
    width: 40%; /* Slightly larger image area */
    height: auto; /* Natural height */
    min-height: 250px; /* Minimum height */
  }
  
  .faculty-info {
    width: 60%;
    padding: 25px;
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .faculty-grid {
    gap: 40px;
  }
  
  .faculty-image {
    min-height: 280px; /* Taller images on larger screens */
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .faculty {
    padding: 40px 0;
  }
  
  .faculty-image {
    height: 220px; /* Slightly reduced but still shows full face */
  }
  
  .faculty-info {
    padding: 15px;
  }
}

.detail-partnership {
  margin-bottom: 70px;
}

.detail-partnership h3 {
  margin-bottom: 30px;
  text-align: center;
}

.partnership-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.benefit-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.detailed-logos {
  margin-top: 50px;
}


/* Facilities Section - Mobile First */
.facilities {
  padding: 60px 0;
}

.facilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.facility-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.facility-item:hover {
  transform: translateY(-5px);
}

.facility-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.facility-item h3 {
  margin: 20px 20px 10px;
  font-size: 1.25rem;
}

.facility-item p {
  margin: 0 20px 20px;
  color: var(--gray);
  line-height: 1.5;
}

/* Small Tablet (600px+) */
@media (min-width: 600px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .facility-item img {
    height: 200px;
  }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .facilities {
    padding: 80px 0;
  }
  
  .facility-item h3 {
    font-size: 1.35rem;
  }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
  .facilities-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .facility-item img {
    height: 220px;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .facilities {
    padding: 40px 0;
  }
  
  .facility-item img {
    height: 160px;
  }
  
  .facility-item h3 {
    font-size: 1.2rem;
    margin: 15px 15px 8px;
  }
  
  .facility-item p {
    margin: 0 15px 15px;
    font-size: 0.95rem;
  }
}


/* Ensure tab content is visible */
.tab-content {
  display: block !important;
  opacity: 1 ;
  height: auto ;
  overflow: visible ;
}

/* Make sure panes are properly shown */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s;
}

/* Course card visibility */
.course-card {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Animation for transitions */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Courses Tabs Section */
.courses-tabs {
  position: relative;
  z-index: 1;
  padding: 70px 0;
}

.tabs {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.tab-header {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 40px;
}

.tab-trigger {
  padding: 15px 30px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border-bottom: 3px solid transparent;
}

.tab-trigger.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Diploma Courses Section */
.diploma-courses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  overflow: visible;
}

.diploma-card {
  background-color:  #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border-top: 4px solid;
}

.diploma-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.diploma-header {
  padding: 20px;
  border-bottom: 1px solid #fcfcfc;
}

.diploma-header h3 {
  margin-bottom: 5px;
  font-size: 1.4rem;
}

.diploma-header p {
  color: var(--gray);
  margin-bottom: 0;
}

.diploma-details {
  padding: 20px;
}

.diploma-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.meta-item i {
  color: var(--primary);
  margin-right: 8px;
}

.course-expand {
  margin-top: 20px;
}

.expand-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 15px;
  background-color: #f1eaea;
  border-radius: 4px;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  gap: 20px;
}

.expand-trigger i.fas {
  margin-left: auto; /* Pushes icon to far right */
  transition: transform 0.3s ease; /* Smooth rotation animation */
}

/* Chevron rotation when expanded */
.expand-trigger.active i.fas {
  transform: rotate(180deg);
}

.expand-trigger:hover {
  background-color: #eee;
  gap: 25px;
}

.expand-content {
  padding: 20px 0;
}

.expand-content h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  margin-top: 20px;
}

.expand-content h4:first-child {
  margin-top: 0;
}

.expand-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.expand-content ul li {
  margin-bottom: 5px;
}

.modules-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.modules-table th,
.modules-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.modules-table th {
  font-weight: 600;
  background-color: #f5f5f5;
}

.diploma-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.diploma-footer .btn {
  width: 100%;
}

/* Individual Courses Section */
.individual-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-icon {
  width: 50px;
  height: 50px;
  background-color: #e6f3ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 0 20px;
}

.course-icon i {
  color: var(--primary);
  font-size: 1.2rem;
}

.course-header {
  padding: 20px 20px 10px;
}

.course-header h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-size: 0.85rem;
}

.course-content {
  padding: 0 20px 20px;
  flex-grow: 1;
}

.course-content p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.course-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.course-footer .btn {
  width: 100%;
}

Course Details Specific Styles */ */

/* Course Details Header */
.course-details-header {
  background: linear-gradient(to right, #868ec0, #e7e8ec);
  color: #0e0a0a;
  padding: 3rem 1.5rem;
}

.back-link a {
  color: #4c6cf3;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
  color: #4c51bf;

}

.back-link i {
  margin-right: 0.5rem;
}

.course-intro {
  max-width: 1000px;
  margin: 0 auto;
}

.course-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.course-intro p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .course-meta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
    

}
@media (min-width: 320px){
    .course-intro h1 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
}

.meta-item {
  display: flex;
  align-items: flex-start;
}

.meta-item i {
  font-size: 1.2rem;
  margin-right: 0.8rem;
  margin-top: 0.2rem;
}

.meta-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

.meta-value {
  font-weight: 600;
}

.course-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .course-actions {
    flex-direction: row;
  }
}

.course-actions .btn {
  min-width: 150px;
}

/* Course Details Tabs */
.course-details-tabs {
  padding: 3rem 1.5rem;
}

.tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-header {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  margin-bottom: 2rem;
}

.tab-trigger {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  margin-bottom: 0.5px;
}

.tab-trigger i {
  margin-right: 0.5rem;
}

.tab-trigger.active {
  color: #4c6cf3;
  border-bottom-color: #6e59a5;
}

.tab-trigger:hover:not(.active) {
  color: #4c6cf3;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Overview Tab */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .overview-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.overview-main h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.overview-main p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.overview-main h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: #333;
}

.highlights-list {
  list-style-type: none;
  padding: 0;
}

.highlights-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 1.8rem;
}

.highlights-list li:before {
  content: "✓";
  color: #4c6cf3;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.details-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #eee;
}

.details-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.detail-item {
  margin-bottom: 1.2rem;
}

.detail-label {
  display: block;
  font-size: 0.9rem;
  color: #6e6e6e;
  margin-bottom: 0.3rem;
}

.detail-value {
  font-weight: 600;
  font-size: 1.1rem;
}

.detail-item ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  margin-top: 0.3rem;
}

.detail-item ul li {
  margin-bottom: 0.3rem;
}

/* Objectives Tab */
.objectives-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .objectives-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.objective-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}

.objective-icon {
  background-color: rgba(110, 89, 165, 0.1);
  color: #4c6cf3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.objective-item p {
  margin: 0;
  line-height: 1.5;
}

/* Careers Tab */
.careers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .careers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .careers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.career-card {
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #eee;
  border-left: 4px solid #4c6cf3;
}

.career-icon {
  color: #4c6cf3;
  margin-bottom: 1rem;
}

.career-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.career-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Curriculum Tab */
.curriculum-list {
  margin-top: 2rem;
}

.module-card {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.module-header {
  background-color: rgba(110, 89, 165, 0.1);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-title {
  display: flex;
  align-items: center;
}

.module-title i {
  color: #4c6cf3;
  margin-right: 0.8rem;
}

.module-title h3 {
  margin: 0;
  font-size: 1.1rem;
}

.module-duration {
  font-size: 0.9rem;
  color: #666;
}

.module-content {
  padding: 1rem 1.5rem;
}

.module-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.module-content ul li {
  margin-bottom: 0.3rem;
}

/* Call to Action */
.course-cta {
  background-color: #f5f5f5;
  padding: 4rem 1.5rem;
  text-align: center;
}

.course-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.course-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #666;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-buttons .btn {
  min-width: 150px;
}


.career-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.career-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Curriculum Tab */
.curriculum-list {
  margin-top: 2rem;
}

.module-card {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.module-header {
  background-color: rgba(110, 89, 165, 0.1);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-title {
  display: flex;
  align-items: center;
}

.module-title i {
  color: #4c6cf3;
  margin-right: 0.8rem;
}

.module-title h3 {
  margin: 0;
  font-size: 1.1rem;
}

.module-duration {
  font-size: 0.9rem;
  color: #666;
}

.module-content {
  padding: 1rem 1.5rem;
}

.module-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.module-content ul li {
  margin-bottom: 0.3rem;
}

/* Call to Action */
.course-cta {
  background-color: #f5f5f5;
  padding: 4rem 1.5rem;
  text-align: center;
}

.course-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.course-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #666;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-buttons .btn {
  min-width: 150px;
}


/* Why Choose Section */
.why-choose {
  background-color: var(--light);
  padding: 70px 0;
}

.why-choose h2 {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.why-choose h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-choose-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-choose-item:hover {
  transform: translateY(-5px);
}

.why-choose-item h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.why-choose-item p {
  color: var(--gray);
}

/* Responsive Styles for Courses Page */
@media screen and (max-width: 1024px) {
  .diploma-courses, .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .individual-courses {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .diploma-courses, .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .individual-courses {
    grid-template-columns: 1fr;
  }
  
  .tab-trigger {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .courses-grid, .culture-grid, .stats-grid, .news-grid, .partnership-benefits {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .facility-item {
    margin-bottom: 30px;
  }
}


/* Admissions Page Styles */
.admissions-section {
    padding: 50px 0;
    background-color: #ffffff;
}

.tab-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-trigger {
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tab-trigger i {
    font-size: 24px;
    color: #333;
}

.tab-trigger.active {
    background-color: #1a4b8a;
    color: white;
}

.tab-trigger.active i {
    color: white;
}

.tab-pane {
    display: none;
    padding-bottom: 50px;
}

.tab-pane.active {
    display: block;
}

.tab-content {
  min-height: 500px; /* Ensure enough space */
  position: relative;
}
.tab-content-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tab-content-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #494848;
}
.apply-btn{
display:flex;
justify-content:center;
}
/*New Eligibility card*/
.eligibility-criteria {
    background-color: #e6f0ff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto 20px auto;
}

    .eligibility-criteria h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
        color: #4c6cf3;
    }

        .eligibility-criteria h3 i {
            color: #4c6cf3;
        }

    .eligibility-criteria ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

        .eligibility-criteria ul li {
            margin-bottom: 12px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

            .eligibility-criteria ul li i {
                color: #28a745;
                margin-top: 3px;
            }

/* Eligibility Cards */
.eligibility-cards {
    /*    display: grid;*/
    display: block;
/*    grid-template-columns: 1fr;
    gap: 20px;*/
}

@media (min-width: 768px) {
    .eligibility-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.eligibility-cards .card {
    background-color: #e6f0ff;
    padding: 25px;
    border-radius: 8px;
    width:600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom:20px;
}


.eligibility-cards .card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #4c6cf3;
}

.eligibility-cards .card h3 i {
    color: #4c6cf3;
}

.eligibility-cards .card ul {
    list-style-type: none;
    padding: 0;
}

.eligibility-cards .card ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.eligibility-cards .card ul li i {
    color: #28a745;
    margin-top: 3px;
}


/* Application Timeline - Corrected Version */

/* 
.application-timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  
}
.timeline-number {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #4c6cf3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  left: 0;
  z-index: 1;
}
.application-timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #4c6cf3;
  top: 0;
  bottom: 0;
  /* left: 50%; */
  /* z-index: 0;
  margin-left: -1px;
  overflow: visible;
}
.timeline-content {
  margin-left: 60px;
  background-color: #e6f0ff;
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  visibility:visible;
}

.timeline-item:nth-child(odd) .timeline-content {
  left: calc(50%-40px );
}

.timeline-item:nth-child(even) .timeline-content {
  right: calc(50% + 40px);
  left: auto;
  align-items: left;
}


@media (min-width: 768px) {
  .application-timeline {
    max-width: 800px;
    padding: 0;
  }
  
  .application-timeline::before {
    left: 50%;
    margin-left: -1px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
}

.timeline-number {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #4c6cf3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  left: 0;
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-number {
    left: 50%;
    /* margin-left: -20px; */
  /* }
}

.timeline-content {
  margin-left: 60px;
  background-color: #e6f0ff;
  padding: 20px;
  border-radius: 8px;
  width: calc(100% -40px);
  box-sizing: border-box;
  visibility:visible;
}

@media (min-width: 768px) {
  .timeline-number {
      left: 50%;
      transform: translateX(-50%);
  }
}

.timeline-content {
  margin-left: 60px;
  background-color: #e6f0ff;
  padding: 20px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(even) .timeline-content {
      margin-left: 0;
      margin-right: 60px;
      text-align: right;
     
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
      margin-left: 60px;
      text-align: left;
  }
} */ */ */
 /* Timeline Container */
.application-timeline {
  position: relative;
  max-width: 100%;
  margin: 40px auto;
  padding: 0 20px;
}

/* Vertical Line */
/* .application-timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #4c6cf3;
  top: 0;
  bottom: 0;
   left: 50%; 
   z-index: 0;
  margin-left: -1px;
  
} */

/* Timeline Container */
.application-timeline {
  position: relative;
  max-width: 100%;
  margin: 40px auto;
  padding: 0 20px;
}

/* Vertical Line - Perfectly Aligned */
.application-timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #4c6cf3;
  top: 0;
  bottom: 0;
  left: 50px; /* Matches circle position */
  transform: translateX(-50%);
  z-index: 0;
}

/* Timeline Items */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
  min-height: 60px; /* Ensures consistent spacing */
}

/* Number Circles - Perfect Alignment */
.timeline-number {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #4c6cf3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  left: 30px; /* Matches line position */
  transform: translateX(-50%);
  z-index: 1;
  font-size: 18px;
}

/* Content Boxes */
.timeline-content {
  margin-left: 60px;
  background-color: #e6f0ff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Tablet and Desktop (768px+) */
@media (min-width: 768px) {
  .application-timeline {
    max-width: 800px;
    padding: 0;
  }
  
  .application-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-number {
    left: 50%;
    transform: translateX(-45%);
  }
  
  .timeline-content {
    width: calc(50% - 80px);
    margin-left: 0;
  }
  
  /* Right side items */
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 80px);
  }
  
  /* Left side items */
  .timeline-item:nth-child(even) .timeline-content {
    margin-right: calc(50% + 80px);
    margin-left: auto;
  }
}

/* Small Mobile (480px-) */
@media (max-width: 480px) {
  .timeline-number {
    width: 32px;
    height: 32px;
    font-size: 16px;
    left: 10px;
  }
  
  .application-timeline::before {
    left: 30px;
  }
  
  .timeline-content {
    margin-left: 50px;
    padding: 15px;
  }
}

/* Fees and Payment Styles */
.fees-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .fees-content {
        grid-template-columns: 1fr 1fr;
    }
}

.fees-column h3 {
    margin-bottom: 20px;
    color: #4a6cf7;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.fee-amount {
    font-weight: bold;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon i {
    color: #28a745;
    font-size: 18px;
}

.payment-details h5 {
    margin-bottom: 5px;
    color: #333;
}

/* Scholarship Cards */
.scholarship-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .scholarship-cards {
        grid-template-columns: repeat(3, 1fr);
       
    }
}

.scholarship-card {
    text-align: center;
    padding: 30px;
    background-color: #f0f7ff;
}

.scholarship-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.scholarship-icon i {
    color: #4c6cf3;
    font-size: 24px;
}

.scholarship-amount {
    font-weight: bold;
    margin: 15px 0;
}

.how-to-apply {
    background-color: #f0f7ff;
    padding: 25px;
    border-radius: 8px;
}

.how-to-apply h3 {
    color: #4a6cf7;
    margin-bottom: 20px;
}

.how-to-apply ol {
    padding-left: 20px;
}

.how-to-apply ol li {
    margin-bottom: 15px;
}

.how-to-apply ol li strong {
    display: block;
    margin-bottom: 5px;
}

.note {
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

/* FAQ Accordion */
/* .faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.expand-trigger {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    

}

.expand-trigger h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 18px;
}

.expand-trigger i {
  margin-left: 15px; /* Add space between text and icon} */


/* .expand-content {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-top: 10px;
  padding: 15px;
} */ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.expand-trigger {
  background-color: #f0f7ff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Add this to vertically center items */
}

.expand-trigger h3 {
  margin: 0;
  font-size: 18px;
  display: flex;
  justify-content: space-between; /* Changed from space-around */
  align-items: center;
  width: 100%; /* Ensure it takes full width */
}

.expand-trigger i {
  margin-left: 15px; /* Add space between text and icon */
}

.expand-content {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-top: 10px;
  padding: 15px;
  display: none; /* Initially hidden */
}

/* Show content when active */
.expand-trigger.active + .expand-content {
  display: block;
}

/* Rotate chevron when active */
.expand-trigger.active i {
  transform: rotate(180deg);
}
/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    text-align: center;
    padding: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: #4c6cf3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 24px;
}

.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #4c6cf3;
    color: #4c6cf3;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #4c6cf3;
    color: white;
}

/* News & Events Page Styles */
.news-events-tabs {
    padding: 60px 0;
}

.tab-triggers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    align-items: center
}

.tab-trigger {
    padding: 12px 20px;
    background-color: #f0f7ff;;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tab-trigger i {
    font-size: 16px;
}

.tab-trigger.active {
    background-color: #4a6cf7;
    color: white;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* News Filter */
.news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.news-header h3 {
    font-size: 20px;
    margin: 0;
}

.news-date {
    color: #666;
    margin-bottom: 16px;
    font-size: 14px;
    background-color: #fff;
      display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.academic {
    background-color: #4a6cf7;
    color: white;
}

.badge.campus {
    background-color: #6c757d;
    color: white;
}

.badge.workshop {
    background-color: #28a745;
    color: white;
}

.badge.seminar {
    background-color: #17a2b8;
    color: white;
}

.badge.event {
    background-color: #fd7e14;
    color: white;
}

.news-excerpt {
    margin-bottom: 16px;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.event-header h3 {
    font-size: 18px;
    margin: 0;
    max-width: 70%;
}

.event-details {
    margin-bottom: 16px;
}

.event-details p {
    margin: 8px 0;
}

.event-description {
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-actions {
    margin-top: auto;
}

/* Calendar Styles */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    font-size: 20px;
    margin: 0;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-table {
    width: 100%;
    overflow-x: auto;
}

.calendar-table table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.calendar-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.calendar-table tr:hover {
    background-color: #f8f8f8;
}

.btn {
    padding: 10px 20px;
    background-color: #4a6cf7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #3a5ce4;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-triggers {
        flex-direction: column;
    }
    
    .event-header {
        flex-direction: column;
    }
    
    .event-header h3 {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .news-header {
        flex-direction: column;
    }
    
    .news-header h3 {
        margin-bottom: 10px;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Gallery Styles */
.gallery-tabs {
    margin-bottom: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: #4a6cf7;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.item-caption {
    padding: 1rem;
    background-color: white;
}

.item-caption h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.item-caption p {
    color: #666;
    font-size: 0.9rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Loading state for videos */
.video-container.loading {
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container.loading::after {
  content: "Loading...";
  color: #666;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.required-star {
    color: red; /* Red color */
    margin-left: 4px;
    font-weight: bold;
    font-size: 16px;
}


