/*

CSS Design & Authorship Information

Author: Md Tawfiqul Islam
Position: Founder and CEO, MASCODERS
Design Year: 2025

This CSS defines the core styles for the website demo design, created by Md Tawfiqul Islam from MASCODERS.
Purpose: To serve as a style model for a study abroad consultancy platform, catering to student councils and students in Bangladesh and other countries.

*/

:root {
  --primary-blue: #0c2961;
  --primary-red: #f41c1f;
  --light-blue: #1a3d7a;
  --dark-blue: #061b3d;
  --light-red: #ff3538;
  --dark-red: #c41517;

  --gradient-primary: linear-gradient(135deg, #0c2961 0%, #1a3d7a 100%);
  --gradient-red: linear-gradient(135deg, #f41c1f 0%, #ff3538 100%);
  --gradient-mixed: linear-gradient(135deg, #0c2961 0%, #f41c1f 100%);
  --gradient-dark: linear-gradient(135deg, #061b3d 0%, #0c2961 100%);
  --gradient-light: linear-gradient(135deg, #1a3d7a 0%, #ff3538 100%);
  --gradient-accent: linear-gradient(135deg, #f41c1f 0%, #0c2961 100%);
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  background: var(--gradient-primary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  /* position: relative; */
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: white !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  /* background: var(--gradient-red); */
  background: #FFFFFF;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(244, 28, 31, 0.3);
}

.brand-logo img {
  max-width: 100px;
}

.navbar-toggler {
  background: white !important;
  border: none;
  padding: 8px 12px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2812, 41, 97, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  color: white !important;
  margin: 0 0.5rem;
  transition: all 0.3s;
  font-weight: 500;
  position: relative;
  padding: 8px 15px !important;
}

.navbar-nav .nav-link:hover {
  transform: translateY(-2px);
  color: var(--light-red) !important;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-mixed);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(244, 28, 31, 0.15);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  animation: pulse 8s infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
  animation: pulse 10s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Card Styles */
.info-card {
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  color: white;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.info-card h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.info-card p {
  margin-bottom: 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.info-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.card-1 {
  background: var(--gradient-primary);
}
.card-2 {
  background: var(--gradient-red);
}
.card-3 {
  background: var(--gradient-mixed);
}
.card-4 {
  background: var(--gradient-dark);
}
.card-5 {
  background: var(--gradient-light);
}
.card-6 {
  background: var(--gradient-accent);
}

/* Country Cards */
.country-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  margin-bottom: 2rem;
  background: white;
  border: 3px solid transparent;
}

.country-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(12, 41, 97, 0.3);
  border-color: var(--primary-red);
}

.country-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.country-content {
  padding: 1.5rem;
}

.country-content h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.country-content .btn-primary {
  background: var(--gradient-red);
  border: none;
  transition: all 0.3s;
}

.country-content .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(244, 28, 31, 0.4);
}

/* CTA Buttons */
.cta-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  background: var(--gradient-red);
  color: white;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(244, 28, 31, 0.3);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(244, 28, 31, 0.4);
  color: white;
}

.cta-btn-secondary {
  background: var(--gradient-primary);
  box-shadow: 0 5px 15px rgba(12, 41, 97, 0.3);
}

.cta-btn-secondary:hover {
  box-shadow: 0 10px 25px rgba(12, 41, 97, 0.4);
}

.cta-btn-success {
  background: var(--gradient-mixed);
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-red);
  border-radius: 2px;
}

.section {
  padding: 80px 0;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border-left: 5px solid;
  height: 100%;
}

.service-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-1 {
  border-color: var(--primary-blue);
}
.service-1 i {
  color: var(--primary-blue);
}
.service-2 {
  border-color: var(--primary-red);
}
.service-2 i {
  color: var(--primary-red);
}
.service-3 {
  border-color: var(--light-blue);
}
.service-3 i {
  color: var(--light-blue);
}
.service-4 {
  border-color: var(--light-red);
}
.service-4 i {
  color: var(--light-red);
}
.service-5 {
  border-color: var(--dark-blue);
}
.service-5 i {
  color: var(--dark-blue);
}
.service-6 {
  border-color: var(--dark-red);
}
.service-6 i {
  color: var(--dark-red);
}

.service-card .btn {
  border-width: 2px;
  font-weight: 600;
  transition: all 0.3s;
}

.service-card .btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

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

.service-card .btn-outline-danger {
  color: var(--primary-red);
  border-color: var(--primary-red);
}

.service-card .btn-outline-danger:hover {
  background: var(--primary-red);
  color: white;
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: white;
  border: none;
  box-shadow: 0 5px 20px rgba(244, 28, 31, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(244, 28, 31, 0.5);
}

.floating-btn.btn-blue {
  background: var(--gradient-primary);
  box-shadow: 0 5px 20px rgba(12, 41, 97, 0.4);
}

.floating-btn.btn-blue:hover {
  box-shadow: 0 8px 30px rgba(12, 41, 97, 0.5);
}

/* Scholarship Card */
.scholarship-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 3px solid transparent;
}

.scholarship-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.scholarship-card .btn-primary {
  background: var(--gradient-red);
  border: none;
}

/* Visa Gallery */
.visa-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  margin-bottom: 2rem;
  background: white;
  border: 3px solid transparent;
}

.visa-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(244, 28, 31, 0.3);
  border-color: var(--primary-red);
}

.visa-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.visa-info {
  padding: 1.5rem;
  text-align: center;
}

/* University Search */
.search-container {
  background: white;
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 5px 20px rgba(12, 41, 97, 0.2);
  margin-bottom: 3rem;
  border: 2px solid var(--primary-blue);
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
}

/* University Card */
.university-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 3px solid transparent;
}

.university-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-red);
}

.uni-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.uni-btn {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  min-width: 120px;
}

.btn-apply {
  background: var(--primary-red);
  color: white;
}

.btn-counsel {
  background: var(--primary-blue);
  color: white;
}

.btn-details {
  background: var(--light-blue);
  color: white;
}

.uni-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Card */
.blog-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  margin-bottom: 2rem;
  background: white;
  border: 3px solid transparent;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.blog-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-card .btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.blog-card .btn-outline-primary:hover {
  background: var(--primary-blue);
  color: white;
}

/* Event Section */
.event-banner {
  background: var(--gradient-light);
  color: white;
  padding: 60px 0;
  border-radius: 20px;
  margin-bottom: 3rem;
  text-align: center;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 2rem;
}

.countdown-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  min-width: 100px;
  backdrop-filter: blur(10px);
}

.countdown-number {
  font-size: 3rem;
  font-weight: 700;
}

.countdown-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Contact Section */
.contact-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border: 3px solid transparent;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--primary-blue);
}

.branch-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 3px solid transparent;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-red);
}

.counselor-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-blue);
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: white;
  padding: 60px 0 20px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-red);
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-red);
}

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

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

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  font-size: 1rem;
}

.footer a:hover {
  color: var(--primary-red);
  padding-left: 8px;
}

.footer .brand-logo {
  display: inline-block;
  margin-bottom: 15px;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  width: 45px;
  height: 45px;
  background: rgba(244, 28, 31, 0.2);
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  margin-right: 12px;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.social-icons a:hover {
  /* background: var(--primary-red); */
  background: #fff;
  transform: translateY(-5px);
  /* box-shadow: 0 5px 15px rgba(244, 28, 31, 0.4); */
  padding-left: 0;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 40px 0 20px;
}

.footer .row:last-child {
  padding-top: 20px;
}

.footer .row:last-child p,
.footer .row:last-child a {
  font-size: 0.95rem;
}

/* Form Styles */
.form-control,
.form-select {
  border-radius: 10px;
  padding: 12px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(12, 41, 97, 0.25);
}

.trust-text {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* Success Counter */
.success-counter {
  background: var(--gradient-accent);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.counter-item {
  margin-bottom: 2rem;
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Badge */
.badge-custom {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

/* Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 120px;
  right: 30px;
  width: 350px;
  max-height: 500px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  z-index: 999;
  overflow: hidden;
}

.chat-header {
  background: var(--gradient-primary);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  max-height: 350px;
  background: #f5f5f5;
}

.chat-message {
  margin-bottom: 15px;
  display: flex;
}

.chat-message.bot {
  justify-content: flex-start;
}

.chat-message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
}

.chat-message.bot .message-content {
  background: white;
  border-bottom-left-radius: 5px;
}

.chat-message.user .message-content {
  background: var(--primary-blue);
  color: white;
  border-bottom-right-radius: 5px;
}

.message-content p {
  margin: 0;
  margin-bottom: 5px;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-replies button {
  background: white;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-replies button:hover {
  background: var(--primary-blue);
  color: white;
}

.chat-footer {
  padding: 10px;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 10px;
}

.chat-footer input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 10px 15px;
  outline: none;
}

.chat-footer button {
  background: var(--primary-red);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.chat-footer button:hover {
  transform: scale(1.1);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
}

.modal-content-large {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.modal-content-medium {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.modal-header-custom {
  background: var(--gradient-primary);
  color: white;
  padding: 20px 30px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-custom h3 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-body-custom {
  padding: 30px;
}

.application-form .form-label {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.upload-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  margin: 20px 0;
}

.upload-item {
  background: white;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px dashed #e0e0e0;
  transition: all 0.3s;
}

.upload-item:hover {
  border-color: var(--primary-blue);
}

.upload-label {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  margin: 0;
}

.upload-label i {
  font-size: 2rem;
  color: var(--primary-red);
}

.upload-label > div {
  flex: 1;
}

.upload-label strong {
  display: block;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.upload-label small {
  color: #666;
}

.file-input {
  display: none;
}

.file-name {
  background: var(--primary-blue);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Testimonials Section */
.testimonials-section {
  background: #f8f9fa;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  position: relative;
  border: 3px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(12, 41, 97, 0.2);
  border-color: var(--primary-red);
}

.testimonial-header {
  text-align: center;
  margin-bottom: 20px;
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-blue);
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-size: 1.2rem;
}

.testimonial-rating i {
  color: #ffd700;
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.testimonial-author h5 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.testimonial-author p {
  color: #666;
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.university-name {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: var(--primary-red);
  opacity: 0.1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

  .uni-btn-group {
    flex-direction: column;
  }

  .uni-btn {
    width: 100%;
  }

  .countdown {
    flex-wrap: wrap;
  }

  .countdown-item {
    min-width: 80px;
  }

  .brand-logo {
    font-size: 0.9rem;
  }

  .chat-widget {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 100px;
  }

  .modal-content-large,
  .modal-content-medium {
    margin: 20px;
  }
}
