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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 16px;
  transition:
    background-color 0.3s,
    color 0.3s;
}

::-webkit-scrollbar {
  display: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  transition: color 0.3s;
}

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

p {
  margin-bottom: 1rem;
}

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

a:hover {
  filter: brightness(1.2);
}

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ////////////////////////////////////////////// */
/* /////////////////////header/////////////////// */
/* ////////////////////////////////////////////// */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background-color: transparent;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
}

.header.scrolled {
  background-color: var(--nav-bg);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

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

.nav-links a {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
}
.menu-toggle {
  display: none;
}

/* ////////////////////////////////////////////// */
/* /////////////////////footer/////////////////// */
/* ////////////////////////////////////////////// */

.site-footer {
  padding: 60px 0 20px;
  background-color: var(--card-color);
  border-top: 1px solid var(--border-color);
}

.site-footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul a {
  color: var(--text-secondary);
}

.footer-column ul a:hover {
  color: var(--text-primary);
}

.social-icons a {
  font-size: 1.5rem;
  margin-right: 15px;
  color: var(--text-secondary);
}

.social-icons a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 2rem;
  padding-right: 2rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links a {
  color: var(--text-secondary);
  margin-left: 20px;
}

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-bottom-links {
    display: flex;
    flex-direction: row;
    gap: 5px;
  }

  .footer-bottom-links a {
    margin-left: 0;
  }
}

/* ////////////////////////////////////////////// */
/* ////////////////testimonials////////////////// */
/* ////////////////////////////////////////////// */

.testimonials-section {
  background-color: var(--card-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.testimonial-slider {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-bottom: 40px;
}

.testimonial-card {
  width: 100%;
  max-width: 350px;
  background-color: #08101e;
  border: 1px solid #1e293b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-card:hover {
  border-color: #00e6f7;

  transform: translateY(-5px);
}

.card-top {
  background: linear-gradient(135deg, #0c182c, #132540);
  height: 120px;
  position: relative;
}

.profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #08101e;
  outline: 2px solid #00e6f7;
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  object-fit: cover;
  background-color: #fff;
}

.card-body {
  padding: 65px 25px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-icon {
  color: #00e6f7;
  font-size: 24px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 300;
}

.author-info {
  margin-top: auto;
}

.author {
  font-weight: 600;
  font-size: 1rem;
  color: #e0e8f0;
  margin: 0;
  letter-spacing: 0.5px;
}

.company {
  display: block;
  font-size: 0.75rem;
  color: #00e6f7;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* //////////////////////////////////////// */
/* /////////////////Form////////////// */
/* //////////////////////////////////////// */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 16, 30, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--nav-bg);
  padding: 2rem 3rem;
  border-radius: 12px;
  border: 1px solid var(--dark-border);
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s;
}

.popup-overlay.visible .popup-content {
  transform: scale(1);
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

.form-submit-btn {
  width: 100%;
}

/* =========================================
           1. ROOT VARIABLES & THEMES
           ========================================= */
:root {
  --dark-bg: #0a101e;
  --dark-card: #10182c;
  --dark-border: #1e293b;
  --dark-text-primary: #e2e8f0;
  --dark-text-secondary: #94a3b8;

  --light-bg: #f8fafc;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  --light-text-primary: #0f172a;
  --light-text-secondary: #475569;

  --cyan: #00e6f7;
  --blue: #3672f8;

  --font-sans: "Poppins", sans-serif;
  --font-display: "Orbitron", sans-serif;
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

[data-theme="dark"] {
  --bg-color: var(--dark-bg);
  --card-color: var(--dark-card);
  --border-color: var(--dark-border);
  --text-primary: var(--dark-text-primary);
  --text-secondary: var(--dark-text-secondary);
  --nav-bg: rgba(10, 16, 30, 0.7);
}

[data-theme="light"] {
  --bg-color: var(--light-bg);
  --card-color: var(--light-card);
  --border-color: var(--light-border);
  --text-primary: var(--light-text-primary);
  --text-secondary: var(--light-text-secondary);
  --nav-bg: rgba(248, 250, 252, 0.7);
}

/* =========================================
           2. GLOBAL RESETS & TYPOGRAPHY
           ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 16px;
  transition:
    background-color 0.3s,
    color 0.3s;
}

/* Use a utility class for the blog body rather than global overflow:hidden */
body.blog-page {
  overflow: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  transition: color 0.3s;
}

h1 {
  font-size: clamp(40px, 8vw, 60px);
}
h2 {
  font-size: clamp(28px, 5vw, 40px);
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  filter: brightness(1.2);
}

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  margin: 15px auto 0;
  border-radius: 2px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--cyan);
  border-radius: var(--border-radius);
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(0, 230, 247, 0.4);
  transform: scale(1);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 230, 247, 0.6);
}

.site-footer {
  padding: 60px 0 20px;
  background-color: var(--card-color);
  border-top: 1px solid var(--border-color);
}

/* =========================================
           3. HEADER & NAVIGATION
           ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background-color: transparent;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
}

.header.scrolled {
  background-color: var(--nav-bg);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}
.nav-links li {
  margin: 0 15px;
}
.nav-links a {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
}

/* Theme Switch */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.theme-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-left: 15px;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--dark-border);
  transition: 0.4s;
  border-radius: 22px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--cyan);
}
input:checked + .slider:before {
  transform: translateX(18px);
}

/* =========================================
           4. REVEAL & POPUP FORMS
           ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 16, 30, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background: var(--nav-bg);
  padding: 2rem 3rem;
  border-radius: 12px;
  border: 1px solid var(--dark-border);
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s;
}
.popup-overlay.visible .popup-content {
  transform: scale(1);
}
.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.form-submit-btn {
  width: 100%;
}

/* =========================================
           5. HERO SECTIONS
           ========================================= */
.page-hero {
  padding-top: 180px;
  padding-bottom: 80px;
  text-align: center;
  background-color: var(--card-color);
}
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
}
#hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--dark-bg);
}
.hero-content {
  text-align: center;
  z-index: 1;
}
.hero-headline {
  font-size: clamp(40px, 8vw, 70px);
  font-weight: 900;
  color: var(--dark-text-primary);
  text-shadow: 0 0 20px rgba(0, 230, 247, 0.3);
  margin-bottom: 20px;
}
.hero-subtext {
  font-size: 1.2rem;
  color: var(--dark-text-secondary);
  max-width: 650px;
  margin: 0 auto 40px;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--dark-text-secondary);
  border-radius: 12px;
}
.scroll-cue::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--dark-text-secondary);
  border-radius: 2px;
  animation: scroll-anim 2s infinite;
}
@keyframes scroll-anim {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
}

/* =========================================
           6. ABOUT, TEAM & ADVANTAGES
           ========================================= */

.page-hero p {
  font-size: 16px;
}
.home-about-section {
  background-color: var(--card-color);
}
.about-section {
  background-color: var(--bg-color);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
  aspect-ratio: 1/1;
}
.about-content h2 {
  margin-bottom: 1.5rem;
}
.about-content h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  margin: 15px 0 0;
  border-radius: 2px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.team-section {
  background-color: var(--card-color);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--cyan);
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 3px solid var(--cyan);
}
.team-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.why-us-section {
  background-color: var(--card-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-us-image img {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.advantage-item:last-child {
  margin-bottom: 0;
}
.advantage-icon {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-top: 5px;
  width: 25px;
}
.advantage-item h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* =========================================
           7. SERVICES & PROCESSES
           ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.service-card {
  background-color: var(--card-color);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 230, 247, 0.1), transparent 40%);
  transform: scale(0);
  transition: transform 0.5s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--cyan);
}
.service-card:hover::before {
  transform: scale(1);
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: -webkit-linear-gradient(45deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
}
.service-card button {
  padding: 10px 22px;
  border: 1px solid var(--cyan);
  border-radius: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}
.service-card button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 200, 255, 0.35);
}
.service-card button:active {
  transform: scale(0.96);
}
.service-card button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}
.service-card button:hover::before {
  left: 100%;
}

.service-detail-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.service-detail-section:nth-child(even) {
  grid-template-columns: 2fr 1fr;
}
.service-detail-section:nth-child(even) .service-icon-wrapper {
  grid-column: 2;
  grid-row: 1;
}
.service-detail-section:nth-child(even) .service-detail-content {
  grid-column: 1;
  grid-row: 1;
}
.service-icon-wrapper {
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border-color);
}
.service-icon-wrapper i {
  font-size: 5rem;
  background: -webkit-linear-gradient(45deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-detail-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.service-detail-content ul {
  list-style: none;
  margin-top: 1.5rem;
}
.service-detail-content ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}
.service-detail-content ul li i {
  color: var(--cyan);
  margin-right: 15px;
  margin-top: 5px;
}

.process-section {
  background-color: var(--card-color);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}
.process-step {
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}
.process-step i {
  font-size: 2.5rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
} /* From alternate process block */
.process-step .step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.process-step h4 {
  font-size: 1.2rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.faq-section {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background-color: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}
.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--text-primary);
}
.faq-question::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-in-out,
    padding 0.3s ease-in-out;
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.cta-section {
  background-color: var(--card-color);
  text-align: center;
}

/* =========================================
           8. PORTFOLIO & TECH TAGS
           ========================================= */
.portfolio-section {
  background-color: var(--bg-color);
  overflow: hidden;
}
.project-card {
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  transform-style: preserve-3d;
}
.project-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.project-content {
  padding: 1.5rem;
}
.project-content h3 {
  font-size: 1.3rem;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background-color: var(--card-color);
  padding: 4rem;
  border-radius: var(--border-radius);
  margin-bottom: 4rem;
  border: 1px solid var(--border-color);
}
.project-showcase:last-child {
  margin-bottom: 0;
}
.project-showcase:nth-child(even) .project-image {
  grid-column: 2;
  grid-row: 1;
}
.project-showcase:nth-child(even) .project-details {
  grid-column: 1;
  grid-row: 1;
}
.project-showcase .project-image img {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-details .project-client {
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 1.5rem;
}
.project-details h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.project-details h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tech-tags span {
  background-color: var(--border-color);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* =========================================
           9. PRICING
           ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.pricing-card {
  background-color: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--cyan);
}
.pricing-card.popular {
  border-color: var(--cyan);
  border-width: 2px;
}
.popular-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 99px;
  font-weight: 700;
}
.pricing-card h3 {
  font-size: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
}
.pricing-card .price {
  font-size: 3rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.5rem 0;
}
.pricing-card .price span {
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-secondary);
}
.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
  flex-grow: 1;
}
.pricing-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.pricing-card ul li i {
  color: var(--cyan);
  margin-right: 10px;
}
.pricing-card .cta-button {
  margin-top: auto;
}

/* =========================================
           10. SWIPER & AWARDS CAROUSEL
           ========================================= */
.swiper-container {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}
.swiper-slide {
  width: 320px;
  height: auto;
}
.swiper-pagination-bullet {
  background: var(--text-secondary);
  opacity: 0.7;
}
.swiper-pagination-bullet-active {
  background: var(--cyan);
  opacity: 1;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--cyan);
  transform: scale(0.8);
  transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  filter: brightness(1.3);
  transform: scale(0.9);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  text-shadow: 0 0 10px var(--bg-color);
}

.awards-section {
  padding-bottom: 60px;
}
.logo-slider-container {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}
.logo-slider {
  display: flex;
  width: calc(250px * 10);
  animation: scroll-logos 30s linear infinite;
}
.logo-slide {
  flex-shrink: 0;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}
.logo-slide img {
  max-width: 150px;
  height: auto;
}
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 5));
  }
}

/* =========================================
           11. LEGAL PAGE
           ========================================= */
.legal-section {
  padding: 120px 0 60px 0;
}
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-color);
  padding: clamp(20px, 5vw, 50px);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  line-height: 1.7;
}
.legal-container h1 {
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.legal-container h2 {
  font-size: 1.8rem;
  margin-top: 50px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.legal-container h2 i {
  margin-left: 10px;
  color: var(--cyan);
  font-size: 1.5rem;
  vertical-align: middle;
}
.legal-container h3 {
  font-size: 1.2rem;
  margin-top: 30px;
  color: var(--text-primary);
}
.legal-container strong {
  color: var(--text-primary);
}
.legal-container ol,
.legal-container ul {
  padding-left: 25px;
}
.legal-container li {
  margin-bottom: 15px;
}
.last-updated {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: -10px;
  padding-bottom: 20px;
}
#table-of-contents {
  background-color: var(--bg-color);
  padding: 25px;
  border-radius: var(--border-radius);
  margin: 30px 0 40px 0;
  border: 1px solid var(--border-color);
}
#table-of-contents h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 10px;
  font-size: 1.5rem;
  font-family: var(--font-sans);
}
#table-of-contents ul {
  list-style-type: none;
  padding: 0;
}
#table-of-contents li {
  margin-bottom: 10px;
}
.back-to-top {
  display: block;
  margin-top: 30px;
  font-size: 0.9rem;
  text-align: right;
  font-weight: 500;
}

/* =========================================
           12. THANK YOU PAGE
           ========================================= */
.thank-you-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.thank-you-icon {
  font-size: 5rem;
  color: var(--cyan);
  margin-bottom: 2rem;
  animation: pop-in 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes pop-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.thank-you-section h2 {
  font-size: clamp(32px, 6vw, 48px);
  color: var(--dark-text-primary);
}
.thank-you-section p {
  max-width: 550px;
  margin: 1rem auto 2.5rem;
  font-size: 1.1rem;
  color: var(--dark-text-secondary);
}

/* =========================================
           13. BLOG SPECIFICS
           ========================================= */
.if {
  width: 100%;
  height: 100vh;
}

/* =========================================
           14. MEDIA QUERIES
           ========================================= */
@media (max-width: 992px) {
  .about-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .why-us-image {
    display: none;
  }

  .project-showcase {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .project-showcase:nth-child(even) .project-image,
  .project-showcase:nth-child(even) .project-details {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  section {
    padding: 80px 0;
  }

  /* Mobile Navigation */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(75vw, 400px);
    height: 100vh;
    background-color: var(--card-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -10px 0px 30px -15px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  .nav-links.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-links li {
    margin: 20px 0;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--cyan);
    cursor: pointer;
    z-index: 1001;
  }

  /* Grid Adjustments */
  .about-grid {
    gap: 2rem;
  }
  .about-image {
    grid-row: 1;
  }

  .service-detail-section,
  .service-detail-section:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-detail-section:nth-child(even) .service-icon-wrapper,
  .service-detail-section:nth-child(even) .service-detail-content {
    grid-column: 1;
    grid-row: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .stats-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
