:root {
  /* --- PREMIUM DARK PALETTE --- */
  --bg-body: #0e1610;
  --bg-card: #18241b;
  --bg-card-hover: #1f2e23;

  --primary: #27d953;
  --primary-dim: #1a8f3a;
  --primary-glow: rgba(39, 217, 83, 0.5);

  --text-main: #f0f4f1;
  --text-muted: #9aa89d;

  --glass: rgba(24, 36, 27, 0.7);
  --glass-solid: rgba(14, 22, 16, 0.98);
  --border: rgba(39, 217, 83, 0.15);
  --glow: 0 0 20px rgba(39, 217, 83, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

html {
  scroll-behavior: auto; /* Changed for Lenis */
  color-scheme: dark;
}

/* --- SUBTLE PAGE TRANSITION --- */

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  /* Optimization: Crisper text rendering */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Allow native vertical scrolling on mobile */
  touch-action: pan-x pan-y;
}

/* --- SCROLL PERFORMANCE OPTIMIZATIONS --- */
.industry-card,
.intro-card-home,
.intro-card,
.small-card,
.founder-wrapper,
.work-card,
.team-card,
.course-card,
.card-premium,
.service-mini-card,
.course-wrapper {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.client-track,
.works-track {
  will-change: transform;
  transform: translateZ(0);
}

/* Scroll performance: hover effects handled by CSS :hover naturally */

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  /* Optimization: Only transition properties that actually change on scroll */
  transition:
    top 0.3s ease,
    width 0.3s ease,
    max-width 0.3s ease,
    border-radius 0.3s ease,
    padding 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    border 0.3s ease;
}

.navbar.scrolled {
  top: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  padding: 10px 5%;
  background: var(--glass-solid);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo i {
  color: var(--primary);
}

.logo img {
  height: 60px !important;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-menu a {
  text-decoration: none;
  color: white; /* Changed from var(--text-muted) */
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

/* Dropdown Styles */
.nav-item.dropdown {
  position: relative;
}
.nav-item.dropdown > a {
  display: inline-flex;
  align-items: center;
}
.nav-item.dropdown > a::after {
  content: "\f107"; /* FontAwesome angle-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 6px;
  font-size: 0.8rem;
  transition: 0.3s;
}
.nav-item.dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(24, 36, 27, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 240px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition:
    opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    visibility 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none; /* Ensure no bullets */
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: 0.2s;
  border-radius: 8px;
  margin: 0 5px;
}

.dropdown-menu li a:hover {
  background: rgba(39, 217, 83, 0.1);
  color: var(--primary);
  transform: translateX(5px);
}

.btn-cta {
  background: var(--primary);
  color: #000;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
  white-space: nowrap;
}
.btn-cta:hover {
  box-shadow: 0 0 15px var(--primary);
  background: #2fe65c;
}
.btn-cta:active {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}
.btn-login {
  background: transparent;
  color: white; /* Changed from var(--text-main) */
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-login:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-login:active {
  background: transparent;
  color: var(--primary);
}
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-login {
  display: none;
}
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(39, 217, 83, 0.4);
  border: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* --- FOOTER (Premium) --- */
.premium-footer {
  background: linear-gradient(180deg, #0b120c 0%, #000000 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 90px;
  color: #9ca3af;
  font-size: 0.95rem;
  position: relative;
}
.premium-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(39, 217, 83, 0.5),
    transparent
  );
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5% 70px;
}
.footer-brand {
  flex: 0 0 40%;
}
.footer-brand .logo {
  transform: translateX(-100px);
}
@media (min-width: 769px) {
  .footer-grid .footer-col:last-child {
    justify-self: end;
  }
}
.footer-contact span {
  flex: 1;
  white-space: normal; /* Allow text to wrap on mobile */
  line-height: 1.6;
  text-align: left;
}
.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  opacity: 0.9;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}
.footer-brand p {
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-muted);
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.social-btn:hover {
  background: var(--primary);
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(39, 217, 83, 0.3);
  border-color: var(--primary);
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-muted);
}
.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 8%;
  display: flex;
  justify-content: center; /* Centered as requested */
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: #020503;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 20px;
  transition: 0.3s;
}
.footer-legal a:hover {
  color: var(--primary);
}

/* --- MOBILE RESPONSIVENESS FO ACCORDION --- */
@media (max-width: 768px) {
  .premium-footer {
    padding: 60px 20px 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .footer-brand {
    text-align: center;
    padding-bottom: 30px;
  }
  .footer-brand .logo {
    transform: none;
    justify-content: center;
  }
  .footer-brand .social-links {
    justify-content: center;
  }

  /* Footer Accordion Logic */
  .footer-col h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    padding: 10px 0;
  }
  .footer-col h4::after {
    content: "+";
    font-size: 1.2rem;
    font-weight: 300;
    transition: 0.3s;
  }

  /* Contact gets no toggle icon because it's always open */
  .footer-col:has(.footer-contact) h4 {
    cursor: default;
  }
  .footer-col:has(.footer-contact) h4::after {
    content: "";
  }

  /* Default folded state for lists */
  .footer-col ul:not(.footer-contact) {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    opacity: 0;
  }

  /* Active (Open) state */
  .footer-col.active ul {
    max-height: 500px;
    opacity: 1;
    margin-top: 10px;
  }
  .footer-col.active h4::after {
    transform: rotate(45deg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding-top: 20px;
  }
  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .footer-legal a {
    margin: 0;
  }
}
.footer-legal a:hover {
  color: white;
}

@media (max-width: 1024px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal a {
    margin: 0 10px;
  }
}
/* --- FOOTER --- */
footer {
  background: #050a06;
  padding: 40px 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
footer a {
  color: var(--text-muted);
  margin: 0 10px;
  text-decoration: none;
}
footer a:hover {
  color: var(--primary);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
  .navbar {
    width: 95%;
    padding: 8px 20px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: flex; /* Always flex on mobile but hidden via transform/opacity */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    margin-top: 15px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 80vh;
    overflow-y: auto;
    pointer-events: none;
    z-index: 1000;
  }
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
  }
  .nav-buttons {
    display: none;
  }
  .nav-menu li a {
    padding: 12px 15px;
    width: 100%;
    display: block;
    font-size: 1.05rem;
  }
  .mobile-login {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  /* Ensure dropdown works on mobile */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 10px 0 10px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-item.dropdown:hover .dropdown-menu,
  .nav-item.dropdown.active .dropdown-menu {
    max-height: 500px;
  }
}

/* --- CONTACT SECTION (Shared) --- */
.contact-section {
  padding: 100px 8%;
  background: linear-gradient(180deg, var(--bg-body) 0%, #030705 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(39, 217, 83, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.contact-section::after {
  content: "";
  position: absolute;
  bottom: 5%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(39, 217, 83, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.contact-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: linear-gradient(
    145deg,
    rgba(20, 32, 23, 0.9),
    rgba(10, 18, 12, 0.95)
  );
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.contact-container::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    var(--primary),
    transparent 40%,
    transparent 60%,
    rgba(39, 217, 83, 0.3)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.5s;
}

.contact-container:hover::before {
  opacity: 1;
}

.contact-info-panel {
  background: linear-gradient(
    160deg,
    rgba(39, 217, 83, 0.03) 0%,
    transparent 50%
  );
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-info-panel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(39, 217, 83, 0.1), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.info-group {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  padding-left: 60px;
}

.info-group:last-child {
  margin-bottom: 0;
}

.icon-box {
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  background: linear-gradient(
    135deg,
    rgba(39, 217, 83, 0.15),
    rgba(39, 217, 83, 0.05)
  );
  border: 1px solid rgba(39, 217, 83, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-group:hover .icon-box {
  background: var(--primary);
  color: #000;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 40px rgba(39, 217, 83, 0.4);
}

.info-group p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 3px;
}

.info-group h4 {
  font-size: 1rem;
  color: white;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.info-group a {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  text-decoration: none;
  display: inline-block; /* Changed from block to allow single line */
  margin-right: 5px; /* Spacing for inline items */
  transition:
    color 0.3s,
    transform 0.3s;
}

.info-group a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.contact-form-panel {
  padding: 45px 50px;
  position: relative;
}

.form-header {
  margin-bottom: 25px;
}

.form-header h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.form-group:focus-within label {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  outline: none;
  transition:
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.5);
}

.form-control:focus {
  background: rgba(0, 0, 0, 0.6);
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px rgba(39, 217, 83, 0.1),
    0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

textarea.form-control {
  resize: none;
  min-height: 100px;
  height: auto;
}

.btn-submit {
  width: 100%;
  padding: 14px 30px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(39, 217, 83, 0.25);
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.btn-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(39, 217, 83, 0.4);
  background: #2fe65c;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:active {
  transform: translateY(-2px);
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

/* Responsive adjustment for contact in global */
@media (max-width: 768px) {
  .contact-container,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-panel,
  .contact-form-panel {
    padding: 30px 20px;
  }
  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .contact-section {
    padding: 60px 5%;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 50px 4%;
  }
  .contact-container {
    border-radius: 20px;
  }
  .contact-form-panel {
    padding: 24px 16px;
  }
  .contact-info-panel {
    padding: 24px 16px;
  }
  .form-header h3 {
    font-size: 1.2rem;
  }
  .info-group {
    padding-left: 50px;
  }
  .icon-box {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .form-control {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}

/* --- SECTIONS GENERAL (Shared) --- */
.section {
  padding: 100px 8%;
}
.section-header {
  margin-bottom: 60px;
  text-align: center;
}
.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
