:root {
  --font-heading: "DM Serif Text", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-secondary: #64748b;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background-color: var(--color-white);
  color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 4rem;
}

.site-logo img {
  height: 2.5rem;
  width: auto;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
  padding: 1rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Dropdown Container - Enhanced for better hover */
.nav-dropdown {
  position: relative;
}

/* Create invisible bridge between button and menu */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
  background: transparent;
  z-index: 999;
}

/* Dropdown Toggle Button */
.dropdown-toggle {
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
  padding: 1rem 0;
  font-family: var(--font-body);
}

.dropdown-toggle:hover {
  color: var(--color-primary);
}

.dropdown-toggle i {
  transition: transform 0.3s ease;
}

/* Dropdown Menu - Enhanced hover behavior */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 1000;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Show dropdown on hover - works for both button and menu */
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Keep dropdown visible when hovering over the menu itself */
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Rotate arrow on hover */
.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

/* Keep dropdown toggle highlighted when hovering over menu */
.nav-dropdown:hover .dropdown-toggle {
  color: var(--color-primary);
}

/* Dropdown Items */
.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
  padding-left: 1.25rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--color-primary);
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  padding: 1rem 0;
      position: absolute;
    width: 100%;
    left: 0;
    top: 64px
}

.nav-mobile.active {
  display: flex;
}

.nav-link-mobile {
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
  text-align: start;
}

.nav-link-mobile:hover {
  color: var(--color-primary);
}

/* Mobile Dropdown Styles */
.nav-mobile-dropdown {
  display: flex;
  flex-direction: column;
}

.dropdown-toggle-mobile {
  padding: 0.75rem 1rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-text);
  transition: color 0.3s ease;
  text-align: start;
}

.dropdown-toggle-mobile:hover {
  color: var(--color-primary);
}

.dropdown-toggle-mobile::after {
  content: " ▼";
  font-size: 0.75rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

.nav-mobile-dropdown.active .dropdown-toggle-mobile::after {
  transform: rotate(180deg);
}

.dropdown-menu-mobile {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  background: var(--color-gray-50);
}

.nav-mobile-dropdown.active .dropdown-menu-mobile {
  display: flex;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1680534240478-08c865dc608f?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 80vh;
  color: var(--color-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 80vh;
  margin: 0 auto;
  text-align: left;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--color-primary-light);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-primary-light);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-full {
  width: 100%;
}

/* Sections */
.about, .vision {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Services */
.services {
  padding: 4rem 0;
  background: var(--color-gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.service-icon.blue {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.service-icon.green {
  background: #dcfce7;
  color: #16a34a;
}

.service-icon.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.service-icon.orange {
  background: #fed7aa;
  color: #ea580c;
}

.service-card:hover .service-icon.blue {
  background: var(--color-primary);
  color: var(--color-white);
}

.service-card:hover .service-icon.green {
  background: #16a34a;
  color: var(--color-white);
}

.service-card:hover .service-icon.purple {
  background: #9333ea;
  color: var(--color-white);
}

.service-card:hover .service-icon.orange {
  background: #ea580c;
  color: var(--color-white);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.service-description {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Vision */
.vision-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.vision-text {
  text-align: left;
  margin-top: 2rem;
}

.vision-text p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.highlight {
  font-weight: 600;
  color: var(--color-primary) !important;
}

/* Study Abroad & Work Abroad */
.study-abroad, .work-abroad {
  padding: 4rem 0;
}

.study-abroad {
  background: var(--color-gray-50);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.content-text p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.image-gallery-container {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
}

.image-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.image-gallery img {
  width: 200px;
  height: 106px;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: var(--color-primary-light);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  text-align: start;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  text-align: start;
}

.footer-link:hover {
  color: var(--color-primary-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #d1d5db;
  line-height: 1.5;
}

.contact-item i {
  color: var(--color-primary-light);
  width: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 800px) {
  .nav-desktop {
    display: none;
  }

  .header{
    justify-content: space-between;
    padding: 0 10px;
  }
  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    max-width: 95%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-gallery-container {
    flex-direction: column;
    align-items: center;
  }

  .image-gallery {
    flex-direction: row;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 2rem 0;
    height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-card,
  .contact-form {
    padding: 1.5rem;
  }

  .image-gallery img {
    width: 150px;
    height: 80px;
  }
}


.contact-item span{
  text-align: start;
}

.hero .container{
  position: absolute;
  left: 20px;
  bottom: 20px;
}

.with-aside{
  display: flex;

  aside{
    width: 225px;
    flex: 1;
    height: fit-content;
    border: 1px solid;
    border-radius: 4px;
    margin-right: 16px;
    position: sticky;
    top: 120px;
    
    h1{
      background-color: #004080;
      padding: 4px;
      color: white;
    }

    ul{
      display: flex;
      flex-direction: column;
      align-items: start;
      margin-left: 0;
      margin-block: 8px;
      gap: 4px;
      
      li:not(:last-child){
        width: 100%;
        padding: 2px 4px;
        border-bottom: 1px solid black;
      }
      li, li > a {
        text-decoration: none;
        list-style: none;
        color: #004080;
      }
    }
  }
  div{
    flex: 4;
  }
}