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

/* Prevent unwanted horizontal and secondary vertical scrollbars */
html {
  overflow-x: hidden;
  width: 100vw;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: #05070c;
  color: #fff;
}

/* Prevent oversized media from breaking layout */
img, video {
  max-width: 100%;
  height: auto;
}

/* body::before{
content:"";position:fixed;inset:0;
background-image:linear-gradient(rgba(255,255,255,.05)1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.05)1px,transparent 1px);
background-size:40px px;z-index:-1} */

/* NAV */
.navbar{display:flex;justify-content:space-between;align-items:center;padding:20px 50px}
.logo span{background:linear-gradient(135deg,#00c6ff,#7b61ff);padding:6px 10px;border-radius:8px}
nav a{color:#cfd3ff;margin:0 12px;text-decoration:none}
.nav-actions{display:flex;gap:15px}

/* BUTTONS */
/* .btn{padding:12px 24px;border-radius:12px;border:none;cursor:pointer}
.primary-btn{background:linear-gradient(135deg,#00c6ff,#7b61ff);color:#000}
.secondary-btn{border:1px solid #2d325a;color:#fff} */

/* HERO */
.hero{text-align:center;padding:clamp(60px, 8vw + 1rem, 130px) 20px}
.hero h1{font-size:clamp(36px, 4vw + 1rem, 80px);font-weight:800;line-height:1.2;margin-bottom:15px}
.hero h1 span{background:linear-gradient(150deg,#00c6ff,#7b61ff);
-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero p{color:#b8c0ff;margin:20px auto;max-width:700px;font-size:clamp(16px, 2vw, 20px)}
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-buttons .btn { margin-top: 0; }

/* SECTIONS */
.section{padding:40px 20px;text-align:center}
.section h2{font-size:36px;margin-bottom:20px}
.dark{background:#080b15}

/* CARDS */
/* .cards{display:flex;gap:25px;justify-content:center;flex-wrap:wrap}
.card{
background:rgba(255,255,255,.05);
padding:30px;border-radius:16px;
min-width:220px;
transition:.3s}
.card:hover{transform:translateY(-8px);background:rgba(255,255,255,.1)} */

/* CONTACT
.contact-form{max-width:400px;margin:auto;display:flex;flex-direction:column;gap:15px}
.contact-form input,.contact-form textarea{
padding:12px;border-radius:10px;border:none} */

/* FOOTER */
footer{text-align:center;padding:20px;color:#9aa3ff}

/* RESPONSIVE */
@media(max-width:768px){
.hero h1{font-size:40px}
nav{display:none}
}


.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5,11,20,0.95);
  backdrop-filter: blur(12px);
  /* Uses max() to create a perfect 1200px max-width container without extra HTML divs */
  padding: clamp(15px, 2vw, 20px) max(20px, calc(50vw - 600px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #38bdf8;
}

#nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 35px);
}

#nav a {
  color: #cfd3ff;
  text-decoration: none;
  font-size: clamp(14px, 1vw + 0.5rem, 15px);
  font-weight: 500;
  transition: color 0.3s ease;
}

#nav a:hover, #nav a.active {
  color: #38bdf8;
}

/* Fix navbar button sizing */
#nav a.btn {
  margin-top: 0;
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 12px;
}

@media(max-width: 900px){
  .menu-toggle { display: block; }

  #nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    background: #0a0e1a;
    border: 1px solid rgba(0,198,255,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    padding: 20px 25px;
    border-radius: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    min-width: 220px;
  }

  #nav.show {
    display: flex;
  }

  #nav a {
    width: 100%;
  }

  #nav a.btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}

body {
  padding-top: 100px;
}

.navbar.shrink {
  padding: 10px max(20px, calc(50vw - 600px));
  background: rgba(5,11,20,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}




html {
  scroll-behavior: smooth;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* SERVICES */
/* SERVICES PREMIUM LOOK */
.services-section {
  padding: 100px 20px;
  text-align: center;
}

.section-title {
  font-size: 44px;
  font-weight: 800;
}
.section-subtitle {
  color: #b8c0ff;
  max-width: min(100%, 720px);
  margin: 15px auto 60px;
}


/* SERVICES PREMIUM LOOK */

.services {
  padding: clamp(50px, 8vw, 100px) clamp(15px, 4vw, 50px);
  background: transparent; /* page bg same rahega */
}

.services-grid {
 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: clamp(30px, 6vw, 75px);
  padding: 0 clamp(0px, 5vw, 80px);
  
}

.service-card {
  background: linear-gradient(180deg,#0b1325,#070c16);
  border-radius: 22px;
  padding: 36px;
  color: #cbd5ff;

  border: 1px solid rgba(56,189,248,.12);
  box-shadow: inset 0 0 40px rgba(255,255,255,.02);

  transition: .4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #38bdf8;
  box-shadow: 0 0 50px rgba(56,189,248,.25);
}

.service-card h3 {
  color: white;
  font-size: 22px;
  margin: 14px 0;
}

.service-card p {
  color: #9bb3ff;
}

.service-card ul {
  margin-top: 18px;
  padding-left: 0;
}

.service-card li {
  list-style: none;
  margin-bottom: 10px;
  color: #7dd3fc;
}

.service-card li::before {
  content: "•";
  color: #38bdf8;
  margin-right: 10px;
}


/* PORTFOLIO */

.portfolio-section{
  padding:clamp(60px, 10vw, 120px) 20px;
  text-align:center;
}

.portfolio-tag{
  color:#00c6ff;
  letter-spacing:2px;
  font-size:13px;
  font-weight:600;
  
}

.portfolio-title{
  font-size:clamp(32px, 6vw, 46px);
  font-weight:800;
  margin:10px 0;
  text-align:center;
}

.portfolio-subtitle{
  color:#b8c0ff;
  max-width:700px;
  margin:15px auto 50px;
}

/* FILTERS */
.portfolio-filters{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:60px;
}

.portfolio-filters button{
  background:transparent;
  border:1px solid #2d325a;
  color:#fff;
  padding:10px 18px;
  border-radius:20px;
  cursor:pointer;
  transition:.3s;
}

.portfolio-filters button.active,
.portfolio-filters button:hover{
  background:#00c6ff;
  color:#000;
}

.case-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:32px;
  max-width:1200px;
  margin:auto;
}

.case-card{
  background:#0a0e1a;
  border-radius:28px;
  overflow:hidden;
  transition:.4s ease;
  position:relative;
}

.case-card:hover{
  transform:translateY(-14px);
  box-shadow:0 20px 40px rgba(95, 181, 224, 0.6);
  border: #00c6ff solid 1px;
}

.case-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  filter:brightness(.75);
}

.case-badge{
  position:absolute;
  top:18px;
  left:18px;
  background:#00c6ff;
  color:#000;
  padding:7px 15px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
}

.case-content{
  padding:30px;
}

.tags{
  display:flex;
  gap: 5px;
 /*flex-wrap:wrap;*/
  margin-bottom:20px;
  margin-top: 10px;
}

.tags span{
  background:#14182b;
  padding:6px 6px;
  border-radius:14px;
  font-size:12px;
  color:#cfd3ff;
}

.case-link{
  color:#00c6ff;
  text-decoration:none;
  font-weight:600;
}
.section{
  margin-bottom: 20px;
}
.section h2 {
  font-size: 36px;
  margin-top: 60px;
  
}
.section .center {
  max-width: 800px;
  margin: auto;
  margin-bottom: 0%;
  color: #d6d8f0;
}

/* CENTER BUTTON */

.center-btn{
  text-align:center;
  margin-top:70px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  margin-top: 40px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  background: linear-gradient(135deg, #00c6ff, #7b61ff);
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0, 198, 255, 0.35);
  position: relative;
  overflow: hidden;
}

/* Glow hover effect */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.35), transparent);
  opacity: 0;
  transition: .35s;
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(123, 97, 255, 0.45);
}

/* ================================================= */
/* TESTIMONIALS – SAME TO SAME DESIGN */
/* ================================================= */
.testimonial-message,
.client-name,
.client-role {
  transition: opacity 0.4s ease;
}


.testimonial-section{
  padding:130px 20px;
  margin-top: 30px;
  text-align:center;
  position:relative;
}

.section-tag{
  color:#00c6ff;
  font-size:13px;
  letter-spacing:2px;
}

.testimonial-title{
  font-size:clamp(32px, 6vw, 48px);
  font-weight:800;
  margin:12px 0;
}

.testimonial-subtitle{
  color:#b8c0ff;
  margin-bottom:70px;
}

/* Glass Card */

.testimonial-glass{
  max-width:900px;
  margin:auto;
  background:linear-gradient(
    145deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.02)
  );
  border:1px solid rgba(0,198,255,.3);
  border-radius:28px;
  padding:clamp(40px, 8vw, 70px) clamp(25px, 6vw, 80px);
  backdrop-filter:blur(14px);
  position:relative;
  box-shadow:0 0 80px rgba(0,198,255,.15);
  animation:floatCard 6s ease-in-out infinite;
}

@keyframes floatCard{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}

/* Quote */

.quote-mark{
  position:absolute;
  top:28px;
  left:40px;
  font-size:56px;
  color:#00c6ff;
  opacity:.8;
}

/* Stars */

.rating-stars{
  font-size:24px;
  color:#00c6ff;
  margin-bottom:26px;
}

/* Message */

.testimonial-message{
  font-size:22px;
  line-height:1.7;
  margin-bottom:35px;
}

/* Client */

.client-name{
  font-size:19px;
}

.client-role{
  color:#9aa3ff;
  font-size:14px;
}

/* Dots */

.testimonial-dots{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:35px;
}

.testimonial-dots span{
  width:10px;
  height:10px;
  background:#2d325a;
  border-radius:50%;
}

.testimonial-dots span.active{
  background:#00c6ff;
  box-shadow:0 0 12px #00c6ff;
}

/* Logos */

.testimonial-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:22px;
  margin-top:90px;
}

.testimonial-logos div{
  background:#0a0e1a;
  padding:16px 28px;
  border-radius:18px;
  color:#cfd3ff;
  transition:.35s;
}

.testimonial-logos div:hover{
  transform:translateY(-8px);
  color:#00c6ff;
  box-shadow:0 10px 30px rgba(0,198,255,.2);
}



/* ================================================= */
/* CONTACT SECTION STYLING */
/* ================================================= */

.contact-section{
  padding:140px 20px;
  text-align:center;
}

.contact-title{
  font-size:clamp(32px, 6vw, 48px);
  font-weight:800;
  margin:12px 0;
}

.contact-subtitle{
  color:#b8c0ff;
  margin-bottom:80px;
}

/* Grid Layout */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:clamp(30px, 4vw, 50px);
  max-width:1200px;
  margin:auto;
}

/* Info Box */

.contact-info{
  background:#0a0e1a;
  padding:clamp(30px, 6vw, 50px);
  border-radius:26px;
  text-align:left;
}

.contact-info h3{
  font-size:24px;
  margin-bottom:25px;
}

/* Benefits List */

.benefits{
  list-style:none;
  margin-bottom:40px;
}

.benefits li{
  margin-bottom:14px;
  color:#cfd3ff;
  position:relative;
  padding-left:18px;
}

.benefits li::before{
  content:"•";
  color:#00c6ff;
  position:absolute;
  left:0;
}

/* Quick Contact */

.quick-contact h4{
  margin-bottom:12px;
}

.quick-contact p{
  color:#9aa3ff;
  margin-bottom:6px;
  word-break: break-word;
}

/* Form Box */

.contact-form{
  background:#0a0e1a;
  padding:clamp(30px, 6vw, 50px);
  border-radius:26px;
  text-align:left;
}

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

.form-row.full{
  grid-template-columns:1fr;
}

.contact-form label{
  font-size:14px;
  color:#cfd3ff;
  margin-bottom:6px;
  display:block;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  padding:14px;
  background:#05070c;
  border:1px solid #2d325a;
  border-radius:12px;
  color:#fff;
  outline:none;
}

.contact-form textarea{
  min-height:120px;
  resize:none;
}

/* Focus Glow */

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  border-color:#00c6ff;
  box-shadow:0 0 12px rgba(0,198,255,.4);
}

/* Send Button */

.contact-btn{
  margin-top:20px;
  width:100%;
  padding:16px;
  border-radius:18px;
  background:linear-gradient(135deg,#00c6ff,#7b61ff);
  border:none;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
}

.contact-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 40px rgba(0,198,255,.5);
}

/* ================================
   PREMIUM FORM VALIDATION UI
================================ */

.input-box {
  position: relative;
}

/* Error Message */
.error-msg {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #ff4d6d;
  opacity: 0;
  transform: translateY(-4px);
  transition: 0.3s ease;
}

.error-msg.active {
  opacity: 1;
  transform: translateY(0);
}

/* Input Borders */
input.error,
textarea.error {
  border: 1px solid #ff4d6d !important;
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.5);
}

input.success,
textarea.success {
  border: 1px solid #00ff99 !important;
  box-shadow: 0 0 8px rgba(0, 255, 153, 0.4);
}

/* Status Icon */
.status-icon {
  position: absolute;
  right: 15px;
  top: 42px;
  font-size: 16px;
  opacity: 0;
  transition: 0.3s ease;
}

.status-icon.show {
  opacity: 1;
}

.status-icon.success {
  color: #00ff99;
}

.status-icon.error {
  color: #ff4d6d;
}

/* ================================
   TOAST NOTIFICATION
================================ */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 255, 153, 0.12);
  border: 1px solid rgba(0, 255, 153, 0.4);
  padding: 14px 22px;
  border-radius: 14px;
  color: #00ff99;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive */

@media(max-width:900px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}



.logo img {
  width: 45px;
  height: auto;
}




/* project.html  */
.projects-page {
  padding: 90px;
  background: #050b14;
  color: white;
}

.page-title {
  text-align: center;
  font-size: clamp(32px, 6vw, 46px);
  margin-bottom: clamp(40px, 8vw, 70px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.dark-card {
  background: #0d1525;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
  transition: .4s ease;
}

.dark-card:hover {
  transform:translateY(-14px);
  box-shadow:0 20px 40px rgba(95, 181, 224, 0.6);
  border: #00c6ff solid 1px;
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-content {
  padding: 28px;
}

.tags span {
  background: #131f3d;
  padding: 6px 14px;
  border-radius: 30px;
  margin-right: 8px;
  font-size: 13px;
  color: #9bb3ff;
}

.case-btn {
  display: inline-block;
  margin-top: 18px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

/* popup */
/* .case-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.case-box {
  width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(180deg,#0b1325,#050b14);
  border-radius: 26px;
  box-shadow: 0 0 100px rgba(56,189,248,.3);
}

.case-hero {
  height: 240px;
  background: url("img/project1.jpg") center/cover;
}

.case-content {
  padding: 35px;
  color: #cbd5ff;
}

.case-tag {
  background:#38bdf8;
  color:#001;
  padding:6px 14px;
  border-radius:20px;
  font-size:13px;
}

.tech-tags span {
  background:#131f3d;
  padding:6px 14px;
  border-radius:20px;
  margin:6px;
  display:inline-block;
}

.results {
  display:flex;
  gap:20px;
  margin:20px 0;
}

.results div {
  background:#0d1525;
  padding:18px;
  border-radius:14px;
  color:#38bdf8;
  flex:1;
  text-align:center;
}

.live-btn {
  display:inline-block;
  background:linear-gradient(90deg,#38bdf8,#6366f1);
  padding:14px 28px;
  margin: auto;
  border-radius:14px;
  color:black;
  font-weight:600;
}

.close-btn {
  position:absolute;
  right:20px;
  top:12px;
  font-size:28px;
  color:white;
  cursor:pointer;
} */

body{
 background:#050b14;
 color:#cbd5ff;
 margin:0;
 font-family:Arial, sans-serif;
}

.navbarproject {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5,11,20,0.95);
  backdrop-filter: blur(12px);
  padding: clamp(15px, 2vw, 20px) max(20px, calc(50vw - 600px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}

.navbarproject nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 30px);
  flex-wrap: wrap;
}

.navbarproject nav a {
  color: #cfd3ff;
  text-decoration: none;
  font-size: clamp(14px, 1vw + 0.5rem, 15px);
  font-weight: 500;
  transition: color 0.3s ease;
  margin-left: 0;
}

.navbarproject nav a:hover {
  color: #38bdf8;
}

.navbarproject .logo {
  font-size: clamp(18px, 1.5vw + 0.5rem, 24px);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg,#00c6ff,#7b61ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media(max-width: 600px) {
  .navbarproject {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 15px;
  }
  .navbarproject nav {
    justify-content: center;
  }
}

.case-page{padding-top:90px}

/* HERO */

.case-hero{
 min-height:70vh;
 display:flex;
 align-items:center;
 padding:0 120px;
 background:linear-gradient(180deg,#0b1325,#050b14);
}

.hero-content{
 max-width:700px;
}

.case-tag{
 background:#38bdf8;
 color:black;
 padding:6px 14px;
 border-radius:20px;
 display:inline-block;
 margin-bottom:12px;
}

.case-hero h1{
 font-size:60px;
 color:white;
 margin:10px 0;
}

/* INFO */

.case-info{
 display:flex;
 gap:40px;
 padding:100px 120px;
}

.info-box{
 background:#0d1525;
 padding:40px;
 border-radius:24px;
 flex:1;
}

/* TAGS */

.tech-tags span{
 background:#131f3d;
 padding:8px 14px;
 border-radius:20px;
 margin:6px;
 display:inline-block;
}

/* RESULTS */

.results{
 display:flex;
 gap:20px;
 margin-top:20px;
}

.results div{
 background:#050b14;
 padding:20px;
 border-radius:16px;
 flex:1;
 text-align:center;
 color:#38bdf8;
}

/* BUTTON */

.live-btn{
  display:inline-block;
  margin-top:35px;
  padding:14px 32px;
  background:linear-gradient(135deg,#39d2ff,#6a5cff);
  color:#000;
  font-weight:600;
  border-radius:30px;
  text-decoration:none;
  box-shadow:0 0 25px rgba(57,210,255,.6);
  transition:.3s;
}
.live-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 22px rgba(57,210,255,.9);
}

.center-btn{
 display:block;
 margin:0 auto 100px;
 height: 50px;
 width: 300px;
}


.case-hero{
  min-height:75vh;
  display:flex;
  align-items:center;
  padding:0 120px;
  background:
   linear-gradient(to bottom,rgba(5,11,20,.2),#050b14),
   url("../img/health-hero.jpg") center/cover;
}
.reveal{
 opacity:0;
 transform:translateY(60px);
 transition:.9s ease;
}
.reveal.active{
 opacity:1;
 transform:translateY(0);
}


@media(max-width:900px){
 .case-hero{padding:40px}
 .case-info{flex-direction:column;padding:60px 40px}
 .case-hero h1{font-size:40px}
}

.side-img{
  position:absolute;
  right:120px;
  top:50%;
  transform:translateY(-50%);
  width:420px;
  border-radius:22px;
}
.case-hero{
  position:relative;
}



/* img golw */

.case-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:80px;
  padding:1px 5%;
}

/* LEFT TEXT */

.case-text{
  max-width:560px;
}

.tag{
  background:#39d2ff;
  color:#000;
  padding:6px 14px;
  border-radius:20px;
  font-size:14px;
}

.case-text h1{
  font-size:64px;
  margin:20px 0;
  color:#fff;
}

.case-text p{
  font-size:18px;
  color:#a9b4c7;
  line-height:1.6;
  padding: 20px 0;
}

/* RIGHT IMAGE */

.case-image{
  position:relative;
  width:420px;
}

.case-image img{
  width:100%;
  border-radius:20px;
  z-index:2;
  position:relative;
}

/* GLOW */

.case-image::before{
  content:"";
  position:absolute;
  inset:-30px;
  background:linear-gradient(120deg,#00e5ff,#6a5cff,#00ffd5);
  filter:blur(60px);
  opacity:.8;
  z-index:1;
  border-radius:30px;
}

/* FLOAT ANIMATION */

.case-image{
  animation:float 6s ease-in-out infinite;
}

@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-15px)}
}


@media(max-width:900px){
  .case-hero{
    flex-direction:column;
    text-align:center;
  }

  .case-image{
    width:300px;
  }

  .case-text h1{
    font-size:42px;
  }
}



/* ============================
   FULL MOBILE RESPONSIVE FIX
============================ */

@media (max-width: 1024px){

  .services{
    padding:60px 30px;
  }

  .portfolio-title,
  .testimonial-title,
  .contact-title{
    font-size:36px;
  }

  .case-hero{
    padding:100px 6%;
    gap:50px;
  }

  .case-text h1{
    font-size:48px;
  }

  .case-image{
    width:340px;
  }
}

@media (max-width: 768px){

  /* NAV */
  .navbar{
    padding:16px 25px;
  }

  /* HERO TEXT */
  .hero h1{
    font-size:46px;
  }

  .hero p{
    font-size:15px;
  }

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

  /* PROJECT CARDS */
  .case-grid{
    grid-template-columns:1fr;
  }

  /* CASE HERO PAGE */
  .case-hero{
    flex-direction:column;
    text-align:center;
    padding:110px 25px;
  }

  .case-text{
    max-width:100%;
  }

  .case-text h1{
    font-size:40px;
  }

  .case-image{
    width:280px;
    margin-top:40px;
  }

  /* CONTACT */
  .contact-grid{
    grid-template-columns:1fr;
  }

  .form-row{
    grid-template-columns:1fr;
  }
}

@media (max-width: 480px){

  .hero h1{
    font-size:34px;
  }

  .portfolio-title,
  .testimonial-title,
  .contact-title{
    font-size:30px;
  }

  .case-text h1{
    font-size:34px;
  }

  .btn{
    padding:12px 24px;
    font-size:14px;
  }

  .case-image{
    width:240px;
  }

  .service-card{
    padding:26px;
  }
}

/* ================================
   PREMIUM FORM VALIDATION ERRORS
================================ */

.error-msg {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #ff4d6d;
  opacity: 0;
  transform: translateY(-4px);
  transition: 0.3s ease;
}

.error-msg.active {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================
   PREMIUM FOOTER STYLING
=========================== */

.main-footer {
  margin-top: clamp(60px, 10vw, 120px);
  background: linear-gradient(180deg, #050b14, #070c16);
  border-top: 1px solid rgba(0,198,255,0.15);
  padding: clamp(40px, 8vw, 80px) 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  margin-bottom: 0%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(30px, 5vw, 50px);
}

/* Brand */
.footer-brand img {
  width: 55px;
  margin-bottom: 15px;
}

.footer-brand h3 {
  font-size: 22px;
  color: white;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #9aa3ff;
  font-size: 14px;
  line-height: 1.6;
}

/* Links */
.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: #b8c0ff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #00c6ff;
  transform: translateX(6px);
}

/* Contact */
.footer-contact p {
  color: #9aa3ff;
  margin-bottom: 10px;
  font-size: 14px;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  color: #7b86c7;
  font-size: 13px;
}

/* Responsive Footer */
@media(max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links a:hover {
    transform: none;
  }
}
