/* 
 * İles Akademi - CSS Design System
 * Colors: Navy Blue (#0a2342), Gold (#c5a059)
 * Typography: Outfit (Headings), Inter (Body)
 */

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

:root {
  /* Colors */
  --primary: #0a2342;
  --primary-light: #12355e;
  --primary-dark: #051427;
  --accent: #c5a059;
  --accent-light: #d8b877;
  --accent-dark: #a8813d;
  --bg-light: #f8fafe;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(10, 35, 66, 0.05);
  --shadow-md: 0 10px 20px rgba(10, 35, 66, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 35, 66, 0.12);
  --shadow-glow: 0 0 15px rgba(197, 160, 89, 0.4);
  
  /* Layout */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-image: linear-gradient(rgba(10, 35, 66, 0.95), rgba(10, 35, 66, 0.95)), url('../images/body-bg.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(197, 160, 89, 0.12);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

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

.section-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  gap: 10px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(10, 35, 66, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 35, 66, 0.3);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.btn-accent:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover, .btn-outline.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--text-white);
  color: var(--text-white);
}

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Header Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

header.scrolled {
  background-color: rgba(10, 35, 66, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.logo-img {
  height: 55px;
  width: auto;
  transition: var(--transition);
}

header.scrolled .logo-img {
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-white);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 180px 0 120px 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 60%), 
              linear-gradient(rgba(10, 35, 66, 0.92), rgba(10, 35, 66, 0.92)), 
              url('../images/body-bg.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-white);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content h1 span {
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
  z-index: -1;
  animation: pulse 4s infinite alternate;
}

.hero-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.hero-card-logo {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
}

.hero-card-meta h3 {
  color: var(--text-white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.hero-card-meta p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0;
}

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-features li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.3);
}

.service-card:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background-color: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.service-card:hover .service-badge {
  background-color: var(--accent);
  color: var(--primary-dark);
}

/* Study Hub (Highlighted Section) */
.study-hub-section {
  background-color: var(--primary-dark);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.study-hub-section .section-header h2 {
  color: var(--text-white);
}

.study-hub-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.study-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.study-hub-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 160, 89, 0.25);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(10, 35, 66, 0.8) 0%, rgba(5, 20, 39, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
}

.study-hub-visual-decor {
  position: absolute;
  width: 130px;
  height: 130px;
  background-color: rgba(197, 160, 89, 0.1);
  border-radius: 50%;
  filter: blur(40px);
  top: 10%;
  right: 10%;
}

.study-hub-badge-big {
  border: 2px dashed var(--accent);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  z-index: 1;
}

.study-hub-badge-big h4 {
  color: var(--accent);
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.study-hub-badge-big p {
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 5px;
}

.study-hub-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.sh-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 25px;
  transition: var(--transition);
}

.sh-feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(197, 160, 89, 0.3);
  transform: translateY(-3px);
}

.sh-feature-card h4 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.sh-feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content .lead {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.about-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.about-features {
  list-style: none;
  margin-bottom: 40px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-white);
}

.about-features li svg {
  color: var(--accent);
}

.about-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.about-visual-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* Deneme Kulübü Table */
.exam-table-container {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  margin-bottom: 40px;
}

.exam-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.exam-table th {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--accent-light);
  font-weight: 700;
  padding: 18px 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.exam-table td {
  padding: 18px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
}

.exam-table tr:last-child td {
  border-bottom: none;
}

.exam-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.exam-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
}

.exam-badge-yks {
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--accent-light);
}

.exam-badge-lgs {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

/* Testimonials & FAQs Grid */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(197, 160, 89, 0.15);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-user-initial {
  width: 45px;
  height: 45px;
  background-color: var(--accent);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
  font-size: 1.1rem;
}

.testimonial-info h4 {
  font-size: 1rem;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--accent-light);
  font-weight: 600;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-trigger {
  padding: 20px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
}

.faq-trigger svg {
  transition: var(--transition);
}

.faq-item.active .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item.active {
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content p {
  padding: 0 20px 20px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Contact Area */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

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

.contact-info-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(197, 160, 89, 0.12);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-content h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-info-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

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

/* Map Frame */
.map-container {
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Styling */
footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: var(--text-white);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 0.95rem;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 20, 39, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 550px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--primary);
}

.modal-header {
  margin-bottom: 25px;
}

.modal-header h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  animation: slideIn 0.3s forwards;
  border-left: 4px solid var(--accent);
}

.toast.success {
  border-left-color: #10b981;
}

.toast.error {
  border-left-color: #ef4444;
}

/* Admin Dashboard layout */
.admin-body {
  background-color: #f1f5f9;
}

.admin-header {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 15px 0;
  border-bottom: 4px solid var(--accent);
}

.admin-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}

.admin-logo img {
  height: 40px;
}

.admin-logout {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-logout:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.admin-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

.admin-login-card {
  max-width: 400px;
  margin: 100px auto;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.admin-login-logo {
  height: 80px;
  margin: 0 auto 30px auto;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.admin-sidebar {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  align-self: start;
}

.admin-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-dark);
}

.admin-menu-item.active a,
.admin-menu-item a:hover {
  background-color: rgba(10, 35, 66, 0.05);
  color: var(--primary);
}

.admin-menu-item.active a {
  border-left: 3px solid var(--accent);
  background-color: rgba(10, 35, 66, 0.08);
}

.admin-content-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.admin-content-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.admin-stat-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-stat-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(10, 35, 66, 0.05);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-stat-info h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.admin-stat-info p {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.admin-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.admin-inbox-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  background-color: var(--bg-white);
  position: relative;
  transition: var(--transition);
}

.admin-inbox-item.unread {
  border-left: 4px solid var(--accent);
  background-color: rgba(197, 160, 89, 0.02);
}

.admin-inbox-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.admin-inbox-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-inbox-actions {
  display: flex;
  gap: 10px;
}

.admin-btn-action {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.admin-btn-delete {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}

.admin-btn-delete:hover {
  background-color: #fef2f2;
}

.admin-btn-read {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.2);
}

.admin-btn-read:hover {
  background-color: #f0fdf4;
}

/* Form JSON editor fields */
.admin-json-group {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 25px;
}

.admin-json-group h4 {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.reveal.fade-up {
  transform: translateY(40px);
}

.reveal.fade-down {
  transform: translateY(-40px);
}

.reveal.fade-left {
  transform: translateX(-40px);
}

.reveal.fade-right {
  transform: translateX(40px);
}

.reveal.zoom-in {
  transform: scale(0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; }
}

@keyframes slideIn {
  to { transform: translateY(0); opacity: 1; }
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    margin: 0 auto 30px auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .study-hub-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-visual-card {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .dual-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .footer-col-contact {
    grid-column: span 2;
  }
  
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-dark);
    flex-direction: column;
    padding: 100px 40px;
    transition: var(--transition);
    align-items: flex-start;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--text-white) !important;
    font-size: 1.2rem;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-col-contact {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .study-hub-features-list {
    grid-template-columns: 1fr;
  }
  
  .admin-stats-summary {
    grid-template-columns: 1fr;
  }
  
  .modal-box {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}
