/* ================= RESET ================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Helvetica, Arial, sans-serif;
}

body *:not(.nav *) h1 { font-size: clamp(2rem, 5vw, 5rem); }
body *:not(.nav *) h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
body *:not(.nav *) h3 { font-size: clamp(1.2rem, 2.5vw, 2rem); }
body *:not(.nav *) p, 
body *:not(.nav *) li { 
  font-size: clamp(0.95rem, 1.2vw, 1.1rem); 
  line-height: 1.6; 
}


*,
*::before,
*::after {
  max-width: 100%;
}



body{
background:white;
color:black;
overflow-x:hidden;
}

/* ===== GRID BACKGROUND ===== */

#grid{
position:fixed;
top:0;
left:0;
z-index:-1;
}

/* ===== CUSTOM CURSOR ===== */

.cursor{
width:18px;
height:18px;
border:2px solid black;
border-radius:50%;
position:fixed;
pointer-events:none;
transform:translate(-50%,-50%);
transition:transform .15s ease;
z-index:999;
}

/* ===== NAV ===== */

.nav{
position:fixed;
top:0;
left:0;
width:100%;
max-width:100vw;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 40px;
background:rgba(255,255,255,0.6);
backdrop-filter:blur(14px);
z-index:10000;
overflow:hidden;
}

.logo{
height:60px; /* EDIT LOGO SIZE */
width:auto;
display:block;
object-fit:contain;
}

.nav-links a{
margin-left:30px;
text-decoration:none;
color:black;
font-weight:600;
position:relative;
transition:.3s ease;
}

/* hover color */
.nav-links a:hover{
color:#dc143c;
}

.nav-links a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0%;
height:2px;
background:#dc143c;
transition:.3s;
}

.nav-links a:hover::after{
width:100%;
}

.nav.scrolled{
padding:12px 60px;
background:white;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* ===== HERO ===== */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  min-height: 100vh;
  padding-left: 10%;
  padding-right: 10%;
  box-sizing: border-box;

  /* prevents navbar overlap */
  padding-top: calc(120px + 2vh);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.hero-title span{
color: #dc143c;
opacity: 1;
}

.magnetic{
margin-top:40px;
padding:16px 40px;
border:2px solid black;
background:none;
cursor:pointer;
font-size:16px;
}

/* ===== PORTFOLIO ===== */

.portfolio{
padding:120px 10%;
}

.masonry{
column-count:4;
column-gap:18px;
}

.masonry img{
width:100%;
margin-bottom:18px;
border-radius:12px;
transition:.5s;
}

.masonry img:hover{
transform:translateY(-8px) scale(1.02);
}

/* Keep your existing featured styling */
.featured {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 120px 5%;
  flex-wrap: wrap; /* allow responsiveness */
}

/* Reverse layout for second project */
.featured.reverse {
  flex-direction: row-reverse;
}

/* Make sure image and info have the same widths as first project */
.featured-image, .featured-info {
  flex: 1 1 500px; /* ensures same size and spacing */
}

.featured img {
  width: 100%;
  border-radius: 14px;
}

/* ===== SERVICES QUICK FIX ===== */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;          /* space between cards */
  padding: 120px 10%; /* section padding */
}

/* Make heading and intro paragraph span full width */
.services h2,
.services p:first-of-type {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 40px;
}

/* Style each service card */
.service {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for cards */
.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Bullet points inside services */
.service ul {
  margin-top: 15px;
  padding-left: 20px;
  list-style-type: disc;
}
.service li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* RESPONSIVE FIX */
@media(max-width:900px){
  .services {
    grid-template-columns: 1fr; /* stack cards vertically */
    gap: 30px;
    padding: 80px 5%;
  }
}

.services .full-width-text {
  grid-column: 1 / -1; /* span all columns */
  text-align: center;
  margin-top: 50px;
  font-weight: bold;
}

/* ===== CONTACT ===== */

.contact{
text-align:center;
padding:140px 20px;
}


/* ===== RESPONSIVE ===== */

@media(max-width:900px){
.masonry{column-count:2;}
.hero-title{font-size:10vw;}
}

/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn{
position:fixed;
bottom:30px;
right:30px;
background:#dc143c; /* YOUR RED BRAND COLOR */
color:white;
padding:14px 24px;
border-radius:50px;
text-decoration:none;
font-weight:600;
letter-spacing:.5px;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
transition:all .3s ease;
z-index:9999;
}

.whatsapp-btn:hover{
transform:translateY(-6px) scale(1.05);
box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

.hero-sub{
margin-top:20px;
font-size:18px;
opacity:.7;
max-width:600px;
text-align:center;
}

#lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
}

#lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
}

#progress{
position:fixed;
top:0;
left:0;
height:3px;
background:#dc143c;
width:0%;
z-index:9999;
}

section:not(.portfolio){
  padding:140px 10%;
}

section{
opacity:1;
transform:none;
}

.hero::after{
content:"";
position:absolute;
width:600px;
height:600px;
background:radial-gradient(circle, rgba(220,20,60,0.15), transparent);
filter:blur(80px);
animation:floatGlow 8s ease-in-out infinite;
z-index:-1;
}

@keyframes floatGlow{
0%,100%{transform:translateY(0);}
50%{transform:translateY(-40px);}
}

.work-item{
position:relative;
overflow:hidden;
border-radius:12px;
}

.overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:20px;
background:linear-gradient(transparent, rgba(0,0,0,.7));
color:white;
opacity:0;
transition:.4s;
}

.work-item:hover .overlay{
opacity:1;
}

.stats{
display:flex;
justify-content:center;
gap:80px;
text-align:center;
}

.stats h3{
font-size:48px;
color:#dc143c;
}

.footer{
text-align:center;
padding:60px;
opacity:.6;
}

/* ================= REVIEWS ================= */

.reviews{
overflow:hidden;
text-align:center;
background:white;
}

.reviews h2{
margin-bottom:60px;
font-size:42px;
letter-spacing:-1px;
}

/* scrolling container */

.reviews-track{
display:flex;
gap:30px;
width:max-content;
animation:scrollReviews 35s linear infinite;
}

/* review cards */

.review-card{
min-width:320px;
max-width:320px;
padding:30px;
border-radius:16px;
background:rgba(255,255,255,0.7);
backdrop-filter:blur(12px);
border:1px solid rgba(0,0,0,0.08);
box-shadow:0 10px 30px rgba(0,0,0,0.08);
text-align:left;
transition:.4s ease;
}

.review-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

.review-card p{
font-size:16px;
line-height:1.6;
margin-bottom:15px;
}

.review-card h4{
color:#dc143c;
margin-bottom:8px;
}

.review-card span{
opacity:.6;
font-size:14px;
}

/* auto scroll animation */

@keyframes scrollReviews{
0%{transform:translateX(0);}
100%{transform:translateX(-50%);}
}

.reviews-track:hover{
animation-play-state:paused;
}

.featured{
 display:flex;
 gap:60px;
 align-items:center;
 padding:120px 5%;
}

.featured img{
 width:100%;
 border-radius:14px;
}

.featured-info{
 max-width:500px;
}

.visit-btn{
 display:inline-block;
 margin-top:20px;
 padding:12px 25px;
 background:#ff2b2b;
 color:white;
 text-decoration:none;
 transition:.3s;
}

.visit-btn:hover{
 transform:translateY(-3px);
}

#intro{
position:fixed;
inset:0;
background:white;
display:flex;
justify-content:center;
align-items:center;
z-index:100000;
overflow:hidden;
}

.intro-text{
position:absolute;
font-size:4vw;
letter-spacing:4px;
color:black;
z-index:2;
}

#paintCanvas{
position:absolute;
width:100%;
height:100%;
}

#intro h1{
 font-size:3rem;
 letter-spacing:5px;
 animation:glitch 1.5s infinite;
}

@keyframes introOut{
 to{
   opacity:0;
   visibility:hidden;
 }
}

@keyframes glitch{
 0%,100%{transform:translate(0)}
 50%{transform:translate(2px,-2px)}
}

/* hide system cursor */
body{
cursor:none;
}

/* circle cursor */
.cursor{
position:fixed;
top:0;
left:0;
width:18px;
height:18px;
border:2px solid #dc143c;
border-radius:50%;
pointer-events:none;
z-index:99999;
}

transform:translate3d(-50%,-50%,0);
transition:
width .25s ease,
height .25s ease,
background .25s ease,
border .25s ease;
}

/* TEXT INSIDE CURSOR */
.cursor-text{
  position:fixed;
  transform:translate(-50%,-50%);
  pointer-events:none;
  font-size:10px;
  color:white;
  font-weight:bold;
  z-index:10000;
}

html{
  scroll-behavior:smooth;
}

#viewer{
 position:fixed;
 inset:0;
 background:rgba(0,0,0,.9);
 display:none;
 justify-content:center;
 align-items:center;
 z-index:9998;
}

#viewer img{
 max-width:90%;
 max-height:90%;
}

body{
 background-color:white;
 background-image:
   linear-gradient(#eee 1px, transparent 1px),
   linear-gradient(90deg,#eee 1px,transparent 1px);
 background-size:40px 40px;
 transition:background-position .2s;
}

.noise{
 position:fixed;
 inset:0;
 background:url("noise.png");
 opacity:.03;
 pointer-events:none;
 z-index:999;
}

#intro {
  position:fixed;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:100000;
  overflow:hidden;
  background:white;
}

#introGrid {
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  z-index:0; /* behind paintCanvas and text */
}

.brands {
  text-align: center;
  padding: 120px 10%;
  background: white; /* matches your site */
}

.brands h2 {
  font-size: 42px;
  margin-bottom: 60px;
  color: black;
}

.brands-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.brand {
  flex: 0 1 150px; /* each logo takes 150px max width */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, filter 0.3s;
}

/* Container centers the button below the reviews */
.google-review-btn-container {
  text-align: center;
  margin-top: 40px;
}

/* Container centers the button below the reviews with extra spacing */
.google-review-btn-container {
  text-align: center;
  margin-top: 80px; /* increased padding from reviews */
}

/* Button styling matching your other rectangular buttons */
.google-review-btn {
  display: inline-block;
  padding: 16px 36px; /* similar padding to other buttons */
  background: #dc143c; /* your brand red */
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px; /* slightly curved corners */
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  font-size: 16px;
}

.google-review-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.brand img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Hover animation for interaction */
.brand:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Responsive for mobile */
@media(max-width: 900px){
  .brands-container {
    gap: 30px;
  }
  .brand {
    flex: 0 1 100px;
  }
}

body {
  cursor: none;
}

.cursor {
  width: 18px;
  height: 18px;
  border: 2px solid #dc143c;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease, border .25s ease;
}

.cursor-text {
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: 10px;
  color: white;
  font-weight: bold;
  z-index: 10000;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.work-item img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.work-item:hover img {
  transform: scale(1.05) translateY(-5px);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 0 0 12px 12px;
}

.work-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.overlay p {
  font-size: 14px;
  opacity: 0.8;
}

.client-work {
  text-align: center; /* center all content */
  margin-bottom: 60px;
}

.client-work h3 {
  font-size: 28px;
  color: #8B0000;
  margin-bottom: 15px;
}

.client-work p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}



.client-images {
  display: flex;
  justify-content: center; /* center all images horizontally */
  flex-wrap: wrap;         /* allow wrapping on smaller screens */
  gap: 18px;               /* space between images */
  margin-bottom: 30px;
}

.client-images img {
  flex: 1 1 200px;         /* each image takes at least 200px */
  max-width: 200px;        /* keeps them uniform in size */
  border-radius: 14px;
  object-fit: cover;
}

@media(max-width:900px){
  .client-images img {
    flex: 1 1 45%;         /* 2 images per row on smaller screens */
    max-width: 45%;
  }
}

@media(max-width:600px){
  .client-images img {
    flex: 1 1 80%;         /* stacked on very small screens */
    max-width: 80%;
  }
}
.case-study {
  margin-bottom: 80px;
  text-align: center; /* CENTER ALL TEXT */
}

.case-study h3 {
  font-size: 28px;
  color: #8B0000;
  margin-bottom: 15px;
}

.case-study p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 15px; /* center paragraphs */
  color: #333;
}

.case-study p.impact {
  font-weight: bold;
  color: #222;
}



@media(max-width:900px){
  .case-images {
    flex-direction: column;
    align-items: center; /* center stacked images */
  }
}


/* RESPONSIVE */
@media(max-width:1000px){
  .case-images{
    grid-template-columns:1fr;
  }


/* ============================= */
/* LIVE PROJECT BUTTON (WEB APPS) */
/* ============================= */

.live-project-btn{
  grid-column:1;
  display:inline-block;
  margin:10px 0 25px;
  padding:16px 36px;
  background:#dc143c;
  color:white;
  text-decoration:none;
  font-weight:600;
  border-radius:12px;
  box-shadow:0 15px 40px rgba(0,0,0,0.15);
  transition:all .3s ease;
  text-align:center;
  width:fit-content;
}

.live-project-btn:hover{
  transform:translateY(-5px);
  box-shadow:0 25px 60px rgba(0,0,0,0.25);
}


/* Responsive fix */
@media(max-width:1000px){
  .live-project-btn{
    margin:20px auto;
  }


/* LEFT SIDE STACK */
.desktop-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.desktop-stack img{
  width:100%;
  max-width:650px;
  border-radius:16px;
  box-shadow:0 25px 60px rgba(0,0,0,0.12);
}

.desktop-stack img:first-child{
  margin-bottom:25px;
}

.desktop-stack img:last-child{
  margin-top:25px;
}


/* BUTTON */
.live-project-btn{
  display:inline-block;
  padding:16px 36px;
  background:#dc143c;
  color:white;
  text-decoration:none;
  font-weight:600;
  border-radius:12px;
  box-shadow:0 15px 40px rgba(0,0,0,0.15);
  transition:all .3s ease;
}

.live-project-btn:hover{
  transform:translateY(-5px);
  box-shadow:0 25px 60px rgba(0,0,0,0.25);
}

.magnetic {
  position: relative;
  z-index: 10;
}

.magnetic .shake-text {
  display: inline-block;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}

.magnetic:hover .shake-text {
  animation: shake 0.4s ease-in-out;
}

/* ===== PORTFOLIO SECTION ===== */

.portfolio{
padding:120px 6%;
max-width:1200px;
margin:auto;
text-align:center;
}

/* Title */

.portfolio h2{
font-size:42px;
margin-bottom:20px;
}

.portfolio p{
max-width:650px;
margin:auto;
line-height:1.6;
font-size:18px;
margin-bottom:80px;
}

/* ===== GRID ===== */

.masonry{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:80px;
justify-items:center;
align-items:center;
width:100%;
}

/* ===== ITEM ===== */

.work-item{
width:100%;
max-width:320px;
display:flex;
justify-content:center;
align-items:center;
}

/* ===== IMAGE ===== */

.work-item img{
width:100%;
height:auto;
object-fit:contain;
display:block;
}

/* ===== TABLET ===== */

@media (max-width:900px){

.masonry{
grid-template-columns:repeat(2,1fr);
gap:60px;
}

}

/* ===== MOBILE ===== */

@media (max-width:600px){

.portfolio{
padding:90px 7%;
}

.masonry{
grid-template-columns:1fr;
gap:50px;
}

.work-item{
max-width:260px;
}

}


/* ================= MOBILE RESPONSIVE FIX ================= */

@media (max-width: 900px){

/* NAV */
.nav{
padding:15px 20px;
}

.nav-links a{
margin-left:15px;
font-size:14px;
}

/* HERO */
.hero{
padding:0 20px;
}

.hero-title{
font-size:12vw;
line-height:1.2;
}

.hero-sub{
font-size:16px;
padding:0 10px;
}

/* PORTFOLIO GRID FIX */
.masonry{
grid-template-columns:repeat(2,1fr) !important;
gap:30px;
}

/* FEATURED SECTION */
.featured{
flex-direction:column;
gap:30px;
padding:80px 20px;
text-align:center;
}

.featured.reverse{
flex-direction:column;
}

.featured-image,
.featured-info{
flex:1 1 100%;
}

/* SERVICES */
.services{
padding:80px 20px;
gap:25px;
}

/* STATS */
.stats{
flex-direction:column;
gap:30px;
}

/* REVIEWS */
.review-card{
min-width:260px;
max-width:260px;
}

/* BRANDS */
.brands{
padding:80px 20px;
}

}

/* ================= SMALL PHONES ================= */

@media (max-width:600px){

/* FIX OVERFLOW HERE */
.nav-links{
display:flex;
flex-wrap:wrap;
width:100%;
gap:8px;
}

/* CRITICAL FIX */
.nav-links a{
margin:0;
font-size:13px;
white-space:nowrap;
}

/* logo */
.logo{
height:45px;
}

}

/* ================= HERO RESPONSIVE ================= */

@media (max-width: 1024px) {
  .hero {
    padding-top: calc(100px + 2vh);
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-sub {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(80px + 2vh);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(60px + 2vh);
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }
}

  .case-images {
  display: grid;
  grid-template-columns: 1fr 260px; /* desktops stack + phone side */
  gap: 40px;
  align-items: center;
  justify-content: center;
}

/* Desktop stack (two images) */
.desktop-stack {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.desktop-stack img {
  width: 100%;
  max-width: 700px;
  border-radius: 18px;      /* rounded corners like your screenshot */
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12); /* soft shadow for 3D effect */
}

/* Phone image */
.case-images > img {
  width: 100%;
  max-width: 260px;
  border-radius: 30px;       /* more rounded like a phone */
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* Responsive for smaller screens */
@media(max-width:1000px){
  .case-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .desktop-stack img {
    max-width: 100%;
  }

  .case-images > img {
    max-width: 220px;
  }
}

/* ================= BUTTON ================= */

.visit-btn{
  display:inline-block;
  margin:20px auto 40px;
  padding:16px 36px;
  background:#dc143c;
  color:white;
  text-decoration:none;
  font-weight:600;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
  transition:all .3s ease;
}

.visit-btn:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

/* ================= MOBILE FIX ================= */

  @media(max-width:1000px){

  .case-images{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
  }

  .desktop-stack img{
    max-width:100%;
  }

  .case-images > img{
    max-width:220px;
  }
}
  .visit-btn {
  display: inline-block;
  margin: 30px auto 40px;
  padding: 16px 40px;
  background: #dc143c;   /* your brand red */
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;   /* keeps your subtle rounding */
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.visit-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
