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

:root {
    --primary-purple: #667eea;
    --secondary-purple: #764ba2;
    --dark-purple: #4a148c;
    --light-purple: #9b87f5;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --border-color: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
    font-size: 15px; /* ↓ from 17px */
}


.container {
    max-width: 1140px; /* ↓ from 1200 */
    margin: 0 auto;
    padding: 0 18px;
}

h1 {
    font-family: 'Montserrat', sans-serif; /* only headings use Montserrat */
    
}


/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(123, 44, 255, 0.08);
}

/* Top gradient line */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #7b2cff, #9b5cff);
}

/* Inner container */
.nav-inner {
    max-width: 1280px;
    margin: auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

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

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 45px;
}

.nav-menu a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* Underline animation */
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #7b2cff, #9b5cff);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #7b2cff;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Active page */
.nav-menu a.active {
    color: #7b2cff;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Call button */
.call-btn a {
    padding: 12px 26px;
    background: linear-gradient(135deg, #7b2cff, #9b5cff);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    white-space: nowrap;
}

.call-btn a::after {
    display: none;
}

/* Fix for fixed navbar */
body {
    padding-top: 110px;
}
/* ===== LAPTOP/DESKTOP STYLING ===== */
@media (min-width: 993px) {
    .nav-inner {
        padding: 18px 40px;
        max-width: 1280px;
    }

    .nav-menu {
        gap: 45px;
    }
}

/* ===== MOBILE RESPONSIVENESS (KEEP AS IS) ===== */
@media (max-width: 992px) {
    .nav-inner {
        padding: 15px 25px;
    }

    .nav-menu {
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        padding: 15px 15px; /* Reduce padding to prevent right-side gaps */
        max-width: 100%; /* Allow full width */
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 45px;
    }

    .nav-menu {
        position: fixed;
        top: 95px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 95px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin-bottom: 25px;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: var(--light-bg);
        padding-left: 20px;
    }

    .call-btn a {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .mobile-toggle {
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #333;
        margin: 6px 0;
        transition: 0.3s;
        border-radius: 3px;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}


:root {
    --navbar-height: 95px;
}

.navbar {
    height: var(--navbar-height);
}

body {
    padding-top: var(--navbar-height);
}



.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 40%, rgba(147, 51, 234, 0.25), transparent 45%),
    radial-gradient(circle at 75% 60%, rgba(147, 51, 234, 0.18), transparent 50%);
  animation: heroGlow 10s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroGlow {
  from { opacity: 0.6; }
  to { opacity: 1; }
}



.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Laptop/Desktop specific improvements */
@media (min-width: 993px) {
  .hero-container {
    gap: 60px; /* Wider gap for better spacing on larger screens */
    align-items: center;
  }

  .hero-left h1 {
    font-size: 3.5rem; /* Slightly larger on laptops */
  }

  .hero-actions {
    gap: 20px; /* Slightly wider gap between buttons */
  }

  .btn {
    padding: 16px 32px; /* Slightly larger buttons on desktop */
  }
}

/* LEFT */
.hero-left h1 {
  font-size: 3.2rem;
  line-height: 1.2;
}

.hero-left h1 span {
  background: linear-gradient(135deg, #9333EA, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-left p {
  margin: 20px 0 30px;
  font-size: 1.1rem;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}


.btn.primary {
  background: linear-gradient(135deg, #9333EA, #6366F1);
  color: #fff;
  border: none;
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 10px 25px rgba(147, 51, 234, 0.35),
    0 0 20px rgba(99, 102, 241, 0.5);
}


.btn.outline {
  border: 2px solid #6366F1;
  color: #111;
  background: transparent;
}

.btn.outline:hover {
  background: linear-gradient(135deg, #9333EA, #6366F1);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 10px 25px rgba(147, 51, 234, 0.35),
    0 0 15px rgba(99, 102, 241, 0.45);
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transition: all 0.6s ease;
}

.btn:hover::after {
  left: 120%;
}

.hero-socials {
    display: flex;
    gap: 30px;           /* space between icons */
    margin-top: 25px;    /* space below buttons */
    align-items: center;
    padding-left: 30px;
}

.hero-socials .social-btn {
    color: #111; /* icon black */
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.hero-socials .social-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* underline position */
    width: 0%;
    height: 2px;
    background-color: #9333EA; /* purple underline */
    transition: width 0.3s ease;
}

.hero-socials .social-btn:hover::after {
    width: 100%;
}

/* RIGHT */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo Rotator Container */
.logo-rotator {
  position: relative;
  width: 280px;
  height: 280px;
}

/* Center Logo */
.logo-center {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.logo-center img {
  width: 90px;
  filter: drop-shadow(0 0 15px rgba(147, 51, 234, 0.7))
          drop-shadow(0 0 25px rgba(99, 102, 241, 0.5));
}

/* Pulsing Ring */
.pulse-ring {
  position: absolute;
  inset: 0;
  border: 3px solid #8b5cf6;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow:
      0 0 20px rgba(147, 51, 234, 0.6),
      0 0 40px rgba(99, 102, 241, 0.4);
}

/* Orbiting Dots */
.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #9333ea;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform-origin: -120px 0; /* radius of orbit */
  animation: spin 4s linear infinite;
  box-shadow:
      0 0 8px #9333ea,
      0 0 15px rgba(147, 51, 234, 0.5);
}

/* Different start delays for continuous spacing */
.dot1 { animation-delay: 0s; }
.dot2 { animation-delay: 1s; }
.dot3 { animation-delay: 2s; }
.dot4 { animation-delay: 3s; }

/* Animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.2; }
}

@keyframes spin {
  0% { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}


.logo-rotator svg {
  width: 100%;
  height: 100%;
  animation: spin 14s linear infinite;
}

.logo-rotator text {
  fill: #8b5cf6;
  font-size: 18px;
  letter-spacing: 3px;
}

.logo-center {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-center img {
  width: 90px;
}

/* FLOATING BOXES */
.float-box {
  position: absolute;
  background: linear-gradient(135deg, #7b2cff, #9b5cff);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  animation: float 4s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.box2 { bottom: 15%; right: 0; animation-delay: 1s; }
.box3 { top: 50%; right: -20px; animation-delay: 2s; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-outline {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Technologies Section */
.technologies-section {
    padding: 35px 0; /* reduced more */
    background: rgb(255, 255, 255);
    overflow: hidden;
}

.tech-container {
    position: relative;
    padding: 12px 0; /* reduced more */
}

.tech-icons {
    gap: 22px; /* slightly smaller gap */
}

.tech-icon {
    background: var(--white);
    padding: 12px; /* reduced more */
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 15px; /* slightly smaller text */
    color: var(--primary-purple);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tech-icon:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.15);
}
.section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    
}
.services-section {
    padding: 90px 0;
    background: var(--light-bg);
}

/* Section Title */
.section-subtitle {
    text-align: center;
    
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 18px;
}

/* Intro Text */
.services-intro {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    max-width: 880px;
    width: 100%; /* Allow full width up to max-width */
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 34px;
}

/* Laptop/Desktop specific improvements */
@media (min-width: 993px) {
  .services-grid {
    gap: 40px; /* Larger gap for better spacing on desktop */
  }

  .service-card {
    padding: 45px 32px; /* Slightly more padding on desktop */
  }
}




.service-card {
    position: relative;
    padding: 40px 28px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    text-align: center;

   /*  .service-card {
    min-height: 400px; 
    padding: 2.5rem;   /* adjust vertical spacing inside 
}
*/
    /* Animation base (unchanged) */
    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        background 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

/* Reveal on scroll */
.service-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Hover */
.service-card:hover {
    background: linear-gradient(135deg, #7b2cff, #9b5cff);
    transform: translateY(-12px);
    border-color: transparent;
    box-shadow: 0 25px 55px rgba(123, 44, 255, 0.45);
}

/* Shine overlay */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.25),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

/* Keep content above effects */
.service-card * {
    position: relative;
    z-index: 1;
}

/* ================= ICON ================= */
.service-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-purple));
    border-radius: 15px;
    padding: 1.2rem 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    font-size: 2rem;

    /* Floating animation base */
    animation: float 3s ease-in-out 0s infinite;
}

/* Add staggered animation for multiple icons */
.services-grid .service-icon-wrapper:nth-child(1) { animation-delay: 0s; }
.services-grid .service-icon-wrapper:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-icon-wrapper:nth-child(3) { animation-delay: 0.4s; }
.services-grid .service-icon-wrapper:nth-child(4) { animation-delay: 0.6s; }
.services-grid .service-icon-wrapper:nth-child(5) { animation-delay: 0.8s; }
.services-grid .service-icon-wrapper:nth-child(6) { animation-delay: 1s; }

/* Floating keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Icon hover effect */
.service-card:hover .service-icon-wrapper {
    transform: rotateY(360deg);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.6);
      background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}


/* ================= TITLE ================= */
.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1f2937;
    transition: color 0.4s ease;
}

.service-card:hover h3 {
    color: #ffffff;
}

/* ================= TEXT ================= */
.service-card p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #6b7280;
    transition: color 0.4s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .service-card {
        padding: 34px 24px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .service-card p {
        font-size: 15px;
    }

    .service-icon {
        font-size: 44px;
    }
}



/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /*3 per row */
    gap: 30px;
    max-width: 1000px;
    width: 100%; /* Allow full width up to max-width */
    margin: 0 auto;
    max-height: 1500px; /* Original desktop max-height */
}


/* Laptop/Desktop specific improvements */
@media (min-width: 993px) {
  .portfolio-grid {
    gap: 35px; /* Slightly larger gap on desktop */
  }

  .portfolio-item {
    height: 320px; /* Slightly taller items on desktop */
  }
}
.portfolio-section {
    padding: 70px 0;
    background: var(--white);
}


.portfolio-subtitle {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 60px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 18px;
}


.portfolio-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 60px;
}

.portfolio-tab {
    padding: 14px 35px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.portfolio-tab:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-3px);
}

.portfolio-tab.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}





/*old cards img code
.portfolio-item {
    position: relative;
    
    border-radius: 15px;
    
    height: 300px;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}
/*
/* .portfolio-item:hover { */
    /* transform: scale(1.03); */
    /* box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2); */
    /* border-color: var(--primary-purple); */
/* } */

.portfolio-item {
  position: relative;
  border-radius: 15px;
  height: 300px;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  border: 2px solid var(--border-color);
  cursor: pointer;
  overflow: hidden;
}

.portfolio-item:hover {
    border-color: var(--primary-purple);
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.portfolio-item.hidden,
.video-card.hidden {
  display: none;
}
.video-card img {
  display: block;
}
.video-thumb {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  
}

.play-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
}


/* Portfolio hover overlay */
/*
.portfolio-item::after {
    content: "+";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
      pointer-events: none;
    opacity: 0; /
}

.portfolio-item:hover::after {
    opacity: 1;
}
*/
.portfolio-item::after {
  content: "+";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portfolio-item:hover::after {
  opacity: 1;
}

/* Modal Styles */
.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.portfolio-modal.hidden {
  display: none;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-content.zoomed {
  transform: scale(1.5); /* Zoom effect */
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}
.video-card {
  position: relative;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #000; /* 👈 VERY IMPORTANT */
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}




/* Play overlay */
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .play-btn {
  opacity: 1;
}

/* Circular button */
.play-btn::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
}.video-wrapper {
  width: 90vw;
  max-width: 1600px;
  height: 90vh;
  max-height: 900px;
}

#videoFrame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}




/* ===============================
   PRICING SECTION STYLES
================================ */

#pricing {
    padding: 50px 0;
    background: var(--light-bg);
}

/* Pricing Header */
#pricing .pricing-title {
    font-size: 2.8rem;     
    font-weight: 700;         
    color: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    margin-bottom: 0.5rem;   
    text-align: center;       
}

#pricing .pricing-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

#pricing .pricing-description {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 650px;          /* Keeps the text compact */
    margin: 0 auto 3rem;       /* Center and space from tabs */
    text-align: center;
    line-height: 1.6;          /* More readable */
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 4rem;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 0.8rem 2rem;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-tab:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.pricing-tab.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(123,44,255,0.35);
}

.pricing-content {
    display: none;
}

.pricing-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    animation: fadeInUp 0.5s ease;
     max-width: 1140px;   /* 👈 critical */
    margin: 0 auto;
}

/* Laptop/Desktop specific improvements */
@media (min-width: 993px) {
  .pricing-content.active {
    gap: 2.5rem; /* Slightly larger gap on desktop */
  }

  .pricing-card {
    padding: 2.5rem; /* Slightly more padding on desktop */
  }
}

.pricing-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative;
      display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 25px 55px rgba(123,44,255,0.25);
}

.pricing-card.popular {
    border-color: var(--primary-purple);
    transform: none;
    
}

.pricing-card.popular::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: #fff;
    padding: 6px 18px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 700;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;

       animation: float 3s ease-in-out 0s infinite;
}

.price {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-button {
    width: 100%;
   padding: 0.85rem;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 2px solid var(--primary-purple);
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.pricing-button:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: #fff;
    transform: translateY(-2px);
}




.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem; /* smaller gap */
    margin-top: 2rem; /* smaller top margin */
    padding: 0 2rem; /* adds space from left and right edges */
    margin-bottom: 3rem;
}

/* Laptop/Desktop specific improvements */
@media (min-width: 993px) {
  .contact-container {
    gap: 3rem; /* Larger gap on desktop */
    padding: 0 3rem; /* More padding on desktop */
  }

  .contact-form {
    padding: 2rem; /* More padding on desktop */
  }
}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-item p:hover{
    color: var(--secondary-purple);
}
  
  .contact-item.active .contact-display {
    display: none;
  }
  
  .contact-item.active .contact-inline-form {
    display: block;
  }
  
.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
   padding: 1rem 1.2rem;

    background: rgb(238, 238, 238);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--secondary-purple);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-form {
    background: rgba(241, 241, 241, 0.6);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 15px;
    padding: 1.5rem 2rem;

    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-purple);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-purple);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-purple));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.5);
}






/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: #f9f9f9;
    color: var(black);
    text-align: center;
}

.cta-section h6 {
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.cta-section h2 {
    font-size: 48px;
    margin: 20px 0 40px;
    font-weight: 700;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--white);
    padding: 30px 0 20px;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
     gap: 28px;
    margin-bottom: 15px;
    align-items: start;
}

/* Laptop/Desktop specific improvements */
@media (min-width: 993px) {
  .footer-grid {
    gap: 40px; /* Larger gap on desktop */
  }

  .footer-col:first-child p {
    max-width: 420px; /* Slightly wider text area on desktop */
  }
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}
.footer-col:last-child {
    max-width: 300px;
}

.footer-col:nth-child(3),
.footer-col:nth-child(4) {
    margin-top: 0;
}
.footer-col:first-child p {
    max-width: 380px;
}


.footer-col a:hover {
    color: var(--light-purple);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 18px;
}

.newsletter-form input {
    flex: 1;
   padding: 10px 14px;
    border: none;
    border-radius: 30px 0 0 30px;
     font-size: 14px;
}

.newsletter-form button {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--white);
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13.5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


    /* Mobile-specific overrides */
@media (max-width: 768px) {
    .hero-container {
        display: grid;
        grid-template-columns: 1fr; /* Single column on mobile */
        grid-template-rows: auto auto auto auto; /* Define rows for different elements */
        grid-template-areas:
            "right" /* Logo and graphics first */
            "left"  /* Text content second */
            "actions" /* Buttons third */
            "socials"; /* Social icons last */
        padding: 0 20px;
        gap: 20px; /* Reduced gap for better mobile layout */
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 2;
        max-width: 100%; /* Allow full width on mobile */
        margin: 0 !important; /* Override desktop margin: auto */
        height: auto; /* Allow natural height */
    }

    .hero-left {
        grid-area: left;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Align to top */
        padding-top: 10px; /* Reduced padding */
        align-self: stretch; /* Stretch to full width */
    }

    .hero-right {
        grid-area: right;
        align-self: stretch; /* Stretch to full width */
        margin-top: 0; /* Remove any top margin */
    }

    .hero-actions {
        grid-area: actions;
        order: 3; /* Ensure buttons appear in the right order */
    }

    .hero-socials {
        grid-area: socials;
        order: 4; /* Ensure socials appear last */
    }


    .hero-left h1 {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 15px;
        text-align: center;
    }

    .hero-left h1 span {
        display: block;
        background: linear-gradient(135deg, #9333EA, #6366F1);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .hero-left p {
        font-size: 1.1rem;
        text-align: center;
        margin: 15px 0 25px;
        opacity: 0.9;
        max-width: 100%; /* Allow full width on mobile */
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%; /* Allow full width on mobile */
        align-items: center;
        margin-top: auto; /* Push buttons to the bottom */
        margin-bottom: 20px; /* Add some bottom margin */
    }

    .btn {
        width: 100%;
        padding: 15px 20px;
        text-align: center;
        font-size: 16px;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .btn.primary {
        box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
    }

    .btn.outline {
        border-width: 2px;
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
    }

    .btn:hover {
        transform: translateY(-3px) scale(1.02);
    }

    .hero-socials {
        justify-content: center;
        padding-left: 0;
        gap: 25px;
        margin-top: 15px;
    }

    .hero-socials .social-btn {
        font-size: 22px;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(147, 51, 234, 0.1);
        transition: all 0.3s ease;
    }

    .hero-socials .social-btn:hover {
        background: linear-gradient(135deg, #9333EA, #6366F1);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
    }

    .hero-socials .social-btn::after {
        display: none; /* Remove underline effect for circular buttons */
    }

    .logo-rotator {
        width: 200px;
        height: 200px;
        position: relative;
        margin: 0 auto;
    }

    .logo-center {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
    }

    .logo-center img {
        width: 75px;
        filter: drop-shadow(0 0 15px rgba(147, 51, 234, 0.7));
    }

    .pulse-ring {
        position: absolute;
        inset: 0;
        border: 2px solid #8b5cf6;
        border-radius: 50%;
        animation: pulse 2.5s ease-in-out infinite;
        box-shadow:
            0 0 20px rgba(147, 51, 234, 0.6),
            0 0 40px rgba(99, 102, 241, 0.4);
        z-index: 1;
    }

    .orbit-dot {
        position: absolute;
        width: 10px;
        height: 10px;
        background: #9333ea;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform-origin: -100px 0;
        animation: spin 4s linear infinite;
        box-shadow:
            0 0 8px #9333ea,
            0 0 15px rgba(147, 51, 234, 0.5);
        z-index: 5;
    }

    .dot2 { animation-delay: 1.33s; }
    .dot3 { animation-delay: 2.66s; }
    .dot4 { animation-delay: 4s; }

    .float-box {
        display: none; /* Hide floating boxes on mobile as they clutter the UI */
    }

    .section-title {
        font-size: 2rem;
        padding: 0 15px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
        gap: 20px;
        padding: 0 15px;
        max-height: none; /* Remove max-height restriction on mobile */
        height: auto; /* Allow natural height on mobile */
    }

    .portfolio-section {
        min-height: 900px; /* Add minimum height to prevent overlap on mobile */
        padding: 80px 0; /* Increase padding for better spacing on mobile */
    }

    .services-grid {
        grid-template-columns: repeat(1, 1fr); /* One column on mobile */
        gap: 25px;
    }

    .services-intro {
        font-size: 16px;
        padding: 0 15px;
    }

    .section-subtitle {
        font-size: 1.2rem;
        padding: 0 15px;
    }

    .services-section {
        padding: 60px 0;
    }

    /* Global mobile fixes to prevent right-side gaps */
    body {
        overflow-x: hidden;
        max-width: 100%;
        width: 100%;
    }

    *,
    *::before,
    *::after {
        max-width: 100%;
        box-sizing: border-box;
    }

    .pricing-tabs {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .pricing-tab {
        padding: 12px 20px;
        font-size: 14px;
    }

    .pricing-content {
        gap: 1.5rem;
    }

    .pricing-card {
        margin: 0 10px 20px;
    }

    /* Adjust pricing plan text to be smaller on mobile */
    .price {
        font-size: 2rem; /* Smaller price text on mobile */
    }

    .pricing-card h3 {
        font-size: 18px; /* Smaller heading on mobile */
    }

    .pricing-features li {
        font-size: 14px; /* Smaller feature text on mobile */
    }

    /* Adjust footer to be smaller on mobile */
    .footer-col h3, .footer-col h4 {
        font-size: 16px; /* Smaller heading in footer */
        margin-bottom: 8px;
    }

    .footer-col p {
        font-size: 13px; /* Smaller text in footer */
    }

    .footer-col a {
        font-size: 13px; /* Smaller link text in footer */
    }

    /* Two column layout for entire footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
        gap: 12px; /* Optimal gap for mobile spacing */
        padding: 10px 0; /* Reduced padding to decrease height */
    }

    /* Adjust individual columns to fit better in two-column layout */
    .footer-col {
        margin-bottom: 10px; /* Balanced spacing for mobile */
        padding: 0 5px; /* Reduced horizontal padding to save space */
    }

    /* Reset the last column to not span both - let everything be in 2 cols */
    .footer-col:last-child {
        grid-column: auto; /* Don't span both columns */
        padding: 0 5px; /* Consistent padding */
    }

    /* Make sure each column fits well in the two-column layout */
    .footer-col:nth-child(1),
    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) {
        break-inside: avoid; /* Prevent breaking inside elements */
    }

    /* Optimize newsletter form layout */
    .newsletter-form {
        display: flex;
        flex-direction: column; /* Stack input and button vertically */
        align-items: center; /* Center elements */
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%; /* Full width for better mobile experience */
        margin: 3px 0; /* Small margin between elements */
        padding: 8px 12px; /* Reasonable padding for mobile */
        font-size: 13px; /* Slightly smaller text */
    }

    .footer-bottom {
        font-size: 12px; /* Smaller footer bottom text */
        padding-top: 8px; /* Reduced padding */
    }


    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
    }

    .contact-form {
        padding: 1.5rem;
    }
}



@media (max-width: 480px) {
    /* Global mobile fixes to prevent right-side gaps */
    body {
        overflow-x: hidden;
        max-width: 100%;
        width: 100%;
    }

    *,
    *::before,
    *::after {
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-container {
        padding: 0 15px !important;
        gap: 25px;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .hero-left h1 {
        font-size: 2rem; /* Increased font size for better readability */
    }

    .hero-left p {
        font-size: 1rem;
        margin: 12px 0 20px;
    }

    .btn {
        padding: 14px 18px;
        font-size: 15px;
        border-radius: 10px;
    }

    .hero-actions {
        gap: 12px;
        max-width: 100%; /* Allow full width on mobile */
    }

    .hero-socials {
        gap: 20px;
    }

    .hero-socials .social-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .logo-rotator {
        width: 180px;
        height: 180px;
    }

    .logo-center img {
        width: 60px;
    }

    .pulse-ring {
        animation: pulse 2.8s ease-in-out infinite;
    }

    .orbit-dot {
        width: 8px;
        height: 8px;
        transform-origin: -85px 0;
    }

    .dot2 { animation-delay: 1.1s; }
    .dot3 { animation-delay: 2.2s; }
    .dot4 { animation-delay: 3.3s; }

    .portfolio-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .portfolio-tab {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .pricing-tabs {
        gap: 10px;
    }

    .pricing-tab {
        padding: 10px 15px;
        font-size: 13px;
    }

    .pricing-card {
        margin: 0 5px 15px;
        padding: 1.5rem;
    }

    .pricing-features {
        font-size: 0.9rem;
    }

    .tech-slide {
        min-width: 90px;
        height: 60px;
    }

    .tech-slide img {
        max-height: 35px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 0.9rem;
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col:first-child p {
        max-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 8px;
    }

    .newsletter-form button {
        border-radius: 8px;
        margin-top: 5px;
    }
}

.tech-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.tech-fade {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-fade-left {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.tech-fade-right {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.tech-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: techScroll 32s linear infinite;
}

/* Laptop/Desktop specific improvements */
@media (min-width: 993px) {
  .tech-track {
    gap: 40px; /* Larger gap on desktop */
  }

  .tech-slide {
    min-width: 160px; /* Slightly wider on desktop */
    height: 90px; /* Slightly taller on desktop */
  }

  .tech-slide img {
    max-height: 50px; /* Slightly larger images on desktop */
  }
}


.tech-slide {
    min-width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.tech-slide img {
    max-width: 70%;
    max-height: 45px;
    opacity: 1; /* full opacity */
    transition: all 0.3s ease;
}

.tech-slide:hover img {
    transform: scale(1.05); /* keep hover zoom effect if you want */
}


.tech-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes techScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Mobile */
@media (max-width: 1024px) {
    .tech-slider {
        padding: 30px 0;
    }

    .tech-track {
        gap: 35px;
        animation-duration: 40s; /* Slower animation for better visibility on smaller screens */
    }

    .tech-slide {
        min-width: 120px;
        height: 70px;
    }

    .tech-slide img {
        max-height: 40px;
    }
}

@media (max-width: 768px) {
    .tech-slider {
        padding: 25px 0;
    }

    .tech-track {
        gap: 25px;
        animation-duration: 35s;
    }

    .tech-slide {
        min-width: 100px;
        height: 60px;
    }

    .tech-slide img {
        max-height: 35px;
    }

    .tech-fade {
        width: 50px;
    }
}

@media (max-width: 768px) {
    .clients-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .client-logo img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .tech-slider {
        padding: 20px 0;
    }

    .tech-track {
        gap: 20px;
        animation-duration: 30s;
    }

    .tech-slide {
        min-width: 85px;
        height: 55px;
    }

    .tech-slide img {
        max-height: 30px;
    }

    .tech-fade {
        width: 40px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .client-logo img {
        max-height: 50px;
    }

    .clients-logos-section .section-title {
        font-size: 1.8rem;
    }

    .clients-logos-section .section-desc {
        font-size: 0.9rem;
        padding: 0 15px;
    }
}
.service-card {
    opacity: 1 !important;
    transform: none !important;
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Slightly smaller text on mobile for better readability */
    }

    .container {
        max-width: 100%; /* Allow full width on mobile */
        padding: 0 15px; /* Consistent padding on mobile */
        margin: 0;
    }

    .btn {
        font-size: 14px; /* Better touch targets */
        padding: 12px 20px;
    }

    /* Adjust section spacing on mobile */
    .services-section,
    .portfolio-section,
    .technologies-section {
        padding: 50px 0;
    }

    /* Optimize form elements for mobile */
    .form-group label {
        font-size: 0.9rem;
    }

    /* Improve modal experience on mobile */
    .portfolio-modal .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .close-btn {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }

    /* Optimize video modals for mobile */
    .video-wrapper {
        width: 95vw;
        height: 60vh;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .container {
        max-width: 100%; /* Allow full width on mobile */
        padding: 0 10px;
        margin: 0;
    }

    .btn {
        font-size: 13px;
        padding: 11px 18px;
    }

    .section-title {
        font-size: 1.7rem !important; /* Override any inline styles */
    }

    /* Adjust CTA section for small mobile screens */
    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        margin: 15px 0 25px;
    }

    .cta-section h6 {
        font-size: 14px;
    }

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

/* Clients Logos Section */
.clients-logos-section {
    padding: 60px 0;
    background: #f9f9f9;
    text-align: center;
}

.clients-logos-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.clients-logos-section .section-desc {
    font-size: 1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Logos Grid */
.clients-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    padding: 0 20px;
}

/* Laptop/Desktop specific improvements */
@media (min-width: 993px) {
  .clients-logos-grid {
    gap: 45px; /* Larger gap on desktop */
  }

  .client-logo img {
    max-height: 100px; /* Slightly larger logos on desktop */
  }
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.client-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}
