/* NavBar */
:root {
  --primary: #bc3e10;
  --text-dark: #1f2937;
  --text-light: #ffffff;
  --transition: all 0.3s ease;
}

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

/* Navbar Base */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

/* Scroll Effect */
.navbar.scrolled {
  background: #ffffff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  width: 10px;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-light);
  transition: var(--transition);
}

.navbar.scrolled .logo {
  color: var(--text-dark);
}
.logo span {
  color: var(--primary);
}

/* Links */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  position: relative;
  padding: 10px 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

/* Dropdown Logic */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  /* border-radius: 8px; */
  padding: 10px 0;
  list-style-type: none;
}

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

.dropdown-menu li {
  width: 100%;
  padding: 0;
}
.dropdown-menu a {
  color: var(--text-dark) !important;
  padding: 10px 20px;
  display: block;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  color: var(--primary) !important;
}

/* Action Button */
.btn-contact {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 25px !important;
  /* border-radius: 50px; */
  margin-left: 10px;
}

/* Responsive Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-light);
  margin: 5px 0;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

/* =========================
   HERO CAROUSEL
========================= */

/* =========================
   HERO CAROUSEL BASE
========================= */
.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* SLIDES */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* =========================
   VIDEO / IMAGE BASE
========================= */
.hero-slide video,
.hero-slide img,
.hero-slide iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  border: none;
}

/* WRAPPER FOR YOUTUBE */
.video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* FORCE YOUTUBE TO COVER LIKE BACKGROUND */
.video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 120vw;
  height: 120vh;

  transform: translate(-50%, -50%);
  pointer-events: none; /* disables click UI */
}

/* =========================
   OVERLAY
========================= */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* =========================
   CONTENT
========================= */
.hero-content {
  position: absolute;
  bottom: 80px;
  left: 8%;
  max-width: 600px;
  color: #fff;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
}

.hero-content p {
  margin-top: 10px;
  color: #cbd5e1;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {
  .hero-content {
    bottom: 50px;
    left: 5%;
    right: 5%;
  }

  .video-bg iframe {
    width: 200vw;
    height: 120vh;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: relative;
    z-index: 1100; /* Stays above the mobile menu */
  }

  /* Menu open state: Animation for the "X" Close Icon */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--text-dark); /* Ensure visible against white background */
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--text-dark);
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 80%; /* Slightly wider for readability */
    background: #ffffff;
    flex-direction: column;
    padding-top: 100px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 2px solid #000; /* Squared professional border */
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

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

  .nav-links li {
    width: 100%;
    text-align: left;
    padding: 15px 40px;
  }

  .nav-links a {
    color: var(--text-dark) !important;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  /* Mobile Dropdown adjustment */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    transform: none;
    display: none;
    background: #f9f9f9;
    padding-left: 20px;
    border: none;
    border-left: 2px solid var(--primary);
    margin-top: 10px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .btn-contact {
    margin: 20px 40px 0 40px;
    display: block;
    text-align: center;
  }
}


/* =========================
   SERVICES — IMMERSIVE BLOCK
========================= */

.svc-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;

  padding: 100px 6%;
  overflow: hidden;

  /* FULL IMMERSIVE BACKGROUND */
  background: radial-gradient(
      circle at right,
      rgba(255, 106, 0, 0.15),
      transparent 40%
    ),
    linear-gradient(rgba(0, 0, 0, 0.96), rgba(15, 23, 42, 0.96));
}

/* =========================
   TEXT LAYER
========================= */

.svc-content {
  position: relative;
  z-index: 3;
  width: 45%;
  color: #fff;
}

.svc-title {
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
}

.svc-title span {
  color: var(--orange);
}

.svc-subtitle {
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 1.05rem;
}

/* service highlight */
.svc-highlight {
  margin-top: 40px;
}

.svc-highlight .svc-btn {
   border : solid 1px var(--orange);
}
.svc-icon .material-icons {
  font-size: 50px;
  color: var(--orange);
  margin-bottom: 15px;
}

.svc-highlight h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.svc-highlight p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* button */
.svc-btn {
  display: inline-block;
  background: var(--orange);
  padding: 12px 24px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

/* =========================
   VISUAL LAYER (FULL BLEED)
========================= */

.svc-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* each slide becomes full canvas */
.svc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: all 0.8s ease;
}

.svc-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* IMAGE LAYOUT (BIG + IMMERSIVE) */
.svc-card {
  position: absolute;
  width: 380px;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

/* cinematic positioning */
.c1 { top: 10%; right: 8%; }
.c2 { top: 40%; right: 28%; }
.c3 { top: 65%; right: 10%; }

/* =========================
   MOBILE — STACKED CAROUSEL
========================= */

@media (max-width: 900px) {

  .svc-wrapper {
    flex-direction: column;
    padding: 80px 20px;
    min-height: auto;
  }

  /* TEXT FIRST */
  .svc-content {
    width: 100%;
    margin-bottom: 20px;
  }

  /* VISUAL AREA */
  .svc-visual {
    position: relative;
    width: 100%;
    height: 260px;
    margin-top: 10px;
  }

  /* ONLY ACTIVE SLIDE SHOWS */
  .svc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1);
    transition: 0.6s ease;
  }

  .svc-slide.active {
    opacity: 1;
  }

  /* SINGLE CATEGORY IMAGE LAYOUT */
  .svc-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
  }

  /* stack images neatly inside one view */
  .c1 { top: 0; left: 0; }
  .c2 { top: 0; left: 0; }
  .c3 { top: 0; left: 0; }

}







/* =========================
   STUDIO PACKAGES SECTION
========================= */
/* =========================
   STUDIO INFRA SECTION
========================= */

:root {
  --primary: #bc3e10;
  --dark: #0f172a;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
}

/* SECTION WRAPPER */
.studio-infra-section {
  padding: 90px 8%;
  background: #ffffff;
  color: var(--text);
}

/* HEADER */
.studio-header {
  max-width: 650px;
  margin-bottom: 50px;
}

.studio-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.text-orange {
  color: var(--primary);
}

.studio-subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* MATRIX WRAPPER */
.studio-matrix {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

/* CLUSTER (CATEGORY BLOCK) */
.studio-cluster {
  width: 100%;
}

/* CATEGORY HEADER */
.cluster-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 25px;
}

/* ICON ALIGNMENT (Google Material Icons or text icons) */
.cluster-heading .material-icons {
  font-size: 20px;
  color: var(--primary);
}

/* GRID */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--border);
}

/* CARD */
.studio-node-card {
  grid-column: span 4;
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s ease;
}

/* HOVER */
.studio-node-card:hover {
  transform: translateY(-4px);
}

/* RESPONSIVE GRID */
@media (max-width: 1000px) {
  .studio-node-card {
    grid-column: span 6;
  }
}

@media (max-width: 650px) {
  .studio-node-card {
    grid-column: span 12;
  }
}

/* TOP SECTION */
.node-content-top {
  margin-bottom: 20px;
}

.node-rank {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.node-cost {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.node-summary {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* FEATURES LIST */
.node-manifest {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.node-manifest li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #f3f4f6;
}

/* CHECK ICON */
.check-icon {
  font-size: 18px;
  color: var(--primary);
  font-weight: bold;
}

/* BUTTON */
.node-deploy-btn {
  width: 100%;
  padding: 12px;
  background: var(--dark);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: 0.3s ease;
}

.node-deploy-btn:hover {
  background: var(--primary);
}

/* MOBILE OPTIMIZATION */
@media (max-width: 650px) {
  .studio-infra-section {
    padding: 70px 5%;
  }

  .studio-grid {
    gap: 10px;
  }

  .studio-node-card {
    padding: 25px;
  }
}




/* =========================
   PARTNER CAROUSEL SECTION
========================= */

.partner-carousel-section {
  padding: 80px 6%;
  background: #0f172a;
  color: #ffffff;
  position: relative;
}

/* HEADER */
.partner-header {
  max-width: 600px;
  margin-bottom: 30px;
}

.partner-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.partner-header p {
  margin-top: 6px;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* WRAPPER */
.partner-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* TRACK */
.partner-carousel-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 50px;
  scrollbar-width: none;
}

.partner-carousel-track::-webkit-scrollbar {
  display: none;
}

/* LOGO ITEM */
.partner-logo-item {
  min-width: 160px;
  height: 90px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;

  transition: 0.3s ease;
}

.partner-logo-item img {
  max-width: 110px;
  max-height: 55px;
  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.75;
  transition: 0.3s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* NAV BUTTONS */
.partner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 10;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(10px);
  transition: 0.2s ease;
}

.partner-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.partner-nav-left {
  left: 10px;
}

.partner-nav-right {
  right: 10px;
}

/* EDGE FADE EFFECT (LEFT + RIGHT SHADOWS) */
.partner-carousel-wrapper::before,
.partner-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.partner-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0f172a, transparent);
}

.partner-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0f172a, transparent);
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

  .partner-carousel-track {
    gap: 20px;
    padding: 10px 20px;
  }

  .partner-logo-item {
    min-width: 130px;
    height: 80px;
  }

  .partner-logo-item img {
    max-width: 90px;
  }

  .partner-nav-btn {
    width: 38px;
    height: 38px;
  }
}










/* =========================
   PTI HERO SECTION
/* =========================
   PTI HERO SECTION
========================= */
/* =========================
   SECTION BASE
========================= */
.pti-section {
  position: relative;
  height: 90vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(rgba(15,23,42,0.9), rgba(15,23,42,0.95)),
    url('./public/assets/scrollBar/campaign_web.jpg');

  background-size: cover;
  background-position: center;
}

/* =========================
   STAGE
========================= */
.pti-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

/* =========================
   CARD BASE
========================= */
.pti-card {
  position: absolute;
  width: 280px;
  height: 340px;

  border-radius: 20px;
  overflow: hidden;

  text-decoration: none;
  color: #fff;

  box-shadow: 0 30px 90px rgba(0,0,0,0.5);

  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
}

/* IMAGE */
.pti-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK OVERLAY */
.pti-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* TEXT */
.pti-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-weight: 800;
  font-size: 1.3rem;
  z-index: 2;
}

/* =========================
   POSITIONS
========================= */
.pti-left {
  left: 15%;
  top: 35%;
  transform: rotate(-12deg);
}

.pti-center {
  left: 50%;
  top: 25%;
  transform: translateX(-50%);
  z-index: 2;
}

.pti-right {
  right: 15%;
  top: 35%;
  transform: rotate(12deg);
}

/* =========================
   DEFAULT HOVER STATE
========================= */
.pti-stage:hover .pti-card {
  opacity: 0.5;
  transform: scale(0.9);
}

/* Preserve translateX(-50%) for the center card specifically during stage hover */
.pti-stage:hover .pti-center {
  transform: translateX(-50%) scale(0.9);
}

/* ACTIVE CARD */
.pti-card:hover {
  transform: scale(1.15) translateY(-20px) rotate(0deg) !important;
  opacity: 1 !important;
  z-index: 10;
}

/* Specific fix for center card hover to keep it centered */
.pti-center:hover {
  transform: translateX(-50%) scale(1.15) translateY(-20px) rotate(0deg) !important;
}

/* =========================
   LEFT HOVER (balanced)
========================= */
.pti-stage.hover-left .pti-center {
  transform: translateX(calc(-50% + 40px)) scale(0.95);
}

.pti-stage.hover-left .pti-right {
  transform: translateX(70px) scale(0.9);
}

/* =========================
   RIGHT HOVER (balanced)
========================= */
.pti-stage.hover-right .pti-center {
  transform: translateX(calc(-50% - 40px)) scale(0.95);
}

.pti-stage.hover-right .pti-left {
  transform: translateX(-100px) scale(0.85);
}

/* =========================
   CENTER HOVER
========================= */
.pti-stage.hover-center .pti-left,
.pti-stage.hover-center .pti-right {
  transform: none;
}

/* =========================
   TEXT CONTENT
========================= */
.pti-copy {
  position: absolute;
  bottom: 50px;
  left: 6%;
  max-width: 600px;
  color: #fff;
}

.pti-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
}

.pti-copy p {
  margin-top: 10px;
  color: #cbd5e1;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

  .pti-section {
    height: auto;
    padding: 60px 20px;
    flex-direction: column;
  }

  .pti-stage {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .pti-card {
    position: relative;
    flex: 0 0 85%;
    height: 220px;
    transform: none !important;
    scroll-snap-align: center;
  }

  .pti-copy {
    position: relative;
    text-align: center;
    margin-top: 30px;
    left: auto;
    bottom: auto;
  }
}





/* =========================
   FOOTER
========================= */

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 70px;
}

/* GRID */
.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* COLUMN */
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.2s;
}

.footer-col ul a:hover {
  color: var(--primary);
}

/* TEXT */
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* SOCIALS */
.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: #fff;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: var(--primary);
}

/* CONTACT ICON ALIGN */
.footer-col p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

/* MAP */
.footer-map {
  width: 100%;
  height: 250px;
  margin-top: 30px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) contrast(90%);
}

/* BOTTOM BAR */
.footer-bottom {
  text-align: center;
  padding: 20px;
  background: #020617;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-map {
    height: 200px;
  }
}



















/* =========================
   CONTACT HERO
========================= */
.contact-hero {
  height: 50vh;
  background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)),
    url("./public/assets/background/hero-section/hero.png");
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
}

.contact-hero p {
  color: #cbd5e1;
  margin-top: 10px;
}

/* =========================
   WRAPPER
========================= */
.contact-wrapper {
  display: flex;
  min-height: 80vh;
}

/* =========================
   FORM SIDE
========================= */
.contact-form-box {
  flex: 1;
  padding: 80px 8%;
  background: #ffffff;
}

.contact-form-box h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 800;
}

/* INPUT GROUP */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 0.95rem;
}

/* FLOAT LABEL */
.form-group label {
  position: absolute;
  top: 12px;
  left: 10px;
  color: #6b7280;
  font-size: 0.85rem;
  pointer-events: none;
  transition: 0.2s ease;
  background: #fff;
  padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  font-size: 0.7rem;
  color: var(--primary);
}

/* BUTTON */
.contact-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  border: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.contact-btn:hover {
  opacity: 0.9;
}

/* =========================
   VISUAL SIDE
========================= */
.contact-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

/* INFO CARD */
.contact-info {
  position: absolute;
  bottom: 40px;
  left: 40px;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);

  padding: 25px;
  border-radius: 12px;
  color: #fff;
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.contact-info .material-icons {
  color: var(--primary);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-visual {
    height: 300px;
  }

  .contact-info {
    left: 20px;
    bottom: 20px;
  }
}






















/* =========================
   contact MODAL ANIMATION SYSTEM
========================= */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;

  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
}

/* BACKDROP */
.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
}

/* MODAL CONTAINER */
.contact-modal-content {
  position: relative;
  width: 920px;
  max-width: 95%;
  height: 540px;

  margin: 4% auto;

  display: flex;
  overflow: hidden;

  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);

  transform: scale(0.96);
  opacity: 0;

  transition: 0.25s ease;
}

/* OPEN ANIMATION */
.contact-modal.active .contact-modal-content {
  transform: scale(1);
  opacity: 1;
}

/* CLOSE BUTTON */
.contact-close {
  position: absolute;
  top: 12px;
  right: 12px;

  font-size: 22px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* LEFT */
.contact-modal-left {
  flex: 1;
  padding: 45px;
}

.contact-modal-left h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-sub {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 25px;
}

/* =========================
   FORM ELEMENTS
========================= */

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

/* INPUTS */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid #334155;
  color: #fff;
  outline: none;
  font-size: 0.9rem;
}

/* SELECT FIX */
.form-group select {
  appearance: none;
}

/* LABEL FLOAT */
.form-group label {
  position: absolute;
  top: 12px;
  left: 10px;

  font-size: 0.75rem;
  color: #94a3b8;

  background: #0f172a;
  padding: 0 6px;

  transition: 0.2s ease;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
  top: -8px;
  color: var(--primary);
}

/* BUTTON */
.contact-btn {
  width: 100%;
  padding: 12px;

  background: var(--primary);
  border: none;

  color: #fff;
  font-weight: 700;

  cursor: pointer;
  transition: 0.2s ease;
}

.contact-btn:hover {
  opacity: 0.9;
}

/* =========================
   RIGHT PANEL
========================= */

.contact-modal-right {
  width: 40%;
  position: relative;
}

.contact-modal-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

/* INFO BOX */
.contact-mini {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.contact-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-mini p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.contact-note {
  margin-top: 10px;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .contact-modal-content {
    flex-direction: column;
    height: auto;
  }

  .contact-modal-right {
    width: 100%;
    height: 180px;
  }
}