@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('webfonts/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('webfonts/pxiGyp8kv8JHgFVrJJLucHtA.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('webfonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('webfonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2') format('woff2');
}
:root {
  --red: #d3242a;
  --orange: #e6741c;
  --yellow: #f9c40e;
  --white: #ffffff;
  --black: #000000;
  --dark: #1a1a1a;
  --gray: #f5f5f5;
  --gradient: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
  --gradient-reverse: linear-gradient(135deg, var(--yellow), var(--orange), var(--red));
  --font: 'Poppins', sans-serif;
  --shadow: 0 15px 50px rgba(0,0,0,0.15);
  --shadow-hover: 0 25px 60px rgba(0,0,0,0.25);
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  overflow-x: hidden;
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; top: -100%; left: 8px; z-index: 10000;
  background: var(--dark); color: var(--white); padding: 12px 24px;
  border-radius: 0 0 8px 8px; font-weight: 600;
}
.skip-link:focus { top: 0; }
ul { list-style: none; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.loader-ring {
  width: 60px; height: 60px; border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--yellow); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  color: var(--white); font-weight: 700; font-size: 1.3rem;
  transition: opacity 0.6s, visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: rgba(26,26,26,0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.navbar.scrolled {
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(20px);
  padding: 8px 0;
  box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.nav-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.nav-links a {
  color: var(--white); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 5px 0;
  transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--yellow); transition: var(--transition); transform: translateX(-50%);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--yellow); }
.nav-links .nav-phone {
  color: var(--orange); font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.nav-links .nav-phone:hover { color: var(--yellow); }
.nav-actions {
  display: flex; align-items: center; gap: 20px;
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 28px; height: 3px; background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
  z-index: 2000; background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.open { right: 0; }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--white);
  font-size: 2.5rem; cursor: pointer;
}
.mobile-links { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mobile-links a {
  color: var(--white); font-size: 1.3rem; font-weight: 600;
  transition: var(--transition);
}
.mobile-links a:hover { color: var(--yellow); }
.mobile-contact {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.mobile-contact a {
  color: var(--yellow); font-size: 1.1rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: right top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,30,30,1) 50%, rgba(30,30,30,0) calc(50% + 100px));
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; text-align: right;
  width: 100%;
  max-width: min(calc(50% - max(24px, 6vw)), 880px);
  padding: 0 max(24px, 6vw);
}
.hero-icon { margin-bottom: 24px; display: inline-block; }
.hero-icon img { width: clamp(180px, 20vw, 260px); height: auto; display: block; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-title {
  color: var(--white); font-size: clamp(1.4rem, 3.5vw, 2.24rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 20px;
  text-shadow: 0 5px 30px rgba(0,0,0,0.4);
}
.hero-highlight {
  color: var(--white);
}
.hero-subtitle {
  color: var(--orange); font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-arrow {
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px; position: relative;
}
.scroll-arrow::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 10px; background: var(--yellow); border-radius: 2px;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border: none; border-radius: 50px;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--gradient); color: var(--white);
  box-shadow: 0 8px 25px rgba(211,36,42,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(211,36,42,0.4);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid var(--yellow);
}
.btn-outline:hover {
  background: var(--yellow); color: var(--dark); transform: translateY(-3px);
}
.btn-block { width: 100%; justify-content: center; }

/* Sections */
.section {
  position: relative; padding: 100px 0;
  overflow: hidden;
}
.section-tag {
  display: inline-block;
  color: var(--red); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px; position: relative;
  padding-left: 48px;
}
.section-tag::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 32px; height: 3px; background: var(--gradient); border-radius: 2px;
}
.section-header {
  text-align: center; margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--dark); margin-bottom: 16px;
}
.section-header p {
  color: #666; max-width: 600px; margin: 0 auto; font-size: 1.1rem;
}

/* Diagonal dividers (NO straight horizontal lines) */
.section-divider-top {
  position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
  z-index: 0;
}
.section-divider-top.alt {
  background: var(--dark);
  clip-path: polygon(0 0, 100% 80%, 100% 100%, 0 0);
}
.section-divider-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

/* Services Section */
.services {
  background: var(--gray);
}
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}
.service-card-image {
  height: 200px; overflow: hidden;
}
.service-img-wrapper {
  height: 100%; width: 100%;
}
.service-img-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.service-card:first-child .service-img-wrapper img {
  object-position: 50% 35%;
}
.service-card:hover .service-img-wrapper img {
  transform: scale(1.15);
}
.service-card-content {
  padding: 28px;
  position: relative;
}
.service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--gradient); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
  transform: rotate(-10deg); transition: var(--transition);
}
.service-card:hover .service-icon {
  transform: rotate(0deg) scale(1.1);
}
.service-card-content h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 10px;
}
.service-card-content p {
  color: #666; font-size: 0.95rem; margin-bottom: 16px;
}
.service-cta {
  color: var(--red); font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.service-card:hover .service-cta { gap: 14px; }

/* About Section */
.about {
  background: var(--white);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800; margin-bottom: 20px;
}
.about-content p {
  color: #555; margin-bottom: 16px; font-size: 1.05rem;
}
.stats-row {
  display: flex; gap: 30px; margin: 30px 0;
}
.stat {
  text-align: center;
}
.stat-number {
  font-size: 2.2rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  display: block; font-size: 0.85rem; color: #888; font-weight: 500;
  margin-top: 4px;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-main img { width: 100%; }
.about-img-accent {
  position: absolute; bottom: -30px; right: -30px;
  width: 200px; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

/* How It Works */
.how-it-works {
  background: var(--gradient);
}
.how-it-works .section-header h2,
.how-it-works .section-header p { color: var(--white); }
.how-it-works .section-tag { color: var(--yellow); }
.how-it-works .section-tag::before { background: var(--white); }
.edu-grid {
  display: flex; flex-direction: column; gap: 40px;
}
.edu-card {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; column-gap: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  height: 350px;
}
.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.edu-card.reverse { direction: rtl; }
.edu-card.reverse .edu-content { direction: ltr; }
.edu-image {
  height: 100%; overflow: hidden;
}
.edu-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.edu-card:hover .edu-image img { transform: scale(1.1); }
.edu-content {
  padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.edu-content h3 {
  font-size: 1.6rem; font-weight: 700; color: var(--white);
  margin-bottom: 16px;
}
.edu-content .highlight { color: var(--yellow); }
.edu-content p {
  color: rgba(255,255,255,0.85); margin-bottom: 12px;
}

/* Warning Signs */
.warning {
  background: var(--dark);
}
.warning h2, .warning .section-header p { color: var(--white); }
.warning .section-tag { color: var(--yellow); }
.warning .section-tag::before { background: var(--yellow); }
.warning-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.warning-item {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius); padding: 36px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.warning-item:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.warning-image {
  height: 300px; border-radius: 12px; overflow: hidden; margin-bottom: 24px;
  cursor: pointer;
}
.warning-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.warning-image:hover img { transform: scale(1.15); }
.warning-image { position: relative; }
.warning-fullscreen {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 14%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border: none; border-radius: 50px;
  background: rgba(26,26,26,0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); font-family: var(--font); font-weight: 600;
  font-size: 0.85rem; cursor: pointer; transition: var(--transition);
}
.warning-fullscreen:hover { background: rgba(26,26,26,0.75); color: var(--yellow); }
.warning-item h3 {
  font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 16px;
}
.warning-item .highlight { color: var(--yellow); }
.warning-item p { color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.warning-item ul { list-style: none; }
.warning-item ul li {
  color: rgba(255,255,255,0.8); padding: 8px 0;
  padding-left: 28px; position: relative;
}
.warning-item ul li::before {
  content: '⚠'; position: absolute; left: 0; color: var(--yellow);
}
.warning-item ul li.do-item::before {
  content: '✓'; color: #28a745;
}
.warning-item ul li strong { color: var(--red); }
.warning-item ul li strong.do { color: #28a745; }

/* Testimonials */
.testimonials {
  background: var(--gray);
}
.testimonial-slider {
  max-width: 700px; margin: 0 auto; overflow: hidden;
  position: relative; padding-bottom: 16px;
}
.testimonial-track {
  display: flex; transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.testimonial-card {
  min-width: 100%; padding: 40px 60px; text-align: center;
}
.testimonial-stars {
  color: var(--yellow); font-size: 1.5rem; margin-bottom: 20px;
}
.testimonial-card p {
  color: #555; font-size: 1.1rem; line-height: 1.8;
  margin-bottom: 16px; font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 24px;
}
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: 1rem; }
.testimonial-author span { display: block; font-size: 0.8rem; color: #999; }
.testimonial-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 24px;
}
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #ddd; cursor: pointer; transition: var(--transition);
}
.dot.active { background: var(--red); transform: scale(1.3); }
.testimonial-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, opacity 0.3s; opacity: 0.8;
}
.testimonial-btn:hover { opacity: 1; background: #b01e23; }
.testimonial-prev { left: 10px; }
.testimonial-next { right: 10px; }

/* Gallery */
.gallery {
  background: var(--white);
  padding-top: 0;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.15); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
  color: var(--white); font-size: 2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Gallery Modal */
.gallery-modal-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.gallery-modal-overlay.open { display: flex; }
.gallery-modal-content {
  max-width: 90vw; max-height: 85vh;
}
.gallery-modal-content img {
  max-width: 100%; max-height: 85vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 0 60px rgba(255,255,255,0.1);
}
.gallery-modal-close {
  position: absolute; top: 20px; right: 30px;
  background: none; border: none; color: var(--white);
  font-size: 3rem; cursor: pointer; z-index: 5001;
  transition: var(--transition);
}
.gallery-modal-close:hover { color: var(--red); transform: rotate(90deg); }
.gallery-modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none;
  color: var(--white); width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; z-index: 5001;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.gallery-modal-nav:hover { background: rgba(255,255,255,0.2); }
.gallery-modal-nav.prev { left: 20px; }
.gallery-modal-nav.next { right: 20px; }

/* Contact */
.contact {
  background: var(--gradient);
}
.contact .section-tag { color: var(--white); }
.contact .section-tag::before { background: var(--white); }
.contact h2 { color: var(--white); }
.contact p { color: rgba(255,255,255,0.85); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact-info { color: var(--white); }
.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800; margin-bottom: 16px;
}
.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  backdrop-filter: blur(10px);
}
.contact-item strong {
  display: block; font-size: 0.85rem; opacity: 0.7; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 4px;
}
.contact-item a, .contact-item span {
  display: block; color: var(--white);
  transition: var(--transition);
}
.contact-item a:hover { color: var(--yellow); }

.contact-form-wrapper {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 16px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid #eee;
  border-radius: 12px; font-family: var(--font); font-size: 1rem;
  transition: var(--transition); background: var(--gray);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(230,116,28,0.1);
}
.form-status {
  padding: 12px 16px; border-radius: 12px; margin-bottom: 16px;
  font-size: 0.95rem; display: none; line-height: 1.5;
}
.form-status.success {
  display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb;
}
.form-status.error {
  display: block; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
  background: var(--dark); color: var(--white); padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.footer-brand h4 {
  align-self: stretch;
}
.footer-map {
  width: 80%; aspect-ratio: 4 / 3;
  border: 0; border-radius: var(--radius);
}
.footer-contact {
  display: flex; flex-direction: column;
}
.footer-contact-logo {
  display: block;
  height: 4.5rem;
  width: auto; max-width: 100%;
  margin-top: 16px;
  margin-bottom: 0;
  align-self: flex-start;
}

.footer h4 {
  font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase;
  color: var(--yellow);
}
.footer-links a, .footer-contact > a, .footer-contact > span:not(.footer-address) {
  display: block; color: rgba(255,255,255,0.6); margin-bottom: 10px;
  transition: var(--transition);
}
.footer-links a:hover, .footer-contact > a:hover { color: var(--yellow); padding-left: 5px; }
.footer-social {
  display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom--solo {
  justify-content: center; border-top: none; padding-top: 0;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin: 0; }
.footer-bottom .designer-credit {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.45); font-size: 0.85rem;
}
.footer-bottom .designer-credit a {
  display: inline-flex; align-items: center; gap: 6px; color: inherit;
}
.footer-bottom .designer-credit a:hover { color: var(--yellow); }
.footer-bottom .designer-credit img { height: 22px; width: auto; display: inline; }

/* Modals */
.modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.8);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  backdrop-filter: blur(5px);
}
.modal-overlay.open {
  display: flex;
  animation: modalIn 0.3s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: var(--white); border-radius: var(--radius);
  max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr;
  animation: modalSlideIn 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
@keyframes modalSlideIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-image { height: 220px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 32px; }
.modal-content h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; }
.modal-content p { color: #555; margin-bottom: 12px; line-height: 1.7; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.3); border: none; color: var(--white);
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer;
  backdrop-filter: blur(10px); z-index: 10;
  transition: var(--transition);
}
.modal-close:hover { background: var(--red); transform: rotate(90deg); }
.modal-overlay .modal { position: relative; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-phone span { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-content .btn { display: block; width: fit-content; margin: 0 auto; }
  .about-img-accent { display: none; }
  .edu-card { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .edu-card.reverse { direction: ltr; }
  .edu-card.reverse .edu-content { direction: ltr; }
  .edu-image { height: 220px; }
  .warning-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1158px) {
  .hero-bg { width: 100%; }
  .hero-overlay { background: transparent; }
  .hero-content {
    max-width: min(820px, calc(100% - 48px)); margin: 0 auto;
    text-align: center; padding: 32px 28px;
    transform: translateY(15vh);
    background: rgba(26,26,26,0.55);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
  }
  .hero-buttons { justify-content: center; }
  .hero-scroll { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .stats-row { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal { margin: 16px; }
  .gallery-modal-nav { width: 40px; height: 40px; font-size: 1rem; }
  .gallery-modal-nav.prev { left: 8px; }
  .gallery-modal-nav.next { right: 8px; }
  .gallery-grid { gap: 12px; }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-image { height: 160px; }
  .service-card-content { padding: 20px; }
  .testimonial-card { padding: 24px 40px; }
  .testimonial-card p { font-size: 1rem; }
  .warning-item { padding: 24px; }
  .warning-image { height: 240px; }
  .edu-card { height: auto; }
  .edu-content { padding: 24px; }
  .edu-content h3 { font-size: 1.3rem; }
  .edu-image { height: 180px; }
  .modal-image { height: 160px; }
  .modal-content { padding: 20px; }
  .modal-content h2 { font-size: 1.3rem; }
  .contact-form-wrapper { padding: 20px; }
  .footer { padding-top: 40px; }
  .footer-bottom { text-align: center; justify-content: center; }
  .mobile-menu { width: 100%; }
  .hero-icon img { width: 160px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }
  .hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .dot { width: 14px; height: 14px; }
  .testimonial-dots { gap: 14px; }
  .testimonial-dots .dot { padding: 6px; background-clip: content-box; }
  .testimonial-btn { width: 32px; height: 32px; font-size: 0.8rem; }
  .testimonial-prev { left: 4px; }
  .testimonial-next { right: 4px; }
  .contact-details { gap: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item { aspect-ratio: 1; }
}

/* Scroll Animations */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility */
.visually-hidden {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

/* Footer social chips */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-2px);
}
.social-link.social-google:hover {
  background: #ea4335;
  color: var(--white);
}
.social-link.social-facebook:hover {
  background: #1877f2;
  color: var(--white);
}

/* 404 */
.not-found {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 80vh; text-align: center; padding: 40px 24px;
}
.not-found-code {
  font-size: clamp(4rem, 10vw, 8rem); font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.not-found-text {
  font-size: 1.3rem; color: #666; margin: 16px 0 32px;
}
.footer-nav-logo img {
  display: block; height: 32px; width: auto;
}