/* Base Styles */
:root {
  --primary-color: #0070c0;
  --secondary-color: #00a651;
  --accent-color: #f7941d;
  --text-color: #333;
  --light-text: #fff;
  --light-bg: #f9f9f9;
  --dark-bg: #333;
  --border-color: #ddd;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --dropdown-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;/* 
==============================================
Medical & Paramedical Education Portal CSS
==============================================
*/

/* 
Table of Contents:
1. CSS Variables & Root Styles
2. Base Styles
3. Typography
4. Layout & Grid
5. Header & Navigation
6. Hero Section
7. Quick Links Section
8. About Section
9. MBBS in India Section
10. Medicine Section
11. Medical Exams Section
12. Study Abroad Section
13. Resources Section
14. Medical News Section
15. Direct Admission Section
16. Contact Section
17. Footer
18. Utility Classes
19. Animations
20. Dark Mode
21. Media Queries
*/

/* 1. CSS Variables & Root Styles */
:root {
  /* Primary Colors */
  --primary-color: #0070c0;
  --primary-dark: #005a9e;
  --primary-light: #4a9fdb;
  --primary-very-light: #dbeafe;

  /* Secondary Colors */
  --secondary-color: #00a651;
  --secondary-dark: #008542;
  --secondary-light: #4ac07f;
  --secondary-very-light: #d1fae5;

  /* Accent Colors */
  --accent-color: #f7941d;
  --accent-dark: #d97b08;
  --accent-light: #ffb55e;
  --accent-very-light: #ffedd5;

  /* Tertiary Colors */
  --tertiary-color: #9c27b0;
  --tertiary-light: #ba68c8;
  --tertiary-dark: #7b1fa2;

  /* Neutral Colors */
  --dark-color: #1e293b;
  --dark-color-light: #334155;
  --light-color: #f8fafc;
  --light-color-dark: #e2e8f0;
  --gray-color: #64748b;
  --gray-color-light: #94a3b8;

  /* Status Colors */
  --success-color: #22c55e;
  --warning-color: #eab308;
  --error-color: #ef4444;
  --info-color: #3b82f6;

  /* Typography */
  --body-font: "Poppins", sans-serif;
  --heading-font: "Poppins", sans-serif;
  --base-font-size: 16px;
  --h1-size: 2.5rem;
  --h2-size: 2rem;
  --h3-size: 1.5rem;
  --h4-size: 1.25rem;
  --h5-size: 1.125rem;
  --h6-size: 1rem;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  --spacing-section: 5rem;

  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --border-radius-full: 9999px;

  /* Box Shadow */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --dropdown-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index */
  --z-negative: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Container */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
}

/* 2. Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

/* 3. Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
  transition: color var(--transition-normal);
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

p {
  margin-bottom: var(--spacing-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-full);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: var(--gray-color);
  font-size: 1.1rem;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* 4. Layout & Grid */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding: var(--spacing-section) 0;
}

.bg-light {
  background-color: var(--light-color-dark);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

/* 5. Header & Navigation - ENHANCED FOR DESKTOP */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.announcement-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  to {
    left: 100%;
  }
}

.announcement-bar p {
  margin: 0;
  position: relative;
  font-weight: 500;
}

.announcement-bar i {
  margin-right: 5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

#mainHeader {
  background-color: var(--light-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: var(--z-fixed);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#mainHeader.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

#mainHeader .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  padding: 0.5rem 0;
}

.logo:hover {
  transform: scale(1.05);
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  background-size: 200% auto;
  animation: textGradient 5s ease infinite alternate;
}

@keyframes textGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.logo p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--gray-color);
  font-weight: 500;
}

nav {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu-toggle:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

/* Enhanced Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  height: 60px;
}

.nav-menu li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
  border-radius: var(--border-radius-full);
}

.nav-menu a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Enhanced Dropdown Styling */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-right: 1rem;
}

.has-dropdown > a i {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  margin-left: 0.2rem;
}

.has-dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  min-width: 240px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: var(--z-tooltip);
  border-top: 3px solid var(--primary-color);
  overflow: hidden;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--primary-color);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  width: 100%;
  height: auto;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--dark-color);
  font-weight: 400;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  width: 100%;
}

.dropdown-menu a:hover {
  background-color: var(--primary-very-light);
  color: var(--primary-color);
  padding-left: 1.75rem;
  border-left: 3px solid var(--primary-color);
  transform: translateY(0);
}

.dropdown-menu a::after {
  display: none;
}

/* Enhanced Inquiry Button */
.inquiry-btn {
  margin-left: 25px;
}

.btn-inquiry {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.7rem 1.8rem;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 112, 192, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.btn-inquiry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-inquiry:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 112, 192, 0.4);
  color: white;
}

.btn-inquiry:hover::before {
  opacity: 1;
}

.btn-inquiry:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 112, 192, 0.3);
}

.btn-inquiry::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 300px;
  background: rgba(255, 255, 255, 0.3);
  top: -150%;
  left: -100px;
  transform: rotate(30deg);
  transition: all 0.6s ease;
}

.btn-inquiry:hover::after {
  left: 120%;
}

/* Enhanced Desktop Menu Hover Effects */
.nav-menu a[data-hover] {
  position: relative;
  overflow: hidden;
}

.nav-menu a[data-hover]::before {
  content: attr(data-hover);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--primary-color);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav-menu a[data-hover]:hover::before {
  transform: translateY(0);
}

.nav-menu a[data-hover]:hover span {
  transform: translateY(-100%);
}

/* Add a subtle highlight effect to the active menu item */
.nav-menu a.active {
  position: relative;
}

.nav-menu a.active::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* Add a subtle glow effect to the header on scroll */
#mainHeader.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 30px rgba(0, 112, 192, 0.15);
}

/* Enhance the dropdown menu appearance */
.dropdown-menu {
  border-radius: 12px;
  padding: 0.8rem 0;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--primary-color);
  transform-origin: top center;
}

.dropdown-menu li:first-child a {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown-menu li:last-child a {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.dropdown-menu a {
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  position: relative;
}

.dropdown-menu a:hover {
  background-color: var(--primary-very-light);
  color: var(--primary-color);
  padding-left: 2rem;
}

.dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: all 0.25s ease;
  opacity: 0;
}

.dropdown-menu a:hover::before {
  width: 6px;
  height: 6px;
  opacity: 1;
}

/* Add a subtle animation to the logo */
@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.logo {
  animation: logoFloat 5s ease-in-out infinite;
}

/* Enhance the inquiry button */
.btn-inquiry {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 8px 25px rgba(0, 112, 192, 0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-inquiry::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s ease;
}

.btn-inquiry:hover::after {
  left: 100%;
}

/* 6. Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1581056771107-24ca5f033842?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80")
    no-repeat center center / cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 112, 192, 0.8), rgba(0, 166, 81, 0.8));
  opacity: 0.7;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease;
  color: white;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats .stat {
  text-align: center;
  position: relative;
}

.hero-stats .stat span {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-stats .stat::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.hero-stats .stat p {
  font-size: 0.9rem;
  margin-top: 15px;
  font-weight: 400;
  animation: none;
  margin-bottom: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease 0.9s both;
}

/* 7. Quick Links Section - ENHANCED */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.quick-link-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 4px solid transparent;
  border-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-image-slice: 1;
  position: relative;
  overflow: hidden;
}

.quick-link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 112, 192, 0.05), rgba(0, 166, 81, 0.05));
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.quick-link-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.quick-link-card:hover::before {
  opacity: 1;
}

.quick-link-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 112, 192, 0.2);
}

.quick-link-card:hover .quick-link-icon {
  transform: rotateY(360deg);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  box-shadow: 0 8px 25px rgba(0, 166, 81, 0.3);
}

.quick-link-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  transition: color var(--transition-normal);
  position: relative;
  z-index: 1;
}

.quick-link-card:hover h3 {
  color: var(--secondary-color);
}

.quick-link-list {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.quick-link-list li {
  margin-bottom: 0.5rem;
  position: relative;
}

.quick-link-list a {
  color: var(--dark-color);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: block;
  padding: 0.25rem 0;
  position: relative;
  padding-left: 0;
}

.quick-link-list a::before {
  content: "→";
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.quick-link-list a:hover {
  color: var(--primary-color);
  padding-left: 15px;
}

.quick-link-list a:hover::before {
  opacity: 1;
  left: 0;
}

.quick-link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  transition: gap var(--transition-fast), color var(--transition-fast);
  position: relative;
  z-index: 1;
}

.quick-link-more:hover {
  gap: 0.75rem;
  color: var(--secondary-color);
}

.quick-link-more i {
  transition: transform var(--transition-fast);
}

.quick-link-more:hover i {
  transform: translateX(5px);
}

/* 8. About Section */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(0, 112, 192, 0.05);
  z-index: 0;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(0, 166, 81, 0.05);
  z-index: 0;
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 5px solid var(--primary-color);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.about-features .feature {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  text-align: center;
}

.about-features .feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.about-features .feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: transform var(--transition-slow), color var(--transition-normal);
}

.about-features .feature:hover i {
  color: var(--secondary-color);
  transform: rotateY(360deg);
}

.about-features .feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.about-features .feature:hover h3 {
  color: var(--secondary-color);
}

.about-features .feature p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--gray-color);
}

.about-stats {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
}

.stats-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* 9. MBBS in India Section */
.mbbs-india-section {
  position: relative;
  background-color: var(--light-color-dark);
  padding: var(--spacing-section) 0;
}

.mbbs-india-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.mbbs-india-text {
  flex: 1;
}

.mbbs-india-text p {
  margin-bottom: 1.5rem;
}

.mbbs-india-image {
  flex: 1;
  position: relative;
}

.image-collage {
  position: relative;
  height: 450px;
  width: 100%;
}

.image-collage img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  position: absolute;
  transition: transform 0.5s ease;
}

.main-image {
  width: 70%;
  height: 70%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 3;
}

.secondary-image {
  width: 50%;
  height: 40%;
  object-fit: cover;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.tertiary-image {
  width: 40%;
  height: 50%;
  object-fit: cover;
  top: 10%;
  right: 0;
  z-index: 1;
}

.quaternary-image {
  width: 40%;
  height: 40%;
  object-fit: cover;
  bottom: 5%;
  right: 5%;
  z-index: 4;
  border: 4px solid white;
}

.image-collage:hover .main-image {
  transform: scale(1.03) translateY(-5px);
}

.image-collage:hover .secondary-image {
  transform: scale(1.05) translateX(-5px);
}

.image-collage:hover .tertiary-image {
  transform: scale(1.05) translateY(-5px);
}

.image-collage:hover .quaternary-image {
  transform: scale(1.08) translateY(-8px);
}

.mbbs-india-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.mbbs-stat-card {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 3px solid var(--primary-color);
}

.mbbs-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--secondary-color);
}

.mbbs-stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.mbbs-stat-card .stat-text {
  color: var(--gray-color);
  font-size: 1rem;
  font-weight: 500;
}

.mbbs-india-colleges {
  margin-top: 60px;
}

.mbbs-india-colleges h3 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 15px;
}

.mbbs-india-colleges h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-full);
}

.college-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 10px 0 30px;
}

.college-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.college-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.college-card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.college-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.college-card:hover .college-card-image img {
  transform: scale(1.1);
}

.college-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.college-card-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.college-card:hover .college-card-content h4 {
  color: var(--secondary-color);
}

.college-card-content p {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.college-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-top: 10px;
  border-top: 1px solid var(--light-color-dark);
}

.college-card-meta span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
}

.college-card-meta span:first-child {
  background-color: rgba(0, 112, 192, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.college-card-meta span:last-child {
  background-color: rgba(0, 166, 81, 0.1);
  color: var(--secondary-color);
  font-weight: 600;
}

/* 10. Medicine Section */
.medicine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.medicine-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.medicine-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.medicine-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.medicine-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.medicine-card:hover .medicine-card-image img {
  transform: scale(1.1);
}

.medicine-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.medicine-card-overlay span {
  color: white;
  font-weight: 600;
}

.medicine-card-content {
  padding: 1.5rem;
}

.medicine-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.medicine-card:hover .medicine-card-content h3 {
  color: var(--secondary-color);
}

.medicine-card-content p {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.read-more i {
  transition: transform var(--transition-fast);
}

.read-more:hover {
  gap: 0.75rem;
  color: var(--secondary-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* 11. Medical Exams Section */
.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.exam-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.exam-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.exam-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-slow), background var(--transition-normal);
}

.exam-card:hover .exam-icon {
  transform: rotateY(360deg);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.exam-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.exam-card:hover h3 {
  color: var(--secondary-color);
}

.exam-card p {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.exam-details {
  margin-bottom: 1.5rem;
}

.exam-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-color-dark);
  font-size: 0.9rem;
}

.exam-detail:last-child {
  border-bottom: none;
}

.exam-detail span:first-child {
  font-weight: 600;
  color: var(--dark-color);
}

.exam-detail span:last-child {
  color: var(--gray-color);
}

/* 12. Study Abroad Section */
.mbbs-abroad-info {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.mbbs-abroad-info h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.mbbs-abroad-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-full);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--secondary-color);
}

.info-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: color var(--transition-normal), transform var(--transition-slow);
}

.info-card:hover .info-icon {
  color: var(--secondary-color);
  transform: rotateY(360deg);
}

.info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  transition: color var(--transition-normal);
}

.info-card:hover h4 {
  color: var(--secondary-dark);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin: 0;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.country-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.country-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.country-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.country-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.country-card:hover .country-image img {
  transform: scale(1.1);
}

.country-flag {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-content {
  padding: 2rem;
}

.country-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.country-card:hover .country-content h3 {
  color: var(--secondary-color);
}

.country-content p {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.country-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.country-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.country-detail i {
  color: var(--primary-color);
}

.country-cta {
  text-align: center;
}

/* 13. Resources Section */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.resource-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-slow), background var(--transition-normal);
}

.resource-card:hover .resource-icon {
  transform: rotateY(360deg);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.resource-card:hover h3 {
  color: var(--secondary-color);
}

.resource-card p {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin-bottom: 1rem;
}

/* 14. Medical News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.news-source {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.news-card:hover .news-content h3 {
  color: var(--secondary-color);
}

.news-content p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-meta span i {
  color: var(--primary-color);
}

.news-cta {
  text-align: center;
}

/* 15. Direct Admission Section */
.direct-admission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.direct-admission-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.direct-admission-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.direct-admission-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-slow), background var(--transition-normal);
}

.direct-admission-card:hover .direct-admission-icon {
  transform: rotateY(360deg);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.direct-admission-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.direct-admission-card:hover h3 {
  color: var(--secondary-color);
}

.direct-admission-card p {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.direct-admission-features {
  margin-bottom: 1.5rem;
}

.direct-admission-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.direct-admission-features li i {
  color: var(--success-color);
}

.direct-admission-cta {
  margin-top: 3rem;
}

.cta-card {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-lg);
}

.cta-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 16. Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;

  transition: transform var(--transition-slow), background var(--transition-normal);
}

.contact-card:hover .contact-icon {
  transform: rotateY(360deg);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.contact-card:hover h3 {
  color: var(--secondary-color);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--primary-color);
  transition: color var(--transition-normal);
  word-break: break-word;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

.contact-card a:hover {
  color: var(--secondary-color);
}

.contact-form-container {
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-form {
  padding: 2rem;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.contact-form h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-full);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-color-dark);
  border-radius: var(--border-radius-md);
  background-color: var(--light-color);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-very-light);
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* 17. Footer - ENHANCED NEWSLETTER */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 5rem 0 0;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 5px;
  position: relative;
  display: inline-block;
}

.footer-logo h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-logo p {
  color: var(--gray-color-light);
  margin-bottom: 20px;
}

.footer-address,
.footer-contact,
.footer-email {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--gray-color-light);
  transition: color var(--transition-normal);
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.footer-address:hover,
.footer-contact:hover,
.footer-email:hover {
  color: white;
}

.footer-address i,
.footer-contact i,
.footer-email i {
  color: var(--accent-color);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.footer-social a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-newsletter h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-links ul li {
  margin-bottom: 0.75rem;
  position: relative;
}

.footer-links ul li a {
  color: var(--gray-color-light);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  padding-left: 0;
}

.footer-links ul li a::before {
  content: "→";
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 15px;
}

.footer-links ul li a:hover::before {
  opacity: 1;
  left: 0;
}

/* Enhanced Newsletter Section */
.footer-newsletter p {
  font-size: 0.9rem;
  color: var(--gray-color-light);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  position: relative;
  border-radius: var(--border-radius-full);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.newsletter-form input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  position: relative;
  overflow: hidden;
}

.newsletter-form button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  transition: all 0.4s ease;
  z-index: 0;
}

.newsletter-form button:hover::before {
  left: 0;
}

.newsletter-form button i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.newsletter-form button:hover i {
  transform: translateX(5px);
}

.newsletter-form button:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--gray-color-light);
  margin: 0;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: var(--z-fixed);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: pulse 2s infinite;
}

/* 18. Utility Classes */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  color: white;
}

.btn:active {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: var(--primary-color);
}

.btn-outline:hover::before {
  left: 0;
}

.btn-rounded {
  border-radius: var(--border-radius-full);
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon i {
  transition: transform var(--transition-fast);
}

.btn-icon:hover i {
  transform: translateX(4px);
}

.hover-shadow {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.rounded-lg {
  border-radius: var(--border-radius-lg);
}

.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

/* 19. Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-150 {
  transition-delay: 0.15s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 112, 192, 0.2);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 20. Dark Mode */
.dark-mode-toggle {
  position: fixed;
  top: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: var(--z-fixed);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark-mode-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body.dark {
  background-color: var(--dark-color);
  color: var(--light-color);
}

body.dark #mainHeader {
  background-color: var(--dark-color-light);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

body.dark .logo h1 {
  background: linear-gradient(to right, #90cdf4, #9ae6b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

body.dark .logo p {
  color: var(--light-color);
}

body.dark .nav-menu a {
  color: var(--light-color);
}

body.dark .dropdown-menu {
  background-color: var(--dark-color-light);
  box-shadow: var(--shadow-lg);
}

body.dark .dropdown-menu a {
  color: var(--light-color);
}

body.dark .dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
  color: var(--light-color);
}

body.dark .section-description {
  color: var(--gray-color-light);
}

body.dark .bg-light {
  background-color: var(--dark-color-light);
}

body.dark .quick-link-card,
body.dark .feature,
body.dark .mbbs-stat-card,
body.dark .college-card,
body.dark .medicine-card,
body.dark .exam-card,
body.dark .info-card,
body.dark .country-card,
body.dark .resource-card,
body.dark .news-card,
body.dark .direct-admission-card,
body.dark .contact-card,
body.dark .contact-form-container,
body.dark .mbbs-abroad-info {
  background-color: var(--dark-color-light);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

body.dark .quick-link-list a,
body.dark .feature h3,
body.dark .college-card-content h4,
body.dark .medicine-card-content h3,
body.dark .exam-card h3,
body.dark .info-card h4,
body.dark .country-content h3,
body.dark .resource-card h3,
body.dark .news-content h3,
body.dark .direct-admission-card h3,
body.dark .contact-card h3 {
  color: var(--light-color);
}

body.dark .quick-link-list a:hover {
  color: var(--primary-light);
}

body.dark .feature p,
body.dark .college-card-content p,
body.dark .medicine-card-content p,
body.dark .exam-card p,
body.dark .info-card p,
body.dark .country-content p,
body.dark .resource-card p,
body.dark .news-content p,
body.dark .direct-admission-card p,
body.dark .contact-card p {
  color: var(--gray-color-light);
}

body.dark .form-group input,
body.dark .form-group textarea {
  background-color: var(--dark-color);
  border-color: var(--dark-color-light);
  color: var(--light-color);
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 159, 219, 0.2);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: white;
  padding: 1rem 0;
  z-index: var(--z-fixed);
  display: none;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
}

.cookie-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* 21. Media Queries */
@media (max-width: 1200px) {
  :root {
    --h1-size: 2.25rem;
    --h2-size: 1.75rem;
    --h3-size: 1.35rem;
    --section-padding: 4rem 0;
  }

  .hero {
    padding: 6rem 0;
  }

  .hero-stats {
    gap: 2rem;
  }

  .about-content,
  .mbbs-india-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
  }

  .image-collage {
    min-height: 350px;
  }
}

@media (max-width: 992px) {
  :root {
    --h1-size: 2rem;
    --h2-size: 1.6rem;
    --h3-size: 1.25rem;
    --section-padding: 3.5rem 0;
  }

  .menu-toggle {
    display: block;
    font-size: 1.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--light-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right var(--transition-normal);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }

  body.dark .nav-menu {
    background-color: var(--dark-color-light);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem 0;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: auto;
    padding: 0 0 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }

  .has-dropdown.active .dropdown-menu {
    max-height: 500px;
  }

  .dropdown-menu a {
    padding: 0.5rem 0;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
  }

  .stat span {
    font-size: 2rem;
  }

  .quick-links-grid,
  .medicine-grid,
  .exams-grid,
  .country-grid,
  .resources-grid,
  .news-grid,
  .direct-admission-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .about-features {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .stats-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-card {
    padding: 2rem;
  }

  .cta-card h3 {
    font-size: 1.5rem;
  }

  .cta-card p {
    font-size: 1rem;
  }

  .inquiry-btn {
    margin-left: 15px;
  }
}

@media (max-width: 768px) {
  :root {
    --h1-size: 1.75rem;
    --h2-size: 1.5rem;
    --h3-size: 1.2rem;
    --section-padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .quick-links-grid,
  .medicine-grid,
  .exams-grid,
  .country-grid,
  .resources-grid,
  .news-grid,
  .direct-admission-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .mbbs-india-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-collage {
    min-height: 300px;
  }

  .image-collage .main-image {
    width: 80%;
    height: 60%;
  }

  .college-slider {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dark-mode-toggle,
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .dark-mode-toggle {
    top: 80px;
    right: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .inquiry-btn {
    margin-left: 0;
    width: 100%;
  }

  .btn-inquiry {
    width: 100%;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .newsletter-form input {
    flex: 1;
    border-radius: var(--border-radius-full) 0 0 var(--border-radius-full);
  }

  .newsletter-form button {
    border-radius: 0 var(--border-radius-full) var(--border-radius-full) 0;
    padding: 0 1.25rem;
  }
}

@media (max-width: 576px) {
  :root {
    --h1-size: 1.6rem;
    --h2-size: 1.4rem;
    --h3-size: 1.1rem;
    --section-padding: 2.5rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat span {
    font-size: 1.75rem;
  }

  .mbbs-india-stats {
    grid-template-columns: 1fr;
  }

  .about-stats {
    padding: 1.5rem;
  }

  .stats-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-card {
    padding: 1.5rem;
  }

  .cta-card h3 {
    font-size: 1.25rem;
  }

  .cta-card p {
    font-size: 0.9rem;
  }

  .image-collage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .main-image,
  .secondary-image,
  .tertiary-image,
  .quaternary-image {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .college-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .contact-card p,
  .contact-card a {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: inline-block;
  }

  .footer-email {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.4rem;
  }

  .logo p {
    font-size: 0.8rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-stats .stat {
    font-size: 1.6rem;
  }

  .hero-stats .stat p {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 0.9rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .country-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .country-detail {
    width: 100%;
  }

  .news-content h3 {
    font-size: 1.1rem;
  }

  .footer-logo h3 {
    font-size: 1.3rem;
  }

  .footer-links h4,
  .footer-newsletter h4 {
    font-size: 1.1rem;
  }

  .footer-links ul li {
    margin-bottom: 8px;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 35px;
    height: 35px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  .newsletter-form button {
    min-width: 45px;
  }

  .newsletter-form input {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }
}


  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px;
  color: #666;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--light-text);
  color: var(--light-text);
}

.btn-outline:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
}

.announcement-bar p {
  margin: 0;
}

.announcement-bar i {
  margin-right: 5px;
}

/* Header Styles - IMPROVED */
header {
  background-color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 0;
}

.logo p {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Improved Navigation Styles */
nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav ul li {
  margin-left: 25px;
  position: relative;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  display: block;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

.inquiry-btn {
  margin-left: 25px;
}

.btn-inquiry {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-inquiry:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Improved Dropdown Menu Styles */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  padding-right: 15px;
}

.has-dropdown > a i {
  margin-left: 5px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.has-dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 250px;
  background-color: #fff;
  box-shadow: var(--dropdown-shadow);
  border-radius: 8px;
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.dropdown-menu li {
  margin: 0;
  width: 100%;
}

.dropdown-menu li a {
  padding: 12px 20px;
  display: block;
  color: var(--text-color);
  font-weight: 400;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
  padding-left: 25px;
  border-left: 3px solid var(--primary-color);
}

.dropdown-menu li a::after {
  display: none;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: var(--transition);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0 0 0 20px;
    background-color: transparent;
    border: none;
  }

  .has-dropdown.active .dropdown-menu {
    display: block;
  }

  .has-dropdown > a {
    justify-content: space-between;
  }

  .dropdown-menu li a {
    padding: 10px 0;
    border-left: none;
  }

  .dropdown-menu li a:hover {
    background-color: transparent;
    border-left: none;
  }

  .inquiry-btn {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
  }

  .btn-inquiry {
    display: block;
    text-align: center;
    padding: 12px 20px;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://via.placeholder.com/1920x1080?text=Medical+Education") no-repeat center center / cover;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--light-text);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 112, 192, 0.8), rgba(0, 166, 81, 0.8));
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}

.hero-stats .stat {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stats .stat p {
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Platform Intro Section */
.platform-intro {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.platform-header {
  text-align: center;
  margin-bottom: 50px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.platform-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.platform-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
  transition: var(--transition);
}

.platform-card:hover .platform-icon {
  background-color: var(--secondary-color);
  transform: rotateY(360deg);
  transition: transform 0.8s, background-color 0.3s;
}

.platform-card h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.platform-card p {
  color: #666;
  margin-bottom: 25px;
}

.platform-trust {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Europe Education Section */
.europe-education {
  padding: 80px 0;
}

.europe-header {
  text-align: center;
  margin-bottom: 50px;
}

.europe-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.europe-text {
  flex: 1;
}

.europe-text p {
  margin-bottom: 20px;
  color: #666;
}

.europe-reasons {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
}

.europe-reasons h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.reasons-list {
  margin-bottom: 25px;
}

.reasons-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.reasons-list li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.europe-image {
  flex: 1;
}

.europe-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Our Space Section */
.our-space {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.space-header {
  text-align: center;
  margin-bottom: 40px;
}

.space-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.space-content p {
  margin-bottom: 20px;
  color: #666;
}

.space-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.space-stats .stat-item {
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 200px;
  flex: 1;
  transition: var(--transition);
}

.space-stats .stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.space-stats .stat-item h4 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.space-stats .stat-item p {
  margin-bottom: 0;
  color: #666;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  flex: 1;
  min-width: 200px;
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 10px;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Courses Section */
.courses {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.course-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.course-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 150px;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background-color: var(--primary-color);
  color: var(--light-text);
}

.stat-item h4 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.stat-item:hover h4 {
  color: var(--light-text);
}

.category-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.eligibility-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.eligibility-content p {
  margin-bottom: 15px;
}

.eligibility-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.eligibility-content ul li {
  margin-bottom: 10px;
}

.colleges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.college-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.college-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.college-card h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-color);
}

.college-card ul {
  list-style: disc;
  margin-left: 20px;
}

.college-card ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.state-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.state-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.state-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition);
}

.state-card:hover img {
  transform: scale(1.1);
}

.state-card h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 15px 15px 5px;
}

.state-card p {
  margin: 0 15px 15px;
  color: #666;
  font-size: 0.9rem;
}

.state-card a {
  display: block;
  margin: 0 15px 15px;
}

/* Study Abroad Section */
.study-abroad {
  padding: 80px 0;
}

.study-abroad-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.study-abroad-text {
  flex: 1;
}

.study-abroad-text p {
  margin-bottom: 20px;
}

.countries-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.country-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.country-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.country-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: var(--transition);
}

.country-card:hover img {
  transform: scale(1.1);
}

.country-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 15px 15px 5px;
}

.country-card p {
  margin: 0 15px 15px;
  color: #666;
  font-size: 0.85rem;
}

.country-card a {
  display: block;
  margin: 0 15px 15px;
  font-size: 0.85rem;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  transition: var(--transition);
}

.service-item:hover .service-icon {
  background-color: var(--secondary-color);
  transform: rotateY(360deg);
  transition: transform 0.8s, background-color 0.3s;
}

.service-item h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* News Section */
.news {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: var(--light-text);
  width: 60px;
  height: 60px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.news-date .day {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.news-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.news-content p {
  margin-bottom: 15px;
  color: #666;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

.view-all-news {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0;
}

.faq-toggle {
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 112, 192, 0.9), rgba(0, 112, 192, 0.9)),
    url("https://via.placeholder.com/1920x1080?text=Medical+Education") no-repeat center center / cover;
  color: var(--light-text);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 1.2rem;
}

.contact-text h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.map-container {
  margin-top: 20px;
}

.map-container h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 112, 192, 0.2);
}

:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #0f766e;
  --accent: #f97316;
  --light: #f8fafc;
  --dark: #1e293b;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --footer-accent: #f97316;
  --footer-highlight: rgba(255, 255, 255, 0.1);
  --light-text: #ffffff;
  --transition: all 0.3s ease;
}

/* Container styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Footer styles */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Footer logo section */
.footer-logo h3 {
  color: var(--light-text);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.footer-logo p {
  color: #ccc;
  margin-bottom: 20px;
}

.footer-address,
.footer-contact,
.footer-email {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #ccc;
}

.footer-address i,
.footer-contact i,
.footer-email i {
  margin-right: 10px;
  color: var(--accent);
}

/* Footer social media */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

.footer-social a i {
  font-size: 1.2rem;
}

/* Footer links section */
.footer-links h4,
.footer-newsletter h4 {
  color: var(--light-text);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-newsletter h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Footer newsletter section */
.footer-newsletter p {
  margin-bottom: 15px;
  color: #ccc;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--light-text);
  border: none;
  padding: 0 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary);
}

/* Footer bottom section */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: 5px;
    padding: 12px;
    width: 100%;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Latest News Section */
.latest-news {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.latest-news-container {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  gap: 30px;
  position: relative;
}

.news-date-large {
  flex: 0 0 100px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px 0;
  height: fit-content;
}

.news-date-large .day {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
}

.news-date-large .month {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.news-date-large .year {
  font-size: 1.2rem;
}

.latest-news-content {
  flex: 1;
}

.latest-news-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.news-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: #666;
  font-size: 0.9rem;
}

.news-meta span {
  display: flex;
  align-items: center;
}

.news-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.news-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.highlight-item {
  flex: 1;
  min-width: 200px;
  background-color: var(--light-bg);
  padding: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.highlight-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.highlight-item h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.news-image-large {
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-image-large img {
  width: 100%;
  height: auto;
  display: block;
}

.news-cta {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.news-cta .btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.news-cta .btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

/* Blog Section */
.blog {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 15px;
  right: 15px;
}

.blog-category span {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #666;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.blog-meta span {
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.blog-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content p {
  margin-bottom: 15px;
}

.blog-featured {
  display: flex;
  gap: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 50px;
}

.featured-image {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

.featured-content {
  flex: 1;
  padding: 30px;
}

.featured-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.featured-content p {
  margin-bottom: 20px;
}

.featured-stats {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.featured-stats .stat {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.featured-stats .stat p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  margin-top: 5px;
}

.view-all-blog {
  text-align: center;
  margin-top: 30px;
}

/* Top Medical Institutions Section */
.top-institutions {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.institutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.institution-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.institution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.institution-image {
  height: 250px;
  overflow: hidden;
}

.institution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.institution-card:hover .institution-image img {
  transform: scale(1.1);
}

.institution-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.institution-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.institution-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: #666;
  flex-wrap: wrap;
}

.institution-meta span {
  display: flex;
  align-items: center;
}

.institution-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.institution-content p {
  margin-bottom: 20px;
  color: #666;
}

.institution-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.highlight {
  background-color: var(--light-bg);
  padding: 10px 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.institutions-cta {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.institutions-cta h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.institutions-cta p {
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Top Medical Courses Section */
.top-medical-courses {
  padding: 80px 0;
  background-color: #fff;
}

.medical-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.medical-course-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.medical-course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-header {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 20px;
  text-align: center;
  position: relative;
}

.course-icon {
  width: 70px;
  height: 70px;
  background-color: #fff;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  font-size: 2rem;
  transition: var(--transition);
}

.medical-course-card:hover .course-icon {
  transform: rotateY(360deg);
  transition: transform 0.8s;
}

.course-header h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.course-full {
  font-size: 0.9rem;
  opacity: 0.9;
}

.course-content {
  padding: 20px;
}

.course-details {
  background-color: var(--light-bg);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  margin-bottom: 10px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-weight: 600;
  min-width: 100px;
  color: var(--primary-color);
}

.course-description {
  margin-bottom: 20px;
  color: #666;
}

.career-prospects {
  margin-bottom: 20px;
}

.career-prospects h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.career-prospects ul {
  list-style: disc;
  margin-left: 20px;
}

.career-prospects ul li {
  margin-bottom: 5px;
}

.courses-cta {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
}

.courses-cta h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.courses-cta p {
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-container {
  background-color: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  padding: 30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--primary-color);
}

.popup-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.popup-content p {
  margin-bottom: 20px;
  text-align: center;
}

/* Responsive Styles */
@media (min-width: 992px) {
  .institutions-grid {
    grid-template-columns: 1fr;
  }

  .institution-card {
    flex-direction: row;
  }

  .institution-image {
    flex: 0 0 40%;
    height: auto;
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .study-abroad-content {
    flex-direction: column;
  }

  .latest-news-container {
    flex-direction: column;
  }

  .news-date-large {
    flex-direction: row;
    width: fit-content;
    padding: 10px 20px;
  }

  .news-date-large .day,
  .news-date-large .month,
  .news-date-large .year {
    margin: 0 5px;
  }

  .blog-featured {
    flex-direction: column;
  }

  .featured-image {
    flex: 0 0 300px;
  }

  .europe-content {
    flex-direction: column;
  }

  .europe-image {
    order: -1;
    margin-bottom: 30px;
  }

  .medical-courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: var(--transition);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    width: 100%;
  }

  .inquiry-btn {
    margin-top: 20px;
  }

  .inquiry-btn a {
    display: block;
    text-align: center;
  }

  .hero {
    height: auto;
    padding: 100px 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-highlights {
    flex-direction: column;
  }

  .news-cta {
    flex-direction: column;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .institution-card {
    flex-direction: column;
  }

  .institution-image {
    height: 200px;
  }

  .institution-content h3 {
    font-size: 1.3rem;
  }

  .institutions-cta h3 {
    font-size: 1.5rem;
  }

  .medical-courses-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .stats-container {
    flex-direction: column;
  }

  .stat-box {
    width: 100%;
  }

  .course-stats {
    flex-direction: column;
  }

  .stat-item {
    width: 100%;
  }

  .latest-news-content h3 {
    font-size: 1.5rem;
  }

  .featured-content h3 {
    font-size: 1.5rem;
  }

  .featured-stats {
    flex-direction: column;
    align-items: center;
  }

  .course-header h3 {
    font-size: 1.5rem;
  }

  .cutoff-table {
    font-size: 0.8rem;
  }

  .cutoff-table th,
  .cutoff-table td {
    padding: 6px 8px;
  }
}

/* Paramedical Preview Section */
.paramedical-preview {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.paramedical-preview-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.paramedical-preview-text {
  flex: 1;
}

.paramedical-preview-text p {
  margin-bottom: 30px;
  color: #666;
}

.paramedical-preview-stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.preview-stat {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  flex: 1;
  transition: var(--transition);
}

.preview-stat:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.preview-stat h4 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.paramedical-preview-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.preview-feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.preview-feature i {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

.paramedical-preview-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.paramedical-preview-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.paramedical-preview-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .paramedical-preview-content {
    flex-direction: column;
  }

  .paramedical-preview-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .paramedical-preview-stats {
    flex-direction: column;
  }

  .paramedical-preview-features {
    grid-template-columns: 1fr;
  }
}

/* Latest News Section for Homepage */
.latest-news {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.news-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.featured-news-item {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.featured-news-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.featured-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.featured-news-item:hover .featured-news-image img {
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

.featured-news-content {
  padding: 25px;
}

.news-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.news-meta span {
  display: flex;
  align-items: center;
}

.news-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.featured-news-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.featured-news-content p {
  margin-bottom: 20px;
  color: #666;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: var(--light-text);
  width: 60px;
  height: 60px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.news-date .day {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.news-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.news-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-content p {
  margin-bottom: 15px;
  color: #666;
  flex: 1;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  text-decoration: none;
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

.view-all-container {
  text-align: center;
}

/* Responsive styles for news section */
@media (min-width: 992px) {
  .featured-news-item {
    flex-direction: row;
  }

  .featured-news-image {
    flex: 0 0 50%;
    height: auto;
  }
}

@media (max-width: 992px) {
  .featured-news-content h3 {
    font-size: 1.5rem;
  }

  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .featured-news-image {
    height: 250px;
  }
}

