/* Modern Professional Theme for Fauzan Khairi */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-light: #60a5fa;
  --text: #334155;
  --text-light: #64748b;
  --text-dark: #0f172a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --border-radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--accent-light);
}

.nav-menu {
  display: flex;
  gap: 8px;
}

.nav-menu a {
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0c4a6e 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96,165,250,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-photo {
  flex-shrink: 0;
}

.hero-photo img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-content {
  color: var(--white);
}

.hero-content .greeting {
  font-size: 1.1rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-content .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-content .hero-subtitle span {
  color: var(--accent-light);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-social {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.hero-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  transition: var(--transition);
}

.hero-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59,130,246,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header .accent {
  color: var(--accent);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-info {
  margin-top: 32px;
}

.about-info-item {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.about-info-item .label {
  font-weight: 600;
  color: var(--text-dark);
  min-width: 120px;
}

.about-info-item .value {
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.stat-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.stat-card .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(59,130,246,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.service-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Resume Section
   ============================================ */
.resume-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
}

.block-title {
  font-size: 1.5rem;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.timeline-item .period {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(59,130,246,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.timeline-item .company {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Skills */
.skills-section {
  margin-bottom: 40px;
}

.skill-item {
  margin-bottom: 20px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.skill-header span {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.skill-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.skill-bar-fill.animate {
  /* width set via inline style */
}

/* Knowledge Tags */
.knowledge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.knowledge-tags span {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59,130,246,0.08);
  color: var(--accent-dark);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Certificates */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.certificate-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 20px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.certificate-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.certificate-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.certificate-card h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.certificate-card .cert-id {
  font-size: 0.8rem;
  color: var(--text-light);
}

.certificate-card .cert-date {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================
   Portfolio / Activities Section
   ============================================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.activity-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.activity-card .card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.activity-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .card-image img {
  transform: scale(1.05);
}

.activity-card .card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.activity-card .card-body {
  padding: 20px;
}

.activity-card .card-date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.activity-card .card-title {
  font-size: 1rem;
  line-height: 1.5;
}

/* Clients */
.clients-section {
  margin-top: 60px;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.clients-grid img {
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition);
}

.clients-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59,130,246,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .icon i {
  color: var(--accent);
  font-size: 1.1rem;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  background: var(--accent);
  color: var(--white);
  padding: 14px 40px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59,130,246,0.4);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer p {
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   Animated Backgrounds
   ============================================ */
/* Dark sections get light particles */
.hero,
.footer {
  position: relative;
  overflow: hidden;
}

.section,
.section-alt {
  position: relative;
  overflow: hidden;
}

.bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-particles .particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

/* Light particles for dark backgrounds (hero, footer) */
.dark-bg-particles .particle {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.dark-bg-particles .particle:nth-child(odd) {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.dark-bg-particles .particle:nth-child(3n) {
  border-radius: 2px;
  background: rgba(96, 165, 250, 0.25);
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.15);
}

.dark-bg-particles .particle:nth-child(5n) {
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.12);
}

/* Dark particles for light backgrounds */
.light-bg-particles .particle {
  background: rgba(15, 23, 42, 0.15);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.light-bg-particles .particle:nth-child(odd) {
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.14);
}

.light-bg-particles .particle:nth-child(3n) {
  border-radius: 2px;
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.16);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.08);
}

.light-bg-particles .particle:nth-child(5n) {
  background: rgba(15, 23, 42, 0.12);
  border-radius: 50%;
  border-color: rgba(15, 23, 42, 0.1);
}

/* Accent particles for alt sections (gray bg) */
.alt-bg-particles .particle {
  background: rgba(15, 23, 42, 0.13);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.alt-bg-particles .particle:nth-child(odd) {
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.14);
}

.alt-bg-particles .particle:nth-child(3n) {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(59, 130, 246, 0.16);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.08);
}

.alt-bg-particles .particle:nth-child(5n) {
  background: rgba(15, 23, 42, 0.1);
  border-radius: 50%;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(100%) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* Ensure content stays above particles */
.hero .container,
.section .container,
.footer .container {
  position: relative;
  z-index: 2;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .fade-up:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .fade-up:nth-child(8) { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content .hero-subtitle {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-social {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resume-grid {
    grid-template-columns: 1fr;
  }

  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 12px 32px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-photo img {
    width: 200px;
    height: 200px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .clients-grid {
    gap: 24px;
  }

  .clients-grid img {
    height: 36px;
  }
}
