@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg-color: #020617;
  --surface-color: #0f0f11;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-1: #00f0ff;
  --accent-2: #ff003c;
  --accent-3: #7000ff;
  --gradient-1: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  --gradient-2: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(112, 0, 255, 0.08), transparent 50%);
  background-size: 100px 100px, 100px 100px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Mobile menu: dim page (sits under .navbar so links stay clickable) */
body.nav-menu-open {
  overflow: hidden;
}

/* ===================================
     PREMIUM HERO SECTION STYLES
     ==================================== */
.hero-premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(112, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 60, 0.1) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(112, 0, 255, 0.2));
    filter: blur(40px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 60%;
    animation: float 7s ease-in-out infinite;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 40%;
    animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content-premium {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title-premium {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.taglines-container {
    margin: 40px 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-slider {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.tagline {
    position: absolute;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    width: 100%;
    text-align: center;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

.service-flow {
    margin-top: 60px;
    overflow: hidden;
    padding: 20px 0;
}

.service-flow-track {
    display: flex;
    gap: 20px;
    animation: serviceFlow 20s linear infinite;
}

@keyframes serviceFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.service-card {
    flex-shrink: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.service-card i {
    color: var(--accent-1);
    font-size: 1.2rem;
}

.service-card span {
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

.service-card:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

/* ===================================
     MINI CARDS SECTION STYLES
     ==================================== */
.mini-cards-section {
    padding: 80px 0;
    overflow: hidden;
}

.mini-cards-row {
    margin: 30px 0;
}

.mini-cards-track-left,
.mini-cards-track-right {
    display: flex;
    gap: 15px;
    animation: scrollLeft 25s linear infinite;
}

.mini-cards-track-right {
    animation: scrollRight 30s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.mini-card {
    flex-shrink: 0;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mini-card:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-1);
    color: var(--accent-1);
}

/* ===================================
     FAQ SECTION STYLES
     ==================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    color: var(--accent-1);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* FAQ Section Header Styles */
.section .section-header.text-center {
    text-align: center !important;
    margin-bottom: 60px;
}

.section .section-header.text-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center !important;
}

.section .section-header.text-center p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center !important;
}

/* ===================================
     CLIENT REVIEWS SECTION STYLES
     ==================================== */
.client-reviews-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(112,0,255,0.05), rgba(255,0,60,0.05));
}

.client-reviews-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.client-reviews-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
}

.client-reviews-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.featured-review-card {
    padding: 40px;
    position: relative;
}

.review-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.review-info p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-rating i {
    color: #ffd700;
    font-size: 1rem;
}

.review-rating span {
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 5px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
    font-style: italic;
}

.reviews-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.reviews-header p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.reviews-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-slider {
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 30px;
}


.testimonial-card-premium {
    flex-shrink: 0;
    width: 350px;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card-premium:hover {
    transform: translateY(-5px);
    border-color: var(--accent-1);
    background: rgba(0, 240, 255, 0.05);
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.testimonial-author p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

.testimonial-rating span {
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 5px;
}

/* ===================================
     FINAL STATS SECTION STYLES
     ==================================== */
.final-stats-section {
    padding: 80px 0;
}

.final-stats-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 40px;
    text-align: center;
}

.final-stat-item {
    flex: 1;
}

.final-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-1);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.final-stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===================================
     RESPONSIVE DESIGN
     ==================================== */
@media (max-width: 1024px) {
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        padding: 80px 0;
        min-height: auto;
    }
    
    .hero-title-premium {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-flow-track {
        animation-duration: 15s;
    }
    
    .testimonial-card-premium {
        width: 300px;
    }
    
    .final-stats-card {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .final-stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .mini-card {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .testimonial-card-premium {
        width: 280px;
        padding: 20px;
    }
    
    .featured-review-card {
        padding: 25px;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Above chatbot widget (z-index 9999) so menu links receive taps */
body.nav-menu-open .navbar {
  z-index: 10050;
}

body.nav-menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

a {
  text-decoration: none;
  color: var(--text-primary);
}

ul {
  list-style: none;
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-2 {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-1));
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 240, 255, 0.4);
}

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

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-color);
  transform: translateY(-5px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 10050;
  transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  padding: 15px 0;
  background: rgba(3, 3, 3, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-call-desktop {
  display: none;
  white-space: nowrap;
}

@media (min-width: 993px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: 26px;
  }

  .nav-call-mobile {
    display: none;
  }

  .nav-call-desktop {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
  }
}

.nav-links a {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
  background-size: cover;
  background-position: center;
  animation: heroBg 20s infinite alternate linear;
}

@keyframes heroBg {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

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

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Floating Elements Background */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  animation: float 10s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -50px); }
}

/* 3D Cards */
.card-3d-wrap {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.card-3d {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease,
    background 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-3d:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15), inset 0 1px 0 rgba(0, 240, 255, 0.1);
  background: linear-gradient(135deg, rgba(15, 15, 17, 0.8), rgba(15, 15, 17, 0.6));
}

.card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.card-content {
  transform: none;
}

/* Services Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.reveal.fade-left {
  transform: translateX(-50px);
}
.reveal.fade-right {
  transform: translateX(50px);
}
.reveal.active.fade-left, .reveal.active.fade-right {
  transform: translateX(0);
}

/* Cards: no scroll-in animation — hover only */
.card-3d-wrap.reveal,
.card-3d.reveal,
.card-3d.reveal.fade-left,
.card-3d.reveal.fade-right,
.card-3d.reveal.fade-up,
.card-3d-wrap .card-3d.reveal,
.stat-item.reveal,
#services-grid-container .card-3d-wrap.reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease,
    background 0.35s ease;
}

.team-member-card.card-3d {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-member-card.card-3d:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.28);
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Modals */
.modal {
  position: fixed;
  top: 80px; left: 0; width: 100%; height: calc(100% - 80px);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding-top: 20px;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid var(--glass-border);
  transform: translateY(0);
  transition: transform 0.4s ease;
  position: relative;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--accent-2);
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--glass-border);
  transform: translateX(-50%);
}
.process-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.process-step:nth-child(even) {
  flex-direction: row-reverse;
}
.process-content {
  width: 45%;
  padding: 30px;
}
.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px var(--accent-1);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.stats-grid.glass {
  padding: 60px 40px;
}
.stat-item {
  min-width: 0;
  padding: 30px 20px;
  border-radius: 15px;
  background: rgba(15, 15, 17, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}
.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(15, 15, 17, 0.8);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}
.stat-item h3 {
  font-size: 4rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
.stat-item:hover h3 {
  color: var(--accent-1);
}
.stat-item p {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}
.stat-item:hover p {
  color: #fff;
}

/* Footer */
footer {
  background: var(--surface-color);
  padding: 56px 0 16px;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 14px;
}
footer .logo {
  align-self: flex-start;
}

footer .logo-img {
  height: 50px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: var(--text-secondary);
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: var(--accent-1);
}
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.social-icons a:hover {
  background: var(--accent-1);
  color: #000;
}
.footer-bottom {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

/* Footer Support Card */
.footer-grid .footer-col:last-child {
  background: linear-gradient(180deg, rgba(22, 30, 74, 0.55), rgba(9, 14, 40, 0.72));
  border: 1px solid rgba(124, 146, 255, 0.22);
  border-radius: 20px;
  padding: 16px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-grid .footer-col:last-child h4 {
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.footer-grid .footer-col:last-child > p {
  color: rgba(235, 241, 255, 0.9) !important;
  margin-bottom: 10px !important;
  font-size: 0.95rem !important;
  line-height: 1.45;
}

.footer-grid .footer-col:last-child form {
  display: grid;
  gap: 8px;
}

.footer-grid .footer-col:last-child .form-control {
  background: rgba(10, 15, 42, 0.5) !important;
  border: 1px solid rgba(125, 148, 255, 0.32) !important;
  border-radius: 12px !important;
  color: #eef3ff;
  padding: 10px 14px !important;
}

.footer-grid .footer-col:last-child textarea.form-control {
  min-height: 64px !important;
}

.footer-grid .footer-col:last-child .btn.btn-primary {
  border-radius: 999px;
  letter-spacing: 1.6px;
  font-size: 0.9rem;
  padding: 11px 20px;
  width: 100%;
  box-shadow: 0 10px 26px rgba(86, 111, 255, 0.35);
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-container {
    padding-right: calc(56px + env(safe-area-inset-right, 0px));
  }

  .hero-content-center,
  .glass,
  .card-3d,
  .service-card-modern,
  .modal-content {
    max-width: 100%;
  }

  img,
  video,
  iframe {
    max-width: 100%;
  }

  .nav-call-desktop {
    display: none;
  }

  /* Keep navbar above chatbot widget on mobile so hamburger/menu is clickable */
  .navbar {
    z-index: 10050;
  }

  /* About page: Achievements should stack in separate rows on mobile */
  .achievements-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* Contact page: Information should be above the form */
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  /* Mobile cards should be centered with equal left/right space */
  .grid-3 {
    grid-template-columns: 1fr !important;
    justify-items: stretch;
    align-items: stretch;
  }

  /* Ensure each card fills the grid column on mobile (prevents uneven side spacing) */
  .card-3d-wrap {
    width: 100%;
  }

  .card-3d {
    width: 100%;
    box-sizing: border-box;
  }

  .service-card-modern {
    width: 100%;
    box-sizing: border-box;
  }

  /* backdrop-filter on navbar can make fixed children use the wrong containing block and break taps */
  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(3, 3, 3, 0.94);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    display: none;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    background: var(--surface-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: calc(88px + env(safe-area-inset-top, 0px)) 24px 32px;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s ease;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    z-index: 10020;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 15px;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0, 240, 255, 0.2);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-call-mobile {
    margin-top: 20px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
  }

  .nav-call-mobile a {
    width: 100%;
    justify-content: center;
  }

  /* Keep hamburger visible on very small widths */
  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .mobile-menu-btn {
    display: block !important;
    flex: 0 0 auto;
    z-index: 10030;
    position: absolute;
    right: calc(20px + env(safe-area-inset-right, 0px));
    top: 50%;
    transform: translateY(-50%);
  }
  .process-timeline::before {
    left: 30px;
  }
  .process-step, .process-step:nth-child(even) {
    flex-direction: row;
    justify-content: flex-start;
  }
  .process-content {
    width: calc(100% - 90px);
    margin-left: 30px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid.glass {
    padding: 40px 20px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}
.form-control {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-1);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Blog/Portfolio Cards */
.img-wrap {
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 20px;
}
.img-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-3d:hover .img-wrap img {
  transform: scale(1.1);
}
.badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0,240,255,0.1);
  color: var(--accent-1);
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* --- Modern Split FAQ System --- */
.faq-split-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(3,3,3,1) 0%, rgba(15,15,17,0.8) 100%);
  border-top: 1px solid var(--glass-border);
}
.faq-split-bg-glow {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: var(--gradient-1);
  filter: blur(150px);
  opacity: 0.15;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.faq-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.faq-left-content {
  position: sticky;
  top: 140px;
}
.faq-left-content h2 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  line-height: 1.1;
}
.faq-left-content p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.faq-accordion .faq-item {
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin-bottom: 25px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
.faq-accordion .faq-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.2);
}
.faq-accordion .faq-question {
  width: 100%;
  text-align: left;
  padding: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  transition: color 0.3s ease;
  font-family: inherit;
  outline: none;
}
.faq-accordion .faq-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--accent-1);
  flex-shrink: 0;
  margin-left: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}
.faq-accordion .faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--gradient-1);
  color: #000;
  border-color: transparent;
}
.faq-accordion .faq-item.active .faq-question {
  color: var(--accent-1);
}
.faq-accordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.faq-accordion .faq-answer-inner {
  padding: 0 30px 40px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}
.faq-accordion .faq-item.active .faq-answer {
  max-height: 500px;
}

@media (max-width: 992px) {
  .faq-split-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .faq-left-content {
    position: relative;
    top: 0;
    text-align: center;
  }
  .faq-left-content h2 {
    font-size: 2.8rem;
  }
  .faq-left-content p {
    max-width: 600px;
    margin: 0 auto 40px;
  }
}

/* Pricing Hero Section */
.pricing-hero {
  position: relative;
  width: 100%;
  padding: 180px 0 100px;
  background: radial-gradient(circle at top, #0f172a, #020617);
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}
.pricing-hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: var(--gradient-1);
  filter: blur(150px);
  opacity: 0.15;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.pricing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-hero h1 {
  font-size: 4.5rem;
  margin-bottom: 25px;
  line-height: 1.1;
  color: #fff;
}
.pricing-hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}
.pricing-trust-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.pricing-trust-indicators span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  padding: 12px 25px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.pricing-trust-indicators span:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.1);
}
.pricing-trust-indicators span i {
  color: var(--accent-1);
}

@media (max-width: 992px) {
  .pricing-hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .pricing-hero {
    padding: 140px 0 80px;
  }
  .pricing-hero h1 {
    font-size: 2.8rem;
  }
  .pricing-hero p {
    font-size: 1.1rem;
  }
  .pricing-trust-indicators {
    gap: 15px;
    flex-direction: column;
  }
}

/* Pricing */
.pricing-card {
  text-align: center;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 240, 255, 0.15);
}
.pricing-card.featured {
  border: 1px solid var(--accent-1);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,240,255,0.1);
}
.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,240,255,0.2);
}
.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 20px 0;
  transition: color 0.3s ease;
}
.pricing-card:hover .price {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price span {
  font-size: 1.2rem;
  color: var(--text-secondary);
}
.pricing-features {
  text-align: left;
  margin: 30px 0;
}
.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}
.pricing-card:hover .pricing-features li {
  transform: translateX(5px);
}
.pricing-features li i {
  color: var(--accent-1);
}

/* Page Header */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(15,15,17,0.8), var(--bg-color));
  position: relative;
}
.page-header h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* --- Modern Premium Hero --- */
.hero-modern {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s linear;
  transform: scale(1);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(3,3,3,0.8), rgba(15,15,17,0.8));
  z-index: -1;
}
.hero-content-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  backdrop-filter: blur(15px);
  z-index: 10;
  position: relative;
}
.hero-title-modern {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 25px;
  font-weight: 800;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.animated-heading {
  display: inline-block;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animated-heading.slide-in {
  opacity: 1;
  transform: translateY(0);
}
.animated-heading.slide-out {
  opacity: 0;
  transform: translateY(-30px);
}
.hero-subtitle-modern {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.hero-btns-center {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-glow {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}
.btn-glow:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
}

/* --- Premium Process Page Redesign --- */
.process-grid-premium {
  display: flex;
  flex-direction: column;
  gap: 100px;
  position: relative;
  padding: 50px 0;
}
.process-grid-premium::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-3), var(--accent-2));
  transform: translateX(-50%);
  opacity: 0.3;
}
.process-box {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.process-box:nth-child(even) {
  flex-direction: row-reverse;
}
.process-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}
.process-visual .big-number {
  font-size: 12rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.process-visual .icon-wrap {
  width: 120px;
  height: 120px;
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}
.process-box:hover .icon-wrap {
  transform: scale(1.15) translateY(-5px);
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 240, 255, 0.2);
}
.process-info {
  flex: 1;
  padding: 40px;
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.process-box:hover .process-info {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
  background: linear-gradient(135deg, rgba(15, 15, 17, 0.8), rgba(15, 15, 17, 0.6));
}
.process-info::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 100px; height: 100px;
  background: var(--gradient-1);
  filter: blur(60px);
  z-index: 0;
}
.process-info > * {
  position: relative;
  z-index: 1;
}
.process-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}
.process-box:hover .process-info h3 {
  color: var(--accent-1);
}
.process-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}
.process-point {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: var(--bg-color);
  border: 4px solid var(--accent-1);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 20px var(--accent-1);
}
.process-box:nth-child(2) .process-point { border-color: var(--accent-3); box-shadow: 0 0 20px var(--accent-3); }
.process-box:nth-child(2) .process-info::before { background: var(--gradient-2); }
.process-box:nth-child(3) .process-point { border-color: var(--accent-2); box-shadow: 0 0 20px var(--accent-2); }
.process-box:nth-child(4) .process-point { border-color: var(--accent-1); box-shadow: 0 0 20px var(--accent-1); }
.process-box:nth-child(4) .process-info::before { background: var(--gradient-2); }
.process-box:nth-child(5) .process-point { border-color: var(--accent-3); box-shadow: 0 0 20px var(--accent-3); }
.process-box:nth-child(6) .process-point { border-color: var(--accent-2); box-shadow: 0 0 20px var(--accent-2); }

@media (max-width: 992px) {
  .hero-title-modern { min-height: 150px; }
  .process-grid-premium::before { left: 40px; transform: none; }
  .process-box, .process-box:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .process-visual {
    width: 80px;
    height: 80px;
    margin-left: 0;
  }
  .process-visual .icon-wrap {
    width: 80px; height: 80px; font-size: 2rem;
  }
  .process-visual .big-number { display: none; }
  .process-point { left: 40px; transform: translate(-50%, -50%); top: auto; margin-top: 40px; }
  .process-info { width: calc(100% - 100px); margin-left: 100px; }
}

@media (max-width: 768px) {
  .hero-title-modern { font-size: 2rem; min-height: 100px; }
  .process-info { width: 100%; margin-left: 0; }
  .process-point { display: none; }
  .process-grid-premium::before { display: none; }
  .process-visual { display: none; }
}

/* --- Premium Featured Portfolio Slider --- */
.portfolio-slider-section {
  overflow: hidden;
  padding: 60px 0;
}
.portfolio-slider-container {
  padding-bottom: 60px; /* space for pagination */
  position: relative;
}

/* Swiper overrides */
.swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 50px;
}

.team-slider-container {
  position: relative;
}

.team-slider-container .teamSwiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

.team-slider-container .teamSwiper .swiper-slide > .card-3d-wrap {
  width: 100%;
  display: flex;
}

.team-slider-container .teamSwiper .swiper-slide .team-member-card {
  flex: 1;
}

.team-member-card {
  padding: 20px 16px;
  text-align: center;
  height: 100%;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.team-member-card h3 {
  margin: 0 0 8px;
  width: 100%;
}

.team-member-card > p {
  margin: 0 !important;
  width: 100%;
}

.team-member-card .img-wrap {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.team-member-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-card .social-icons {
  justify-content: center;
  margin-top: auto;
}

/* Maintain identical layout identical to standard .card-3d and .img-wrap */
.portfolio-slide-card {
  background: var(--surface-color);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05); /* Same as .card-3d initial  */
  padding: 20px; /* Important: REVERT to 20px to match old grid padding */
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.portfolio-slide-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 240, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-slide-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.4s ease;
}

.portfolio-slide-card:hover::after {
  box-shadow: inset 0 0 0 1px rgba(0, 240, 255, 0.3);
}

.portfolio-slide-card .img-wrap {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px; /* old layout margin */
  height: 250px; /* STRICT: REVERT back to 250px exactly as previous .img-wrap constraint */
  width: 100%;
}

.portfolio-slide-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-slide-card:hover .img-wrap img {
  transform: scale(1.12); /* Maintained zoom */
}

/* Revert badge exactly matching original .badge but absolutely positioned */
.portfolio-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,240,255,0.1);
  color: var(--accent-1);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  z-index: 2;
  margin: 0;
}

.portfolio-slide-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px; /* tighter spacing matching layout */
}

.portfolio-slide-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Custom Slider Navigation */
.slider-controls-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

.custom-swiper-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.custom-swiper-btn:hover {
  background: var(--gradient-1);
  border-color: transparent;
  color: #000;
  box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
  transform: scale(1.1);
}

/* ===== ENHANCED MOBILE RESPONSIVE DESIGN ===== */

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
  /* Base Styles */
  .container {
    padding: 0 1rem;
  }

  body {
    background-size: 80px 80px, 80px 80px, 100% 100%, 100% 100%;
  }

  /* Floating Shapes - Hide on very small screens */
  .floating-shape {
    display: none;
  }

  /* Navigation Improvements */
  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    padding: 10px 0;
  }

  .logo {
    font-size: 1.3rem;
    gap: 8px;
  }

  .logo-img {
    height: 35px;
  }

  .mobile-menu-btn {
    font-size: 1.3rem;
  }

  /* Hero Section - Mobile Hero */
  .hero-modern {
    min-height: 70vh;
  }

  .hero-content-center {
    padding: 40px 20px;
    border-radius: 12px;
  }

  .hero-title-modern {
    font-size: 1.5rem;
    min-height: auto;
    margin-bottom: 15px;
  }

  .hero-subtitle-modern {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .hero-btns-center {
    gap: 12px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  /* Section Styles - Mobile */
  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  .section-title {
    margin-bottom: 40px;
  }

  /* Grid Layouts - All single column on mobile */
  .grid-3,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-grid.glass {
    padding: 28px 16px;
  }

  /* Card Styles */
  .card-3d {
    padding: 25px;
    border-radius: 12px;
  }

  .card-3d:hover {
    transform: translateY(-5px);
  }

  /* Service Cards */
  .servicesSwiper {
    padding: 15px 0 30px 0 !important;
  }

  /* Modals */
  .modal-content {
    padding: 20px 15px;
    border-radius: 15px;
    max-width: calc(100% - 30px);
  }

  .close-modal {
    top: 15px;
    right: 15px;
    font-size: 1.3rem;
  }

  /* Forms */
  .form-control {
    padding: 12px 15px;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 8px;
  }

  /* Footer */
  footer {
    padding: 50px 0 30px;
  }

  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .footer-col ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  /* Page Header */
  .page-header {
    padding: 120px 0 60px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 0.95rem;
  }

  /* Process - Mobile Stack */
  .process-grid-premium {
    gap: 50px;
  }

  .process-box {
    flex-direction: column;
    gap: 20px;
  }

  .process-visual {
    width: 100%;
    height: auto;
  }

  .process-visual .icon-wrap {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .process-info {
    width: 100%;
    padding: 20px;
  }

  .process-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .process-info p {
    font-size: 0.95rem;
  }

  /* FAQ Section - Mobile */
  .faq-split-layout {
    gap: 30px;
  }

  .faq-left-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .faq-left-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .faq-accordion .faq-question {
    padding: 20px;
    font-size: 1rem;
  }

  .faq-accordion .faq-icon {
    width: 35px;
    height: 35px;
    margin-left: 10px;
  }

  .faq-accordion .faq-answer-inner {
    padding: 0 20px 30px;
    font-size: 0.95rem;
  }

  /* Pricing - Mobile */
  .pricing-hero {
    padding: 100px 0 60px;
  }

  .pricing-hero h1 {
    font-size: 1.8rem;
  }

  .pricing-hero p {
    font-size: 1rem;
  }

  .pricing-trust-indicators {
    flex-direction: column;
    gap: 10px;
  }

  .pricing-trust-indicators span {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .price {
    font-size: 2.2rem;
  }

  .pricing-features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }

  /* Feature Boxes */
  .feature-box {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .feature-box i {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  /* Stat Items */
  .stat-item {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }

  .stat-item p {
    font-size: 0.85rem;
  }

  /* Slider Controls */
  .slider-controls-wrap {
    gap: 15px;
    flex-wrap: wrap;
  }

  .custom-swiper-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  /* Portfolio Badge */
  .portfolio-badge {
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  /* Hero Buttons - Stack on very small screens */
  .hero-btns,
  .hero-btns-center {
    flex-direction: column;
  }

  .hero-btns .btn,
  .hero-btns-center .btn {
    width: 100%;
  }
}

/* Small Devices (481px to 576px) */
@media (min-width: 481px) and (max-width: 576px) {
  .container {
    padding: 0 1.2rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .logo-img {
    height: 38px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .card-3d {
    padding: 28px;
  }

  .hero-title-modern {
    font-size: 1.8rem;
  }

  .hero-subtitle-modern {
    font-size: 1rem;
  }

  .page-header {
    padding: 130px 0 65px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .faq-left-content h2 {
    font-size: 2rem;
  }

  .pricing-hero h1 {
    font-size: 2rem;
  }

  .price {
    font-size: 2.5rem;
  }
}

/* Tablets & Medium Devices (577px to 768px) - Enhanced */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  /* Floating shapes - Smaller on tablet */
  .floating-shape {
    width: 200px !important;
    height: 200px !important;
  }

  /* Navigation */
  .logo {
    font-size: 1.5rem;
  }

  .logo-img {
    height: 40px;
  }

  footer .logo-img {
    height: 56px;
  }

  /* Hero */
  .hero-modern {
    min-height: 80vh;
  }

  .hero-content-center {
    padding: 50px 35px;
  }

  .hero-title-modern {
    font-size: 2.2rem;
  }

  .hero-subtitle-modern {
    font-size: 1.05rem;
  }

  /* Section */
  .section {
    padding: 80px 0;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .section-title {
    margin-bottom: 50px;
  }

  /* Cards */
  .card-3d {
    padding: 30px;
  }

  /* Grids */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Modals */
  .modal-content {
    padding: 25px 20px;
    max-width: calc(100% - 40px);
  }

  /* Forms */
  .form-control {
    padding: 14px 16px;
  }

  /* Page Header */
  .page-header {
    padding: 140px 0 70px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  /* Process - Improved layout */
  .process-grid-premium::before {
    left: 35px;
  }

  .process-box {
    flex-direction: column;
    gap: 25px;
  }

  .process-box:nth-child(even) {
    flex-direction: column;
  }

  .process-visual {
    width: 100%;
  }

  .process-visual .icon-wrap {
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
  }

  .process-info {
    width: 100%;
    padding: 30px;
  }

  .process-info h3 {
    font-size: 1.5rem;
  }

  /* FAQ */
  .faq-split-layout {
    gap: 40px;
  }

  .faq-left-content h2 {
    font-size: 2rem;
  }

  .faq-left-content p {
    font-size: 1.05rem;
  }

  .faq-accordion .faq-question {
    padding: 25px;
  }

  /* Pricing */
  .pricing-hero {
    padding: 120px 0 70px;
  }

  .pricing-hero h1 {
    font-size: 2.3rem;
  }

  .pricing-trust-indicators {
    flex-direction: column;
    gap: 15px;
  }

  .price {
    font-size: 2.8rem;
  }

  /* Portfolio Image Height - Better for mobile */
  .portfolio-slide-card .img-wrap {
    height: 200px;
  }

  /* Feature Box */
  .feature-box {
    padding: 35px 25px;
  }

  .feature-box i {
    font-size: 2.5rem;
  }

  /* Stat Items */
  .stat-item {
    padding: 25px 20px;
  }

  .stat-item h3 {
    font-size: 3rem;
  }

  /* Slider Controls - Better spacing */
  .slider-controls-wrap {
    gap: 20px;
  }

  .custom-swiper-btn {
    width: 50px;
    height: 50px;
  }

  /* Buttons - Better sizing on tablet */
  .btn {
    padding: 13px 28px;
    font-size: 0.88rem;
  }
}

/* Medium to Large Devices (769px to 992px) - Enhanced */
@media (max-width: 992px) and (min-width: 769px) {
  .container {
    padding: 0 2rem;
  }

  .floating-shape {
    width: 350px !important;
    height: 350px !important;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .hero-title-modern {
    font-size: 2.8rem;
  }

  .faq-left-content h2 {
    font-size: 2.5rem;
  }

  .pricing-hero h1 {
    font-size: 2.8rem;
  }

  .price {
    font-size: 3rem;
  }

  .portfolio-slide-card .img-wrap {
    height: 220px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-box {
    padding: 40px 30px;
  }

  .feature-box i {
    font-size: 2.8rem;
  }

  .stat-item h3 {
    font-size: 3.5rem;
  }
}

/* Custom Swiper Pagination */
.swiper-pagination-custom {
  position: relative !important;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  background: var(--text-secondary) !important;
  opacity: 0.5 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent-1) !important;
  opacity: 1 !important;
  width: 30px !important;
  border-radius: 5px !important;
  box-shadow: 0 0 10px var(--accent-1);
}
/* Universal Modal System */
.universal-modal .modal-content {
  max-width: 500px;
  padding: 20px;
  text-align: left;
}

.modal-icon-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.modal-icon-header i {
  font-size: 3.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-icon-header h3 {
  font-size: 2.2rem;
  margin: 0;
  color: #fff;
}

.tech-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 30px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent-1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  font-weight: 600;
}

.feature-box {
  text-align: center;
  padding: 40px 30px;
  background: var(--surface-color);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(0, 240, 255, 0.3);
}

.feature-box i {
  font-size: 3rem;
  margin-bottom: 20px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
  display: inline-block;
}

.feature-box:hover i {
  transform: scale(1.1);
}

/* Footer brand: larger mark on small phones (must follow max-width:768 rules) */
@media (max-width: 480px) {
  footer .logo-img {
    height: 64px;
  }
}

/* Final mobile footer overrides: keep footer readable on narrow screens */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .footer-grid .footer-col:last-child {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .footer-grid .footer-col:last-child h4 {
    font-size: 1.5rem;
  }

  .footer-grid .footer-col:last-child > p {
    margin-bottom: 12px !important;
  }

  .footer-grid .footer-col:last-child textarea.form-control {
    min-height: 72px !important;
  }

  footer {
    padding-bottom: 56px;
  }
}

/* Work Carousel Styles */
.work-carousel-container {
  margin-top: 40px;
}

/* Our Work Section Styling */
.work-item {
  height: 100%;
  position: relative;
  z-index: 1;
}

.work-content {
  display: flex;
  gap: 80px;
  align-items: center;
  height: 100%;
  min-height: 500px;
  padding: 40px 0;
}

.work-left {
  flex: 1;
  max-width: 500px;
}

.work-right {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-info {
  padding: 20px;
}

.work-info h3 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -1px;
}

.work-info > p:first-of-type {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #4CAF50 !important;
  font-weight: 600;
  letter-spacing: 1px;
}

.work-info p:not(:first-of-type) {
  color: #ccc !important;
  margin-bottom: 30px;
  line-height: 1.7;
  font-size: 1.1rem;
}

.work-btn {
  background: #4CAF50 !important;
  color: #fff !important;
  padding: 15px 30px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.work-btn:hover {
  background: #45a049 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
  color: #fff !important;
}

.work-preview {
  position: relative;
}

.browser-mockup {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-8deg);
  transition: transform 0.4s ease;
  max-width: 600px;
  width: 100%;
}

.browser-mockup:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.browser-header {
  background: #2a2a2a;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
  display: flex;
  gap: 8px;
  margin-right: 16px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) {
  background: #ff5f56;
}

.browser-dots span:nth-child(2) {
  background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
  background: #27c93f;
}

.browser-title {
  color: #888;
  font-size: 0.85rem;
  font-weight: 500;
}

.browser-content {
  height: 450px;
  overflow: hidden;
  background: #fff;
}

.work-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Work Swiper Navigation */
.workSwiper .swiper-button-next,
.workSwiper .swiper-button-prev {
  display: none;
}

.slider-controls-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.work-btn-prev,
.work-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  pointer-events: all;
  z-index: 10;
}

.work-btn-prev {
  left: -25px;
}

.work-btn-next {
  right: -25px;
}

.work-btn-prev:hover,
.work-btn-next:hover {
  background: rgba(76, 175, 80, 0.8);
  border-color: #4CAF50;
  transform: translateY(-50%) scale(1.1);
}

.workSwiper .swiper-button-next:after,
.workSwiper .swiper-button-prev:after {
  font-size: 20px;
}

.workSwiper .swiper-pagination-bullet {
  background: var(--accent-1);
  opacity: 0.5;
}

.workSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive Design for Work Section */
@media (max-width: 1024px) {
  .work-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .work-info .tech-tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .work-info h3 {
    font-size: 1.5rem;
  }

  .browser-content {
    height: 250px;
  }

  .workSwiper .swiper-button-next,
  .workSwiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .workSwiper .swiper-button-next:after,
  .workSwiper .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .work-content {
    min-height: auto;
    gap: 20px;
  }

  .browser-content {
    height: 200px;
  }

  .work-info .tech-tags span {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

/* ===================================
   CLIENT REVIEW FLOW CARDS STYLES
   =================================== */

.client-review-section {
  padding: 120px 0;
  position: relative;
}

.review-flow-container {
  display: flex;
  gap: 20px;
  margin-top: 60px;
  overflow: hidden;
  position: relative;
  width: 100%;
}



.review-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 320px;
  flex-shrink: 0;
  opacity: 0;
  animation: slideInFromRight 0.8s ease-out forwards;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }
.review-card:nth-child(7) { animation-delay: 0.7s; }
.review-card:nth-child(8) { animation-delay: 0.8s; }
.review-card:nth-child(9) { animation-delay: 0.9s; }
.review-card:nth-child(10) { animation-delay: 1.0s; }
.review-card:nth-child(11) { animation-delay: 1.1s; }
.review-card:nth-child(12) { animation-delay: 1.2s; }
.review-card:nth-child(13) { animation-delay: 1.3s; }
.review-card:nth-child(14) { animation-delay: 1.4s; }
.review-card:nth-child(15) { animation-delay: 1.5s; }
.review-card:nth-child(16) { animation-delay: 1.6s; }

@keyframes slideInFromRight {
  from { 
    opacity: 0; 
    transform: translateX(50px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 25px 50px -12px rgba(0, 255, 136, 0.2),
    0 0 0 1px rgba(0, 255, 136, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 255, 136, 0.3);
}

.client-details h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.client-details p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.review-rating {
  display: flex;
  gap: 5px;
}

.review-rating i {
  color: #00ff88;
  font-size: 0.9rem;
}

.review-content {
  margin-top: 15px;
}

.review-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* Mobile Responsive for Reviews */
@media (max-width: 768px) {
  .client-review-section {
    padding: 80px 0;
  }
  
  .review-card {
    width: 280px;
    padding: 20px 15px;
  }
  
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .client-info {
    gap: 12px;
  }
  
  .client-avatar {
    width: 45px;
    height: 45px;
  }
  
  .client-details h4 {
    font-size: 1rem;
  }
  
  .client-details p {
    font-size: 0.85rem;
  }
  
  .review-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .review-card {
    width: 260px;
    padding: 18px 12px;
  }
}

/* ===================================
   PREMIUM PORTFOLIO CAROUSEL STYLES
   =================================== */

.premium-portfolio-section {
  padding: 120px 0;
  position: relative;
}

/* Background Effects */
.portfolio-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glowing-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  animation-delay: 0s;
}

.orb-2 {
  animation-delay: 2s;
}

.orb-3 {
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Background Card for Carousel */
.carousel-bg-card {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  max-width: 1400px;
  height: 500px;
  z-index: 1;
  pointer-events: none;
}

.carousel-bg-inner {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

/* Premium Carousel Container */
.premium-portfolio-carousel {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 10;
  padding: 20px;
}

.premium-project-slide {
  display: grid;
  grid-template-columns: 2fr 3.5fr;
  gap: 50px;
  align-items: center;
  min-height: 350px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Left Side Content */
.project-content-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  height: 100%;
}

.project-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-logo img {
  width: 100%;
  height: 100%;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #00ff88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
}

.project-tech-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-tag {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 255, 136, 0.2);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(0, 255, 136, 0.15);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-2px);
}

.project-cta-btn {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #0a0a0f;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 255, 136, 0.3);
  align-self: flex-start;
}

.project-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.project-cta-btn:hover::before {
  left: 100%;
}

.project-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(0, 255, 136, 0.4);
}

.project-cta-btn:active {
  transform: translateY(0);
}

.project-cta-btn i {
  transition: transform 0.3s ease;
}

.project-cta-btn:hover i {
  transform: translateX(4px);
}

/* Right Side Mockup */
.project-mockup-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.mockup-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.mockup-container:hover {
  transform: scale(1.02);
}

.mockup-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.mockup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0, 255, 136, 0.1) 0%, 
    transparent 50%, 
    rgba(0, 240, 255, 0.1) 100%);
  pointer-events: none;
}

/* Custom Navigation */
.premium-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.premium-nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
}

.premium-nav-btn.premium-prev {
  margin-left: -30px;
}

.premium-nav-btn.premium-next {
  margin-right: -1x;
}

.premium-nav-btn:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  transform: scale(1.1);
}

.nav-icon {
  color: #00ff88;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.premium-nav-btn:hover .nav-icon {
  transform: scale(1.2);
}

/* Pagination */
.premium-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.premium-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.premium-pagination .swiper-pagination-bullet:hover {
  background: rgba(0, 255, 136, 0.3);
  border-color: rgba(0, 255, 136, 0.5);
  opacity: 1;
}

.premium-pagination .swiper-pagination-bullet-active {
  background: #00ff88;
  border-color: #00ff88;
  opacity: 1;
  transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .premium-portfolio-section {
    padding: 60px 0;
  }
  
  .premium-project-slide {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 15px;
    min-height: auto;
    align-items: start;
  }
  
  /* Image first, then content on mobile */
  .project-mockup-right {
    order: -1;
    height: auto;
    width: 100%;
  }
  
  .mockup-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
  }
  
  .project-content-left {
    order: 1;
  }
  
  .project-title {
    font-size: 1.8rem;
  }
  
  .project-description {
    font-size: 1rem;
  }
  
  .mockup-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .premium-carousel-nav {
    display: none;
  }
  
  .glowing-orb {
    width: 200px;
    height: 200px;
  }
  
  .project-cta-btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Adjust background card for mobile */
  .carousel-bg-card {
    width: 90%;
    height: 600px;
    max-width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .carousel-bg-inner {
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .project-title {
    font-size: 1.5rem;
  }
  
  .project-tech-stack {
    gap: 8px;
  }
  
  .tech-tag {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .mockup-image {
    height: 200px;
  }
}

/* ===================================
     OUR SERVICES SECTION STYLES
     ==================================== */
.our-services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0,240,255,0.02), rgba(112,0,255,0.02));
}

.our-services-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.our-services-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
}

.our-services-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.services-mini-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-mini-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(112, 0, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.service-mini-card:hover::before {
    opacity: 1;
}

.service-mini-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-1);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15), inset 0 1px 0 rgba(0, 240, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-mini-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.3);
}

.service-mini-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.service-mini-card:hover h3 {
    color: var(--accent-1);
}

.service-mini-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .our-services-section {
        padding: 80px 0;
    }
    
    .services-mini-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .service-mini-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .service-mini-card h3 {
        font-size: 1.25rem;
    }
    
    .service-mini-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-mini-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .service-mini-card h3 {
        font-size: 1.2rem;
    }
}

/* ===================================
     WHY CHOOSE US SECTION STYLES
     ==================================== */
.why-choose-us-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(112,0,255,0.02), rgba(0,240,255,0.02));
}

.why-choose-us-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-us-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
}

.why-choose-us-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.1), rgba(0, 240, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.why-choose-card:hover::before {
    opacity: 1;
}

.why-choose-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-3);
    box-shadow: 0 20px 40px rgba(112, 0, 255, 0.15), inset 0 1px 0 rgba(112, 0, 255, 0.1);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.why-choose-card:hover .why-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(112, 0, 255, 0.3);
}

.why-choose-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.why-choose-card:hover h3 {
    color: var(--accent-3);
}

.why-choose-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

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

/* Responsive Design for Why Choose Us */
@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 80px 0;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .why-choose-card {
        padding: 30px 20px;
    }
    
    .why-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .why-choose-card h3 {
        font-size: 1.1rem;
    }
    
    .why-choose-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .why-choose-card {
        padding: 25px 15px;
    }
    
    .why-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .why-choose-card h3 {
        font-size: 1rem;
    }
    
    .why-choose-card p {
        font-size: 0.8rem;
    }
}

/* ===================================
     TEAM SECTION STYLES
     ==================================== */
.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0,240,255,0.02), rgba(112,0,255,0.02));
    overflow: hidden;
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
}

.team-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.team-slider {
    overflow: hidden;
    padding: 40px 0;
}

.team-track {
    display: flex;
    animation: autoSlideTeam 25s linear infinite;
    width: fit-content;
}

.team-track:hover {
    animation-play-state: paused;
}

@keyframes autoSlideTeam {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.team-card {
    flex: 0 0 auto;
    width: 280px;
    margin: 0 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(112, 0, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--accent-1);
    box-shadow: 0 25px 50px rgba(0, 240, 255, 0.2), inset 0 1px 0 rgba(0, 240, 255, 0.1);
}

.team-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    transition: all 0.4s ease;
}

.team-card:hover .team-image {
    border-color: var(--accent-1);
    transform: scale(1.1);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.team-card:hover h3 {
    color: var(--accent-1);
}

.team-role {
    color: var(--accent-1);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

/* Responsive Design for Team Section */
@media (max-width: 768px) {
    .team-section {
        padding: 80px 0;
    }
    
    .team-card {
        width: 250px;
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .team-image {
        width: 100px;
        height: 100px;
    }
    
    .team-card h3 {
        font-size: 1.1rem;
    }
    
    .team-role {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .team-card {
        width: 220px;
        margin: 0 8px;
        padding: 20px 12px;
    }
    
    .team-image {
        width: 85px;
        height: 85px;
    }
    
    .team-card h3 {
        font-size: 1rem;
    }
    
    .team-role {
        font-size: 0.75rem;
    }
}

/* ===================================
     PORTRAIT TESTIMONIAL CARDS STYLES
     ==================================== */
.testimonial-card.portrait {
    flex: 0 0 auto;
    width: 320px;
    margin: 0 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.testimonial-card.portrait::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(112, 0, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.testimonial-card.portrait:hover::before {
    opacity: 1;
}

.testimonial-card.portrait:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-1);
    box-shadow: 0 25px 50px rgba(0, 240, 255, 0.2), inset 0 1px 0 rgba(0, 240, 255, 0.1);
}

.testimonial-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    transition: all 0.4s ease;
    margin-bottom: 10px;
}

.testimonial-card.portrait:hover .testimonial-avatar {
    border-color: var(--accent-1);
    transform: scale(1.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.testimonial-card.portrait:hover .testimonial-avatar img {
    transform: scale(1.1);
}

.testimonial-card.portrait .testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.testimonial-card.portrait .rating {
    display: flex;
    gap: 5px;
    color: #ffd700;
    font-size: 1rem;
    margin-bottom: 10px;
}

.testimonial-card.portrait .testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.testimonial-card.portrait:hover .testimonial-content p {
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-card.portrait .client-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.testimonial-card.portrait .client-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.testimonial-card.portrait:hover .client-info h4 {
    color: var(--accent-1);
}

.testimonial-card.portrait .client-info p {
    color: var(--accent-1);
    font-size: 0.85rem;
    font-weight: 500;
    font-style: normal;
}

/* Responsive Design for Portrait Testimonial Cards */
@media (max-width: 768px) {
    .testimonial-card.portrait {
        width: 280px;
        margin: 0 10px;
        padding: 30px 20px;
        gap: 15px;
    }
    
    .testimonial-avatar {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-card.portrait .rating {
        font-size: 0.9rem;
    }
    
    .testimonial-card.portrait .testimonial-content p {
        font-size: 0.85rem;
    }
    
    .testimonial-card.portrait .client-info h4 {
        font-size: 1rem;
    }
    
    .testimonial-card.portrait .client-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card.portrait {
        width: 250px;
        margin: 0 8px;
        padding: 25px 15px;
        gap: 12px;
    }
    
    .testimonial-avatar {
        width: 85px;
        height: 85px;
    }
    
    .testimonial-card.portrait .rating {
        font-size: 0.85rem;
        gap: 3px;
    }
    
    .testimonial-card.portrait .testimonial-content p {
        font-size: 0.8rem;
    }
    
    .testimonial-card.portrait .client-info h4 {
        font-size: 0.95rem;
    }
    
    .testimonial-card.portrait .client-info p {
        font-size: 0.75rem;
    }
}
