/* ==================== Variables ==================== */
:root {
  /* Colors */
  --primary-dark: #2a537b;
  --primary-light: #954a96;
  --accent-color: #ffd26f;
  --text-light: #fff2b3;
  --white: #ffffff;
  --black: #000000;
  
  /* Gradients */
  --main-gradient: linear-gradient(14deg, rgba(2,0,36,1) 0%, var(--primary-dark) 0%, var(--primary-light) 100%);
  --button-gradient: linear-gradient(14deg, rgba(2,0,36,1) 0%, rgb(42, 123, 96) 0%, rgb(80, 74, 150) 100%);
  --footer-gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  
  /* Shadows */
  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.3);
  
  /* Spacing */
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 20px;
  --space-lg: 30px;
  --space-xl: 40px;
}

/* ==================== Base Styles ==================== */
@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(14deg, rgba(2,0,36,1) 0%, rgb(150, 202, 255) 0%, rgb(254, 186, 255) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--white);
  line-height: 1.6;
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { 
    opacity: 0;
    transform: translateY(-30px);
  } 
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  } 
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0% { transform: rotate(30deg) translate(-10%, -10%); }
  100% { transform: rotate(30deg) translate(10%, 10%); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; }
}

/* ==================== Components ==================== */

/* Header Styles */
.page-header {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  z-index: 1;
}

.page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
}

.page-header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.page-header__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease;
}

.page-header__breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 1.2rem;
}

.page-header__breadcrumb li {
  position: relative;
  padding: 0 var(--space-sm);
}

.page-header__breadcrumb li:not(:last-child):after {
  content: "/";
  position: absolute;
  right: -5px;
  color: rgba(255, 255, 255, 0.7);
}

/* Login/Card Styles */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: var(--space-md);
  transition: transform 0.3s ease;
}

.login-card {
  background: var(--main-gradient);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
  padding: var(--space-lg);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border: none;
  animation: fadeInUp 0.8s ease;
}

.login-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(30deg);
  animation: shine 6s infinite linear;
}

.login-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.login-header h4 {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.login-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.login-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: var(--space-md);
  animation: bounce 2s infinite;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 30px;
  padding: 12px 20px;
  margin-bottom: var(--space-md);
  transition: all 0.3s;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(255, 210, 111, 0.25);
  color: var(--white);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.btn-login {
  background: var(--button-gradient);
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  width: 100%;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-login::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(14deg, rgba(2,0,36,1) 0%, rgb(52, 153, 116) 0%, rgb(100, 94, 180) 100%);
  z-index: -1;
  transition: opacity 0.3s;
  opacity: 0;
}

.btn-login:hover::after {
  opacity: 1;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 280px;
  background: var(--main-gradient);
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: var(--space-md);
  color: var(--white);
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  text-align: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.sidebar-header h5 {
  color: var(--accent-color);
  font-weight: 700;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.sidebar-menu li {
  margin-bottom: var(--space-sm);
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
}

.sidebar-menu a:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateX(-5px);
}

.sidebar-menu i {
  margin-left: var(--space-sm);
  font-size: 1.2rem;
  color: var(--accent-color);
}

.sidebar-close-btn {
  position: absolute;
  left: 15px;
  top: 15px;
  background: transparent;
  border: none;
  color: var(--accent-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

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

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1040;
  display: none;
}

.sidebar-active .sidebar-overlay {
  display: block;
}

.sidebar-active .login-container {
  transform: translateX(-140px);
}

.sidebar-toggle {
  position: fixed;
  right: 20px;
  top: 20px;
  background: var(--main-gradient);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.sidebar-toggle:hover {
  transform: scale(1.1);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
  color: var(--accent-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background: var(--white);
}

.section-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-md) auto;
  width: 200px;
}

.divider-line {
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  flex-grow: 1;
}

.divider-icon {
  margin: 0 var(--space-md);
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(14deg, rgba(2,0,36,1) 0%, rgb(9, 23, 94) 0%, rgb(88, 4, 50) 100%);
  padding: var(--space-xl) 0;
  color: var(--white);
}

.service-card {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: var(--space-lg);
  transition: all 0.3s;
  height: 100%;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: var(--space-md);
}

.service-card h4 {
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.service-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-md);
}

.service-image img {
  width: 100%;
  border-radius: 10px;
  margin-top: var(--space-md);
  box-shadow: var(--shadow-sm);
}

/* About Section */
.about-section {
  background: var(--main-gradient);
  padding: var(--space-xl) 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,210,111,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,210,111,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.about-text {
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 2;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-image img {
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

.about-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--accent-color);
  position: relative;
  padding-bottom: var(--space-md);
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 3px;
  background: var(--accent-color);
}

.about-welcome {
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.about-description {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.about-paragraphs p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
  text-align: justify;
}

.highlight {
  color: var(--accent-color);
  font-weight: 700;
}

.highlight-secondary {
  color: #ff9e6f;
  font-weight: 600;
}

/* Exams Section */
.exams-section {
  background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
  padding: var(--space-xl) 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.exams-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.exams-section::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

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

.exam-type {
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.exam-type:hover {
  transform: translateY(-5px);
}

.exam-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.exam-badge {
  background: #660074;
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: var(--space-md);
  box-shadow: var(--shadow-xs);
}

.exam-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.exam-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-md);
}

.exam-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.exam-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.exam-image:hover img {
  transform: scale(1.05);
}

.exam-tooltip {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(102, 0, 116, 0.9);
  color: var(--white);
  padding: var(--space-sm);
  text-align: center;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.exam-image:hover .exam-tooltip {
  transform: translateY(0);
}

.exam-footer {
  text-align: center;
  margin-top: var(--space-xl);
}

.exam-btn {
  display: inline-flex;
  align-items: center;
  background: #660074;
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.exam-btn:hover {
  background: #4a0055;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.exam-btn i {
  margin-right: var(--space-sm);
  transition: transform 0.3s ease;
}

.exam-btn:hover i {
  transform: translateX(-5px);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--footer-gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,210,111,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,210,111,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: var(--space-lg);
  margin: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: auto;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
  margin-bottom: 25px;
  position: relative;
}

.testimonial-content::before {
  content: '\201C';
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -30px;
  right: 10px;
  font-family: serif;
  line-height: 1;
}

.testimonial-rating {
  color: var(--accent-color);
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0;
  text-align: justify;
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-md);
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: var(--space-md);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex-grow: 1;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.author-title {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* News Section */
.news-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  color: var(--primary-dark);
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(149, 74, 150, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.news-section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--primary-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.news-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.news-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(42, 83, 123, 0.9);
  color: var(--white);
  padding: var(--space-sm) 15px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.2;
}

.news-date span:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.news-date span:last-child {
  font-size: 0.9rem;
}

.news-content {
  padding: 25px;
}

.news-category {
  margin-bottom: var(--space-md);
}

.news-category a {
  display: inline-block;
  background: #f3e5ff;
  color: var(--primary-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-category a:hover {
  background: #e0c4ff;
}

.news-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.news-title a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--primary-light);
}

.news-excerpt {
  color: #6c757d;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid #eee;
}

.news-author {
  display: flex;
  align-items: center;
}

.news-author img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: var(--space-sm);
}

.news-author span {
  font-size: 0.9rem;
  color: #6c757d;
}

.news-link {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.news-link i {
  margin-right: var(--space-xs);
  transition: transform 0.3s ease;
}

.news-link:hover {
  color: #7a3d7b;
}

.news-link:hover i {
  transform: translateX(-5px);
}

.news-btn {
  display: inline-flex;
  align-items: center;
  background: var(--footer-gradient);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.news-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.news-btn i {
  margin-right: var(--space-sm);
  transition: transform 0.3s ease;
}

.news-btn:hover i {
  transform: translateX(-5px);
}

/* Footer Styles */
.tizhooshani-footer {
  background: var(--footer-gradient);
  color: var(--white);
  position: relative;
  padding-top: 80px;
  margin-top: 80px;
}

.footer-wave {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}

.footer-column {
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: var(--space-md);
}

.footer-about {
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-contact {
  margin-top: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.contact-item i {
  margin-left: var(--space-sm);
  color: var(--accent-color);
  font-size: 1.1rem;
}

.contact-item a {
  color: var(--white);
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--accent-color);
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-left: var(--space-xs);
  color: var(--accent-color);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(-5px);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: 25px;
}

.trust-badge img {
  max-width: 120px;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s;
}

.trust-badge:hover img {
  transform: translateY(-5px);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--accent-color);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.gallery-item {
  display: block;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

.copyright a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: var(--accent-color);
}

/* Modal Styles */
.modal-login {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 1100;
  justify-content: center;
  align-items: center;
}

.modal-login.active {
  display: flex;
  animation: fadeIn 0.3s;
}

.modal-content {
  background: var(--main-gradient);
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  padding: var(--space-lg);
  color: var(--white);
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.3s;
}

.modal-login.active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.close-modal {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: 1.5rem;
  color: var(--accent-color);
  cursor: pointer;
  transition: all 0.3s;
}

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

/* Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float linear infinite;
}

/* Progress Bar */
.progress-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
}

/* ==================== Media Queries ==================== */
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    min-width: 100%;
  }
  
  .about-title {
    font-size: 1.8rem;
  }
  
  .about-image img {
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .page-header {
    height: 400px;
  }
  
  .page-header__title {
    font-size: 2.5rem;
  }
  
  .page-header__breadcrumb {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .exam-title {
    font-size: 1.5rem;
  }
  
  .exam-images {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .testimonial-card {
    padding: var(--space-md);
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  .news-image {
    height: 180px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .owl-theme .owl-nav {
    display: none;
  }
}

@media (max-width: 576px) {
  .page-header {
    height: 300px;
  }
  
  .page-header__title {
    font-size: 2rem;
  }
  
  .page-header__breadcrumb {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .exam-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .exam-badge {
    margin-left: 0;
    margin-bottom: var(--space-md);
  }
  
  .exam-images {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin-left: 0;
    margin-bottom: var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-title {
    margin-bottom: var(--space-md);
  }
}