:root {

  /* Color variables remain the same */

  --background: #ffffff;

  --foreground: #0f172a;

  --muted: #f8fafc;

  --muted-foreground: #64748b; /* Changed from #0e0e0e to a medium gray that works on light backgrounds */

  --border: #e2e8f0;

  --primary: #4f46e5;

  --primary-foreground: #ffffff;

  --card: #ffffff;

  --card-foreground: #0f172a;

  --radius-sm: 6px;

  --radius-md: 12px;

  --radius-lg: 16px;

  --radius-xl: 24px;

  --accent: #8a5cff;

  --success: #10b981;

  

  /* New responsive spacing variables */

  --section-padding: clamp(40px, 8vw, 80px);

  --card-padding: clamp(20px, 4vw, 32px);

  --container-padding: clamp(16px, 4vw, 24px);

  

  /* Dark theme colors for sections with dark backgrounds */

  --dark-foreground: #ffffff;

  --dark-muted-foreground: #a5b4fc; /* Light purple that works well on dark backgrounds */

}



* {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

}



body {

  background-color: var(--background);

  color: var(--foreground);

  font-size: clamp(16px, 2vw, 18px);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

  overflow-x: hidden;

}



h1, h2, h3, h4, p, ul {

  margin: 0;

  padding: 0;

}



ul {

  list-style: none;

}



img {

  max-width: 100%;

  display: block;

  height: auto;

}



a {

  text-decoration: none;

  color: inherit;

}



.container {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 var(--container-padding);

}



.section {

  padding: var(--section-padding) 0;

}



.section-muted {

  background-color: var(--muted);

}



.text-center {

  text-align: center;

}



.flex {

  display: flex;

}



.items-center {

  align-items: center;

}



.justify-between {

  justify-content: space-between;

}



.justify-center {

  justify-content: center;

}



.flex-col {

  flex-direction: column;

}



.grid {

  display: grid;

}



.gap-4 {

  gap: clamp(12px, 2vw, 16px);

}



.gap-6 {

  gap: clamp(16px, 3vw, 24px);

}



.gap-8 {

  gap: clamp(20px, 4vw, 32px);

}



.gap-12 {

  gap: clamp(30px, 6vw, 48px);

}



.gap-16 {

  gap: clamp(40px, 8vw, 64px);

}



.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: clamp(12px, 2.5vw, 14px) clamp(20px, 4vw, 28px);

  border-radius: var(--radius-sm);

  font-size: clamp(14px, 2vw, 16px);

  font-weight: 600;

  cursor: pointer;

  text-decoration: none;

  border: none;

  white-space: nowrap;

  transition: all 0.3s ease;

  position: relative;

  overflow: hidden;

  min-height: 48px; /* Ensures touch target is at least 48px */

}



.btn-primary {

  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);

  color: var(--primary-foreground);

  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);

}



.btn-primary:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.4);

}



.btn-outline {

  background: transparent;

  border: 1px solid var(--border);

  color: var(--foreground);

}



.btn-outline:hover {

  background-color: var(--muted);

  border-color: var(--primary);

  color: var(--primary);

}



.badge {

  display: inline-flex;

  align-items: center;

  padding: 6px 16px;

  border-radius: 99px;

  background: rgba(79, 70, 229, 0.1);

  color: var(--primary);

  font-size: clamp(12px, 1.5vw, 14px);

  font-weight: 600;

  margin-bottom: clamp(16px, 3vw, 24px);

}



.text-gradient {

  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}



.section-title {

  font-size: clamp(28px, 5vw, 40px);

  font-weight: 800;

  margin-bottom: clamp(16px, 3vw, 20px);

  line-height: 1.2;

  letter-spacing: -0.02em;

}



.section-subtitle {

  font-size: clamp(16px, 2.5vw, 18px);

  color: var(--muted-foreground);

  max-width: 600px;

  margin: 0 auto clamp(30px, 6vw, 48px);

}



.icon-wrap {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 24px;

  height: 24px;

  flex-shrink: 0;

}



.icon-wrap-lg {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 48px;

  height: 48px;

  background: rgba(79, 70, 229, 0.1);

  border-radius: var(--radius-md);

  margin-bottom: clamp(16px, 3vw, 20px);

}



/* Navbar Styles */

.navbar {

  padding: clamp(16px, 3vw, 20px) 0;

  border-bottom: 1px solid var(--border);

  background: var(--background);

  position: sticky;

  top: 0;

  z-index: 100;

  backdrop-filter: blur(10px);

  background-color: rgba(255, 255, 255, 0.9);

}



.logo {

  font-size: clamp(20px, 3vw, 24px);

  font-weight: 800;

  display: flex;

  align-items: center;

  gap: 8px;

}



.mobile-menu-toggle {

  display: none;

  background: transparent;

  border: none;

  cursor: pointer;

  padding: 8px; /* Increased padding for better touch target */

  min-width: 44px;

  min-height: 44px;

}



/* Hero Section */

.hero {

  padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 6vw, 60px);

  text-align: center;

}



.hero-title {

  font-size: clamp(32px, 6vw, 56px);

  font-weight: 800;

  line-height: 1.1;

  letter-spacing: -0.02em;

  max-width: 900px;

  margin: 0 auto clamp(16px, 3vw, 24px);

}



.hero-subtitle {

  font-size: clamp(16px, 2.5vw, 20px);

  color: var(--muted-foreground);

  max-width: 600px;

  margin: 0 auto clamp(30px, 5vw, 40px);

}



.trust-row {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: clamp(16px, 4vw, 32px);

  margin-top: clamp(40px, 8vw, 64px);

  padding-top: clamp(30px, 6vw, 48px);

  border-top: 1px solid var(--border);

}



.trust-item {

  display: flex;

  align-items: center;

  gap: 12px;

  font-weight: 600;

  color: #fff; /* Changed from #fff to use variable */

}



/* Grid Layouts */

.grid-4 {

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

}



.grid-3 {

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

}



.grid-2 {

  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

}



/* Card Styles */

.card {

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  padding: var(--card-padding);

  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);

  display: flex;

  flex-direction: column;

  transition: all 0.3s ease;

}



.card:hover {

  transform: translateY(-5px);

  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

}



.card-title {

  font-size: clamp(18px, 3vw, 20px);

  font-weight: 700;

  margin-bottom: 12px;

  color: var(--card-foreground);

}



.card-desc {

  color: var(--muted-foreground);

  font-size: clamp(14px, 2vw, 15px);

}



/* Process Steps */

.process-step {

  position: relative;

  padding-left: 32px;

  border-left: 2px dashed var(--border);

  padding-bottom: clamp(32px, 6vw, 48px);

}



.process-step:last-child {

  border-left-color: transparent;

  padding-bottom: 0;

}



.step-number {

  position: absolute;

  left: -21px;

  top: 0;

  width: 40px;

  height: 40px;

  border-radius: 50%;

  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);

  color: white;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 18px;

  font-weight: 700;

  border: 4px solid var(--background);

}



/* Authority Section */

.authority-section {

  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);

  color: var(--dark-foreground); /* Use dark foreground color */

  border-radius: var(--radius-xl);

  padding: clamp(40px, 8vw, 60px);

  margin: 40px var(--container-padding);

}



/* Override text colors for dark sections */

.authority-section .section-subtitle {

  color: var(--dark-muted-foreground); /* Use light color for muted text on dark background */

}



.authority-section .card-desc {

  color: var(--dark-muted-foreground); /* Use light color for card descriptions */

}



/* Portfolio Carousel Styles */

.portfolio-carousel {

  position: relative;

  overflow: hidden;

  border-radius: var(--radius-lg);

  margin: 0 -12px;

}



.carousel-container {

  display: flex;

  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);

}



.carousel-slide {

  min-width: calc(50% - 24px);

  margin: 0 12px;

  position: relative;

  border-radius: var(--radius-lg);

  overflow: hidden;

  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

  transition: all 0.3s ease;

}



.carousel-slide:hover {

  transform: translateY(-5px);

  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

}



.carousel-slide img {

  width: 100%;

  height: clamp(250px, 30vw, 350px);

  object-fit: cover;

}



.carousel-content {

  position: absolute;

  bottom: 0;

  left: 0;

  right: 0;

  padding: clamp(20px, 4vw, 30px) 20px 20px;

  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);

  color: white;

}



.carousel-category {

  font-size: 12px;

  font-weight: 600;

  color: #a78bfa;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  margin-bottom: 6px;

}



.carousel-title {

  font-size: clamp(16px, 3vw, 20px);

  font-weight: 700;

  margin-bottom: 12px;

}



.carousel-link {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: white;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.3s ease;

  font-size: 14px;

}



.carousel-link:hover {

  color: #a78bfa;

  transform: translateX(3px);

}



.carousel-nav {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 100%;

  display: flex;

  justify-content: space-between;

  padding: 0 20px;

  pointer-events: none;

}



.carousel-btn {

  width: clamp(40px, 5vw, 48px);

  height: clamp(40px, 5vw, 48px);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);

  border: none;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.3s ease;

  pointer-events: all;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  min-width: 44px; /* Ensures touch target is at least 44px */

  min-height: 44px;

}



.carousel-btn:hover {

  background: white;

  transform: scale(1.1);

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);

}



.carousel-btn.prev {

  margin-left: -10px;

}



.carousel-btn.next {

  margin-right: -10px;

}



.carousel-indicators {

  display: flex;

  justify-content: center;

  gap: 8px;

  margin-top: 24px;

}



.indicator {

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: var(--border);

  cursor: pointer;

  transition: all 0.3s ease;

}



.indicator.active {

  background: var(--primary);

  width: 24px;

  border-radius: 4px;

}



/* FAQ Item */

.faq-item {

  border: 1px solid var(--border);

  border-radius: var(--radius-md);

  padding: clamp(16px, 3vw, 24px);

  margin-bottom: 16px;

  background: var(--card);

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-weight: 600;

  font-size: clamp(14px, 2vw, 16px);

  cursor: pointer;

  transition: all 0.3s ease;

}



.faq-item:hover {

  border-color: var(--primary);

}



/* List Item */

.list-item {

  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin-bottom: 16px;

}



.list-icon {

  margin-top: 2px;

}



/* CTA Box */

.cta-box {

  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);

  border-radius: var(--radius-xl);

  padding: clamp(40px, 8vw, 80px) var(--container-padding);

  text-align: center;

  color: white;

  position: relative;

  overflow: hidden;

}



.cta-box::before {

  content: '';

  position: absolute;

  top: -50%;

  right: -50%;

  width: 200%;

  height: 200%;

  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);

  transform: rotate(45deg);

}



/* Footer */

.footer {

  padding: clamp(30px, 5vw, 40px) 0;

  border-top: 1px solid var(--border);

  text-align: center;

  color: var(--muted-foreground);

}



/* Modal Styles */

.modal {

  display: none;

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background-color: rgba(0, 0, 0, 0.5);

  z-index: 1000;

  overflow-y: auto;

  animation: fadeIn 0.3s ease;

  padding: 20px; /* Add padding to prevent modal from touching screen edges */

}



.modal.active {

  display: flex;

  align-items: center;

  justify-content: center;

}



.modal-content {

  background-color: white;

  border-radius: var(--radius-xl);

  max-width: 500px;

  width: 100%;

  padding: clamp(24px, 5vw, 40px);

  position: relative;

  animation: slideUp 0.3s ease;

  max-height: 90vh; /* Prevent modal from exceeding viewport height */

  overflow-y: auto; /* Allow scrolling if content is too long */

}



.modal-close {

  position: absolute;

  top: 20px;

  right: 20px;

  background: transparent;

  border: none;

  cursor: pointer;

  font-size: 24px;

  color: var(--muted-foreground);

  width: 40px;

  height: 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  transition: background-color 0.3s ease;

}



.modal-close:hover {

  background-color: var(--muted);

}



.form-group {

  margin-bottom: clamp(16px, 3vw, 20px);

}



.form-label {

  display: block;

  margin-bottom: 8px;

  font-weight: 600;

  font-size: clamp(14px, 2vw, 16px);

}



.form-input, .form-textarea, .form-select {

  width: 100%;

  padding: 12px;

  border: 1px solid var(--border);

  border-radius: var(--radius-sm);

  font-family: inherit;

  font-size: clamp(14px, 2vw, 16px);

  transition: border-color 0.3s ease;

  min-height: 48px; /* Ensures touch target is at least 48px */

}



.form-input:focus, .form-textarea:focus, .form-select:focus {

  outline: none;

  border-color: var(--primary);

}



.form-textarea {

  resize: vertical;

  min-height: 100px;

}



/* Animations */

@keyframes fadeIn {

  from { opacity: 0; }

  to { opacity: 1; }

}



@keyframes slideUp {

  from { transform: translateY(30px); opacity: 0; }

  to { transform: translateY(0); opacity: 1; }

}



/* Responsive Styles */

@media (max-width: 992px) {

  .grid-2 {

    grid-template-columns: 1fr;

  }

  .carousel-indicators {

    display: none;

  }

  .shopify-website-devlopment .hero.container, 

  .shopify-website-devlopment .section {

    padding: 40px 10px;

  }

  

  .authority-section {

    padding: clamp(5px, 3vw, 25px);

}

}



@media (max-width: 768px) {

  .mobile-menu-toggle {

    display: block;

  }

  .nav-links {

    display: none;

  }

  .grid-3, .grid-4 {

    grid-template-columns: 1fr;

  }

  .trust-row {

    gap: 16px;

  }

  .trust-item {

    font-size: 14px;

  }

  .process-step {

    padding-bottom: 32px;

  }

  /* Mobile carousel - show 1 slide */

  .carousel-slide {

    min-width: calc(100% - 24px);

  }

}



@media (max-width: 480px) {

  .carousel-nav {

    padding: 0 10px;

  }

  .carousel-btn.prev {

    margin-left: -5px;

  }

  .carousel-btn.next {

    margin-right: -5px;

  }

}  


/* Case Studies Section Styles */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}
 
.case-study-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
 
.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
 
.case-study-image {
    height: 220px;
    overflow: hidden;
}
 
.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
 
.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}
 
.case-study-content {
    padding: 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
 
.case-study-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 99px;
    margin-bottom: 16px;
    width: fit-content;
}
 
.case-study-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--card-foreground);
    line-height: 1.3;
}
 
.case-study-desc {
    color: var(--muted-foreground);
    font-size: 16px;
    margin-bottom: 24px;
    flex-grow: 1;
}
 
.case-study-metrics {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
 
.metric {
    text-align: center;
    flex: 1;
}
 
.metric-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
 
.metric-label {
    font-size: 14px;
    color: var(--muted-foreground);
}
 
.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    align-self: flex-start;
}
 
.case-study-link:hover {
    transform: translateX(4px);
    color: var(--accent);
}
 
/* Brands Section Styles */
.brands-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 48px;
    padding: 24px 0;
}
 
.brands-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}
 
.brand-item {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    /*filter: grayscale(100%);*/
    opacity: 1;
    transition: all 0.3s ease;
}
 
.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}
 
.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
 
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
 
/* Responsive Styles for Case Studies */
@media (max-width: 992px) {
    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
}
 
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .case-study-content {
        padding: 24px;
    }
    .case-study-title {
        font-size: 22px;
    }
    .case-study-metrics {
        gap: 16px;
    }
    .metric-value {
        font-size: 24px;
    }
    .brand-item {
        width: 160px;
        height: 80px;
        margin: 0 16px;
    }
}
 
@media (max-width: 480px) {
    .case-study-image {
        height: 180px;
    }
    .case-study-content {
        padding: 10px;
    }
    .case-study-title {
        font-size: 20px;
    }
    .case-study-desc {
        font-size: 15px;
    }
    .case-study-metrics {
        gap: 12px;
    }
    .metric-value {
        font-size: 20px;
    }
    .metric-label {
        font-size: 12px;
    }
    .brand-item {
        width: 120px;
        height: 60px;
        margin: 0 12px;
    }
}