/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* --primary-color: #1d4ed8; */
  /* --primary-color: #1e88e5;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #fbbc05;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background-color: #ffffff;
  --background-light: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #fbbc05;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background-color: #ffffff;
  --background-light: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease; */


  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background: #ffffff;
  --background-alt: #f9fafb;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  /* --transition: all 0.3s ease; */
  --text-white: #ffffff;


 /* Primary color palette - Blue theme */
  --primary-color: #1e88e5; /* Rich blue*/
  --primary-light: #64b5f6; 
  --primary-dark: #0d47a1;
  --secondary-color: #0288d1; 
  --secondary-light: #5eb8ff;
  --secondary-dark: #005b9f;
  --accent-color: #29b6f6; /* Sky blue */
 --accent-light: #73e8ff;
  --accent-dark: #0086c3; 

  /* Text colors */
  --text-color: #263238;
  --text-light: #546e7a;
 --text-white: #ffffff; 
  --text-highlight: #e3f2fd; /*Light blue for highlights */

  /* Background colors */
  --background-color: #ffffff;
  --background-light: #f5f5f5;
 --background-alt: #e3f2fd;  /* Light blue background */
  --background-gradient: linear-gradient(135deg, #e3f2fd, #bbdefb);

   /* UI elements */ 
   --border-color: #e0e0e0;
  --border-highlight: #90caf9; /* Light blue border */
 --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-highlight: 0 0 15px rgba(30, 136, 229, 0.5); /* Blue glow */
   --border-radius: 10px;
  --border-radius-lg: 20px;
 --transition: all 0.3s ease; 

}

body {
  /* font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color); */
  font-family: "Poppins", sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    background-image: radial-gradient(circle at 20% 20%, rgba(227, 242, 253, 0.4) 0%, transparent 25%), radial-gradient(circle at 80% 50%, rgba(187, 222, 251, 0.4) 0%, transparent 25%);
    background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 15px;
  line-height: 1.2;
}

p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style-position: inside;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
}

.logo span {
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  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%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin-bottom: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 250px;
  padding-bottom: 180px;
  background-color: var(--background-light);
  /* background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("https://placehold.co/1200x600"); */
    /* background-image: url("https://sevenoceans.in/wp-content/uploads/2017/02/study_abroad.jpg"); */
    background-image: url("https://eduthrive.org/wp-content/uploads/2023/07/desktop-wallpaper-study-abroad-abroad.jpg");
  background-size: cover;
  background-position: top;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  /* color: var(--primary-color); */
  color:#1a3852;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: black;
  text-shadow: -1px 1px white;
}

/* Destinations Section */
.destinations {
  background-color: var(--background-color);
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.destination-card {
  background-color: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.destination-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.destination-card h3 {
  font-size: 20px;
  padding: 15px;
  color: var(--primary-color);
}

.destination-card p {
  padding: 0 15px;
  margin-bottom: 15px;
}

.destination-card ul {
  padding: 0 15px 15px;
  list-style-type: none;
}

.destination-card ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Admission Section */
/* .admission {
  background-color: var(--background-light);
} */

.admission-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.admission-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-content {
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  width: calc(50% - 30px);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.timeline-item:nth-child(odd)::before {
  left: calc(50% - 10px);
}

.timeline-item:nth-child(even)::before {
  right: calc(50% - 10px);
}

/* Safety Section */
.safety {
  background-color: var(--background-color);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.safety-card {
  background-color: var(--background-light);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.safety-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.safety-card ul {
  list-style-type: none;
}

.safety-card ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.safety-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Financial Section */
.financial {
  /* background-color: var(--background-light); */
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.financial-content {
  display: flex;
  gap: 30px;
}

.cost-breakdown {
  flex: 1;
}

.cost-breakdown table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.cost-breakdown th,
.cost-breakdown td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.cost-breakdown th {
  background-color: var(--primary-color);
  color: white;
}

.financial-tips {
  flex: 1;
}

.financial-tips ul {
  list-style-type: none;
}

.financial-tips ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.financial-tips ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* Pros and Cons Section */
.pros-cons {
  background-color: var(--background-color);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pros,
.cons {
  background-color: var(--background-light);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.pros h3,
.cons h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.pros ul,
.cons ul {
  list-style-type: none;
}

.pros ul li,
.cons ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.pros ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.cons ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #ea4335;
}

/* Accreditation Section */
.accreditation {
  background-color: var(--background-light);
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.accreditation-content ul {
  list-style-type: none;
  margin-bottom: 20px;
}

.accreditation-content ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.accreditation-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.important-note {
  background-color: #fff3cd;
  border-left: 5px solid #ffeeba;
  padding: 15px;
  margin-top: 20px;
  border-radius: 10px;
}

.important-note h3 {
  color: #856404;
  margin-bottom: 10px;
}

/* Cultural Adaptation Section */
.cultural-adaptation {
  background-color: var(--background-color);
}

.adaptation-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tip {
  background-color: var(--background-light);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.tip h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* FAQs Section */
.faqs {
  /* background-color: var(--background-light); */
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.faq-item {
  background-color: var(--background-color);
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-item p {
  display: none;
}

.faq-item.active p {
  display: block;
}



/* FAQs Section */
.faqs {
  position: relative;
}

.faq-list {
  max-width: 900px;
  margin: 60px auto 0;
}

.faq-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  padding: 25px 30px;
  cursor: pointer;
  margin-bottom: 0;
  background-color: var(--background-color);
  color: var(--primary-color);
  transition: var(--transition);
  position: relative;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item h3::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
  position: static;
  width: auto;
  height: auto;
  background: none;
}

.faq-item.active h3::after {
  content: "−";
}

.faq-item h3:hover {
  background-color: var(--background-light);
}

.faq-item p {
  padding: 0 30px 25px;
  display: none;
  color: var(--text-light);
  margin-bottom: 0;
}

.faq-item.active h3 {
  background-color: var(--background-light);
  border-left: 4px solid var(--primary-color);
}

.faq-item.active p {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Contact Section */
.contact {
  /* background-color: var(--background-color); */
  /* background-image: var(--background-gradient); */
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.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: 4px;
  font-family: "Poppins", sans-serif;
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
footer {
  background-color: #1a2a3a;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-logo h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style-type: none;
}
.footer-links{
  list-style-type: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .financial-content {
    flex-direction: column;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }

  nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .admission-timeline::before {
    left: 0;
  }

  .timeline-content {
    width: 100%;
    margin-left: 20px;
  }

  .timeline-item::before {
    left: -10px !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .destination-grid,
  .safety-grid,
  .adaptation-tips {
    grid-template-columns: 1fr;
  }
}




/* Universities Section */
.universities {
  position: relative;
}

.university-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.university-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.university-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.university-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.university-card:hover::before {
  opacity: 0.05;
}

.university-img-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.university-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.university-card:hover .university-img {
  transform: scale(1.1);
}

.university-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
}

.university-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

.university-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.university-card h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.university-card:hover h3 {
  color: var(--primary-dark);
}

.university-card p {
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 25px;
}

.university-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

.university-stat {
  text-align: center;
}

.university-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.university-stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.university-card ul {
  margin-bottom: 25px;
  list-style-type: none;
}

.university-card ul li {
  margin-bottom: 10px;
  color: var(--text-color);
}

.university-card ul li::before {
  content: "✓";
  color: var(--accent-color);
  margin-right: 10px;
}

.university-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.university-rating {
  display: flex;
  align-items: center;
}

.university-rating-stars {
  color: var(--secondary-color);
  margin-right: 8px;
}

.university-rating-value {
  font-weight: 600;
  color: var(--text-color);
}

.university-link {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.university-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.university-link:hover i {
  transform: translateX(5px);
}




/* Footer */
.footer {
  background-color: #1a202c;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-column p {
  color: #a0aec0;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a0aec0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  color: #a0aec0;
  margin-bottom: 15px;
}

.footer-contact li i {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #a0aec0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #a0aec0;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: white;
}



/* Contact Section */
.contact {
  /* background-color: var(--background-color); */
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-form {
  flex: 1;
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  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 select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
}



.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Countries Section */
.countries {
  padding: 80px 0;
  background-color: var(--background);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.country-card {
  background-color: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.country-card:hover {
  transform: translateY(-10px);
}

.country-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.country-card h3 {
  font-size: 1.3rem;
  padding: 20px 20px 10px;
}

.country-card ul {
  padding: 0 20px 20px;
  list-style-type: none;
}

.country-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-light);
}

.country-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.country-card .btn-secondary {
  margin: 0 20px 20px;
  display: block;
}
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--primary-color);
  cursor: pointer;
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}
.country-card .btn-secondary {
  margin: 0 20px 20px;
  display: block;
}



/* Admission Section */
.admission {
  position: relative;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.admission-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.step {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  z-index: -1;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.step:hover::before {
  width: 100%;
  opacity: 0.05;
}

.step-number {
  position: absolute;
  top: -15px;
  right: 20px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary-color);
  opacity: 0.1;
  transition: var(--transition);
}

.step:hover .step-number {
  transform: scale(1.2);
  opacity: 0.15;
}

.step h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
}

.step h3::before {
  content: attr(data-number);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 1.1rem;
  font-weight: 700;
}
/* .step h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  transition: var(--transition);
} */

.step ul {
  padding-left: 0;
}

.step ul li {
  margin-bottom: 12px;
  transition: var(--transition);
}

.step:hover ul li {
  transform: translateX(5px);
  transition-delay: calc(0.05s * var(--i));
}


/* Curriculum Section */
.curriculum {
  position: relative;
}

.curriculum p {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
}

.curriculum-structure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.year {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.year::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.year:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.year h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.year h3::after {
  width: 60px;
}

.year:hover h3::after {
  width: 100px;
}

.year ul {
  padding-left: 0;
}

.year ul li {
  margin-bottom: 12px;
  transition: var(--transition);
}

.year:hover ul li {
  transform: translateX(5px);
}

.year p {
  text-align: left;
  margin-bottom: 0;
}


/* Contact Section */
.contact {
  text-align: center;
  position: relative;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.contact-form {
  max-width: 800px;
  margin:0 auto 0;
  background-color: var(--background-color);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
  border-radius: calc(var(--border-radius-lg) + 10px);
  z-index: -1;
  opacity: 0.1;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--background-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
  background-color: var(--background-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}



/* Props And Const */
.pros-cons-grid .year{
  max-width:100%;
}




/* Advantages Section */
.advantages {
  position: relative;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.advantage-card {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  opacity: 0.1;
  z-index: -1;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.advantage-card:hover::before {
  height: 100%;
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background-color: var(--background-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 35px;
  transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: rotateY(360deg);
  transition: transform 0.8s, background-color 0.3s, color 0.3s;
}

.advantage-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
}

.advantage-card h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.advantage-card p {
  margin-bottom: 0;
  color: var(--text-light);
}



/* Responsive Styles */
@media (max-width: 1200px) {
  .section-header h2{
    font-size: 2.2rem;
  }
  h2 {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  .section-header h2{
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }
  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .key-points,
  .curriculum-structure,
  .prospects {
    flex-direction: column;
  }

  .point,
  .year,
  .prospect {
    flex-basis: 100%;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--background-color);
    padding: 100px 40px 40px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s ease;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .university-stats {
    flex-wrap: wrap;
  }

  .university-stat {
    flex: 1 0 50%;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .section-header h2{
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .testimonial {
    padding: 30px 20px;
  }

  .student-info {
    flex-direction: column;
    text-align: center;
  }

  .student-img {
    margin: 0 auto 15px;
  }
}

/* Animation for scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.footer-copy-rights{
  color:white;
}


    /* Popup overlay */
    .popup-overlay {
      position: fixed;
      top: 40px;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
      z-index: 1000;
    }

    /* When popup is active */
    .popup-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Popup box */
    .popup-form {
      background: #fff;
      padding: 30px;
      border-radius: 10px;
      width: 90%;
      max-width: 400px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
      position: relative;
      transform: scale(0.8);
      opacity: 0;
      transition: all 0.3s ease;
    }

    /* Animate form when overlay becomes active */
    .popup-overlay.active .popup-form {
      transform: scale(1);
      opacity: 1;
    }

    /* Close button */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 18px;
      cursor: pointer;
      color: #999;
    }

    .popup-form h2 {
      margin-bottom: 15px;
    }

    .popup-form input,
    .popup-form select {
      width: 100%;
      padding: 10px;
      margin: 8px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .popup-form button {
      background-color: #007bff;
      color: white;
      padding: 10px;
      width: 100%;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .popup-form button:hover {
      background-color: #0056b3;
    }
    
    
    /* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  animation: none;
}

.whatsapp-float {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/*Whatsapp Animation*/
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 576px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
}