:root {
  --primary-color: #4A90E2; /* Bright Institutional Blue */
  --secondary-color: #1a365d; /* Dark Navy for text */
  --accent-color: #4A90E2;
  --accent-hover: #357abd;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-main: #ffffff;
  --bg-secondary: #f4f7f9; /* Light gray-blue for sections */
  --white: #ffffff;
  --border-color: #e1e8ed;
  --font-sans: 'Montserrat', sans-serif;
  --font-logo: 'Dancing Script', cursive;
  --container-width: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: calc(var(--header-height) + 36px + 56px); /* Navbar + Top Bar + Search Bar */
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary-color);
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--bg-main);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-main);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Header Components */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: white;
}

.top-bar {
  background-color: var(--primary-color);
  color: var(--white) !important;
  font-size: 0.8rem;
  padding: 0.6rem 0;
  font-weight: 500;
}

.top-links {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.top-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white) !important;
  opacity: 0.95;
}

.top-links a:hover {
  opacity: 1;
}

/* Navbar */
.navbar {
  position: relative;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.logo-text span {
  font-family: var(--font-logo);
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-left: 0.2rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary-color);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

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

.nav-actions .btn-phone {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.nav-actions .btn-phone:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Search Bar */
.search-bar {
  background-color: #f0f2f5;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.search-input-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  display: flex;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.6rem 1rem;
  padding-right: 3rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: white;
  font-family: var(--font-sans);
}

.search-input-wrapper button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding: 0 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  background: url('academic_hero_bg_1776873886096.png') no-repeat center center/cover;
  padding: 4rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, 0.6); /* Dark navy overlay */
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 10;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h1 span {
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.hero .btn-primary {
  background-color: #3b82f6;
  border-radius: 4px;
  padding: 0.8rem 2rem;
}

.hero .btn-secondary {
  background-color: #3b82f6;
  color: white;
  border-radius: 4px;
  padding: 0.8rem 2rem;
  border: none;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-title span {
  color: var(--primary-color);
}

/* Services / Features Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-link {
  color: var(--primary-color);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.card-link:hover {
  gap: 0.75rem;
}

/* Footer */
.footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  color: var(--text-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
  }

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

  .menu-toggle {
    display: block;
  }

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

  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
}
/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    padding: 1.5rem 0;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-reject {
    background: #f1f5f9;
    color: var(--text-muted);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background: var(--accent-hover);
}

.btn-cookie-reject:hover {
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-bottom {
        padding: 2rem 0;
    }
    .footer-bottom p {
        margin: 0 0 1rem;
    }
    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}
