:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-color);
  overflow-x: hidden;
}

/* Header Styles */

.main-header {
  background-color:var(--light-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  height: 50px;
  transition: var(--transition);
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 0;
  height: 2px;
  /* background-color: var(--secondary-color); */
  transition: var(--transition);
}

.nav-link:hover::after {
  width: calc(100% - 2rem);
}
/* Add this to your styles.css */
#profile-nav .nav-link.btn {
  color: white !important;
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: var(--transition);
  border: none;
  padding: 0.5rem 1rem;
}

#profile-nav .nav-link.btn:hover {
  background-color: var(--secondary-color);
  color: white !important;
}
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Hero Slider */
.hero-slider {
  height: 90vh;
  max-height: 800px;
}

.hero-slide {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
}

.hero-content h2 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-content p {
  color: white; 
  font-size: clamp(1rem, 2vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.offer-card {
  transition: all 0.3s ease;
}
.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Universities Section */
.universities-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title h2 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

.university-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.university-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.university-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.university-info {
  padding: 1.5rem;
}

.university-name {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.university-meta {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.university-meta i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

/* Cities Section */
.cities-section {
  padding: 5rem 0;
  background-color: white;
}

.city-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  height: 300px;
  margin-bottom: 1.5rem;
}

.city-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.city-card:hover .city-img {
  transform: scale(1.05);
}

.city-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
}

.city-name {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.testimonial-swiper {
    padding: 20px 0;
  }
  
  .swiper-slide {
    display: flex !important;  /* Force horizontal layout */
    gap: 30px;                /* Space between testimonials */
  }
  
  .testimonial-card {
    flex: 1;                  /* Equal width cards */
    min-width: 0;             /* Prevent overflow */
  }
.testimonial-card {
  background: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--secondary-color);
  position: absolute;
  top: -1rem;
  left: -1rem;
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-source {
  color: #6c757d;
  font-size: 0.9rem;
}

.testimonial-media {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.testimonial-video {
  width: 100%;
  height: min-content;
  border-radius: 0.5rem;
}

.testimonial-image {
  width: 100%;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.testimonial-image:hover {
  transform: scale(1.03);
}

.zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-media:hover .zoom-icon {
  opacity: 1;
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.blog-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: #6c757d;
  font-size: 0.9rem;
}

.blog-title {
  font-weight: 700;
  margin: 0.5rem 0;
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 0.8rem;
  color: var(--secondary-color);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }


@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .top-header .contact-info {
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  

@media (max-width: 576px) {
  .hero-slider {
    height: 60vh;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
}
}
}
/* Remove this incorrect nested structure */
@media (max-width: 768px) {
  .social-icons {
    gap: 10px;
  }
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
} /* This was closing too early */

/* Move social icons styles outside media queries */
.footer-social {
  text-align: center;
  margin-top: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 1rem 0;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0.9;
}

/* Correct media query for mobile only */
@media (max-width: 768px) {
  .social-icons {
    gap: 10px;
  }
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}
/* Success Cases Section - Optimized */
.success-cases-section {
  background-color: #f8f9fa;
}

.success-cases-section img {
  border-radius: 8px;
  transition: transform 0.3s ease;
  aspect-ratio: 1/1;
  object-fit: cover;
  background-color: #eee;
}

.success-cases-section img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Placeholder styling */
.success-cases-section img[src*="placeholder"] {
  background-color: #f0f0f0;
  opacity: 0.7;
}

/* Button styling */
#view-more-btn, #view-less-btn {
  transition: all 0.3s ease;
}