/* ==========================================================================
   ATAK YAPI — COMPONENTS CSS | Header, Footer, Nav
   components.css v2.0
   ========================================================================== */

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 11, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  height: 42px;
  width: auto;
}

/* Main Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav-link.active {
  color: var(--red);
}

/* Dropdown chevron */
.nav-link-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown Menu - Ultra Stable Hover & Multi-Column */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6px 0 25px 0;
  margin-bottom: -25px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #0B0F19;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 10px;
  min-width: 240px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 999999;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  transition-delay: 0.15s;
}

/* Extended invisible hover bridges so mouse never loses hover */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -35px;
  left: -100px;
  right: -100px;
  height: 45px;
  display: block;
  background: transparent;
  pointer-events: auto;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: -25px;
  left: -40px;
  right: -40px;
  z-index: -1;
  background: transparent;
  pointer-events: auto;
}

.nav-item:hover .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
  transition-delay: 0s !important;
}

/* Wide / 2-Column Grid Dropdown for Services */
.nav-dropdown.nav-dropdown--services,
.nav-dropdown[style*="min-width:280px"],
.nav-dropdown[style*="min-width: 280px"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 4px 10px;
  min-width: 580px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(6px) !important;
  padding: 14px;
}

.nav-item:hover .nav-dropdown.nav-dropdown--services,
.nav-item:hover .nav-dropdown[style*="min-width:280px"],
.nav-item:hover .nav-dropdown[style*="min-width: 280px"],
.nav-dropdown.nav-dropdown--services:hover {
  transform: translateX(-50%) translateY(0) !important;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border-radius: 10px;
  transition: all 0.18s ease;
  text-decoration: none;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
}

.nav-dropdown a:hover {
  color: #ffffff;
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.3);
  transform: translateX(3px);
}

.nav-dropdown a .dd-icon {
  width: 32px;
  height: 32px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ff4d4d;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.nav-dropdown a:hover .dd-icon {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: scale(1.06);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}

.header-phone:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}

.header-phone svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   HAMBURGER & MOBILE NAV DRAWER (ROBUST MULTI-RESPONSIVE)
   ========================================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  transition: all 0.25s ease;
  z-index: 1000000;
  -webkit-tap-highlight-color: transparent;
}

.hamburger:hover {
  background: rgba(217, 4, 41, 0.15);
  border-color: rgba(217, 4, 41, 0.35);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #ef4444;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #ef4444;
}

/* Standalone Mobile Nav Drawer - Full Viewport Height */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  background: rgba(9, 12, 22, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999999;
  padding: 20px 20px clamp(48px, 10vh, 90px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

@media (max-width: 767px) {
  .mobile-nav {
    top: 64px;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    padding: 16px 16px clamp(48px, 10vh, 90px);
  }
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-item {
  width: 100%;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

button.mobile-nav-link {
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(217, 4, 41, 0.12);
  border-color: rgba(217, 4, 41, 0.3);
  color: #ffffff;
}

.mobile-nav-link .chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.mobile-nav-link .chevron.rotate {
  transform: rotate(180deg);
  opacity: 1;
  color: #ef4444;
}

.mobile-nav-sub {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 10px 14px;
  margin: 6px 0 8px 4px;
  border-left: 2px solid #dc2626;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 12px 12px 0;
}

.mobile-nav-sub.active {
  display: flex;
  animation: mobileSubSlide 0.25s ease forwards;
}

@keyframes mobileSubSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-sub a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.mobile-nav-sub a:hover,
.mobile-nav-sub a.active {
  color: #ffffff;
  background: rgba(217, 4, 41, 0.12);
  padding-left: 18px;
}

.mobile-nav-cta {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-cta .btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark-900);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.footer-top {
  padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

/* Footer Brand */
.footer-brand { display: flex; flex-direction: column; gap: 20px; }

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer Columns */
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--red);
  font-size: 16px;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--white);
}

/* Footer Contact Info */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(217,4,41,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.footer-contact-text strong {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1px;
}

.footer-contact-text a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}

.footer-contact-text a:hover {
  color: var(--red);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--red); }

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   HERO SECTION (Ana Sayfa)
   ========================================================================== */
.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--dark-900);
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
  transition: opacity 0.5s ease;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(6,10,16,0.97) 0%,
    rgba(9,11,20,0.88) 40%,
    rgba(15,23,42,0.65) 100%
  );
}

.home-hero__decor {
  position: absolute;
  top: 20%;
  right: 0;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse at 80% 50%, rgba(217,4,41,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.home-hero__content {
  position: relative;
  z-index: 3;
  padding: 100px 0 80px;
  max-width: 580px;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(217,4,41,0.12);
  border: 1px solid rgba(217,4,41,0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #FF4D6D;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
}

.home-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.16;
  letter-spacing: -1px;
  margin-bottom: 22px;
  word-break: normal;
  overflow-wrap: break-word;
}

.home-hero__title .line-red {
  color: var(--red);
  display: block;
}

.home-hero__title .line-outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.3);
  color: transparent;
  display: block;
}

.home-hero__desc {
  font-size: clamp(15px, 1.8vw, 19px);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 560px;
}

.home-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.hero-stat__num {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  white-space: nowrap;
}

.hero-stat__num span {
  color: var(--red);
}

.hero-stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* Hero Right Side Image Panel - Single High-Impact Visual */
.home-hero__media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  display: block !important;
  overflow: hidden;
  z-index: 2;
}

.home-hero__media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(to right, #090B14 0%, rgba(9, 11, 20, 0.7) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.home-hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ==========================================================================
   RESPONSIVE — HEADER, HERO & FOOTER (MULTI-DEVICE PHONE & TABLET)
   ========================================================================== */
@media (max-width: 1023px) {
  .site-nav,
  .header-phone {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* CRITICAL: Force vertical flow on mobile so image stays neatly below text */
  .home-hero {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 80px 0 40px !important;
    overflow: hidden !important;
  }
  .home-hero .container {
    width: 100% !important;
    order: 1 !important;
  }
  .home-hero__content {
    max-width: 100% !important;
    padding: 20px 0 24px !important;
  }
  .home-hero__media {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: calc(100% - 32px) !important;
    max-width: 580px !important;
    height: 280px !important;
    margin: 16px auto 0 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
    flex-shrink: 0 !important;
    display: block !important;
  }
  .home-hero__media::before {
    display: none !important;
  }
  .hero-media-badge {
    bottom: 12px !important;
    right: 12px !important;
    left: 12px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    max-width: none !important;
  }
}

@media (max-width: 767px) {
  .header-inner { height: 64px !important; }
  .site-logo img { height: 36px !important; }
  .footer-top { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; }
  .footer-legal-links { justify-content: center !important; }
  .home-hero__content { padding: 40px 0 20px !important; }
  .home-hero__title { font-size: 32px !important; }
  .home-hero__stats { gap: 16px !important; grid-template-columns: repeat(2, 1fr) !important; }
  .hero-stat__num { font-size: 26px !important; }
  .home-hero__media { height: 260px !important; margin: 24px 0 10px !important; }
}

@media (max-width: 480px) {
  .header-inner {
    height: 60px !important;
    gap: 8px !important;
  }
  .site-logo img {
    height: 32px !important;
    max-width: 130px !important;
  }
  .header-actions .btn--sm {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }
  .home-hero__title { font-size: 26px !important; line-height: 1.25 !important; }
  .home-hero__actions { flex-direction: column; }
  .home-hero__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 360px) {
  .header-actions .btn--sm {
    display: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE — MOBILE NAV
   ========================================================================== */
@media (max-width: 1023px) {
  .mobile-nav-cta .btn { width: 100%; justify-content: center; }
}

/* Global Contrast Safety for Dark Surface Containers */
.sidebar-cta-widget,
.sidebar-cta-widget h4,
.sidebar-cta-widget h3,
.sidebar-cta-widget h2 {
  color: #FFFFFF !important;
}

.sidebar-cta-widget p {
  color: rgba(255, 255, 255, 0.85) !important;
}


/* ==========================================================================
   MODERN MUI / MATERIAL STYLE CARDS & ICONS
   ========================================================================== */
.mui-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .mui-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mui-grid-4 { grid-template-columns: 1fr; }
}

.mui-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mui-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.mui-card:hover {
  transform: translateY(-8px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 30px -8px rgba(15, 23, 42, 0.1), 0 8px 12px -6px rgba(15, 23, 42, 0.05);
}

.mui-card--red:hover::before { background: linear-gradient(90deg, #dc2626, #ef4444); }
.mui-card--emerald:hover::before { background: linear-gradient(90deg, #059669, #10b981); }
.mui-card--blue:hover::before { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.mui-card--amber:hover::before { background: linear-gradient(90deg, #d97706, #f59e0b); }

.mui-icon-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mui-icon-avatar svg {
  width: 36px;
  height: 36px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), fill 0.3s ease;
}

.mui-icon-avatar--red {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
}
.mui-icon-avatar--emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}
.mui-icon-avatar--blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
.mui-icon-avatar--amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
}

.mui-card:hover .mui-icon-avatar {
  transform: scale(1.1) rotate(2deg);
}

.mui-card:hover .mui-icon-avatar--red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 12px 24px -4px rgba(220, 38, 38, 0.4);
}

.mui-card:hover .mui-icon-avatar--emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 12px 24px -4px rgba(5, 150, 105, 0.4);
}

.mui-card:hover .mui-icon-avatar--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.4);
}

.mui-card:hover .mui-icon-avatar--amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 24px -4px rgba(217, 119, 6, 0.4);
}

.mui-card__title {
  font-family: 'Space Grotesk', var(--font-display), sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.mui-card__desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}

.mui-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.mui-card--red .mui-card__chip { color: #dc2626; background: #fff5f5; border-color: #fed7d7; }
.mui-card--emerald .mui-card__chip { color: #059669; background: #f0fdf4; border-color: #bbf7d0; }
.mui-card--blue .mui-card__chip { color: #2563eb; background: #eff6ff; border-color: #bfdbfe; }
.mui-card--amber .mui-card__chip { color: #d97706; background: #fffbeb; border-color: #fde68a; }


/* ==========================================================================
   HERO MEDIA: DESKTOP & MOBILE ORCHESTRATION
   ========================================================================== */
.home-hero__media-desktop {
  display: block;
}
.home-hero__media-mobile {
  display: none;
}

.hero-media-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 20px;
  border-radius: 14px;
  z-index: 3;
  max-width: 320px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.hero-media-badge .badge-tag {
  font-size: 11px;
  font-weight: 800;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-media-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-media-badge .badge-text {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

/* Mobile Image Box in between text and CTA */
@media (max-width: 1023px) {
  .home-hero__media-desktop {
    display: none !important;
  }
  .home-hero__media-mobile {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 250px !important;
    margin: 20px 0 28px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7) !important;
  }
  .home-hero__media-mobile .home-hero__media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .home-hero__media-mobile .hero-media-badge {
    bottom: 12px !important;
    right: 12px !important;
    left: 12px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    max-width: none !important;
  }
  .home-hero {
    min-height: auto !important;
    padding: 90px 0 50px !important;
    display: block !important;
  }
  .home-hero__content {
    max-width: 100% !important;
    padding: 0 !important;
  }
}


/* ==========================================================================
   HOMEPAGE CONTENT GRIDS (ABOUT & FEATURED PROJECT) MULTI-RESPONSIVE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.featured-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .featured-project-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .featured-project-grid .fade-in-up:first-child {
    order: 1;
  }
  .featured-project-grid .fade-in-up:last-child {
    order: 2;
  }
}
