/* style.css */
/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    
}

:root {
    /* Bluest Theme */
    --primary: #0047AB; /* Cobalt Blue */
    --primary-dark: #002147; /* Oxford Blue */
    --primary-light: #4169E1; /* Royal Blue */
    
    --secondary: #00BFFF; /* Deep Sky Blue */
    --secondary-light: #87CEFA;
    
    --accent: #00FFFF; /* Cyan */
    --accent-light: #E0FFFF;
    
    --light: #F0F8FF; /* Alice Blue */
    --dark: #0a192f; /* Very Dark Blue */
    --gray: #64748b;
    --light-gray: #e6f2ff;
    
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #ff7675;
    --info: #0984e3;
    
    --gradient-primary: linear-gradient(135deg, #0047AB 0%, #002147 100%);
    --gradient-secondary: linear-gradient(135deg, #00BFFF 0%, #4169E1 100%);
    --gradient-accent: linear-gradient(135deg, #00FFFF 0%, #00BFFF 100%);
    --gradient-dark: linear-gradient(135deg, #020c1b 0%, #0a192f 100%);
    --gradient-blue-glow: radial-gradient(circle at center, #2e86de 0%, #002147 100%);
    
    --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.2);
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--light-gray);
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.8rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.loader {
  text-align: center;
  color: white;
}

.print-animation {
  width: 150px;
  height: 100px;
  margin: 0 auto 40px;
  position: relative;
}

.paper-roll {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 80px;
  background: white;
  border-radius: 4px;
  animation: paperRoll 2s infinite;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.paper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 60%
  );
  background-size: 200% 200%;
  animation: paperShine 1.5s infinite linear;
}

.printer-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 60px;
  background: white;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.printer-light {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: printerLight 1.5s infinite alternate;
  box-shadow: 0 0 20px var(--accent-light);
}

@keyframes paperRoll {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes paperShine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes printerLight {
  0% {
    opacity: 0.3;
    transform: translateX(-50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}

.loading-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.8;
  animation: fadeInOut 2s infinite;
}

.loading-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-light);
  animation: loadingProgress 3s ease-in-out forwards;
}

@keyframes loadingProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 15px 0;
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
}

.logo-image img {
  width: auto;
  height: 100%;
  max-width: 50px;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 2px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: -2px;
  right: -2px;
  animation: logoDot 2s infinite alternate;
  box-shadow: 0 0 10px var(--accent);
}

@keyframes logoDot {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.nav-link span {
  position: relative;
  z-index: 1;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}

.nav-link:hover::before,
.nav-link.active::before {
  left: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  padding: 10px 15px;
  border-radius: 8px;
  background: rgba(52, 152, 219, 0.1);
}

.phone-btn:hover {
  background: rgba(52, 152, 219, 0.2);
  transform: translateY(-2px);
}

.pulse-animation {
  animation: phonePulse 3s infinite;
}

@keyframes phonePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: var(--transition-smooth);
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at center, #0047AB 0%, #000000 100%);
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    color: white;
    overflow: hidden;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  /* max-width removed for grid layout */
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center; /* Vertically center the content */
    position: relative;
    z-index: 2;
    min-height: 600px; /* Ensure minimum height for the hero area */
}

.hero-form-wrapper {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    /* Ensure it doesn't collapse during animation */
    min-height: 420px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    /* prevent layout shifts */
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-card-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-card-header h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.form-card-header p {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group-sm {
    position: relative;
    margin-bottom: 15px;
}

.form-group-sm i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary); /* Dark text for contrast against white input */
    font-size: 0.9rem;
    z-index: 1;
}

.form-group-sm input,
.form-group-sm select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--primary); /* Dark text color */
    transition: var(--transition-smooth);
    appearance: none;
    height: 48px; /* Fixed height for inputs */
}

.form-group-sm input:focus,
.form-group-sm select:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.3);
    outline: none;
}

/* Responsive Hero */
@media (max-width: 991px) {
    .hero {
        padding-top: 120px;
        min-height: auto; /* Allow auto height on mobile */
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        min-height: auto;
    }
    
    .hero-form-wrapper {
        margin: 0 auto;
        max-width: 100%; /* Full width on smaller screens, bounded by container */
        min-height: auto; /* Remove fixed height constraint on mobile */
    }
    
    /* .hero-form-card {
        max-width: 450px;
        margin: 0 auto;
        padding: 25px;
    } */
    
    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-form-card {
        padding: 20px;
    }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 0.95rem;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 3.5rem; /* Reduced to fit one line */
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
  white-space: nowrap; /* Force one line */
  overflow: hidden; /* Hide overflow if it happens */
  text-overflow: ellipsis; /* Graceful degradation */
}

.animate-typing {
  display: inline-block;
  position: relative;
}

.typing-text {
  position: relative;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  background: white;
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.8;
  max-width: 600px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 50px 0;
}

.stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 25px 20px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 5px;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  display: block;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 35px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--gradient-primary);
  position: relative;
}

.btn-glow {
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(52, 152, 219, 0.7);
}

.btn-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: btnShine 3s infinite linear;
}

@keyframes btnShine {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%);
  }
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-lg {
  padding: 18px 45px;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.hero-features {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.feature i {
  color: var(--accent-light);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.scroll-down:hover {
  opacity: 1;
  transform: translateY(5px);
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 10px;
  background: white;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

/* Services Section */
.services {
  padding: 120px 0;
  background: var(--light-gray);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.section-title {
  color: var(--primary);
  position: relative;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.divider-line {
  width: 100px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-light),
    transparent
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  position: relative;
  height: 450px;
  perspective: 1000px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius-lg);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-front {
  background: white;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-back {
  background: var(--gradient-primary);
  color: white;
  transform: rotateY(180deg);
}

.service-icon {
  position: relative;
  margin-bottom: 25px;
}

.service-icon i {
  font-size: 3rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  animation: iconBgPulse 2s infinite;
}

@keyframes iconBgPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

.service-front h3 {
  color: var(--primary);
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.3;
}

.service-front p {
  color: var(--gray);
  text-align: center;
  margin-bottom: 20px;
}

.service-hover-indicator {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 20px;
  transition: var(--transition-smooth);
}

.service-back h3 {
  margin-bottom: 20px;
  color: white;
}

.service-back ul {
  list-style: none;
  margin-bottom: 30px;
  text-align: center;
}

.service-back ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.service-back ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-light);
}

.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.btn-service:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.service-card-bg {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: -10px;
  background: var(--primary-light);
  border-radius: var(--border-radius-lg);
  opacity: 0.1;
  z-index: -1;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-bg {
  transform: translateY(10px);
  opacity: 0.2;
}

.services-cta {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  margin-top: 60px;
}

.cta-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.cta-content p {
  color: var(--gray);
}

/* Portfolio Section */
.portfolio {
  padding: 120px 0;
  background: white;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  background: var(--light-gray);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 500;
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

.filter-btn span {
  position: relative;
  z-index: 1;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transform: translateY(100%);
  transition: var(--transition-smooth);
  border-radius: 50px;
}

.filter-btn:hover,
.filter-btn.active {
  color: white;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  transform: translateY(0);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
 
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(44, 62, 80, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: white;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: white;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.6s ease;
}

.portfolio-overlay p {
  opacity: 0.8;
  transform: translateY(20px);
  transition: transform 0.6s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

.portfolio-cta {
  text-align: center;
}

/* Quote Calculator */
.quote-calculator {
  padding: 120px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.quote-calculator .section-title {
  color: white;
}

.quote-calculator .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.calculator-wrapper {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  color: var(--dark);
  box-shadow: var(--shadow-xl);
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-header {
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  margin-bottom: 20px;
}

.form-header h3 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-steps {
  display: flex;
  gap: 10px;
}

.step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition-smooth);
}

.step.active {
  background: var(--gradient-primary);
  color: white;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary);
}

.project-type-options,
.binding-options,
.paper-options,
.color-options,
.urgency-slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.type-option,
.binding-option,
.paper-option,
.color-option,
.urgency-option {
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: white;
}

.type-option:hover,
.type-option.active,
.binding-option:hover,
.binding-option.active,
.paper-option:hover,
.paper-option.active,
.color-option:hover,
.color-option.active,
.urgency-option:hover,
.urgency-option.active {
  border-color: var(--primary-light);
  background: rgba(52, 152, 219, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.type-option i,
.binding-icon i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.binding-icon,
.urgency-icon {
  width: 50px;
  height: 50px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.paper-sample {
  width: 60px;
  height: 80px;
  margin: 0 auto 10px;
  border-radius: 4px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.paper-texture {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
    linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
    linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0px;
}

.paper-texture.premium {
  background: white;
}

.paper-texture.art {
  background: #fffaf0;
}

.color-sample {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
}

.color-bw {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #333 50%, #fff 50%);
}

.color-full {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff);
}

.color-mixed {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff6b6b 50%, #333 50%);
}

.range-slider {
  margin-top: 20px;
}

.slider {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  outline: none;
  margin: 10px 0;
  -webkit-appearance: none;
  appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-light);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--gray);
}

.slider-value {
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  margin-top: 10px;
  font-size: 1.1rem;
}

.form-navigation {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.prev-step,
.next-step {
  flex: 1;
}

.quote-result {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.quote-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.quote-card-header h3 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-badge {
  background: var(--gradient-secondary);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.quote-summary {
  margin: 25px 0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.summary-label {
  font-weight: 500;
  color: var(--gray);
}

.summary-value {
  font-weight: 600;
  color: var(--primary);
}

.quote-breakdown {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  margin: 25px 0;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.breakdown-total {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 2px solid #ddd;
  margin-top: 10px;
  font-weight: 600;
  color: var(--primary);
}

.quote-total {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--border-radius);
  margin: 30px 0;
}

.total-label {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 10px;
}

.total-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.currency {
  font-size: 2rem;
  color: var(--gray);
}

.total-note {
  font-size: 0.9rem;
  color: var(--gray);
}

.quote-discount {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  padding: 15px;
  border-radius: var(--border-radius);
  margin: 20px 0;
}

.quote-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: var(--border-radius);
  color: var(--primary);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
  padding: 120px 0;
  background: var(--light-gray);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.testimonial-slide {
  min-width: 100%;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-light);
  margin-bottom: 30px;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 40px;
  color: var(--dark);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  padding: 3px;
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--primary);
}

.author-info span {
  color: var(--gray);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary-light);
  color: white;
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: var(--primary-light);
  transform: scale(1.2);
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: white;
  overflow-x: hidden;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.info-card {
  background: var(--light-gray);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.info-card.floating {
  animation: floatCard 6s ease-in-out infinite;
}

.info-card:nth-child(1) {
  animation-delay: 0s;
}
.info-card:nth-child(2) {
  animation-delay: 1s;
}
.info-card:nth-child(3) {
  animation-delay: 2s;
}
.info-card:nth-child(4) {
  animation-delay: 3s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.info-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
  position: relative;
}

.icon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.info-card h4 {
  margin-bottom: 15px;
  color: var(--primary);
}

.info-card p {
  color: var(--gray);
  margin-bottom: 10px;
  line-height: 1.6;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  transition: var(--transition-smooth);
}

.info-link:hover {
  color: var(--secondary);
  gap: 12px;
}

.contact-form {
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h3 {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.form-header p {
  color: var(--gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px 20px 18px 50px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: white;
  font-family: "Poppins", sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus + .input-icon,
.form-group select:focus + .input-icon,
.form-group textarea:focus + .input-icon {
  color: var(--primary-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 15px;
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 2px dashed #e0e0e0;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  background: white;
}

.file-upload:hover {
  border-color: var(--primary-light);
  background: rgba(52, 152, 219, 0.05);
}

.file-upload i {
  font-size: 1.2rem;
  color: var(--primary);
}

.file-upload span {
  color: var(--gray);
}

.upload-progress {
  height: 4px;
  background: var(--primary-light);
  width: 0%;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  transition: width 0.3s ease;
}

.form-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--gray);
  font-size: 0.9rem;
}

.form-notice i {
  color: var(--success);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo i {
  font-size: 2.5rem;
  color: var(--accent-light);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-logo-text span:first-child {
  font-size: 1.8rem;
  font-weight: 800;
}

.footer-logo-text span:last-child {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 2px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

.social-link:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.social-tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.social-link:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -35px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-light);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
  color: var(--accent-light);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact-list li i {
  color: var(--accent-light);
  font-size: 1.1rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.footer-contact-list li div {
  display: flex;
  flex-direction: column;
}


.input-group button:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.newsletter-success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--success);
  margin-top: 15px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.newsletter-success.show {
  opacity: 1;
  transform: translateY(0);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-light);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-md);
}

.back-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: backPulse 2s infinite;
  z-index: -1;
}

@keyframes backPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.4;
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: white;
  padding: 20px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast i {
  color: var(--success);
  font-size: 1.2rem;
}

.toast-message {
  color: var(--dark);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: white;
    border-color: var(--primary-light);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.2;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--gray);
    font-style: italic;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-details h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.reviewer-details span {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.review-rating {
    color: var(--warning);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--light);
}

.faq-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    overflow: hidden; /* Important for accordion smooth close */
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px; /* Moved padding here for clickable area */
    cursor: pointer;
    margin-bottom: 0; /* Remove margin to flush with answer */
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-right: 15px;
    margin-bottom: 0;
    font-weight: 600;
}

.faq-question i {
    color: var(--accent);
    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.4s ease-out;
    padding: 0 25px; /* Horizontal padding only initially */
}

.faq-item.active .faq-answer {
    padding-bottom: 25px; /* Add bottom padding when open */
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 0;
}


/* Partner Slider Section */
.partners-section {
    padding: 60px 0;
    background: var(--light-gray);
    overflow: hidden;
}

.center-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-sm {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 10px;
}

.partners-slider {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.partners-slider::before,
.partners-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--light-gray) 0%, transparent 100%);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--light-gray) 0%, transparent 100%);
}

.slide-track {
    display: flex;
    width: calc(250px * 14); /* 250px * number of slides */
    animation: scroll 40s linear infinite;
    gap: 30px;
}

.slide-track:hover {
    animation-play-state: paused;
}

.partner-slide {
    /* width: 250px; */
    height: 120px;
    background: white;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 15px 15px;
    min-width: 200px;
}



.partner-slide img {
  height: 45px;          
  opacity: 0.8;
  transition: all 0.3s ease;
  
}


.partner-slide i {
    font-size: 2.5rem;
    color: var(--gray);
    transition: var(--transition-smooth);
}

.partner-slide span {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.partner-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.partner-slide:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7 - 210px)); } /* slide width * unique slides + total gap */
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 100px 30px 30px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-smooth);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }
  .hero-scroll{
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-type-options,
  .binding-options,
  .paper-options,
  .color-options,
  .urgency-slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-cta {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  /* Keeping 2 columns on tablet for better density */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 14px 25px;
  }

  .container {
    padding: 0 15px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  /* Enforcing single column on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
  }
}



