/* ===================================
   EduGlobal Pathways - Custom Styles
   =================================== */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #0047ab;
  --accent-color: #f9a825;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --text-color: #333333;
  --text-muted: #6c757d;
  --white: #ffffff;
  --border-color: #e9ecef;
  --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --border-radius: 0.375rem;
  --transition: all 0.3s ease;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #003d96;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #003d96;
  border-color: #003d96;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--dark-color);
  font-weight: 600;
}

.btn-accent:hover {
  background-color: #e6941f;
  border-color: #e6941f;
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color:#e2e6ec;
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header Styles */
.header-area {
  position: relative;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand .logo {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-color);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(0, 71, 171, 0.1);
}

/* Mobile Navbar Fixes - Enhanced */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
  }

  .navbar-brand {
    flex: 0 0 auto;
    margin-right: auto;
  }

  .navbar-brand .logo {
    max-width: 110px;
    height: 35px;
    object-fit: contain;
  }

  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }

  .navbar-collapse {
    margin-top: 1rem;
    width: 100%;
  }

  .navbar-nav {
    text-align: center;
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 0.25rem 0;
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0;
    border-radius: var(--border-radius);
    display: block;
    width: 100%;
  }

  /* Ensure consultation button fits properly */
  .navbar .btn {
    width: 100%;
    margin: 1rem 0 0 0;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Fix navbar header layout */
  .navbar > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
}

/* Extra small screens */
@media (max-width: 575.98px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .navbar-brand .logo {
    max-width: 95px;
    height: 32px;
  }

  .navbar .btn {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }

  .navbar-toggler {
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
  }
}

/* Prevent horizontal overflow */
@media (max-width: 991.98px) {
  .navbar,
  .navbar .container,
  .navbar-collapse {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056d3 100%);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
  background-size: cover;
  background-position: bottom;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.text-accent {
  color: var(--accent-color);
}

.hero-buttons {
  margin-bottom: 3rem;
}

.hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.hero-image {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056d3 100%);
  padding: 150px 0 100px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
  background-size: cover;
  background-position: bottom;
}

/* Service Cards */
.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #0056d3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.service-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Service Detail Cards */
.service-detail-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Process Steps */
.process-step {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.testimonial-rating {
  color: var(--accent-color);
  margin: 0.5rem 0;
}

.testimonial-course {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  text-align: left;
}

.testimonial-info {
  margin-left: 1rem;
}

.testimonial-info h5 {
  margin-bottom: 0.25rem;
}

.destination-badge {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Destination Cards */
.destination-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.destination-image {
  position: relative;
  overflow: hidden;
}

.destination-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.destination-card:hover .destination-image img {
  transform: scale(1.05);
}

.destination-flag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--white);
  padding: 0.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.destination-flag img {
  width: 45px;
  height: 30px;
  object-fit: cover;
}

.destination-content {
  padding: 2rem;
}

.destination-highlights {
  margin: 1.5rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.highlight-item i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  width: 16px;
}

.popular-courses {
  margin: 1.5rem 0;
}

.course-tag {
  display: inline-block;
  background: rgba(0, 71, 171, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
}

/* Comparison Table */
.comparison-table-style {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table-style th {
  background: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.comparison-table-style td {
  padding: 1rem;
  border-color: var(--border-color);
  vertical-align: middle;
}

.comparison-table-style tbody tr:hover {
  background-color: rgba(0, 71, 171, 0.05);
}

/* Team Cards */
.team-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border: 4px solid var(--border-color);
}

.team-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Mission Vision Values */
.mvv-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.mvv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mvv-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #e6941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--dark-color);
}

.values-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.values-list li {
  padding: 0.5rem 0;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.featured-blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.featured-blog-card .blog-content {
  padding: 2.5rem;
}

.featured-blog-card h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Category Cards */
.category-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #0056d3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.article-count {
  background: rgba(0, 71, 171, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Contact Cards */
.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #0056d3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

/* Social Cards */
.social-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.social-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.social-icon.facebook {
  background: #1877f2;
}
.social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-icon.linkedin {
  background: #0077b5;
}
.social-icon.whatsapp {
  background: #25d366;
}

/* Test Prep Cards */
.test-prep-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.test-prep-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.test-logo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-color), #0056d3);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.test-logo h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.test-details ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.test-details li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.test-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.test-stats {
  margin-top: 1rem;
}

.test-stats .badge {
  margin-right: 0.5rem;
}

/* Video Testimonials */
.video-testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.video-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 71, 171, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.play-button:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-duration {
  background: var(--accent-color);
  color: var(--dark-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Stats Cards */
.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #e6941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--dark-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #dfe6ec;
  font-weight: 500;
}

/* Partners Slider */
.partners-slider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner-logo {
  flex: 1;
  min-width: 120px;
  text-align: center;
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056d3 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 0,100"/></svg>');
  background-size: cover;
  background-position: top;
}

/* Forms */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 71, 171, 0.25);
}

.form-select {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 71, 171, 0.25);
}

/* Map Container */
.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Office Hours */
.office-hours {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
  border-bottom: none;
}

.day {
  font-weight: 500;
}

.time {
  color: var(--text-muted);
}

/* Newsletter */
.newsletter-form {
  max-width: 500px;
  margin: 0 auto 1rem;
}

.newsletter-form .input-group {
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.newsletter-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--dark-color) !important;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #003d96;
  transform: translateY(-2px);
}

/* Modal Customizations */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: var(--primary-color);
  color: var(--white);
  border-bottom: none;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header .btn-close {
  filter: invert(1);
}

/* Accordion Customizations */
.accordion-item {
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-button {
  background: var(--white);
  border: none;
  font-weight: 500;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: var(--white);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.accordion-body {
  padding: 1.5rem;
  background: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .partners-slider {
    justify-content: center;
  }

  .partner-logo {
    min-width: 100px;
  }

  .test-prep-card {
    flex-direction: column;
    text-align: center;
  }

  .test-logo {
    width: 100px;
    height: 100px;
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .page-header {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-card,
  .testimonial-card,
  .destination-card {
    margin-bottom: 2rem;
  }

  .comparison-table-style {
    font-size: 0.85rem;
  }

  .comparison-table-style th,
  .comparison-table-style td {
    padding: 0.75rem 0.5rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.shadow-custom {
  box-shadow: var(--shadow) !important;
}

.shadow-lg-custom {
  box-shadow: var(--shadow-lg) !important;
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-to-top,
  .cta-section,
  .modal {
    display: none !important;
  }

  .hero-section,
  .page-header {
    background: var(--white) !important;
    color: var(--text-color) !important;
  }

  .hero-title,
  .page-title {
    color: var(--primary-color) !important;
  }
}
