/* ========================================
   ROOT & VARIABLES
   ======================================== */

:root {
  --color-turquoise: #0694a0;
  --color-purple: #4f3165;
  --color-gold: #feaf00;
  --color-black: #0f0b0a;
  --color-white: #ffffff;
  --color-off-white: #f8f7f5;
  --color-light-gray: #f0eded;
  --color-text: #2a2520;
  
  --transition-smooth: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.3s ease;
  --transition-slow: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 30px 100px rgba(0, 0, 0, 0.1);
  
  --radius-small: 20px;
  --radius-medium: 30px;
  --radius-large: 40px;
  --radius-xl: 50px;
}

/* ========================================
   RESET & GLOBAL STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--color-turquoise);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-purple);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(40px, 5vw, 75px);
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
}

p {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.7;
  color: #555;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-smooth);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes imageReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blobAnimation {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% {
    transform: translate(30px, 10px) scale(1.05);
  }
}

/* ========================================
   BLOB DECORATIONS
   ======================================== */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: blobAnimation 8s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--color-turquoise);
  top: -100px;
  left: -150px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--color-purple);
  bottom: 50px;
  right: -100px;
  animation-delay: 2s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: var(--color-gold);
  top: 100px;
  right: -150px;
  animation-delay: 1s;
}

.blob-4 {
  width: 300px;
  height: 300px;
  background: var(--color-turquoise);
  bottom: -100px;
  left: -100px;
  animation-delay: 3s;
}

.blob-5 {
  width: 400px;
  height: 400px;
  background: var(--color-purple);
  top: -150px;
  right: -100px;
  animation-delay: 1.5s;
}

.blob-6 {
  width: 350px;
  height: 350px;
  background: var(--color-gold);
  bottom: -100px;
  right: 100px;
  animation-delay: 2.5s;
}

.blob-7 {
  width: 300px;
  height: 300px;
  background: var(--color-turquoise);
  top: 200px;
  left: -50px;
  animation-delay: 0.5s;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 30px 0;
}

.header-container {
  width: calc(100% - 100px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(25px);
  box-shadow: var(--shadow-soft);
  padding: 20px 50px;
  animation: fadeUp 0.8s ease-out;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: clamp(20px, 3vw, 50px);
  margin: 0 auto;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-turquoise);
  transition: var(--transition-fast);
}

.nav-menu a:hover::after {
  width: 100%;
}

.cta-btn {
  padding: 12px 30px;
  border-radius: var(--radius-xl);
  background: var(--color-turquoise);
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(6, 148, 160, 0.2);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 148, 160, 0.3);
  background: #0580a0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  height: calc(100vh - 140px);
  margin-top: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/bg-giris2.avif');
  background-position: center;
  background-size: cover;
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 11, 10, 0.3) 0%, rgba(79, 49, 101, 0.2) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  animation: fadeUp 1s ease-out;
}

.glass-panel {
  width: 500px;
  padding: 60px 50px;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  animation: scaleIn 1s ease-out;
}

.hero-title {
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btn {
  padding: 16px 50px;
  border-radius: var(--radius-xl);
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 15px 40px rgba(254, 175, 0, 0.3);
}

.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(254, 175, 0, 0.4);
  background: #f5a300;
}

/* ========================================
   HERO CARDS
   ======================================== */

.hero-cards {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  justify-content: center;
}

.hero-card {
  width: 280px;
  padding: 40px 30px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-medium);
  text-align: center;
  animation: fadeUp 1.2s ease-out;
  transition: var(--transition-smooth);
}

.hero-card:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-card:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-card:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.hero-card h3 {
  margin-bottom: 12px;
  color: var(--color-text);
}

.hero-card p {
  font-size: 14px;
  color: #888;
}

/* ========================================
   SECTION CONTAINER & HEADER
   ======================================== */

.section-container {
  max-width: 1400px;
  margin: auto;
  padding: 120px 40px;
  position: relative;
  z-index: 5;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeUp 0.8s ease-out;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-turquoise);
  background: rgba(6, 148, 160, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-header h2 {
  margin-bottom: 20px;
  color: var(--color-text);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #888;
  font-size: 16px;
}

/* ========================================
   EXAM COUNTDOWN SECTION
   ======================================== */

.exam-countdown {
  position: relative;
  padding: 40px 40px;
  background: radial-gradient(circle at top left, #ffecec, transparent 40%),
              linear-gradient(120deg, #fff7f7, #fff);
  overflow: hidden;
}

.exam-countdown::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--color-gold);
  opacity: 0.08;
  filter: blur(100px);
  border-radius: 50%;
  top: -300px;
  left: -200px;
  z-index: 1;
}

.countdown-box {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.exam-item {
  text-align: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #c83a32;
  background: #fff0ee;
  border: 1px solid rgba(200, 58, 50, 0.2);
  margin-bottom: 15px;
}

.badge.blue {
  color: #26378e;
  background: #eef0ff;
  border-color: #ccd2ff;
}

.exam-item h3 {
  margin: 15px 0 5px;
  font-size: 32px;
  font-weight: 800;
  color: #111827;
}

.exam-item h3 strong {
  color: #c7352b;
}

.lgs h3 strong {
  color: #3546aa;
}

.exam-item p {
  color: #777;
  font-size: 14px;
  margin-bottom: 35px;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 35px;
}

.time {
  width: 72px;
  height: 78px;
  background: white;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

.time b {
  font-size: 32px;
  color: #17172c;
  line-height: 1;
  font-weight: 800;
}

.time small {
  margin-top: 8px;
  font-size: 10px;
  color: #bbb;
  letter-spacing: 1px;
  font-weight: 600;
}

.time.active {
  background: linear-gradient(145deg, #d84432, #9f231c);
  box-shadow: 0 20px 40px rgba(190, 45, 35, 0.35);
}

.time.active b {
  color: white;
}

.time.active small {
  color: #ffd8d5;
}

.time.active.blue-bg {
  background: linear-gradient(145deg, #384bb4, #20276c);
  box-shadow: 0 20px 40px rgba(45, 60, 180, 0.3);
}

/* ========================================
   STATS BAR SECTION
   ======================================== */

.stats-bar {
  background: var(--color-purple);
  padding: 30px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.stats-bar::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  right: -200px;
  top: -250px;
  background: var(--color-gold);
  opacity: 0.12;
  filter: blur(120px);
  border-radius: 50%;
}

.stats-bar .stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stats-bar .stat span {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
  flex-shrink: 0;
}

.stats-bar .stat b {
  display: block;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.stats-bar .stat p {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
  background: linear-gradient(180deg, var(--color-off-white) 0%, var(--color-white) 100%);
  padding-top: 40px;
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: start;
  animation: fadeUp 1s ease-out;
}

.about-main {
  padding-right: 40px;
}

.about-subtitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-turquoise);
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-intro {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 35px;
  line-height: 1.7;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 50px 0;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(6, 148, 160, 0.08) 0%, rgba(254, 175, 0, 0.05) 100%);
  border-radius: var(--radius-large);
  border: 1px solid rgba(6, 148, 160, 0.12);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  background: linear-gradient(135deg, rgba(6, 148, 160, 0.15) 0%, rgba(254, 175, 0, 0.1) 100%);
  transform: translateY(-8px);
  border-color: rgba(6, 148, 160, 0.25);
}

.highlight-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-turquoise);
  line-height: 1;
  margin-bottom: 8px;
}

.highlight-text {
  display: block;
  font-size: 13px;
  color: #888;
  text-align: center;
  font-weight: 600;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-mission {
  background: linear-gradient(135deg, rgba(6, 148, 160, 0.08) 0%, rgba(79, 49, 101, 0.05) 100%);
  padding: 40px;
  border-radius: var(--radius-large);
  border: 1px solid rgba(6, 148, 160, 0.15);
  position: relative;
  overflow: hidden;
}

.about-mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-turquoise), var(--color-purple));
}

.about-mission p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin: 0;
  padding-left: 20px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pillar {
  display: flex;
  gap: 15px;
  padding: 25px;
  background: white;
  border-radius: var(--radius-large);
  border: 1px solid rgba(6, 148, 160, 0.1);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: var(--color-turquoise);
  transition: var(--transition-smooth);
}

.pillar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(6, 148, 160, 0.03);
  transition: var(--transition-smooth);
}

.pillar:hover {
  border-color: var(--color-turquoise);
  box-shadow: 0 12px 40px rgba(6, 148, 160, 0.1);
}

.pillar:hover::before {
  height: 100%;
}

.pillar:hover::after {
  width: 100%;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--color-turquoise);
  stroke: currentColor;
}

.pillar-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.pillar-content h4 {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 700;
}

.pillar-content p {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ========================================
   PROGRAMS SECTION
   ======================================== */

.programs {
  background: #fafaf8;
  position: relative;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  animation: fadeUp 1s ease-out;
}

.program-card {
  padding: 38px 32px;
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, rgba(6, 148, 160, 0.05) 0%, rgba(79, 49, 101, 0.03) 100%);
  border: 1px solid rgba(6, 148, 160, 0.1);
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 148, 160, 0.1) 0%, rgba(254, 175, 0, 0.05) 100%);
  opacity: 0;
  transition: var(--transition-fast);
}

.program-card:hover::before {
  opacity: 1;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.program-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 18px;
  color: var(--color-turquoise);
  stroke: currentColor;
}

.program-card h3 {
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 16px;
}

.program-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}

/* ========================================
   NEWS SECTION
   ======================================== */

.news {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
  position: relative;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  animation: fadeUp 1s ease-out;
}

.news-card {
  border-radius: var(--radius-large);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.news-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-medium);
}

.news-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 35px;
}

.news-content h3 {
  margin-bottom: 15px;
  color: var(--color-text);
  font-size: 20px;
}

.news-content p {
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}

.read-more {
  color: var(--color-turquoise);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.read-more:hover {
  gap: 12px;
  color: var(--color-purple);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  background: var(--color-white);
  position: relative;
  padding-bottom: 80px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  animation: fadeUp 1s ease-out;
}

.contact-info h2 {
  margin-bottom: 20px;
  color: var(--color-text);
}

.contact-info > p {
  color: #888;
  margin-bottom: 50px;
  font-size: 16px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
  animation: slideInFromLeft 0.8s ease-out;
}

.info-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-turquoise);
  stroke: currentColor;
}

.info-item h4 {
  color: var(--color-text);
  margin-bottom: 5px;
  font-size: 16px;
}

.info-item p {
  color: #888;
  font-size: 14px;
  margin: 0;
}

.contact-form {
  padding: 50px 45px;
  border-radius: var(--radius-large);
  background: white;
  box-shadow: var(--shadow-heavy);
  animation: slideInFromRight 0.8s ease-out;
}

.contact-form h3 {
  margin-bottom: 30px;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: var(--radius-small);
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  transition: var(--transition-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-turquoise);
  box-shadow: 0 0 0 3px rgba(6, 148, 160, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 16px 30px;
  border-radius: var(--radius-xl);
  background: var(--color-turquoise);
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(6, 148, 160, 0.2);
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 148, 160, 0.3);
  background: #0580a0;
}

/* ========================================
   BRANCHES SECTION
   ======================================== */

.branches {
  background: var(--color-purple);
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
}

.branches::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--color-turquoise);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  filter: blur(80px);
  opacity: 0.3;
  animation: blobAnimation 10s ease-in-out infinite alternate;
}

.branches::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--color-gold);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  filter: blur(80px);
  opacity: 0.3;
  animation: blobAnimation 8s ease-in-out infinite alternate-reverse;
}

.branches-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 45px;
  animation: fadeUp 1s ease-out;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.branch-showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeUp 1s ease-out;
}

.branch-image {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  position: relative;
  transition: var(--transition-smooth);
}

.branch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.branch-showcase-item:hover .branch-image {
  box-shadow: 0 25px 70px rgba(6, 148, 160, 0.2);
  transform: scale(1.03);
}

.branch-showcase-item:hover .branch-image img {
  transform: scale(1.08);
}

.branch-info {
  text-align: center;
  animation: slideInFromBottom 0.8s ease-out;
}

.branch-info h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 6px;
  font-weight: 700;
}

.branch-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.section-header {
  color: white;
}

.branches .section-header .section-tag {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.branches .section-header h2 {
  color: white;
}

.branches .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.branch-map-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: var(--radius-xl);
  background: var(--color-turquoise);
  color: white;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 8px 25px rgba(6, 148, 160, 0.15);
  transition: var(--transition-smooth);
}

.branch-map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(6, 148, 160, 0.25);
  background: #0580a0;
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter {
  background: linear-gradient(135deg, var(--color-turquoise) 0%, var(--color-purple) 100%);
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  filter: blur(50px);
}

.newsletter::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  filter: blur(50px);
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease-out;
}

.newsletter-content h2 {
  color: white;
  margin-bottom: 15px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 25px;
  border-radius: var(--radius-xl);
  border: none;
  background: white;
  font-size: 14px;
  transition: var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: #ccc;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  padding: 16px 40px;
  border-radius: var(--radius-xl);
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(254, 175, 0, 0.3);
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(254, 175, 0, 0.4);
  background: #f5a300;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(25px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  margin-bottom: 60px;
  align-items: start;
  animation: fadeUp 0.8s ease-out;
}

.footer-logo-section {
  text-align: left;
}

.footer-main-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 25px;
  display: block;
  transition: var(--transition-smooth);
}

.footer-logo-section:hover .footer-main-logo {
  transform: scale(1.05);
}

.footer-logo-section h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--color-text);
  font-weight: 700;
}

.footer-logo-section p {
  font-size: 14px;
  line-height: 1.8;
  color: #888;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-section h4 {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--color-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #888;
  font-size: 13px;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--color-turquoise);
  font-weight: 600;
}

.branches-list li {
  color: #888;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-divider {
  height: 1px;
  background: rgba(6, 148, 160, 0.2);
  margin-bottom: 40px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  animation: fadeUp 1s ease-out;
  text-align: center;
}

.footer-bottom-left {
  flex-shrink: 0;
  order: -1;
}

.footer-bottom-left img {
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: var(--transition-fast);
}

.footer-bottom-left img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-bottom p {
  color: #999;
  font-size: 13px;
  margin: 0;
  flex: 1;
  text-align: center;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
  .countdown-box {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .section-container {
    padding: 100px 30px;
  }

  .contact-wrapper {
    gap: 50px;
  }

  .hero-cards {
    gap: 30px;
  }

  .hero-card {
    width: 250px;
  }
}

@media (max-width: 768px) {
   .header {
     padding: 15px 0;
   }

   .header-container {
     width: calc(100% - 20px);
     padding: 12px 15px;
     flex-wrap: wrap;
     gap: 10px;
     border-radius: 15px;
   }

   .logo {
     order: 1;
   }

   .logo img {
     height: 35px;
   }

   .nav-menu {
     order: 3;
     width: 100%;
     gap: 8px;
     font-size: 11px;
     margin: 0;
   }

   .nav-menu a {
     flex: 1;
     text-align: center;
     font-size: 10px;
     padding: 6px 0;
   }

   .cta-btn {
     padding: 8px 12px;
     font-size: 10px;
     order: 2;
     flex: 0 1 auto;
     white-space: nowrap;
     margin: 0 2px;
   }

  .hero {
    height: calc(100vh - 200px);
    margin-top: 200px;
  }

  .glass-panel {
    width: 90%;
    max-width: 450px;
    padding: 40px 30px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-cards {
    bottom: -150px;
    gap: 20px;
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .hero-card {
    width: calc(50% - 10px);
    padding: 30px 20px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 30px;
  }

  .stats-bar .stat {
    gap: 10px;
  }

  .stats-bar .stat span {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .stats-bar .stat b {
    font-size: 18px;
  }

  .stats-bar .stat p {
    font-size: 13px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-main {
    padding-right: 0;
  }

  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
  }

  .highlight-item {
    padding: 20px 15px;
  }

  .highlight-number {
    font-size: 24px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info > p {
    margin-bottom: 30px;
  }

  .info-item {
    margin-bottom: 25px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-form h3 {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 14px 15px;
    margin-bottom: 15px;
    font-size: 13px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
    padding: 14px 20px;
  }

  .newsletter-btn {
    width: 100%;
    padding: 14px 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-container {
    padding: 50px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-left {
    order: 0;
    margin-bottom: 15px;
  }

  .footer-logos {
    justify-content: center;
  }

  .blob {
    filter: blur(50px);
    width: 200px !important;
    height: 200px !important;
  }

  .blob-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
  }

  .blob-2 {
    width: 150px;
    height: 150px;
  }

  .blob-3 {
    width: 180px;
    height: 180px;
  }

  .branches-showcase {
    gap: 30px;
  }

  .branch-image {
    width: 250px;
    height: 250px;
  }

  .branch-info h3 {
    font-size: 18px;
  }

  .section-container {
    padding: 60px 20px;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .section-header p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .header-container {
    width: calc(100% - 10px);
    padding: 10px 10px;
    gap: 5px;
  }

  .logo img {
    height: 30px;
  }

  .nav-menu {
    gap: 5px;
    font-size: 9px;
  }

  .nav-menu a {
    font-size: 9px;
    padding: 4px 0;
  }

  .cta-btn {
    padding: 6px 8px;
    font-size: 8px;
  }

  .hero {
    height: calc(100vh - 150px);
    margin-top: 150px;
  }

  .glass-panel {
    width: 95%;
    padding: 25px 15px;
  }

  .hero-title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 12px;
    margin-bottom: 25px;
  }

  .hero-btn {
    padding: 12px 25px;
    font-size: 12px;
  }

  .hero-card {
    width: 100%;
    padding: 20px 15px;
  }

  .hero-cards {
    flex-direction: column;
    gap: 10px;
    bottom: -120px;
    padding: 0 10px;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px 20px;
  }

  .stats-bar .stat {
    gap: 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stats-bar .stat span {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .stats-bar .stat b {
    font-size: 14px;
  }

  .stats-bar .stat p {
    font-size: 11px;
    margin: 3px 0 0;
  }

  .program-card {
    padding: 25px 15px;
  }

  .program-icon {
    margin-bottom: 12px;
  }

  .program-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .program-card p {
    font-size: 12px;
  }

  .news-card {
    border-radius: 20px;
  }

  .news-image {
    height: 180px;
  }

  .news-content {
    padding: 20px;
  }

  .news-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .news-content p {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .read-more {
    font-size: 12px;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .contact-form h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 12px;
    margin-bottom: 12px;
    font-size: 12px;
  }

  .contact-form textarea {
    min-height: 100px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 12px;
  }

  .section-container {
    padding: 50px 15px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .section-tag {
    font-size: 10px;
    padding: 6px 12px;
    margin-bottom: 12px;
  }

  .section-header p {
    font-size: 13px;
  }

  .about-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
  }

  .highlight-item {
    padding: 15px 10px;
  }

  .highlight-number {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .highlight-text {
    font-size: 11px;
  }

  .about-main {
    padding-right: 0;
  }

  .about-mission {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .about-mission p {
    font-size: 13px;
    padding-left: 15px;
  }

  .pillar {
    gap: 10px;
    padding: 15px;
  }

  .pillar-icon {
    width: 28px;
    height: 28px;
  }

  .pillar-content h4 {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .pillar-content p {
    font-size: 11px;
  }

  .branch-image {
    width: 200px;
    height: 200px;
  }

  .branch-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .branch-info p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .branch-map-btn {
    padding: 8px 20px;
    font-size: 12px;
  }

  .footer-container {
    padding: 40px 15px;
  }

  .footer-top {
    gap: 30px;
  }

  .footer-main-logo {
    height: 60px;
    margin-bottom: 15px;
  }

  .footer-logo-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-logo-section p {
    font-size: 12px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section h4 {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .footer-section ul li {
    margin-bottom: 8px;
  }

  .footer-section a {
    font-size: 12px;
  }

  .footer-bottom {
    gap: 10px;
    padding-top: 20px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  .footer-bottom-left img {
    height: 50px;
  }

  .newsletter-content {
    max-width: 100%;
  }

  .newsletter-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .newsletter-content p {
    font-size: 13px;
    margin-bottom: 25px;
  }

  .newsletter-form {
    gap: 10px;
  }

  .newsletter-form input {
    padding: 12px 15px;
    font-size: 12px;
  }

  .newsletter-btn {
    padding: 12px 20px;
    font-size: 12px;
  }

  .info-item {
    gap: 12px;
    margin-bottom: 18px;
  }

  .info-icon {
    width: 28px;
    height: 28px;
  }

  .info-item h4 {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .info-item p {
    font-size: 12px;
  }
}

/* ========================================
   INSTAGRAM LOGO STYLES
   ======================================== */

.nav-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  transition: transform 0.3s ease;
}

.nav-instagram svg {
  color: var(--color-text);
  transition: color 0.3s ease;
}

.nav-instagram:hover svg {
  color: var(--color-turquoise);
}

.nav-instagram:hover {
  transform: scale(1.1);
}

/* Disable the underline effect for instagram icon link */
.nav-menu a.nav-instagram::after {
  display: none !important;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.footer-logo-row img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 148, 160, 0.1);
  color: var(--color-turquoise);
  transition: all 0.3s ease;
}

.footer-instagram:hover {
  background: var(--color-turquoise);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(6, 148, 160, 0.2);
}
