/* ============================================
   AFRICAN WOLF MEDIA - MODERN REDESIGN
   ============================================ */

/* Global Reset & Design System */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary palette updated per request: main teal background */
  --primary: #03B0B7;
  --primary-dark: #028f93;
  --bg-light: linear-gradient(135deg, #03B0B7 0%, #028f93 100%);
  --bg-dark: #052c2d;
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.85);
  --accent-warm: #ffb86b;
  --shadow: 0 10px 40px rgba(2, 22, 22, 0.18);
  --shadow-lg: 0 20px 60px rgba(2, 22, 22, 0.22);
}

body {
  font-family: 'Segoe UI', -apple-system, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  /* Use the provided hex as the main page background (gradient derived from it) */
  background: var(--bg-light);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  color: #fff;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, #00a8a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.navbar.scrolled .logo {
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  height: 100vh;
  /* Use the site primary gradient so hero matches logo/background color */
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* stronger overlay to improve text readability over video */
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.6) 100%),
              radial-gradient(circle at 50% 40%, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.06) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-youtube {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  /* subtle dim + blur to let foreground content stand out */
  filter: brightness(0.65) saturate(0.95) contrast(0.95) blur(1px);
  transition: filter 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

/* Play button centered on the hero */
.hero-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(2,22,22,0.45);
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}
.hero-play svg { fill: #fff; }
.hero-play:hover { transform: translate(-50%, -52%); background: rgba(0,0,0,0.65); }

/* When playing, reduce the video filter so it's clearer */
.hero-media.playing .hero-youtube { filter: none; }
.hero-play.hidden { display: none; }


.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  width: 90%;
  animation: fadeInUp 1.2s ease-out;
  /* soft backdrop to separate text from video while preserving transparency */
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.12));
  padding: 1.6rem 2rem;
  border-radius: 12px;
  backdrop-filter: blur(6px) saturate(120%);
  margin: 0 auto;
}

.hero-logo {
  height: 120px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  margin-bottom: 1.2rem;
  animation: fadeInDown 1s ease-out;
  mix-blend-mode: normal;
  opacity: 1;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.8rem;
  line-height: 1;
  letter-spacing: -1px;
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(2,22,22,0.4);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.96);
  font-weight: 400;
  letter-spacing: 0.3px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  /* Previously buttons' gradient is now the page background; make buttons neutral */
  background: #ffffff;
  color: var(--bg-dark);
  padding: 1rem 2.2rem;
  border: none;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.99rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: inline-block;
  letter-spacing: -0.2px;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 6.5rem 3rem;
  text-align: center;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.8px;
  color: var(--text-primary);
}

.section h3 {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.7;
}

.section.dark {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a3334 100%);
  color: #fff;
}

.section.dark h2 {
  background: linear-gradient(135deg, var(--primary) 0%, #00e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
}

.section.dark h3 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
  background: linear-gradient(135deg, rgba(5, 44, 45, 0.8) 0%, rgba(10, 61, 62, 0.8) 100%);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: auto;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.about-media {
  flex: 1;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.about-image:hover {
  transform: translateY(-8px);
}

/* Centered about layout (text-only) */
.about-content.centered {
  display: block;
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}

.about-content.centered .about-text {
  margin: 0 auto;
}

.about-content.centered .about-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
}

/* ============================================
   SERVICES & GALLERY LAYOUT
   ============================================ */
.services-layout {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   PROJECTS & EXPERIENCE
   ============================================ */
.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  padding: 0 1rem;
}

.projects-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-item {
  background: linear-gradient(135deg, rgba(5, 44, 45, 0.8) 0%, rgba(10, 61, 62, 0.8) 100%);
  color: rgba(255,255,255,0.95);
  padding: 1.8rem 2rem;
  border-radius: 14px;
  border: 1px solid rgba(3, 176, 183, 0.35);
  box-shadow: 0 10px 40px rgba(2,22,22,0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(8px);
}

.project-item:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(5, 44, 45, 0.95) 0%, rgba(10, 61, 62, 0.95) 100%);
  border-color: rgba(3, 176, 183, 0.6);
  box-shadow: 0 15px 50px rgba(3, 176, 183, 0.2);
  box-shadow: 0 12px 40px rgba(2,22,22,0.22);
}

.project-item h4 {
  color: #00e0e0;
  font-size: 1.12rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.project-item p {
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .projects-list {
    grid-template-columns: 1fr;
  }
}

/* Projects page hero and page styles */
.projects-hero {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, rgba(5,44,45,0.95), rgba(2,40,40,0.9));
  color: var(--text-primary);
  text-align: center;
  margin-top: 60px;
}
.projects-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
}
.projects-hero p {
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto;
}

.projects-page {
  padding-top: 2rem;
}

.projects-teaser .btn {
  padding: 0.9rem 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem;
  margin-top: 3.5rem;
}

.card {
  /* service bubble style: subtle translucent panels that sit on the teal background */
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.98);
  padding: 2.2rem 1.9rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(2,22,22,0.22);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s, background 0.35s;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 70px rgba(2,22,22,0.3);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
}

.card h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.card p {
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  font-size: 0.96rem;
}

/* ============================================
   GALLERY (STICKY ASIDE)
   ============================================ */
.services-media {
  position: sticky;
  top: 120px;
  height: calc(100vh - 160px);
  overflow: auto;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 212, 0.1);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: 1px solid rgba(0, 212, 212, 0.1);
}

.media-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 212, 212, 0.15);
  border-color: rgba(0, 212, 212, 0.3);
}

.media-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card {
  position: relative;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 212, 212, 0.9);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 10px 25px rgba(0, 212, 212, 0.3);
}

/* ============================================
   LIGHTBOX/MODAL
   ============================================ */
.media-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 25, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

.media-modal-content {
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
}

.media-modal img,
.media-modal video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.media-modal .close-btn {
  position: absolute;
  right: 2rem;
  top: 2rem;
  background: rgba(0, 212, 212, 0.2);
  color: #fff;
  border: 1px solid rgba(0, 212, 212, 0.4);
  font-size: 32px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  font-weight: 300;
}

.media-modal .close-btn:hover {
  background: rgba(0, 212, 212, 0.4);
  border-color: rgba(0, 212, 212, 0.7);
}

/* ============================================
   FLOATING SOCIAL BUTTONS
   ============================================ */
.floating-social-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.social-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.social-btn svg {
  width: 32px;
  height: 32px;
}

.social-btn:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 15px 50px rgba(3, 176, 183, 0.4);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-media {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.blog-image,
.blog-video {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.blog-image:hover,
.blog-video:hover {
  transform: translateY(-8px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-container {
  max-width: 1200px;
  margin: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  text-align: left;
}

.contact-info h3 {
  margin-bottom: 1.8rem;
  color: var(--text-primary);
  font-size: 1.6rem;
  font-weight: 700;
}

.contact-info p {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-media {
  flex-shrink: 0;
}

.contact-image {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.contact-image:hover {
  transform: translateY(-8px);
}

.contact-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 450px;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  padding: 1.1rem;
  border: 1px solid rgba(0, 212, 212, 0.25);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bg-dark);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 4px rgba(3, 176, 183, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  align-self: flex-start;
}

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

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in.animate {
  animation: fadeIn 0.8s ease-out;
}

.slide-in-left.animate {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right.animate {
  animation: slideInRight 0.8s ease-out;
}

.fade-in-up.animate {
  animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0a3d3e 100%);
  color: #b0bcc4;
  padding: 4rem 3rem 1.5rem;
  border-top: 1px solid rgba(3, 176, 183, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 2.5rem;
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.footer-section p {
  margin-bottom: 0.7rem;
  line-height: 1.7;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #00e0e0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1100px) {
  .services-layout {
    display: block;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.3rem;
  }

  .projects-list {
    gap: 1.3rem;
  }
}

@media (max-width: 900px) {
  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-media {
    position: static;
    height: auto;
    max-height: 500px;
  }

  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .projects-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section {
    padding: 4.5rem 1.5rem;
  }

  .section h2 {
    font-size: 2.3rem;
  }

  .section h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(15, 20, 25, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    margin-top: 0;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-content {
    width: 95%;
    padding: 0.6rem 0.8rem;
    margin: 0 auto;
    border-radius: 6px;
  }

  .hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero-logo {
    height: 60px;
    max-width: 50%;
    margin-bottom: 0.4rem;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.15;
  }

  .hero p {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.9rem 2rem;
    font-size: 0.96rem;
  }

  .card {
    padding: 1.6rem;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  .card p {
    font-size: 0.92rem;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .contact-form {
    max-width: 100%;
  }

  .footer-content {
    gap: 2rem;
  }

  .footer-section h3 {
    font-size: 1.05rem;
  }

  .footer-section p {
    font-size: 0.88rem;
  }

  .projects-list {
    gap: 1rem;
  }

  .project-item {
    padding: 1.2rem 1.5rem;
  }

  .project-item h4 {
    font-size: 1rem;
  }

  .project-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section h3 {
    font-size: 1rem;
  }

  .cards {
    gap: 1rem;
  }

  .card {
    padding: 1.2rem;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .blog-image,
  .blog-video {
    width: 100%;
    max-width: 400px;
    height: 250px;
  }

  .floating-social-buttons {
    bottom: 20px;
    right: 20px;
    gap: 0.8rem;
  }

  .social-btn {
    width: 50px;
    height: 50px;
  }

  .social-btn svg {
    width: 26px;
    height: 26px;
  }
}
