/* ============================================
   DIGG Website — Global Styles
   Development Impact Global Group LLC
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --green-primary: #2D5016;
  --green-secondary: #3A6B1E;
  --green-dark: #1A3A0A;
  --bg-light: #F5F5F0;
  --text-dark: #1A1A1A;
  --text-on-green: #FFFFFF;
  --accent-light: #E8F0E0;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', 'Georgia', serif;
  line-height: 1.3;
  color: var(--green-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--text-on-green);
  border-color: var(--green-primary);
}

.btn-primary:hover {
  background: var(--green-secondary);
  border-color: var(--green-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

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

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition);
  height: 75px;
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-social a {
  display: flex;
  align-items: center;
  color: var(--green-primary);
  transition: opacity var(--transition);
}

.nav-social a:hover {
  opacity: 0.7;
}

.nav-social svg {
  width: 24px;
  height: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 5rem 2rem 2rem;
  transition: right var(--transition);
  z-index: 1050;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid #eee;
  transition: color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--green-primary);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-overlay.open {
  opacity: 1;
}

/* ---------- Hero Sections ---------- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='%233A6B1E' opacity='0.07'%3E%3Cpath d='M30 80c10-30 40-50 60-40s15 35 0 55-45 25-55 10S20 85 30 80z'/%3E%3Cpath d='M140 30c8-20 30-35 45-25s10 28 0 42-32 18-40 8-12-15-5-25z'/%3E%3Cpath d='M90 150c12-25 38-40 52-30s8 30-5 45-38 20-45 8-10-12-2-23z'/%3E%3Cpath d='M160 140c6-15 22-25 32-18s6 20-2 30-24 14-28 6-7-10-2-18z'/%3E%3Cpath d='M15 160c5-12 18-20 26-14s5 16-1 24-19 11-22 5-6-8-3-15z'/%3E%3Cpath d='M55 20c4-10 15-17 22-12s4 14-1 20-16 9-18 4-5-6-3-12z'/%3E%3C/g%3E%3C/svg%3E") repeat,
    linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
  color: var(--text-on-green);
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--text-on-green);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* Page hero (shorter) */
.page-hero {
  min-height: 40vh;
  padding: 8rem 1.5rem 4rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

/* ---------- Section Headings ---------- */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Services / Cards Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: var(--green-primary);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Partners Carousel ---------- */
.partners-section {
  background: var(--bg-light);
}

.partners-carousel,
.services-carousel-wrapper,
.press-carousel-wrapper {
  position: relative;
}

.carousel-wrapper {
  overflow: hidden;
  padding: 0 3rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.partner-card {
  flex: 0 0 160px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.partner-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  transition: box-shadow var(--transition);
}

.partner-logo:hover {
  box-shadow: var(--shadow);
}

.partner-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.partner-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-primary);
  background: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* ---------- Contact Form ---------- */
.contact-section {
  background: var(--bg-light);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1px solid #d0d0d0;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

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

.contact-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-primary);
  color: var(--text-on-green);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer h4 {
  color: var(--text-on-green);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links a {
  display: block;
  padding: 0.3rem 0;
  opacity: 0.85;
  font-size: 0.95rem;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  opacity: 0.85;
  font-size: 0.95rem;
  transition: opacity var(--transition);
}

.footer-contact a:hover {
  opacity: 1;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ---------- About Page ---------- */
.mission-section .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.mission-text h2 {
  margin-bottom: 1.5rem;
}

.mission-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.mission-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-image img {
  max-width: 320px;
  border-radius: var(--radius);
}

/* Banner Section */
.banner-section {
  background: var(--green-primary);
  color: var(--text-on-green);
  overflow: hidden;
}

.banner-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.banner-text p {
  font-size: 1.3rem;
  font-family: 'Merriweather', serif;
  line-height: 1.8;
  font-style: italic;
  opacity: 0.95;
}

.banner-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Legacy Section */
.legacy-section {
  position: relative;
  overflow: hidden;
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  min-height: 450px;
}

.legacy-image {
  overflow: hidden;
}

.legacy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-text {
  background: var(--green-primary);
  color: var(--text-on-green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.legacy-text h2 {
  color: var(--text-on-green);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.5;
}

/* ---------- Team Page ---------- */
.team-hero {
  background: var(--green-primary);
  color: var(--text-on-green);
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  position: relative;
}

.team-hero h1 {
  color: var(--text-on-green);
}

.team-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card-image {
  width: 100%;
  height: 380px;
  background: var(--bg-light);
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card-body {
  padding: 1.75rem;
}

.team-card-body h3 {
  margin-bottom: 0.25rem;
}

.team-card-body .role {
  color: var(--green-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-card-body p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* Network CTA */
.network-cta {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
  color: var(--text-on-green);
  text-align: center;
}

.network-cta h2 {
  color: var(--text-on-green);
  margin-bottom: 1.5rem;
}

.network-cta p {
  max-width: 700px;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.8;
}

.network-cta a.cta-link {
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.network-cta a.cta-link:hover {
  opacity: 0.8;
}

/* ---------- Our Work Page ---------- */
.map-section .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

#map {
  width: 100%;
  height: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1;
}

.map-info-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.map-info-panel h2 {
  margin-bottom: 1rem;
}

.map-info-panel p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

#country-info {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: none;
}

#country-info h3 {
  margin-bottom: 0.5rem;
}

#country-info p {
  font-size: 0.9rem;
}

/* Services Carousel */
.services-carousel {
  overflow: hidden;
  padding: 0 3rem;
}

.services-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.work-service-card {
  flex: 0 0 350px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.work-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-service-card h3 {
  margin-bottom: 1rem;
}

.work-service-card p {
  color: #555;
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ---------- News Page ---------- */
.news-hero {
  min-height: 40vh;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
}

.featured-media {
  background: var(--green-primary);
  color: var(--text-on-green);
}

.featured-media h2 {
  color: var(--text-on-green);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.media-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--transition);
}

.media-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.media-card .media-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.media-card .media-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-on-green);
}

.media-card h3 {
  color: var(--text-on-green);
  margin-bottom: 0.75rem;
}

.media-card p {
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Press Releases */
.press-releases {
  background: var(--bg-light);
}

.press-grid {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.press-card {
  flex: 0 0 380px;
}

.press-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.press-card-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #eee;
}

.press-card-header img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.press-card-header .date {
  font-size: 0.85rem;
  color: #888;
}

.press-card-body {
  padding: 1.5rem;
}

.press-card-body h3 {
  margin-bottom: 0.75rem;
}

.press-card-body p {
  color: #555;
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.read-more:hover {
  color: var(--green-secondary);
}

.press-carousel {
  overflow: hidden;
  padding: 0 3rem;
}

/* Logo Row */
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 2rem 0;
}

.logo-row img {
  height: 50px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.logo-row img:hover {
  opacity: 1;
}

/* ---------- Contact Page ---------- */
.contact-page-section .contact-grid {
  align-items: stretch;
}

.contact-page-section .contact-image {
  min-height: 500px;
}

/* ---------- Animations (Fade In) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .mission-section .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-image {
    order: -1;
  }

  .legacy-grid {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .legacy-text {
    grid-column: 1 / -1;
    padding: 2.5rem;
  }

  .map-section .container {
    grid-template-columns: 1fr;
  }

  #map {
    height: 400px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links,
  .nav-social {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: 85vh;
    padding: 6rem 1rem 3rem;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .contact-image {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .banner-section {
    padding: 2.5rem 1.25rem;
  }

  .banner-section .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .banner-image {
    order: -1;
  }

  .banner-text p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

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

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

  .carousel-wrapper,
  .services-carousel,
  .press-carousel-wrapper {
    padding: 0 3rem;
  }

  .press-card {
    flex: 0 0 300px;
  }

  .work-service-card {
    flex: 0 0 280px;
  }

  section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

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

  .carousel-wrapper,
  .services-carousel,
  .press-carousel-wrapper {
    padding: 0 2.5rem;
  }

  .press-card {
    flex: 0 0 260px;
  }

  .partner-card {
    flex: 0 0 130px;
  }

  .partner-logo {
    width: 100px;
    height: 100px;
  }
}
