/* ==============================
   RESET & BASE
============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  
  font-family: "Futura", Arial, sans-serif;
  background: #ffffff;
  color: #17215a;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 140px;
}
And f
footer {
  scroll-margin-top: 140px;
}
@media (max-width: 992px) {
  section {
    scroll-margin-top: 120px;
  }
}

/* ==============================
   GLOBAL BUTTON STYLE
============================== */

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1.5px solid #17215a;
  background: transparent;
  color: #17215a;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #17215a;
  color: #ffffff;
}

/* ==============================
   HEADER
============================== */

.wpo-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  position: relative; /* IMPORTANT */
}

.navbar-brand {
  margin-bottom: 16px;
}

.navbar-brand img {
  height: 120px;
  margin: 0 auto;
}

.navbar-nav {
  display: flex;
  gap: 42px;
}

.navbar-nav .nav-link {
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #17215a;
  transition: opacity 0.3s ease;
}

.navbar-nav .nav-link:hover {
  opacity: 0.7;
}

/* ==============================
   HERO SECTION
============================== */

.hero-banner {
  padding: 40px 40px;
  background: #f7f7f7;
}

.hero-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h2 {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.15;
  color: #17215a;
  max-width: 620px;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-text p {
  font-size: 18px;
  color: #5b6478;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-visual img {
  max-width: 720px;
  margin-left: auto;
}

/* ==============================
   SERVICES
============================== */

.services-section {
  padding: 80px 40px;
  background: #17215a;
}

.services-header {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.services-header h2 {
  font-size: 35px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.services-header p {
  color: #ffffff;
  font-size: 17px;
}

.services-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 36px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-9px);
}

.service-card img {
  width: 64px;
  margin: 0 auto 28px;
}

/* ==============================
   WHY STUDIO
============================== */

.why-studio-section {
  background: #f7f7f7;
  padding: 140px 80px;
}

.why-studio-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.why-studio-content h2 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.why-studio-content p {
  max-width: 520px;
  margin-bottom: 40px;
}

.why-studio-media {
  min-height: 220px;
  overflow: hidden;
  border-radius: 12px;
}

.why-studio-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {

  .navbar-nav {
    flex-direction: column;
    gap: 20px;
  }

  .hero-inner,
  .why-studio-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h2,
  .why-studio-content h2 {
    font-size: 34px;
  }

  .hero-visual img {
    margin: 40px auto 0;
  }
}
@media (max-width: 576px) {

  .hero-banner,
  .services-section,
  .why-studio-section,
  .portfolio-section {
    padding: 60px 30px;
  }

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

  .portfolio-card {
    flex: 0 0 100%;
  }
}


/* ==============================
   SERVICE CARD FIX (SAFE OVERRIDE)
============================== */

/* Outer card owns the shadow */
.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  perspective: 1200px;
  cursor: pointer;
  padding: 0; /* IMPORTANT */
}

/* Inner flip wrapper */
.service-card-inner {
  position: relative;
  width: 100%;
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

/* Flip state */
.service-card.is-flipped .service-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back — NO SHADOW HERE */
.service-card-front,
.service-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 36px 70px;
  text-align: center;
  box-shadow: none !important; /* KEY FIX */
}

/* FRONT */
.service-card-front {
  position: relative;
}

.service-card-front img {
  width: 64px;
  margin: 0 auto 28px;
}

/* CLICK HINT — LOCKED POSITION */
.service-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #17215a;
  opacity: 0.6;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* BACK */
.service-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* BACK TEXT */
.service-card-back h3 {
  margin-bottom: 20px;
}

.service-card-back p {
  font-size: 15px;
  line-height: 1.8;
}

/* BACK BUTTON */
.service-close {
  margin-top: 30px;
  background: none;
  border: none;
  color: #17215a;
  font-size: 14px;
  cursor: pointer;
}
/* ==============================
   BRANDING / LOGO SECTION
============================== */

.branding-section {
  padding: 40px 40px;
  background: #ffffff;
}

.branding-header {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.branding-header h2 {
  font-size: 35px;
  font-weight: 500;
  color: #17215a;
  margin-bottom: 18px;
}

.branding-header p {
  font-size: 17px;
  color: #5b6478;
}

/* GRID */
.branding-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD */
.branding-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  perspective: 1200px;
  cursor: pointer;
}

.branding-card-inner {
  position: relative;
  width: 100%;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

/* FLIP */
.branding-card.is-flipped .branding-card-inner {
  transform: rotateY(180deg);
}

/* FRONT & BACK */
.branding-front,
.branding-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* LOGO IMAGE */
/* FRONT — FULL IMAGE COVER */
.branding-front {
  padding: 0;
  overflow: hidden;
}

.branding-front img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the card */
  transition: transform 0.5s ease;
}
/* HOVER ZOOM */
.branding-card:hover .branding-front img {
  transform: scale(1.08);
}


/* BACK */
.branding-back {
  transform: rotateY(180deg);
  text-align: center;
}

.branding-back h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #17215a;
}

.branding-back p {
  font-size: 14px;
  line-height: 1.7;
  color: #5b6478;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .branding-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .branding-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .branding-grid {
    grid-template-columns: 1fr;
  }
}
/* ==============================
   FOOTER
============================== */

.site-footer {
  background: #17215a;
  color: #ffffff;
  padding: 80px 40px 30px;
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* HEADINGS */
.site-footer h4 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
}

.site-footer h5 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* TEXT */
.site-footer p {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.9;
}

/* LINKS */
.site-footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

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

/* BOTTOM BAR */
.footer-bottom {
  max-width: 1500px;
  margin: 60px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  opacity: 0.85;
}

/* SOCIAL ICONS */
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

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

@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}
/* ==============================
   FOOTER LOGO
============================== */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  max-width: 160px;
  width: 100%;
  height: auto;
}
/* ==============================
   FLOATING WHATSAPP (CLEAN STYLE)
============================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366; /* WhatsApp official green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

/* ICON */
.whatsapp-float img {
  width: 26px;
  height: 26px;
  display: block;
}

/* HOVER (SUBTLE SCALE ONLY) */
.whatsapp-float:hover {
  transform: scale(1.08);
}

/* MOBILE */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 24px;
    height: 24px;
  }
}
.whatsapp-float {
  color: #ffffff;
}
/* ==============================
   SCROLL-IN SECTION ANIMATION
============================== */
/* ==============================
   MOBILE HAMBURGER MENU
============================== */

.menu-toggle {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #17215a;
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    margin-top: 10px;
  }

  .navbar-collapse {
    display: none;
    width: 100%;
    margin-top: 20px;
  }

  .navbar-collapse.active {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    top: 35px; /* tweak if needed */
  }
}


  .navbar-collapse {
    display: none;
    width: 100%;
    margin-top: 20px;
  }

  .navbar-collapse.active {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
/* ==============================
   FOOTER MOBILE ALIGNMENT
============================== */

@media (max-width: 768px) {
  .footer-logo {
    display: block;
    margin: 0 auto 24px;
  }
}

/* ==============================
   MOBILE HEADER COMPACT ON SCROLL
============================== */

@media (max-width: 768px) {

  /* Default mobile header */
  .wpo-site-header {
    transition: padding 0.3s ease;
  }

  /* Compact header after scroll */
  .wpo-site-header.scrolled {
    padding: 8px 0;
  }

  /* Logo size on scroll */
  .wpo-site-header.scrolled .navbar-brand img {
    height: 70px;
  }

  /* Reduce spacing below logo */
  .wpo-site-header.scrolled .navbar-brand {
    margin-bottom: 6px;
  }
}
/* ==============================
   MOBILE WHY-STUDIO SPACING FIX
============================== */

@media (max-width: 768px) {

  /* Reduce section padding */
  .why-studio-section {
    padding: 60px 30px;
  }

  /* Reduce space between text & video */
  .why-studio-wrapper {
    gap: 30px;
  }

  /* Reduce paragraph spacing */
  .why-studio-content p {
    margin-bottom: 20px;
  }

  /* Reduce video top spacing if any */
  .why-studio-media {
    margin-top: 10px;
  }
}
.navbar {
  width: 100%;
}

.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ==============================
   HEADER – CENTERED LAYOUT
============================== */

.wpo-site-header {
   position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  height: 180px;   /* was 140px */
  display: flex;
  align-items: center;
}

.navbar {
  width: 100%;
}
/* ==============================
   HEADER – STABLE & CENTERED
============================== */

.wpo-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  /*height: 140px;               FIXED HEIGHT — NO JITTER */
  display: flex;
  align-items: center;
}

/* NAVBAR WRAPPER */
.navbar {
  width: 100%;
}

/* ==============================
   DESKTOP HEADER
============================== */

.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;            /* FIXED — DOES NOT CHANGE */
  display: flex;
  flex-direction: column;     /* logo above menu */
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* LOGO */
.navbar-brand {
  margin-bottom: 10px;
}

.navbar-brand img {
  height: 120px;
  transform-origin: center;
  transition: transform 0.3s ease;   /* TRANSFORM ONLY */
}

/* MENU */
.navbar-collapse {
  display: flex;
  justify-content: center;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 42px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-nav li {
  list-style: none;
}

.nav-link {
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #17215a;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

/* HIDE HAMBURGER ON DESKTOP */
.menu-toggle {
  display: none;
}

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

@media (max-width: 992px) {

  .wpo-site-header {
    height: 120px;            /* FIXED MOBILE HEIGHT */
  }

  .header-inner {
    padding: 0 20px;
    position: relative;
  }

  /* LOGO MOBILE */
  .navbar-brand {
    margin-bottom: 0;
  }

  .navbar-brand img {
    height: 90px;
  }

  /* HAMBURGER */
  .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .menu-toggle span {
    width: 26px;
    height: 2px;
    background: #17215a;
    display: block;
  }

  /* MOBILE MENU PANEL */
  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 30px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .navbar-collapse.active {
    display: flex;
    justify-content: center;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 26px;
    align-items: center;
  }
}

/* ==============================
   SCROLLED STATE (NO JITTER)
============================== */

.wpo-site-header.scrolled .navbar-brand img {
  transform: scale(0.7);     /* VISUAL SHRINK ONLY */
}

@media (max-width: 992px) {
  .wpo-site-header.scrolled .navbar-brand img {
    transform: scale(0.75);
  }
}

/* ==============================
   ANCHOR OFFSET (PREVENT JUMP)
============================== */

section {
  scroll-margin-top: 160px;
}

@media (max-width: 992px) {
  section {
    scroll-margin-top: 120px;
  }
}

/* ==============================
   PORTFOLIO SECTION
============================== */

.portfolio-section {
  padding: 80px 40px;
  background: #ffffff;
}

.portfolio-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 90px;
}

.portfolio-header h2 {
  font-size: 35px;
  font-weight: 500;
  color: #17215a;
  margin-bottom: 18px;
}

.portfolio-header p {
  font-size: 16px;
  color: #666;
}

/* ==============================
   GRID
============================== */

.portfolio-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ==============================
   ITEM
============================== */

.portfolio-item {
  text-align: center;
}

.portfolio-item h3 {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
   text-align: center;
}

.portfolio-item h3 a {
  color: #17215a;              /* deep navy / brand-safe */
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.portfolio-item h3 a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #cfd4da;        /* light grey stroke */
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.portfolio-item h3 a:hover {
  color: #17215a;
}

.portfolio-item h3 a:hover::after {
  width: 100%;
}

/* ==============================
   MOCKUP CARD (KEY FIX)
============================== */

.mockup-card {
  position: relative;
  background: #f3f4f6;
  border-radius: 10px;             /* LESS CURVE (REFERENCE) */
  padding: 28px 32px 30px;
  height: 380px;                   /* LOCK HEIGHT */
  overflow: hidden;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}


/* ==============================
   DESKTOP FRAME (DOMINANT)
============================== */

.desktop-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 10px;
  padding-top: 26px;               /* SAFARI BAR SPACE */
  overflow: hidden;
   transform: scaleX(1.04); /* subtle horizontal boost */
   border: 1px solid #e3e6ea;
}



/* SAFARI DOTS */
.browser-dots {
  position: absolute;
  top: 8px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfcfcf;
}

/* DESKTOP IMAGE */
.desktop-frame img {
  width: 100%;
  height: auto;              /* KEY FIX */
  display: block;
  object-fit: contain;       /* NO CROPPING */
  
}

/* ==============================
   MOBILE FRAME (SMALL & FLOATING)
============================== */

.mobile-frame {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 110px;                    /* SMALLER (KEY FIX) */
  height: 220px;
  background: #fff;
  border-radius: 16px;
   border: 1px solid #bfc3c5;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  
}

.mobile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ==============================
   HOVER (SOFT)
============================== */

.portfolio-item:hover .mockup-card {
  background: #e9ebee;
  
}

.portfolio-item:hover .mockup-card.dark {
  background: #2a2a2a;
}

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

@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 80px 20px;
  }

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

  .mockup-card {
    height: 340px;
  }

  .mobile-frame {
    width: 95px;
    height: 190px;
  }
}
