@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
  --primary: #1a508f;
  --secondary: #2f7ebd;
  --accent: #63a879;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.text-blue {
  color: var(--primary);
}

.text-green {
  color: var(--accent);
}


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

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 75px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.1);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  letter-spacing: 0.5px;
}

.logo-text strong {
  font-weight: 800;
  color: var(--accent);
}

.overlay-menu {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  background-color: var(--primary);
  overflow-x: hidden;
  transition: 0.5s;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--accent);
}


.overlay-content {
  position: relative;
  top: 15%;
  width: 100%;
  padding-left: 10%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.overlay-menu a {
  padding: 8px 8px 8px 0;
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  transition: 0.3s;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.overlay-menu a i {
  margin-right: 15px;
  font-size: 1.8rem;
}

.overlay-menu a:hover, .overlay-menu a:focus {
  color: var(--accent);
  transform: translateX(10px);
}

.overlay-menu .closebtn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  display: inline-block;
  color: var(--white);
}

.overlay-menu .closebtn:hover {
  transform: none;
  color: var(--accent);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.search-btn {
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
  cursor: pointer;
}

.search-btn:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.menu-toggle {
  display: block; /* Visible para que coincida con el diseño solicitado */
  font-size: 26px;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: -2;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 168, 121, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 126, 189, 0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease forwards;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 40px;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

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

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Sections Global */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.about-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(47, 126, 189, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--primary);
}

/* Opportunities Section */
.opportunities {
  background: var(--white);
}

.opp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.opp-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.opp-card:hover {
  box-shadow: var(--shadow-lg);
}

.opp-img {
  height: 200px;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease;
}

.opp-card:hover .opp-img img {
  transform: scale(1.1);
}

.opp-content {
  padding: 30px;
}

.opp-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.opp-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.read-more {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  transition: var(--transition);
}

.opp-card:hover .read-more {
  gap: 12px;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 24px;
  margin: 40px 24px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input, textarea {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
}

input::placeholder, textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

input:focus, textarea:focus {
  background: rgba(255,255,255,0.2);
  border-color: var(--white);
}

.btn-submit {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background: #eef2f7;
  padding: 60px 0 20px;
  color: var(--text);
  border-top: 4px solid var(--text-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  text-align: left;
  margin-bottom: 40px;
}

.footer-logo img {
  max-width: 280px;
  width: 100%;
  mix-blend-mode: multiply;
  filter: contrast(1.1); /* Ayuda a que el blanco sea puro y se vuelva 100% transparente con multiply */
}

.footer-contact h3, .footer-links h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-contact p {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact p i {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 5px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--primary);
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.footer-links ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

.footer-links ul li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* Universities Section */
.universities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.uni-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: left;
  transition: var(--transition);
}

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

.uni-img {
  width: 100%;
  height: 350px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.uni-content {
  padding: 40px;
}

.uni-content h2 {
  color: var(--primary);
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

.uni-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.btn-careers {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
}

.btn-careers:hover {
  background: #3cb080;
}

.btn-careers i {
  transition: 0.3s;
}

.careers-list {
  margin-top: 25px;
  padding: 25px;
  background: #f8fbf9;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.careers-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: var(--text);
}

.careers-list li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.careers-list li i {
  color: var(--accent);
  margin-top: 4px;
}

/* FAQ Styles */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-item h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Floating Chat Button */
.floating-chat-btn {
  position: fixed;
  bottom: 215px;
  right: 90px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
}

.floating-chat-btn:hover {
  transform: scale(1.1);
  background-color: #128C7E;
  color: var(--white);
}

/* Floating Instagram Button */
.floating-insta-btn {
  position: fixed;
  bottom: 275px;
  right: 90px;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
}

.floating-insta-btn:hover {
  transform: scale(1.1);
  color: var(--white);
  filter: brightness(1.1);
}

/* Floating TikTok Button */
.floating-tiktok-btn {
  position: fixed;
  bottom: 335px;
  right: 90px;
  width: 50px;
  height: 50px;
  background-color: #010101;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-tiktok-btn:hover {
  transform: scale(1.1);
  color: var(--white);
  background-color: #252525;
}

/* QG Slider */
.qg-slider-container {
  max-width: 900px;
  margin: 60px auto 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  position: relative;
  height: 400px;
}

.qg-slider-track {
  display: flex;
  height: 100%;
  width: 300%; /* 3 images */
  transition: transform 1s ease-in-out;
  animation: slideShow 12s infinite;
}

.qg-slider-track img {
  width: 33.333%;
  height: 100%;
  object-fit: cover;
}

.qg-slider-container:hover .qg-slider-track {
  animation-play-state: paused;
}

@keyframes slideShow {
  0%, 25% { transform: translateX(0); }
  33%, 58% { transform: translateX(-33.333%); }
  66%, 91% { transform: translateX(-66.666%); }
  100% { transform: translateX(0); }
}

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

/* Guias de Postulacion Buttons */
.guias-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 650px;
  margin: 0 auto;
}

.guia-btn {
  display: flex;
  text-decoration: none;
  background-color: #f4f5f5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 100px;
}

.guia-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.guia-text {
  flex-grow: 1;
  padding: 30px;
  color: #666;
  font-size: 1.3rem;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  text-align: left;
}

.guia-icon {
  background-color: var(--accent);
  color: white;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

/* Filtro Inteligente */
.search-box-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.search-input {
  width: 100%;
  padding: 20px 20px 20px 60px;
  font-size: 1.2rem;
  border: 2px solid #eaeaea;
  border-radius: 50px;
  outline: none;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  box-sizing: border-box;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 5px 20px rgba(118, 172, 102, 0.2);
}

.search-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--text-light);
}

.filter-results-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.filter-result-card {
  display: flex;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  animation: fadeUp 0.4s ease-out;
}

.filter-result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.filter-result-img {
  width: 180px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.filter-result-info {
  padding: 25px;
  flex-grow: 1;
}

.filter-result-title {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-family: 'Outfit', sans-serif;
}

.filter-result-careers {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.filter-result-careers li {
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-result-careers li i {
  color: var(--accent);
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 10px 24px;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 30px;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-result-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white) !important;
  border: none;
  display: inline-block;
  font-size: 0.9rem;
  padding: 10px 20px;
}

.filter-result-btn:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white) !important;
}

.filter-no-results {
  text-align: center;
  padding: 50px;
  color: var(--text-light);
}

.filter-no-results i {
  font-size: 4rem;
  margin-bottom: 15px;
  color: #ccc;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }
  .hero-buttons a {
    width: 100%;
    margin-bottom: 10px;
  }
  .about-grid, .opp-grid {
    grid-template-columns: 1fr;
  }
  .menu-toggle {
    display: block;
  }
  .input-group {
    grid-template-columns: 1fr;
  }
  .contact {
    padding: 60px 20px;
    margin: 20px 12px;
  }
  
  /* Overrides for inline styles in subpages */
  section[style] {
    padding: 120px 15px 60px !important;
  }
  h1[style] {
    font-size: 2rem !important;
  }
  p[style*="font-size: 1.2rem"] {
    font-size: 1rem !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo img {
    margin: 0 auto;
  }
  .footer-links ul li::before {
    display: none;
  }
  .footer-links ul li {
    padding-left: 0;
  }
  .universities-grid {
    grid-template-columns: 1fr;
  }
}

/* Videos Showcase Section */
.video-section {
  background-color: var(--white);
  padding: 80px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.video-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  padding: 20px;
  text-align: center;
}

.video-info h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.video-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   Virtual Assistant (Chatbot) Styles
   ========================================================================== */

/* Floating button */
.floating-assistant-btn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 200px;
  height: auto;
  z-index: 1010;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background-color: transparent;
  display: block;
}

.floating-assistant-btn:hover {
  transform: scale(1.05) translateY(-3px);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

.floating-assistant-btn img {
  width: 100%;
  height: auto;
  display: block;
}

/* Chatbot Window */
.chatbot-window {
  position: fixed;
  bottom: 205px; /* Float above the larger owl */
  right: 25px;
  width: 340px;
  height: 460px;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.06);
  font-family: 'Inter', sans-serif;
}

.chatbot-window.hidden {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  pointer-events: none;
}

/* Chatbot Header */
.chatbot-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.chatbot-header-logo-container {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.chatbot-header-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #2ec4b6;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.chatbot-header-info {
  flex-grow: 1;
}

.chatbot-header-info h4 {
  color: var(--white);
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

.chatbot-header-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  margin: 0;
}

.chatbot-close-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition);
  line-height: 1;
  padding: 0 4px;
}

.chatbot-close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Messages Area */
.chatbot-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chatbot-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  word-break: break-word;
}

.chatbot-message p {
  margin: 0;
}

.chatbot-message.assistant {
  background-color: var(--white);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.chatbot-message.user {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Typing Indicator Animation */
.chatbot-message.typing p {
  display: flex;
  align-items: center;
  gap: 2px;
  font-style: italic;
  color: var(--text-light);
}

.chatbot-message.typing span {
  animation: typing-dots 1.4s infinite both;
  font-weight: bold;
}

.chatbot-message.typing .dot-2 {
  animation-delay: .2s;
}

.chatbot-message.typing .dot-3 {
  animation-delay: .4s;
}

@keyframes typing-dots {
  0% { opacity: .2; }
  20% { opacity: 1; }
  100% { opacity: .2; }
}

/* Input Area */
.chatbot-input-container {
  padding: 14px 18px;
  background-color: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: 10px;
  align-items: center;
}

.chatbot-input-container input {
  flex-grow: 1;
  border: 1px solid rgba(0,0,0,0.1);
  background: #f1f5f9;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 25px;
  font-size: 0.92rem;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.chatbot-input-container input::placeholder {
  color: var(--text-light);
  opacity: 0.8;
}

.chatbot-input-container input:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 80, 143, 0.15);
}

.chatbot-input-container button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(26, 80, 143, 0.2);
}

.chatbot-input-container button:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

/* Responsiveness */
@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100vw - 30px);
    max-width: 340px;
    height: 430px;
    right: 15px;
    bottom: 140px;
  }
  .floating-assistant-btn {
    width: 135px;
    height: auto;
    bottom: 10px;
    right: 10px;
  }
  .floating-chat-btn {
    bottom: 145px;
    right: 58px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .floating-insta-btn {
    bottom: 195px;
    right: 58px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .floating-tiktok-btn {
    bottom: 245px;
    right: 58px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

.video-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}
