:root {

    --c1:  #030712;
    --c2:  #111827;
    --c3:  #1f2937;
    --c4:  #273449;
    --c5:  #374151;
    --c6:  #4b5563;
    --c7:  #2563eb;
    --c8:  #3b82f6;
    --c9:  #60a5fa;
    --c10: #1e293b;
    --c11: #334155;

    --light: #0f172a;

    --white: #ffffff;
    --black: #f1f5f9;

    --success: #22c55e;
    --danger: #ef4444;
    --background1: #081120;
    --background2: #0a0f1f;
}


body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: var(--background1);
}

/* ==============================
   PERFORMANCE OPTIMIZATION RESET
================================ */

/* Use GPU acceleration only where needed */
* {
  box-sizing: border-box;
}

/* Smooth scrolling (native, lightweight) */
html {
  scroll-behavior: smooth;
}

/* Prevent layout thrashing */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reduce repaint cost */
section {
  contain: layout paint;
}

/* Disable heavy transitions globally */
* {
  transition: background-color 0.2s ease,
              color 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.2s ease;
}

/* Prefer transform instead of top/left */
.card,
.portfolio-item,
.service-card,
.why-card {
  will-change: transform;
}


/* Section reveal animation */
section {
  opacity: 0;
  transform: translateY(30px);
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Sticky Navbar */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.custom-navbar {
    background: linear-gradient(
    135deg,
    #050816 0%,
    #0a1024 35%,
    #101b36 100%
);
    padding: 14px 24px;
}

/* Layout */
.nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    height: 70px;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
}

/* Center Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0 auto;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #eaf6ff;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.nav-menu li.active a,
.nav-menu a:hover {
    color: var(--c8);
    text-decoration: none;                                                                                                                                                                                                ;
}

/* Dropdown */
.dropdown {
    position: relative; /* REQUIRED */
}

.dropdown-menu {
    position: absolute;
    top: 38px;
    left: 0;
    background: var(--c2);
    border-radius: 10px;
    padding: 10px 0;
    display: none;
    min-width: 220px;
    z-index: 999;
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* 🔑 INVISIBLE HOVER BRIDGE (FIX) */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

/* LINKS */
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: var(--c5);
}



/* CTA Button */
.get-quote-btn {
    padding: 10px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--c8), var(--c10));
    color: var(--c1);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.get-quote-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--c10), var(--c7));
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

/* Drawer Overlay */
#drawerOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    z-index: 998;
}

#drawerOverlay.active {
    display: block;
}

/* Mobile Drawer */
#mobileDrawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: linear-gradient(180deg, var(--c1), var(--c6));
    padding: 20px;
    z-index: 999;
    transition: left 0.4s ease;
}

#mobileDrawer.active {
  color: var(--white);
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.drawer-header img {
    height: 36px;
}

.drawer-header button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
}

.drawer-menu {
    list-style: none;
    padding: 0;
}

.drawer-menu li {
    padding: 12px 0;
    color: #eaf6ff;
    font-weight: 500;
}
.drawer-menu li a {
    padding: 12px 0;
    color: var(--white);
    font-weight: 500;
}
.drawer-menu li.active a {
    padding: 12px 0;
    color: var(--c10);
}

.issue-card{
  background:var(--white);
transition:0.35s ease;
border-radius:12px; 
padding:1.6rem; 
box-shadow: 0 8px 20px 2px rgba(1, 50, 34, 0.18);

}

.issue-card H5{
  color: var(--c1);
}

.issue-card p{
  color: var(--white);
}
.issue-card:hover{
  background:var(--c1);
color:var(--white) !important;
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.18);
}

.issue-card:hover h5{
  color: var(--c8);
}
.issue-card:hover p{
  color:var(--white) !important;
}


.drawer-menu li.active {
    color: var(--c1);
}

.drawer-submenu {
    list-style: none;
    padding-left: 16px;
    margin-top: 8px;
}

.drawer-submenu li {
    font-size: 0.9rem;
    color: var(--c9);
}

.drawer-cta {
    margin-top: 30px;
    text-align: center;
}

/* Hero Base */
.hero-upgrade {
  width: 100%;
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
  padding: 140px 20px;
  overflow: hidden;
}

.hero-container {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  height: 80vh;
}

/* Allow clicks ONLY on content */
.slide {
  pointer-events: none;
}

.slide .content,
.slide .hero-actions,
.slide .hero-primary {
  pointer-events: auto;
}

/* Ensure button is above everything */
.hero-actions {
  position: relative;
  z-index: 10;
}

.hero-primary {
  position: relative;
  z-index: 11;
}



.slides {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

/* Backgrounds */
.bg-one {
 background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
}

.bg-two {
 background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
}

.bg-three {
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
}


.content {
  color: var(--black);
  max-width: 45%;
  animation: fadeInUp 1.2s ease;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-primary {
 padding: 12px 24px;
  border: none;
  background: var(--c8);
  color: var(--white);
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
}

.content span {
  color: var(--c8);
}

.content button {
  padding: 12px 24px;
  border: none;
  background: var(--c1);
  color: var(--white);
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

.image {
  max-width: 45%;
  animation: fadeInRight 1.2s ease;
}

.image img {
  width: 100%;
  border-radius: 12px;
}

/* Navigation */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  font-size: 2rem;
  padding: 12px 16px;
  cursor: pointer;
  color: var(--white);
  z-index: 10;              /* 👈 ALWAYS ON TOP */
  opacity: 1;               /* 👈 NEVER FADES */
}

.prev { left: 20px; }
.next { right: 20px; }

/* Dots container */
.dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 10;              /* 👈 ALWAYS ON TOP */
  opacity: 1;               /* 👈 NEVER FADES */
}

/* Individual dots */
.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  display: inline-block;
  background: rgba(10, 0, 114, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.dot.active {
  background: var(--c8);
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .slide {
    flex-direction: column;
    text-align: center;
  }

  .content, .image {
    max-width: 100%;
  }

  .content h1 {
    font-size: 2rem;
  }

  .image {
    margin-top: 20px;
  }
}


/* Section Base */
.about-section {
    padding: 120px 6%;
    background: var(--background1);
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Images */
.about-images {
    position: relative;
    flex: 1;
}

.about-img {
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    object-fit: cover;
}

.main-img {
    width: 100%;
    max-width: 420px;
}

.overlay-img {
    width: 260px;
    position: absolute;
    bottom: -60px;
    left: 200px;
    border: 6px solid var(--white);
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    top: 30px;
    left: -40px;
    background: var(--c6);
    color: var(--white);
    padding: 20px 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.experience-badge span {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Content */
.about-content {
    flex: 1.2;
}

.about-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--c8);
    margin-bottom: 24px;
}

.about-description {
    color: var(--black);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Points */
.about-points {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.point {
    display: flex;
    gap: 20px;
}

.point i {
    font-size: 28px;
    color: var(--c8);
    min-width: 32px;
}

.point h5 {
    margin: 0 0 6px;
    color: var(--c9);
}

.point p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--black);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        gap: 60px;
    }

    .overlay-img {
        position: static;
        margin-top: 20px;
    }

    .experience-badge {
        position: static;
        margin: 20px 0;
        display: inline-block;
    }

    .about-content h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .about-description {
        text-align: center;
    }
}

/* Section Base */
.services-section {
    padding: 120px 6%;
    background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
}

.services-container {
    max-width: 1200px;
    margin: auto;
}

/* Header */
.services-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}

.services-header h2 {
    font-size: 2.7rem;
    color: var(--c8);
    margin-bottom: 16px;
}

.services-header p {
    color: var(--black);
    line-height: 1.7;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

/* Card */
.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    overflow: hidden;
}

/* Accent line */
.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--c6), var(--c8));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Icon */
.service-card i {
    font-size: 38px;
    color: var(--c8);
    margin-bottom: 22px;
    transition: transform 0.35s ease;
}

/* Hover */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.15);
}

.service-card:hover i {
    transform: scale(1.1);
}

/* Text */
.service-card h4 {
    color: var(--c2);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--c1);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-header h2 {
        font-size: 2.2rem;
    }
}

/* Section Base */
.business-banner {
  padding: 120px 6%;
  background: var(--background2);
}

.banner-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* LEFT SIDE */
.banner-left {
  position: relative;
  flex: 1;
}

.image-grid {
  display: grid;
  grid-template-columns: 380px 260px;
  grid-template-rows: 200px 200px;
  gap: 24px;
}

.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.img.tall {
  grid-row: span 2;
}

.img.wide {
  grid-column: span 1;
}

/* Experience Badge */
.experience-badge {
  position: absolute;
  bottom: -40px;
  left: 40px;
  width: 150px;
  height: 150px;
  background: var(--c3);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.experience-badge h3 {
  font-size: 2.2rem;
  margin: 0;
}

.experience-badge p {
  margin: 0;
  font-size: 0.9rem;
}

/* RIGHT SIDE */
.banner-right {
  flex: 1;
}

.banner-right h2 {
  font-size: 2.9rem;
  font-weight: 700;
  color: var(--c8);
  margin-bottom: 24px;
  line-height: 1.2;
}

.banner-text {
  color: var(--black);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Stats */
.banner-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
}

.stat-card {
  background: var(--white);
  padding: 22px 26px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.stat-card h4 {
  margin: 0;
  color: var(--c2);
  font-size: 1.6rem;
}

.stat-card span {
  font-size: 0.85rem;
  color: var(--c1);
}

/* CTA */
.banner-cta {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--c6), var(--c8));
  color: var(--white);
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 992px) {
  .banner-wrapper {
    flex-direction: column;
    gap: 70px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .img.tall {
    grid-row: auto;
  }

  .experience-badge {
    position: static;
    margin: 30px auto 0;
  }

  .banner-right h2 {
    text-align: center;
    font-size: 2.4rem;
  }

  .banner-text {
    text-align: center;
  }

  .banner-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .banner-cta {
    display: block;
    margin: auto;
  }
}

/* Section Base */
.why-choose-section {
  padding: 120px 6%;
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
}

.why-container {
  max-width: 1200px;
  margin: auto;
}

/* Header */
.why-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}

.why-header h2 {
  font-size: 2.7rem;
  color: var(--c8);
  margin-bottom: 16px;
}

.why-header p {
  color: var(--black);
  line-height: 1.7;
}

/* Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* Card */
.why-card {
  background: var(--c2);
  padding: 42px 34px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* Accent Line */
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c8), var(--c10));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.why-card:hover::before {
  transform: scaleX(1);
}

/* Icon */
.why-card i {
  font-size: 40px;
  color: var(--c8);
  margin-bottom: 22px;
  transition: transform 0.35s ease;
}

/* Hover */
.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.why-card:hover i {
  transform: scale(1.1);
}

/* Text */
.why-card h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-header h2 {
    font-size: 2.2rem;
  }
}

/* Section */
.portfolio-section {
  padding: 120px 6%;
  background: var(--background1);
}

.portfolio-container {
  max-width: 1200px;
  margin: auto;
}

/* Header */
.portfolio-header {
  text-align: center;
  margin-bottom: 50px;
}

.portfolio-header h2 {
  color: var(--black);
  font-size: 2.7rem;
}

.portfolio-header p {
  color: var(--black);
}

/* Tabs */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #01497c;
  color: var(--c10);
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #2c7da0, #61a5c2);
  color: var(--white);
}

/* Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  transition: opacity 0.25s ease;
}

/* Item */
.portfolio-item {
  background: var(--c2);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
}

.portfolio-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.portfolio-item h4 {
  color: var(--c8);
  margin: 14px 0 6px;
}

.portfolio-item p {
  color: var(--black);
  font-size: 0.85rem;
  padding-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}


/* Section */
.traffic-banner {
  padding: 120px 6%;
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
}

/* Container */
.traffic-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* Content */
.traffic-content {
  flex: 1;
}

.traffic-content h2 {
  color: var(--c8);
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.traffic-desc {
  color: var(--black);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Stats */
.traffic-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}

.stat span {
  display: block;
  color: var(--c8);
  font-size: 2rem;
  font-weight: 700;
}

.stat p {
  color: var(--black);
  font-size: 0.9rem;
}

/* CTA */
.traffic-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2c7da0, #61a5c2);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
}

.call span {
  color: var(--black);
  font-size: 0.85rem;
}

.call strong {
  color: var(--c8);
}

/* Visual */
.traffic-visual {
  flex: 1;
  position: relative;
}

/* Image */
.image-shape {
  width: 320px;
  height: 360px;
  overflow: hidden;
  border: 6px solid var(--c9);
}

.image-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Benefits Card */
.benefits-card {
  position: absolute;
  bottom: -40px;
  right: -20px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  width: 280px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.benefits-card h4 {
  margin-bottom: 16px;
  color: var(--c2);
}

.benefit {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.benefit .icon {
  font-size: 22px;
}

.benefit strong {
  color: var(--c8);
}

.benefit p {
  font-size: 0.85rem;
  color: var(--light);
}

/* Responsive */
@media (max-width: 992px) {
  .traffic-container {
    flex-direction: column;
    text-align: center;
  }

  .traffic-stats {
    justify-content: center;
  }

  .traffic-cta {
    justify-content: center;
  }

  .traffic-visual {
    margin-top: 60px;
  }

  .benefits-card {
    position: static;
    margin: 30px auto 0;
  }
}

/* Section reveal animation */
.traffic-banner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.traffic-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-section {
  padding: 120px 6%;
  background: var(--background1);
}

.pricing-container {
  max-width: 1400px;
  margin: auto;
}

.pricing-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}

.pricing-header h2 {
  color: var(--c8);
  font-size: 2.6rem;
}

.pricing-header p {
  color: var(--black);
  margin-top: 10px;
}

/* Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

/* Card */
.pricing-card {
  background: var(--white);
  border-radius: 22px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

/* Featured */
.pricing-card.featured {
  background: var(--c2);
  color: var(--c8);
}

.pricing-card.featured .features li {
  color: var(--c9);
}

/* Price */
.price-badge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--c2);
  color: var(--white);
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.price-badge span {
  font-size: 0.85rem;
}

.price-badge.highlight {
  background: var(--c8);
}

.plan-sub {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 20px;
}

body.modal-open {
  overflow: hidden;
}


/* Modal Overlay */
.plan-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

/* Active State */
.plan-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Box */
.plan-box {
  background: var(--background2);
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  padding: 30px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

/* Slide Up Animation */
.plan-modal.active .plan-box {
  transform: translateY(0);
}
.confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000;
}

.confirm-modal.active {
  opacity: 1;
  visibility: visible;
}

.confirm-box {
  background: var(--white);
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.confirm-modal.active .confirm-box {
  transform: scale(1);
}

.confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-cancel,
.btn-confirm {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

.btn-cancel {
  background: #e0e0e0;
}

.btn-confirm {
  background: #9b2226; /* use your brand primary */
  color: var(--white);
}


/* Features */
.features {
  text-align: left;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.features li {
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.features li.yes::before {
  content: "✔ ";
  color: var(--success);
  font-weight: bold;
}

.features li.no::before {
  content: "✖ ";
  color: var(--danger);
  font-weight: bold;
}

/* Buttons */
.btn-primary,
.btn-accent {
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: var(--c2);
  color: var(--white);
}

.btn-accent {
  background: var(--c8);
  color: var(--white);
}

/* Responsive */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pricing-section.visible {
  opacity: 1;
  transform: translateY(0);
}


#insights{
  margin-top: 50px;
  background: linear-gradient(
    135deg,
    #050816 0%,
    #0a1024 35%,
    #101b36 100%
); 
padding: 1.6rem;
margin-bottom: 50px;
  
}

#insights .container{
margin-top: 50px;
margin-bottom: 50px;
}

#insights h2{
  color: var(--c8);
}

#insights p {
  color: var(--black);
}

.digital-services-section{
  background: var(--background1); margin-top: 50px;
}

.digital-services-section .container h3{
 color: var(--c8);
}

.digital-services-section .container p{
  color: var(--black);
}

.digital-services-section .container ul li{
  color: var(--black);
}

 /* ===== Device Assistance Section Styles ===== */
    .da-services-section {
      padding: 4rem 1.5rem;
      max-width: 1600px;
      margin: auto;
    }

    .da-services-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .da-services-header h2 {
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      color: #0f172a;
      margin-bottom: 0.75rem;
    }

    .da-services-header p {
      max-width: 760px;
      margin: auto;
      color: #475569;
      font-size: 1rem;
    }

    .da-services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2rem;
    }

    .da-service-card {
      background: var(--white);
      border-radius: 18px;
      padding: 2.2rem 1.8rem 2.6rem;
      text-align: center;
      box-shadow: 0 10px 25px rgba(0,0,0,0.06);
      transition: all 0.35s ease;
      opacity: 0;
      transform: translateY(60px);
    }

    .da-service-card img{
      width: 100%;
    }

    .da-service-card.da-show {
      opacity: 1;
      transform: translateY(0);
    }

    /* Scroll directions */
    .da-from-left {
      transform: translateX(-80px);
    }

    .da-from-right {
      transform: translateX(80px);
    }

    .da-from-left.da-show,
    .da-from-right.da-show {
      transform: translateX(0);
    }

    /* Hover */
    .da-service-card:hover {
      transform: translateY(-12px);
      box-shadow: 0 25px 45px rgba(0,0,0,0.12);
    }

    .da-service-card img {
      max-width: 180px;
      margin-bottom: 1.5rem;
      transition: transform 0.35s ease;
    }

    .da-service-card:hover img {
      transform: scale(1.08);
    }

    .da-service-card h3 {
      font-size: 1.25rem;
      color: #0f172a;
      margin-bottom: 0.6rem;
    }

    .da-service-card p {
      font-size: 0.95rem;
      line-height: 1.6;
      color: #475569;
      margin-bottom: 1.6rem;
    }

    .da-service-card a {
      display: inline-block;
      padding: 0.65rem 1.8rem;
      border-radius: 30px;
      border: 2px solid var(--c3);
      color: #1e40af;
      text-decoration: none;
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }

    .da-service-card a:hover {
      background: var(--c1);
      color: var(--white);
    }

    @media (max-width: 600px) {
      .da-services-section {
        padding: 3rem 1rem;
      }
    }

/* our services */

/* ===============================
   ASSIST SECTION
================================ */

.qs-assist-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
}

.qs-assist-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
}

.qs-assist-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--c1);
  margin-bottom: 15px;
}

.qs-assist-header p {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.7;
}

/* Grid */
.qs-assist-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  justify-items: center;
}

/* Item */
.qs-assist-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.qs-assist-item:hover {
  transform: translateY(-8px);
}

.qs-assist-item span {
  display: block;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* Circle */
.qs-assist-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.qs-assist-circle img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

/* Hover effect */
.qs-assist-item:hover .qs-assist-circle {
  box-shadow: 0 28px 60px rgba(10,54,157,0.25);
}

.qs-assist-item:hover img {
  transform: scale(1.1);
}

/* ===============================
   SCROLL ANIMATIONS
================================ */

.qs-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.qs-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
  .qs-assist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .qs-assist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qs-assist-header h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .qs-assist-grid {
    grid-template-columns: 1fr;
  }
}
/* ends */

/* Section */
.client-testimonial {
  padding: 120px 6%;
  background: linear-gradient(
    135deg,
    #050816 0%,
    #0a1024 35%,
    #101b36 100%
);
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.client-testimonial.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-wrapper {
  max-width: 1200px;
  margin: auto;
}

/* Header */
.testimonial-header {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.testimonial-header .tag {
  color: var(--c8);
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-header h2 {
  color: var(--black);
  font-size: 2.6rem;
}

.testimonial-header .right {
  max-width: 500px;
  color: var(--black);
}

/* Slider */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  display: flex;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(135deg, #ffffff, #eef6fb);
  border-radius: 20px;
  align-items: center;
}

/* Image */
.image-box {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--c8);
  flex-shrink: 0;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.content-box .quote {
  font-size: 1.1rem;
  color: var(--c1);
  margin-bottom: 16px;
}

.stars {
  color: #fbbf24;
  margin-bottom: 12px;
}

.content-box h4 {
  margin: 0;
  color: var(--c1);
}

.content-box span {
  color: var(--black);
  font-size: 0.85rem;
}

/* Navigation */
.nav-buttons {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 12px;
}

.nav-buttons button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--c8);
  color: var(--black);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-header {
    text-align: center;
  }

  .testimonial-slide {
    flex-direction: column;
    text-align: center;
  }

  .image-box {
    width: 160px;
    height: 160px;
  }

  .nav-buttons {
    position: static;
    justify-content: center;
    margin-top: 20px;
  }
}


.plan-modal-box {
  background: var(--white);
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  padding: 30px;
  animation: fadeIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  color: var(--c8);
}

.plan-modal .form-group label {
    color: var(--c8) !important;
}

.close-modal {
  font-size: 24px;
  cursor: pointer;
}

.info-text {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--black);
}

.form-group {
  margin-bottom: 18px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.form-group small {
  font-size: 13px;
  display: block;
  margin-top: 5px;
}

.full-width {
  width: 100%;
}

@keyframes fadeIn {
  from { opacity:0; transform:translateY(10px); }
  to { opacity:1; transform:translateY(0); }
}

@media(max-width:480px){
  .plan-modal-box {
    padding:20px;
  }
}


/* Footer Base */
.site-footer {
  width: 100%;
  background: var(--background1);
  color: var(--white);
  padding-top: 70px;
}

/* Container */
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px;
  align-items: start; /* KEY FIX */
}

/* Columns */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h3, span,
.footer-col h4 {
  margin-bottom: 14px;
  color: var(--c8);
}

.footer-col ul li{
  color: var(--black);
}

/* Brand Column */
.footer-brand {
  gap: 12px;
}

/* Image */
.footer-image {
  height: 70px;              /* FIXED HEIGHT */
  border-radius: 10px;
  margin-right: 20px;
}

.footer-payments {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 equal columns */
  gap: 15px;
  align-items: center;
}

.footer-payments img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.3s ease;
}
.footer-payments img {
  max-width: 100%;
  display: block;
}

.footer-payments img:hover {
  opacity: 1;
  transform: scale(1.05);
}


/* ===============================
   DISCLAIMER
================================ */
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 15px;
  margin-top: 10px;
  text-align: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-disclaimer p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 10px;
}

.footer-disclaimer strong {
  color: var(--white);
}

.footer-disclaimer-image {
  margin-top: 20px;
  text-align: center;
}

.footer-disclaimer-image img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: inline-block;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-disclaimer-image img:hover {
  opacity: 1;
  transform: scale(1.05);
}


/* Text */
.footer-col p {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Lists */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--c8);
  transform: translateX(6px);
}

/* Contact */
.contact-info li {
  font-size: 0.9rem;
  color: var(--c10);
}

/* Bottom */
.footer-bottom {
  width: 100%;
  background: rgba(0,0,0,0.15);
  padding: 30px 60px;
  text-align: left;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--black);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-image {
    height: 140px;
  }

  .footer-col ul li a:hover {
    transform: none;
  }
}

/* about us page */

/* =========================
   ABOUT PAGE BANNER
========================= */
.about-page-banner {
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
  padding: 140px 20px;
  text-align: center;
  color: var(--c8);
}

.page-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.about-page-banner h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.about-page-banner p {
  max-width: 600px;
  margin: auto;
  color: var(--white);
  line-height: 1.7;
}

/* =========================
   ABOUT COMPANY
========================= */
.about-company {
  padding: 110px 20px;
}

.about-company-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-company-image img {
  width: 100%;
  border-radius: 20px;
}

.about-company-content h2 {
  color: var(--c8);
  margin-bottom: 18px;
}
.about-company-content h4 {
  color: var(--c8);
  margin-bottom: 18px;
}

.about-company-content ul li{
  color: var(--black);
}

.about-company-content p {
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--black);
}

/* =========================
   OUR MISSION
========================= */
.our-mission {
  padding: 110px 20px;
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
}

.mission-container {
  max-width: 1200px;
  margin: auto;
}

.mission-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.mission-header h2 {
  color: var(--c8);
}

.mission-header p {
  color: var(--black);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.mission-card {
  background: var(--white);
  padding: 32px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.mission-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.mission-card h4 {
  color: var(--c1);
  margin-bottom: 10px;
}

.mission-card p {
  font-size: 0.9rem;
  color: var(--c1);
}

/* =========================
   SCROLL ANIMATION
========================= */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .about-company-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .about-page-banner h1 {
    font-size: 2.2rem;
  }
}

/* Section */
.pricing-faq {
  padding: 110px 20px;
background: radial-gradient(
    circle at top,
    #1e3a8a20 0%,
    #0a1024 35%,
    #050816 100%
);
}

/* Container */
.faq-container {
  max-width: 900px;
  margin: auto;
}

/* Header */
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-container .faq-header h2 {
  color: var(--c8);
  font-size: 2.4rem;
}

.faq-header p {
  color: var(--black);
  max-width: 600px;
  margin: 10px auto 0;
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Item */
.faq-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Question */
.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--c8);
}

/* Answer */
.faq-list .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 0.95rem;
  color: var(--c1);
  line-height: 1.6;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

/* Active */
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* Scroll Animation */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
  .faq-question {
    font-size: 0.95rem;
  }
}

/* Section */
.contact-section {
  padding: 120px 20px;
  background: radial-gradient(
    circle at top,
    #1e3a8a20 0%,
    #0a1024 35%,
    #050816 100%
);
}

/* Layout */
.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* Image */
.contact-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Form */
.contact-form-wrapper h2 {
  color: var(--c8);
  margin-bottom: 10px;
}

.contact-form-wrapper p {
  color: var(--black);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c8);
}

.error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 4px;
}

.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-box {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
}

.popup-box h3 {
  color: #012a4a;
}

.popup-box button {
  margin-top: 20px;
  padding: 10px 30px;
  border: none;
  background: #012a4a;
  color: var(--white);
  border-radius: 30px;
  cursor: pointer;
}


/* Button */
.submit-btn {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* Scroll Animation */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Banner */
.portfolio-banner {
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
  padding: 140px 20px;
  text-align: center;
  color: var(--c8);
}

.page-tag {
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
}

.portfolio-banner h1 {
  font-size: 3rem;
  margin: 16px 0;
}

.portfolio-banner p {
  max-width: 600px;
  margin: auto;
  color: var(--white);
}

/* Banner */
.services-banner {
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
  padding: 140px 20px;
  text-align: center;
  color: var(--c8);
}

.page-tag {
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
}

.services-banner h1 {
  font-size: 3rem;
  margin: 18px 0;
}

.services-banner p {
  max-width: 650px;
  margin: auto;
  color: var(--white);
}

/* Sections */
.services-overview,
.services-detail,
.services-cta {
  padding: 110px 20px;
}

.services-container {
  max-width: 1200px;
  margin: auto;
}

/* Overview */
.overview-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  
}

.overview-header h2{
  color: var(--c8);
}

.overview-header p{
  color: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.overview-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.overview-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.overview-card h4 {
  padding: 16px 20px 6px;
  color: var(--c1);
}

.overview-card p {
  padding: 0 20px 20px;
  color: var(--c1);
}

/* Detailed Services */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-image img {
  width: 100%;
  border-radius: 20px;
}

.service-content h3 {
  color: var(--c8);
  margin-bottom: 14px;
}

.service-content p {
  color: var(--black);
  margin-bottom: 16px;
}

.service-content ul {
  padding-left: 18px;
}

.service-content ul li {
  margin-bottom: 8px;
  color: var(--black);
}

/* CTA */
.services-cta {
  background: linear-gradient(180deg, var(--c1), var(--c2));
  color: var(--white);
  text-align: center;
}

.cta-box h2{
  color: var(--c8);
}

.services-cta p {
  color: var(--white);
  margin: 12px 0 24px;
}
.services-cta h2 {
  color: var(--c8);
  margin: 12px 0 24px;
}

.cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--c1);
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

/* Scroll Animation */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-row.reverse {
    direction: ltr;
  }
}

/* HERO */
.service-hero {
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
  padding: 150px 20px;
  text-align: center;
  color: var(--c1);
}

.service-tag {
  background: rgba(255,255,255,0.15);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
}

.service-hero h1 {
  font-size: 3rem;
  margin: 20px 0;
}

.service-hero p {
  max-width: 650px;
  margin: auto;
  color: var(--c1);
}

.service-hero-content h1{
  color: var(--c8);
}

.service-hero-content p{
color: var(--black);
}

/* SECTIONS */
.service-container {
  max-width: 1200px;
  margin: auto;
  padding: 110px 20px;
}

.center {
  text-align: center;
  margin-bottom: 60px;
}

/* INTRO */
.service-intro .service-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-container h2, .intro-content h2 {
  color: var(--c8);
}

.intro-content p{
  color: var(--white);
}

.intro-image img {
  width: 100%;
  border-radius: 20px;
}

/* FEATURES */
/* FEATURES */

.features-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

/* CARD */

.feature-card{
    position:relative;
    overflow:hidden;

    background:var(--white);
    padding:34px;
    border-radius:20px;
    text-align:center;

    box-shadow:0 20px 40px rgba(0,0,0,.08);

    cursor:pointer;

    opacity:0;
    transform:translateY(100px);

    transition:
        transform 1s cubic-bezier(.16,1,.3,1),
        opacity 1s ease,
        box-shadow .6s ease;
}

/* Scroll Reveal Active */

.feature-card.show{
    opacity:1;
    transform:translateY(0);
}

/* Shine Effect */

.feature-card::before{
    content:"";
    position:absolute;
    top:-100%;
    left:-100%;

    width:200%;
    height:200%;

    background:linear-gradient(
        135deg,
        transparent 40%,
        rgba(255,255,255,.4) 50%,
        transparent 60%
    );

    transform:rotate(25deg);

    transition:1s ease;

    pointer-events:none;
}

/* Icon */

.feature-card i{
    font-size:36px;
    color:var(--c8);
    margin-bottom:14px;

    transition:
        transform .6s ease,
        color .4s ease;
}

/* Heading */

.feature-card h4{
    margin-bottom:15px;
    transition:.4s ease;
}

/* Paragraph */

.feature-card p{
    transition:.4s ease;
}

/* Hover */

.feature-card:hover{
    transform:translateY(-15px);
    box-shadow:
        0 30px 70px rgba(0,0,0,.15);
}

.feature-card:hover::before{
    top:100%;
    left:100%;
}

.feature-card:hover i{
    transform:
        translateY(-5px)
        scale(1.15)
        rotate(8deg);
}

.feature-card:hover h4{
    transform:translateY(-3px);
}

.feature-card:hover p{
    transform:translateY(-2px);
}

/* Stagger Delays */

.feature-card:nth-child(1){
    transition-delay:.1s;
}

.feature-card:nth-child(2){
    transition-delay:.2s;
}

.feature-card:nth-child(3){
    transition-delay:.3s;
}

.feature-card:nth-child(4){
    transition-delay:.4s;
}

.feature-card:nth-child(5){
    transition-delay:.5s;
}

.feature-card:nth-child(6){
    transition-delay:.6s;
}

/* Responsive */

@media(max-width:992px){

    .features-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .features-grid{
        grid-template-columns:1fr;
    }

}

/* PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
}

.process-step {
  background: #f7fbff;
  padding: 32px;
  border-radius: 20px;
}

.process-step span {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--c8);
}

/* TECH */
.tech-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

/* CARD */

.tech-card{
    position:relative;
    overflow:hidden;

    background:linear-gradient(
        180deg,
        var(--c1),
        var(--c2)
    );

    color:var(--white);

    padding:20px;
    border-radius:16px;
    text-align:center;

    cursor:pointer;

    opacity:0;

    transform:
        translateY(80px)
        scale(.9)
        rotate(-5deg);

    transition:
        transform 1s cubic-bezier(.16,1,.3,1),
        opacity 1s ease,
        box-shadow .5s ease;

    animation:
        techFloat 4s ease-in-out infinite;
}

/* Reveal */

.tech-card.show{
    opacity:1;

    transform:
        translateY(0)
        scale(1)
        rotate(0);
}

/* Glow Border */

.tech-card::before{
    content:"";
    position:absolute;
    inset:-2px;

    background:linear-gradient(
        45deg,
        rgba(255,255,255,.2),
        transparent,
        rgba(255,255,255,.2)
    );

    opacity:0;
    transition:.5s ease;
}

/* Floating Animation */

@keyframes techFloat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}

/* Hover */

.tech-card:hover{

    transform:
        translateY(-18px)
        rotate(4deg)
        scale(1.08);

    box-shadow:
        0 25px 50px rgba(0,0,0,.25),
        0 0 30px rgba(255,255,255,.15);
}

/* Glow */

.tech-card:hover::before{
    opacity:1;
}

/* Rocket Launch Effect */

.tech-card:hover h4,
.tech-card:hover h5,
.tech-card:hover h6{
    animation:rocket .8s ease;
}

@keyframes rocket{

    0%{
        transform:translateY(0);
    }

    30%{
        transform:translateY(-8px);
    }

    60%{
        transform:translateY(4px);
    }

    100%{
        transform:translateY(0);
    }

}

/* Wave Reveal Delays */

.tech-card:nth-child(1){
    transition-delay:.1s;
}

.tech-card:nth-child(2){
    transition-delay:.2s;
}

.tech-card:nth-child(3){
    transition-delay:.3s;
}

.tech-card:nth-child(4){
    transition-delay:.4s;
}

.tech-card:nth-child(5){
    transition-delay:.5s;
}

.tech-card:nth-child(6){
    transition-delay:.6s;
}

.tech-card:nth-child(7){
    transition-delay:.7s;
}

.tech-card:nth-child(8){
    transition-delay:.8s;
}

/* Responsive */

@media(max-width:992px){

    .tech-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .tech-grid{
        grid-template-columns:1fr;
    }

}

/* CTA */
.service-cta {
  background: linear-gradient(180deg, var(--c1), var(--c2));
  text-align: center;
  padding: 120px 20px;
  color: var(--white);
}

.cta-btn {
  background: var(--white);
  color: var(--c1);
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

/* SCROLL ANIMATION */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .service-intro .service-container,
  .features-grid,
  .process-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .service-hero h1 {
    font-size: 2.2rem;
  }
}

/* Section */
.service-faq {
  padding: 110px 20px;
  background:
radial-gradient(circle at top right,
rgba(59,130,246,.15) 0%,
transparent 30%),
radial-gradient(circle at bottom left,
rgba(96,165,250,.10) 0%,
transparent 25%),
#080d18;
}

/* Container */
.faq-container {
  max-width: 900px;
  margin: auto;
}

/* Header */
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header h2 {
  color: var(--c1);
}

.faq-header p {
  color: var(--black);
  max-width: 600px;
  margin: 10px auto 0;
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Item */
.faq-item {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Question */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  color: var(--c8);
  transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.6;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

/* Active */
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 26px 22px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Scroll Animation */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
  .faq-question {
    font-size: 0.95rem;
  }
}

/* HERO */
.dmx-hero {
  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #111827 100%
);
  padding: 140px 20px;
}

.dmx-hero-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dmx-hero-text {
  color: var(--c1);
}

.dmx-hero-text h1 {
  color: var(--c8);
}

.dmx-hero-text p {
  color: var(--white);
}

.dmx-tag {
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
}

.dmx-hero-image img {
  width: 100%;
  border-radius: 22px;
}

/* CONTAINER */
.dmx-container {
  max-width: 1200px;
  margin: auto;
  padding: 110px 20px;
}

.dmx-narrow {
  max-width: 800px;
}

.dmx-center {
  text-align: center;
  margin-bottom: 60px;
}

/* ABOUT */
.dmx-about {
 background: linear-gradient(
    135deg,
    #050816 0%,
    #0a1024 35%,
    #101b36 100%
);
}

.dmx-about .dmx-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.dmx-container h2{
color: var(--c8);
}
.dmx-about-content h2{
  color: var(--c8);
}

.dmx-about-content p {
  color: var(--white);
}

.dmx-about-image img {
  width: 100%;
  border-radius: 20px;
}

/* SERVICES */
.dmx-services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.dmx-service-card {
  background: var(--white);
  padding: 34px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.dmx-service-card i {
  font-size: 34px;
  color: var(--c8);
  margin-bottom: 14px;
}

/* PROCESS */
.dmx-process {
  background: radial-gradient(
    circle at top,
    #1e3a8a20 0%,
    #0a1024 35%,
    #050816 100%
);
}

.dmx-process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
}

.dmx-cta-box h2{
color: var(--c8);
}

.dmx-process-step {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
}

/* FAQ */
.dmx-faq-item {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.dmx-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
}

.dmx-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  transition: 0.35s ease;
}

.dmx-faq-item.active .dmx-faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

/* CTA */
.dmx-cta {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  text-align: center;
  padding: 120px 20px;
  color: var(--white);
}

.dmx-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 36px;
  background: var(--c8);
  color: #012a4a;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

.dmx-btn.light {
  background: var(--white);
}

/* ANIMATION */
.dmx-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.dmx-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .dmx-hero-container,
  .dmx-about .dmx-container,
  .dmx-services-grid,
  .dmx-process-grid {
    grid-template-columns: 1fr;
  }
}

/* HERO */
.privacy-hero {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  padding: 140px 20px;
  text-align: center;
  color: var(--white);
}

.privacy-hero-content h1 {
    color: var(--c8);
}

.privacy-hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;

}



.privacy-hero p {
  max-width: 650px;
  margin: auto;
  color: var(--black);
}

/* CONTENT */
.privacy-content {
  padding: 110px 20px;
background: radial-gradient(
    circle at top,
    #1e3a8a20 0%,
    #0a1024 35%,
    #050816 100%
);
}

.privacy-container {
  max-width: 1200px;
  margin: auto;
}

.privacy-block {
  background:
radial-gradient(circle at top right,
rgba(59,130,246,.15) 0%,
transparent 30%),
radial-gradient(circle at bottom left,
rgba(96,165,250,.10) 0%,
transparent 25%),
#080d18;
  padding: 34px;
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.privacy-block h2 {
  color: var(--c8);
  margin-bottom: 14px;
}

.privacy-block p,
.privacy-block li {
  color: var(--black);
  line-height: 1.7;
}

.privacy-block ul {
  padding-left: 18px;
}

/* SCROLL ANIMATION */
.privacy-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.privacy-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .privacy-hero h1 {
    font-size: 2.2rem;
  }

  .privacy-block {
    padding: 24px;
  }
}

/* HERO */
.terms-hero {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  padding: 140px 20px;
  text-align: center;
  color: var(--white);
}

.terms-hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.terms-hero p {
  max-width: 650px;
  margin: auto;
  color: var(--c10);
}

/* CONTENT */
.terms-content {
  padding: 110px 20px;
  background: #f7fbff;
}

.terms-container {
  max-width: 1200px;
  margin: auto;
}

.terms-block {
  background: var(--white);
  padding: 34px;
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.terms-block h2 {
  color: var(--c1);
  margin-bottom: 14px;
}

.terms-block p,
.terms-block li {
  color: var(--black);
  line-height: 1.7;
}

.terms-block ul {
  padding-left: 18px;
}

/* SCROLL ANIMATION */
.terms-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.terms-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .terms-hero h1 {
    font-size: 2.2rem;
  }

  .terms-block {
    padding: 24px;
  }
}

.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000;
}

.success-modal.active {
  opacity: 1;
  visibility: visible;
}

.success-box {
  background: var(--white);
  width: 100%;
  max-width: 400px;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.success-modal.active .success-box {
  transform: translateY(0);
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #28a745;
  color: var(--white);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTopBtn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: var(--c8); /* your brand primary */
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

#scrollTopBtn:hover {
  background: var(--black);
  color: var(--c1);
}

#scrollTopBtn.active {
  opacity: 1;
  visibility: visible;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #111;
  color: var(--white);
  padding: 15px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 9998;
}

.cookie-banner.active {
  display: flex;
}

.cookie-content {
  max-width: 900px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 14px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

.cookie-btn.accept {
  background: #9b2226;
  color: var(--white);
}

.cookie-btn.decline {
  background: var(--black);
  color: var(--white);
}

 .corporate-gallery-section{
    padding:6rem 0;
}

.gallery-header{
    text-align:center;
    max-width:50rem;
    margin:0 auto 3rem;
}

.gallery-tag{
    display:inline-block;
    padding:.6rem 1.2rem;
    background:var(--white);
    color:var(--c8);
    border-radius:50px;
    font-weight:600;
    margin-bottom:1rem;
}

.gallery-header h2{
    margin-bottom:1rem;
    color:var(--c8);
}

.gallery-header p{
    color:var(--black);
}

/* ==========================
   MASONRY GRID
========================== */

.gallery-grid{
    columns:4;
    column-gap:1.5rem;
}

/* ==========================
   GALLERY CARD
========================== */

.gallery-item{
    position:relative;
    margin-bottom:1.5rem;
    break-inside:avoid;
    overflow:hidden;
    border-radius:1rem;
    cursor:pointer;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    opacity:0;

    transition:
        transform 1.5s cubic-bezier(.16,1,.3,1),
        opacity 1.5s ease,
        box-shadow .8s ease;
}

/* Reveal Directions */

.reveal-top{
    transform:translateY(-120px);
}

.reveal-bottom{
    transform:translateY(120px);
}

.reveal-left{
    transform:translateX(-120px);
}

.reveal-right{
    transform:translateX(120px);
}

/* Active Reveal */

.gallery-item.show{
    opacity:1;
    transform:translate(0,0);
}

/* Shine Effect */

.gallery-item::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.25),
        transparent 60%
    );

    opacity:0;
    transition:.8s ease;

    z-index:1;
    pointer-events:none;
}

/* Image */

.gallery-item img{
    width:100%;
    height:auto;
    display:block;

    transition:
        transform 1s cubic-bezier(.16,1,.3,1),
        filter .8s ease;
}

/* Overlay */

.gallery-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.9),
        transparent
    );

    display:flex;
    align-items:flex-end;

    padding:1.5rem;

    opacity:0;
    transform:translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.gallery-overlay h4{
    color:#fff;
    margin:0;

    transform:translateY(15px);
    transition:.8s ease;
}

/* Hover */

.gallery-item:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}

.gallery-item:hover::before{
    opacity:1;
}

.gallery-item:hover img{
    transform:scale(1.12);
    filter:brightness(.9);
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
    transform:translateY(0);
}

.gallery-item:hover .gallery-overlay h4{
    transform:translateY(0);
}

/* ==========================
   LIGHTBOX
========================== */

.gallery-lightbox{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.95);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.4s ease;

    z-index:9999;
}

.gallery-lightbox.active{
    opacity:1;
    visibility:visible;
}

.lightbox-image{
    max-width:90vw;
    max-height:90vh;

    border-radius:1rem;

    transform:scale(.9);
    transition:.4s ease;
}

.gallery-lightbox.active .lightbox-image{
    transform:scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{
    position:fixed;

    width:3rem;
    height:3rem;

    border:none;
    border-radius:50%;

    background:#fff;

    cursor:pointer;

    font-size:1.25rem;

    transition:.3s ease;

    z-index:10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover{
    transform:scale(1.1);
}

.lightbox-close{
    top:1rem;
    right:1rem;
}

.lightbox-prev{
    left:1rem;
    top:50%;
    transform:translateY(-50%);
}

.lightbox-next{
    right:1rem;
    top:50%;
    transform:translateY(-50%);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:1200px){

    .gallery-grid{
        columns:3;
    }

}

@media(max-width:768px){

    .gallery-grid{
        columns:2;
    }

    .reveal-top,
    .reveal-bottom{
        transform:translateY(80px);
    }

    .reveal-left{
        transform:translateX(-80px);
    }

    .reveal-right{
        transform:translateX(80px);
    }

}

@media(max-width:576px){

    .gallery-grid{
        columns:1;
    }

    .lightbox-prev,
    .lightbox-next{
        width:2.5rem;
        height:2.5rem;
    }

}

.portfolio-link{
    text-decoration:none;
    color:inherit;
    display:block;
}



.portfolio-link:hover .portfolio-item{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.portfolio-link:hover .portfolio-item img{
    transform:scale(1.05);
}
