
:root{
  --bg:#0f1724; /* dark background for hero */
  --card:#0b1220;
  --muted:#98a0b3;
  --accent:#6c5ce7;
  --glass: rgba(255,255,255,0.04);
  --radius:14px;
  --container:1100px;
}
*{
    box-sizing:border-box
}
html,body{
    height:100%;margin:0;
    font-family:Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,'Helvetica Neue', Arial;
    color:#e6eef8;
    background:linear-gradient(180deg,#071022 0%, #071829 100%);
}
.container{
    max-width:var(--container);
    margin:0 auto;
    padding:28px;
}
.nav{
    backdrop-filter: blur(6px);
    position:sticky;
    top:0;
    background:rgba(2,6,23,0.6);
    border-bottom:1px solid rgba(255,255,255,0.02);
    z-index:40;
}


nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
}

nav .logo {
      font-weight: 700;
      font-size: 24px;
      color: var(--accent);
      letter-spacing: -0.5px;
}

.nav-center {
      flex: 1;
      display: flex;
      justify-content: center;
}

nav ul {
      list-style: none;
      display: flex;
      gap: 2.5em;
}
nav a {
      text-decoration: none;
      color: var(--text);
      font-weight: 500;
      transition: color 0.3s ease;
}

nav a:hover {
      color: var(--accent-dark);
}

/* CTA button */
.cta-btn {
      background: var(--accent);
      color: #fff;
      padding: 10px 18px;
      border-radius: 8px;
      font-weight: 600;
      transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
      background: #1d4ed8;
      transform: translateY(-2px);
}
    /* Hide mobile CTA by default */
.mobile-cta {
  display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-cta {
    display: block;
    text-align: center;
  }

  /* Hide desktop CTA button on mobile */
  .nav-right {
    display: none;
  }
}


 /* Mobile menu toggle */
nav .menu-toggle {
      display: none;
      font-size: 26px;
      cursor: pointer;
      color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-center {
        display: none; /* hide links initially */
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        padding: 1em 0;
        color: black;
      }
.nav-center ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
      }
.nav-center.show {
        display: flex;
      }
.nav-right {
        display: none; /* hide CTA button in desktop style */
      }

nav .menu-toggle {
        display: block;
      }
}

.projects-section {
  background: #0a1020;
  padding: 1px 5px;
  color: #fff;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  color: #fff;
  margin-bottom: 20px;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 20px;
}

.projects-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.projects-header p {
  color: #a0aec0;
  margin-top: 6px;
  max-width: 550px;
}

.featured-box {
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  padding: 18px 22px;
  border-radius: 14px;
  color: #fff;
  min-width: 260px;
}

.featured-box strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.featured-box p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.project-filters {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.project-filters button {
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background: #1a2236;
  color: #cbd5e1;
  transition: 0.3s;
}

.project-filters button:hover {
  background: #2a3350;
}

.project-filters button.active {
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  color: #fff;
}

  
.btn{
    background:linear-gradient(135deg,var(--accent),#00b4d8);
    padding:10px 16px;
    border-radius:12px;
    color:white;
    text-decoration:none;
}
.btn-outline{
    border:1px solid rgba(255,255,255,0.06);
    padding:8px 12px;
    border-radius:10px;
    color:var(--muted);
}
.btn-muted{
    color:var(--muted);
    text-decoration:none;
}
.btn-sm{
    padding:8px 10px;
    border-radius:8px;
    border:0;
    background:transparent;
    color:#cfe6ff;
}
.btn-sm:hover{
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  cursor: pointer;
}
.lead{
    color:var(--muted);
    margin-top:6px;
}

.hero{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:28px;
    align-items:center;
    padding:48px 0;
}
.hero-left h1{
    font-size:40px;
    margin:0 0 12px;
}
.hero-ctas{
    margin-top:18px;
    display:flex;
    gap:12px;
}
.device-mock{
    width:360px;
    height:240px;
    background:linear-gradient(180deg,#0a1926,#07122a);
    border-radius:18px;
    padding:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 20px 50px rgba(2,6,23,0.6);
}
.device-mock .screen {
  width: 320px;
  height: 200px;
  background: linear-gradient(90deg, #0f2130, #112139);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden; /* ensures image doesn’t spill out */
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-mock .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fill while cropping */
  display: block;
  border-radius: 10px; /* match the screen edges */
}

.section-title{
    font-size:22px;
    margin:8px 0 18px;
}
.projects .grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.card{
    background:var(--card);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(2,6,23,0.6);
    transition:transform .22s ease,box-shadow .22s ease;
}
.card:focus,.card:hover{
    transform:translateY(-6px);box-shadow:0 22px 44px rgba(2,6,23,0.7);
}
.card-media {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Overlay layer (above the image) */
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;

  z-index: 2;
}

.card-body{
    padding:14px;
}
.card-body h3{
    margin:0 0 6px;
}
.muted{
    color:var(--muted);
}
.tags{
    font-size:12px;
    color:var(--muted);
    margin:8px 0;
}
.card-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.link{
    color:var(--muted);
    text-decoration:none;
    font-size:13px;
}
.link:hover{
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  color: #071022;
  padding: 10px 16px;
  border-radius: 30px;
  cursor: pointer;
}
.modal{
    position:fixed;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:linear-gradient(180deg,rgba(0,0,0,0.6),rgba(2,6,23,0.85));
    visibility:hidden;
    opacity:0;
    max-height: 50vh;
    margin: auto;
    border-radius: 12px;
    transition:opacity .18s ease;
}
.modal[aria-hidden="false"]{
    visibility:visible;
    opacity:1;
}
.modal-panel{
    background:var(--card);
    border-radius:12px;
    max-width:920px;
    width:100%;
    padding:18px;
    box-shadow:0 30px 80px rgba(2,6,23,0.8);
    position:relative;
}
.modal-close{
    position:absolute;
    right:12px;
    top:10px;
    border:0;
    background:transparent;
    color:var(--muted);
    font-size:18px;
}
.case-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.case-media {
  width: 100%;
  height: auto; /* allow images/videos to scale */
  max-height: 400px; /* optional max height */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg,#163b5a,#0f2a42); /* fallback placeholder */
}

.case-media img,
.case-media video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.testimonials{
    margin-top:36px;
}
.carousel{
    position:relative;
    min-height:120px;
}
.slide{
    display:none;
}
.slide.active{
    display:block;
}
.quote{
    font-size:18px;
    margin:0 0 8px;
}
.by{
    color:var(--muted);
}
.carousel-controls{
    margin-top:12px;
}
.carousel-controls button{
    background:transparent;
    border:1px solid rgba(255,255,255,0.04);
    padding:8px 12px;
    border-radius:8px;
    margin-right:8px;
    color:var(--muted);
}
.cta{
    margin-top:36px;
    background:linear-gradient(90deg,rgba(108,92,231,0.12),rgba(0,180,216,0.06));
    border-radius:12px;
    padding:18px;
}
.cta-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.case-study {
  padding: 80px 20px;
  color: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
}

.case-card {
  background: #111a2c;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6a5cff, #00d2ff);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.case-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
}
.highlight {
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  -webkit-text-fill-color: transparent;
}

.meta {
  font-size: 15px;
  color: #94a3b8;
  margin: 6px 0 18px;
}

.desc {
  color: #e2e8f0;
  font-size: 16px;
  margin-bottom: 24px;
}
.accent {
  color: #00d2ff;
  font-weight: 700;
}

.case-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.case-stats div {
  flex: 1;
  background: rgba(255,255,255,0.05);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  transition: background 0.3s;
}
.case-stats div:hover {
  background: linear-gradient(135deg, #6a5cff33, #00d2ff33);
}
.case-stats strong {
  display: block;
  font-size: 18px;
}
.case-stats span {
  font-size: 13px;
  color: #a0aec0;
}

.case-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quick-stats, .process-box {
  background: #111a2c;
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.quick-stats h4 {
  margin: 0 0 12px;
  font-size: 16px;
}
.process-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.icon {
  font-size: 22px;
}






.testimonials {
  text-align: center;
  padding: 80px 20px;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: black;
 
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-content: center;
}

.testimonial-card {
  background: #0f172a;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid #00c6ff;
}

.quote {
  font-style: italic;
  margin-bottom: 16px;
  color: #e2e8f0;
}

.testimonial-card h4 {
  margin: 8px 0 4px;
  font-size: 1.1rem;
  color: #fff;
}

.testimonial-card span {
  font-size: 0.9rem;
  color: #94a3b8;
}



/* Case Study Layout */
.case-study {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 60px 0;
}

.case-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.case-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: #fff;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.case-card h3 {
  margin: 8px 0;
  font-size: 1.6rem;
  color: #1e293b;
}

.case-card .meta {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 12px;
}

.case-card .desc {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #334155;
}

.case-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.case-stats div {
  text-align: center;
}

.case-stats strong {
  font-size: 1.4rem;
  color: #0072ff;
  display: block;
}

.btn-read {
  display: inline-block;
  padding: 10px 18px;
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-read:hover {
  background: #1e293b;
}

/* Right Side */
.case-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quick-stats,
.process-box,
.testimonial {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  margin-bottom: 8px;
}

.testimonial {
  font-style: italic;
  color: #475569;
  position: relative;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #0f172a;
}




.case-study {
  padding: 60px 20px;
  color: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.case-card {
  background: #111a2c;
  padding: 24px;
  border-radius: 16px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.case-card h3 {
  margin: 0;
  font-size: 20px;
  color: white;
  font-weight: 700;
}

.meta {
  font-size: 14px;
  color: #a0aec0;
  margin: 4px 0 12px;
}

.desc {
  color: #cbd5e1;
  margin-bottom: 18px;
}
.desc{
  color: white;
}
.case-stats {
  display: flex;
  gap: 16px;
}

.case-stats div {
  background: #1a2236;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
}

.case-stats strong {
  display: block;
  font-size: 16px;
}

.case-stats span {
  font-size: 12px;
  color: #a0aec0;
}

.case-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-stats, .process-box {
  background: #111a2c;
  padding: 20px;
  border-radius: 14px;
}

.quick-stats h4 {
  margin: 0 0 10px;
}

.process-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.icon {
  font-size: 20px;
}

.case-testimonials {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.case-testimonials blockquote {
  background: #0f172a;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  font-size: 15px;
  line-height: 1.5;
}

.case-testimonials cite {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #94a3b8;
}

.cta-box {
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  padding: 30px 24px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-box h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.cta-box p {
  margin: 0;
  color: #e2e8f0;
}

.btn-cta {
  background: #0f172a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-cta:hover {
  background: #1a2236;
}




.cta-box {
  background: linear-gradient(90deg, #6a5cff, #00d2ff);
  padding: 40px 32px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shine 3s infinite;
}
/* CTA Box */
.cta-box {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.proposal-form {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #1e293b;
}

.form-group select {
  background: #fff;
}

.btn-cta {
  background: #0f172a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-cta:hover {
  background: #1e293b;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cta-box h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.cta-box p {
  margin: 0;
  color: #f1f5f9;
  font-size: 15px;
}
.btn-cta {
  background: #0f172a;
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-cta:hover {
  background: #1e293b;
  transform: translateY(-2px);
}




/* Popup Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup Content */
.popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 15px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  animation: popupFade 0.3s ease-in-out;
}

.popup-content h3 {
  margin-bottom: 15px;
  color: #111a2c;
}

.popup-content p {
  color: #555;
  margin-bottom: 20px;
}

/* Close Button */
.popup-close {
  padding: 10px 25px;
  border: none;
  background: #007BFF;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.popup-close:hover {
  background: #0056b3;
}

/* Popup Animation */
@keyframes popupFade {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}





/*footer section*/
.footer {
  background: #0f172a; /* dark navy */
  color: #e2e8f0;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.footer-brand h2 {
  font-size: 24px;
  color: #60a5fa; /* accent blue */
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #60a5fa;
}

/* Footer Newsletter Form Fix */
.footer-form {
  display: block; /* container for inner flex */
  margin-top: 12px;
}

.footer-form-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* allow wrapping on mobile */
}

.footer-form-inner input {
  flex: 1;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

.footer-form-inner button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.footer-form-inner button:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.newsletter-msg {
  margin-top: 8px;
  font-size: 14px;
  color: #60a5fa;
  text-align: left;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid #334155;
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
}

.footer-bottom p {
  font-size: 14px;
  color: #94a3b8;
}


/* Mobile Footer Layout */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;  /* stack sections vertically */
    gap: 30px;
    text-align: center;
  }

  .footer-brand,
  .footer-links,
  .footer-newsletter {
    text-align: center;          /* center each section */
  }

  .footer-links ul {
    display: inline-block;       /* stack links nicely */
    text-align: left;            /* optional: keep left alignment for links */
  }

  .footer-form-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-form-inner button {
    width: 100%;
  }
}

/* Responsive */
@media(max-width:980px){
  .hero{grid-template-columns:1fr;gap:18px}
  .projects .grid{grid-template-columns:repeat(2,1fr)}
  .device-mock{width:320px;height:200px}
}
@media(max-width:620px){
  .projects .grid{grid-template-columns:1fr}
  .cta-inner{flex-direction:column;gap:12px;align-items:flex-start}
  .case-grid{grid-template-columns:1fr}
}


/* Popup Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup Content */
.popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 15px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  animation: popupFade 0.3s ease-in-out;
}

.popup-content h3 {
  margin-bottom: 15px;
  color: #111a2c;
}

.popup-content p {
  color: #555;
  margin-bottom: 20px;
}

/* Close Button */
.popup-close {
  padding: 10px 25px;
  border: none;
  background: #007BFF;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.popup-close:hover {
  background: #0056b3;
}

/* Popup Animation */
@keyframes popupFade {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 10000; /* very high so it’s above everything */
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp icon inside button */
.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Hover effect */
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

/* Desktop adjustments */
@media (min-width: 769px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
  }
  .whatsapp-float img {
    width: 35px;
    height: 35px;
  }
}


