/*
Theme Name: Ceylon Web Theme
Theme URI: https://ceylonwebsolutins.com/
Author: Sathsidu
Description: Converted from static HTML to a WordPress theme for Ceylon Web Solutions.
Version: 1.0.0
Text Domain: ceylon-web-theme
*/

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

:root {
  --primary: hsl(18, 100%, 47%);
  --primary-glow: hsla(18, 100%, 47%, 0.3);
  --bg-dark: hsl(240, 10%, 4%);
  --bg-card: hsl(240, 5%, 10%);
  --text-main: hsl(0, 0%, 92%);
  --text-muted: hsl(0, 0%, 65%);
  --border: hsla(0, 0%, 100%, 0.08);
  --glass: rgba(255, 255, 255, 0.03);

  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.brand {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Utils */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.glow-text {
  text-shadow: 0 0 20px var(--primary-glow);
}

.accent {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--primary-glow);
}

/* Sections */
section {
  padding: 120px 0;
}

.section-header {
  margin-bottom: 60px;
}

h1 {
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 20px;
}

h3 {
  margin-bottom: 15px;
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 24px;
  font-weight: 800;
}

.desktop-nav a {
  margin-left: 30px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--primary);
}

.btn-outline {
  padding: 12px 24px;
  border: 1px solid var(--border);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--border);
}

/* Hero */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: brightness(0.7);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(transparent, var(--bg-dark));
}

.hero-content h1 {
  font-size: 84px;
  line-height: 0.9;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

/* Page Hero */
.page-hero {
  padding-top: 180px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hero h1 {
  font-size: 64px;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

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

/* Marquee */
.marquee-container {
  background: var(--primary);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee span {
  font-family: 'Outfit';
  font-weight: 800;
  font-size: 48px;
  color: black;
  margin-right: 40px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.service-card {
  padding: 30px; /* reduced for better center space */
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  perspective: 1000px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* HOVER */
.service-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  border-color: var(--primary);
  box-shadow: -10px 15px 30px rgba(238, 77, 0, 0.15);
}

/* IMAGE ICONS CENTER */
.card-main-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(30, 215, 96, 0.05); /* very soft primary colored gloss */
  border: 1px solid rgba(30, 215, 96, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: transform 0.5s ease, background 0.3s ease;
}

.card-main-icon i {
  color: var(--primary);
  width: 50px;
  height: 50px;
  transition: transform 0.5s ease;
}

/* Hover effects for the new icons */
.service-card:hover .card-main-icon {
  background: rgba(30, 215, 96, 0.1);
  transform: scale(1.1);
}
.service-card:hover .card-main-icon i {
  transform: scale(1.1) rotate(-5deg);
}

/* TITLE */
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* TEXT */
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ICON */
.card-icon {
  position: absolute;
  top: 25px;
  right: 15px;
  font-size: 20px;
  opacity: 0.5;
}

/* MOBILE */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .card-video {
    width: 200px;
    height: 200px;
  }
}

/* Footer */
footer {
  padding-top: 100px;
  position: relative;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-brand .brand {
  font-size: 48px;
  margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 25px;
  font-size: 18px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 15px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bg-text {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  font-family: 'Outfit';
  font-weight: 900;
  font-size: 250px;
  color: hsla(0, 0%, 100%, 0.02);
  text-align: center;
  pointer-events: none;
  z-index: -1;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-toggle {
  display: none;
  cursor: pointer;
  color: var(--primary);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .desktop-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 40px;
    text-align: center;
  }

  .desktop-nav.active {
    display: flex;
  }

  .desktop-nav a {
    margin: 20px 0;
    font-size: 18px;
  }
}

/* Inner Page Hero */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(var(--bg-card), var(--bg-dark));
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 64px;
}

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 105, 0, 0.05);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

/* ===== PROJECT GRID FIX ===== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD */
.project-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 320px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

/* IMAGE FIX */
.project-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

/* TEXT ONLY CARD */
.project-card.text-card {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--glass);
}
.project-card.text-card .project-overlay {
  position: static;
  background: transparent;
  transform: none;
  padding: 0;
  width: 100%;
}
.project-card.text-card p {
  color: var(--primary);
  opacity: 1;
}

/* REMOVE ZOOM EFFECT */
.project-card:hover .project-img {
  transform: scale(1.05);
}

/* OVERLAY (ALWAYS VISIBLE) */
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  opacity: 1;
  transform: none;
}

/* TEXT STYLE */
.project-overlay h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* LOGO IMAGE SIZE & ALIGNMENT FIX */
.project-card.logo-card .project-img {
  background-size: 70%;
  background-position: center 40%;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
  .project-card {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .project-card {
    height: 280px; /* Made slightly taller on mobile to compensate for 1 column */
    border-radius: 20px;
  }
  .project-overlay {
    padding: 25px 20px;
  }
  .project-overlay h3 {
    font-size: 20px;
  }
  .project-overlay p {
    font-size: 14px;
    opacity: 0.9;
  }
}

/* About Page */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  font-size: 42px;
  margin-bottom: 30px;
}

.about-img {
  height: 500px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

/* Hosting */
.hosting {
  background: linear-gradient(var(--bg-dark), #0f0f12);
  position: relative;
  overflow: hidden;
}

.hosting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.hosting-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.h-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.h-feature i {
  color: var(--primary);
  font-size: 20px;
}

.stats-3d-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  perspective: 2000px;
  padding: 40px 0;
}

.stat-3d-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 30px 40px;
  border-radius: 20px;
  transform: rotateY(-25deg) rotateX(15deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: -30px 40px 80px rgba(0, 0, 0, 0.5);
  max-width: 400px;
}

.stat-3d-card:nth-child(2) {
  margin-left: 60px;
  transition-delay: 0.1s;
}

.stat-3d-card:nth-child(3) {
  margin-left: 120px;
  transition-delay: 0.2s;
}

.stat-3d-card:hover {
  transform: rotateY(-10deg) rotateX(5deg) translateX(20px);
  border-color: var(--primary);
  box-shadow: -15px 20px 40px rgba(238, 77, 0, 0.15);
}

.stat-number {
  font-family: 'Outfit';
  font-size: 64px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Outfit';
  font-size: 28px;
  color: var(--primary);
  margin-left: 5px;
  font-weight: 800;
}

.stat-label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  margin-top: 10px;
  font-weight: 600;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(235, 70, 4, 0.4);
  transition: var(--transition);
  font-weight: 600;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(235, 70, 4, 0.6);
}

.whatsapp-float i {
  font-size: 24px;
}

@media (max-width: 768px) {
  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 15px;
    bottom: 20px;
    right: 20px;
  }

  .contact-grid,
  .about-section,
  .services-grid,
  .hosting-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-3d-card:nth-child(n) {
    margin-left: 0;
    transform: rotateY(0) rotateX(0);
    max-width: 100%;
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  padding: 50px 40px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card.featured {
  border: 1px solid var(--primary);
  background: rgba(235, 70, 4, 0.05);
  transform: scale(1.05);
}

.package-name {
  font-family: 'Outfit';
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.package-price {
  font-family: 'Outfit';
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 30px;
}

.package-features {
  list-style: none;
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
}

.package-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
}

.package-features li:last-child {
  border-bottom: none;
}

/* Project Detail Page */
.detail-hero {
  padding: 180px 0 100px;
  background: var(--bg-card);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 80px;
  margin-top: -100px;
}

.detail-main-img {
  width: 100%;
  height: 600px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.detail-sidebar {
  padding-top: 120px;
}

.detail-sidebar h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.detail-sidebar p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.project-meta {
  margin-bottom: 40px;
}

.meta-item {
  margin-bottom: 20px;
}

.meta-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 5px;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .detail-content-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .detail-main-img {
    height: 350px;
  }

  .detail-sidebar {
    padding-top: 0;
  }
}

/* Global Tech Globe */
.global-tech {
  height: 80vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
  border-top: 1px solid var(--border);
  background: black;
}

.globe-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.global-content {
  position: relative;
  z-index: 2;
}

.global-text-wrap {
  max-width: 650px;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 60px;
  border-radius: 30px;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.global-text-wrap h2 {
  font-size: 52px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.global-stats-grid {
  display: flex;
  gap: 50px;
  margin-top: 40px;
}

.g-stat {
  display: flex;
  flex-direction: column;
}

.g-stat .stat-number {
  font-size: 48px;
}

@media (max-width: 768px) {
  .global-tech {
    height: auto;
    padding: 100px 0;
  }

  .global-text-wrap {
    padding: 30px;
  }

  .global-text-wrap h2 {
    font-size: 36px;
  }

  .global-stats-grid {
    flex-direction: column;
    gap: 30px;
  }
}

/* WordPress Excellence Highlight */
.wp-highlight {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background-color: #050505;
}

.wp-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}

.wp-highlight .container {
  position: relative;
  z-index: 2;
}

.wp-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.wp-text-side h2 {
  font-size: 48px;
  margin-bottom: 24px;
}

.wp-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.wp-stats div {
  display: flex;
  flex-direction: column;
}

.wp-stats strong {
  font-family: 'Outfit';
  font-size: 36px;
  color: var(--primary);
}

.wp-stats span {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.wp-form-side {
  display: flex;
  justify-content: flex-end;
}

.wp-quick-form {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  border-radius: 24px;
}

@media (max-width: 992px) {
  .wp-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .wp-form-side {
    justify-content: center;
  }
}

/* Tech Stack Wave */
.tech-wave {
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
  gap: 40px;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tech-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  animation: waveFloat 4s ease-in-out infinite;
}

/* Stagger wave floating animation */
.tech-icon-box:nth-child(2n) {
  animation-delay: 0.5s;
}

.tech-icon-box:nth-child(3n) {
  animation-delay: 1s;
}

.tech-icon-box:nth-child(4n) {
  animation-delay: 1.5s;
}

.tech-icon-box:nth-child(5n) {
  animation-delay: 2s;
}

@keyframes waveFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.tech-icon-box i {
  font-size: 42px;
  color: var(--text-main);
  transition: var(--transition);
}

.logo-wp {
  color: #21759b !important;
}

.logo-react {
  color: #61dbfb !important;
}

.logo-node {
  color: #68a063 !important;
}

.logo-python {
  color: #3776ab !important;
}

.logo-aws {
  color: #ff9900 !important;
}

.logo-ai {
  color: #00ffcc !important;
}

.tech-icon-box:hover i {
  transform: scale(1.2);
  filter: drop-shadow(0 0 15px currentColor);
}

.tech-icon-box span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* WordPress Highlight Banner */
.wp-highlight {
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.wp-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.wp-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wp-text-side {
  max-width: 600px;
}

.wp-text-side h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.wp-quick-form {
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wp-quick-form h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

@media (max-width: 1024px) {
  .wp-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .wp-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .wp-text-side h2 {
    font-size: 36px;
  }

  .wp-quick-form {
    padding: 30px;
  }
}

.wp-stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
}

.wp-stats div {
  display: flex;
  flex-direction: column;
}

.wp-stats strong {
  font-size: 28px;
  color: var(--primary);
}

.wp-stats span {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .wp-content {
    padding: 30px;
  }

  .wp-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* Partners Slider */
.partners {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 100px 0;
}

.partners-slider {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.partners-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
  gap: 80px;
  align-items: center;
}

.partner-logo {
  font-family: 'Outfit';
  font-size: 20px;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition);
  filter: grayscale(1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-logo i {
  font-size: 24px;
  color: var(--primary);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  color: var(--text-main);
  transform: scale(1.1);
}

.partner-logo span {}

/* Mini Story Section */
.mini-story {
  padding: 140px 0;
 
  background-size: 400% 400%;
  animation: gradientPulse 12s ease infinite;
}

@keyframes gradientPulse {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mini-story .about-section {
  align-items: center;
}



.mini-story .about-img::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 80px;
  border-top: 4px solid var(--primary);
  border-left: 4px solid var(--primary);
}

/* Testimonials */
.testimonial-slider-outer {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.testimonial-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 60s linear infinite;
  gap: 30px;
}

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

.testimonial-card {
  width: 350px;
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.stars {
  color: #ffcc00;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
}

.client {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.client strong {
  display: block;
  font-size: 16px;
  color: var(--primary);
}

.client span {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 300px;
    padding: 30px;
  }
}

/* --- COMPREHENSIVE MOBILE OVERHAUL --- */
@media (max-width: 768px) {

  /* Typography Scaling */
  h1 {
    font-size: 38px !important;
    line-height: 1.1;
  }

  h2 {
    font-size: 32px !important;
    letter-spacing: -0.01em;
  }

  .hero-content {
    padding-top: 100px;
  }

  .page-hero {
    padding-top: 120px !important;
    padding-bottom: 40px !important;
  }
  
  .page-hero h1 {
    font-size: 42px !important;
  }

  /* Grid Stacking */
  .services-grid,
  .pricing-grid,
  .footer-grid,
  .projects-grid,
  .detail-content-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .wp-grid {
    grid-template-columns: 1fr !important;
    gap: 50px;
  }

  .about-section {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  /* Sections Spacing */
  section {
    padding: 80px 0 !important;
  }

  /* Specific Component Fixes */
  .tech-icon-box i {
    font-size: 36px;
  }

  .wp-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  /* Prevent Overflow Side-scroll */
  .tech-wave,
  .testimonial-slider-outer,
  .partners-slider {
    width: 100vw;
    margin-left: -20px;
    /* Offset container padding */
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

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