/* ===== Base Styles ===== */
:root {
  --primary: #4a6cf7;
  --primary-dark: #3a5ce4;
  --primary-light: #6e8efb;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --dark: #1e293b;
  --darker: #0f172a;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark-gray: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Raleway', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title p {
  color: var(--dark-gray);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: capitalize;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.bg-light {
  background-color: #f8fafc;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--darker);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== Header & Navigation ===== */
/* ===== Enhanced Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}

.navbar-brand {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.navbar-brand img {
  height: 42px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(15deg) scale(1.05);
}

.navbar-toggler {
  display: none;
  border: none;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.navbar-toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  position: relative;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  top: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

.navbar-collapse {
  display: flex;
  flex-grow: 1;
  justify-content: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.nav-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

.nav-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
}

.nav-btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.nav-btn-secondary:hover {
  background-color: var(--primary);
  color: white;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.5rem;
  color: var(--dark);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(74, 108, 247, 0.05);
  color: var(--primary);
  padding-left: 1.7rem;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.8rem 1.5rem;
  }

  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(-100%);
    z-index: 1000;
    padding: 5rem 1.5rem 2rem;
  }

  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-link {
    padding: 1rem 0;
    font-size: 1.1rem;
    justify-content: space-between;
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions {
    margin: 1.5rem 0 0;
    width: 100%;
    max-width: 400px;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background-color: rgba(74, 108, 247, 0.03);
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-item:hover .dropdown-menu {
    transform: none;
  }

  .dropdown-menu.show {
    max-height: 500px;
    padding: 0.5rem 0;
  }

  .dropdown-item {
    padding: 0.8rem 1.5rem;
  }

  .dropdown-item:hover {
    padding-left: 1.5rem;
    background-color: rgba(74, 108, 247, 0.08);
  }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
  .navbar {
    padding: 0.7rem 1rem;
  }

  .navbar-brand img {
    height: 36px;
  }

  .navbar-toggler-icon,
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    width: 20px;
  }

  .navbar-collapse {
    padding: 4rem 1rem 2rem;
  }

  .nav-link {
    font-size: 1rem;
  }
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  height: auto;
  /* Change from 100vh to auto for better mobile control */
  min-height: 80vh;
  /* Still have a minimum height */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
  /* Add padding instead of relying on height */
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 41, 59, 0.8);
  /* Dark overlay */
  z-index: -1;
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 60vh;
    padding: 5rem 0 3rem;
  }

  .hero-title {
    font-size: 2rem !important;
    /* Force smaller size */
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
  z-index: -2;
}

.background-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: white;
  position: relative;
  z-index: 1;
}

.hero-text {
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.title-line {

  display: block;
}

.title-line.highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.title-line.highlight::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: rgba(245, 158, 11, 0.3);
  z-index: -1;
  transform: skewY(-3deg);
}

.hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0;
}

.animated-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary);
  animation: bounce 1.5s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.services-ticker {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  animation: ticker 20s linear infinite;
}

.service-tag {
  color: white;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  padding-left: 1.5rem;
}

.service-tag::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--secondary);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn.pulse {
  position: relative;
  overflow: visible;
}

.btn.pulse::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  animation: pulse 2s infinite;
  opacity: 0;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.1);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
  animation-delay: var(--delay);
  transform: translate(var(--x-pos), var(--y-pos));
}

.floating-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--secondary);
}

@keyframes float {

  0%,
  100% {
    transform: translate(var(--x-pos), var(--y-pos)) rotate(0deg);
  }

  25% {
    transform: translate(calc(var(--x-pos) + 5%), calc(var(--y-pos) + 5%)) rotate(5deg);
  }

  50% {
    transform: translate(calc(var(--x-pos) + 10%), var(--y-pos)) rotate(0deg);
  }

  75% {
    transform: translate(calc(var(--x-pos) + 5%), calc(var(--y-pos) - 5%)) rotate(-5deg);
  }
}

/* ===== About Section ===== */
.about-img {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(0deg);
  transition: var(--transition-slow);
}

.about-img:hover {
  transform: perspective(1000px) rotateY(10deg);
}

.about-img img {
  transition: var(--transition-slow);
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ===== Tech Blog Section ===== */
.blog-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
  color: var(--primary);
}

.blog-content p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.read-more i {
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover i {
  transform: translateX(3px);
}

.newsletter-box {
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.newsletter-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.newsletter-form .input-group {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-light);
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}


/* ===== Pricing Section ===== */
.pricing-preview-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  border: 2px solid transparent;
}

.pricing-preview-card.popular {
  border-color: var(--primary);
  transform: translateY(-20px);
  box-shadow: var(--shadow-xl);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--secondary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}

.pricing-preview-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-preview-card h4 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.pricing-preview-card ul {
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-preview-card ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-preview-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.pricing-preview-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.pricing-preview-card.popular:hover {
  transform: translateY(-25px);
}

/* ===== FAQ Section ===== */
.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius) !important;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem !important;
  background-color: white !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
  background-color: rgba(74, 108, 247, 0.05) !important;
}

.accordion-button:focus {
  border-color: var(--primary-light) !important;
}

.accordion-body {
  padding: 1.5rem !important;
}

/* ===== Call to Action ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--darker);
  color: white;
  padding: 5rem 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-about img {
  height: 60px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 3px solid var(--primary);
}

.footer-about p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--gray);
  transition: var(--transition);
  display: inline-block;
}

.footer-links ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-input::placeholder {
  color: var(--gray);
}

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  border: none;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--primary-dark);
  transform: rotate(15deg);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: var(--gray);
  margin-bottom: 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== Animations ===== */
.wow {
  visibility: hidden;
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeInLeft {
  animation-name: fadeInLeft;
}

.animate__fadeInRight {
  animation-name: fadeInRight;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1199.98px) {
  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 3rem 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero-section {
    min-height: 600px;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .about-img {
    margin-bottom: 2rem;
  }

  .newsletter-box {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 2.5rem 0;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .services-ticker {
    width: 100%;
  }

  .footer {
    padding: 3rem 0 0;
  }

  .footer-about,
  .footer-links {
    margin-bottom: 2rem;
  }
}

/* ===== Base Styles ===== */
:root {
  --primary: #4a6cf7;
  --primary-dark: #3a5ce4;
  --primary-light: #6e8efb;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --dark: #1e293b;
  --darker: #0f172a;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark-gray: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Raleway', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title p {
  color: var(--dark-gray);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: capitalize;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.bg-light {
  background-color: #f8fafc;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--darker);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

.navbar-brand img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  transition: var(--transition);
}

.navbar-brand:hover img {
  transform: rotate(15deg);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--dark);
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:hover {
  color: var(--primary);
}

.navbar-nav {
  gap: 1rem;
}

.nav-link {
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
  z-index: -2;
}

.background-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: white;
  position: relative;
  z-index: 1;
}

.hero-text {
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.title-line {
  display: block;
}

.title-line.highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.title-line.highlight::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: rgba(245, 158, 11, 0.3);
  z-index: -1;
  transform: skewY(-3deg);
}

.hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0;
}

.animated-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary);
  animation: bounce 1.5s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.services-ticker {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  animation: ticker 20s linear infinite;
}

.service-tag {
  color: white;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  padding-left: 1.5rem;
}

.service-tag::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--secondary);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn.pulse {
  position: relative;
  overflow: visible;
}

.btn.pulse::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  animation: pulse 2s infinite;
  opacity: 0;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.1);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
  animation-delay: var(--delay);
  transform: translate(var(--x-pos), var(--y-pos));
}

.floating-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--secondary);
}

@keyframes float {

  0%,
  100% {
    transform: translate(var(--x-pos), var(--y-pos)) rotate(0deg);
  }

  25% {
    transform: translate(calc(var(--x-pos) + 5%), calc(var(--y-pos) + 5%)) rotate(5deg);
  }

  50% {
    transform: translate(calc(var(--x-pos) + 10%), var(--y-pos)) rotate(0deg);
  }

  75% {
    transform: translate(calc(var(--x-pos) + 5%), calc(var(--y-pos) - 5%)) rotate(-5deg);
  }
}

/* ===== About Section ===== */
.about-img {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(0deg);
  transition: var(--transition-slow);
}

.about-img:hover {
  transform: perspective(1000px) rotateY(10deg);
}

.about-img img {
  transition: var(--transition-slow);
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ===== Tech Blog Section ===== */
.blog-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
  color: var(--primary);
}

.blog-content p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.read-more i {
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover i {
  transform: translateX(3px);
}

.newsletter-box {
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.newsletter-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.newsletter-form .input-group {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-light);
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}

/* ===== Portfolio Page Styles ===== */
/* ===== Page Header Styles ===== */
.page-header {
  position: relative;
  padding: 6rem 0 4rem;
  /* Reduced padding for mobile */
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: white;
  overflow: hidden;
  min-height: 50vh;
  /* Ensure minimum height */
  display: flex;
  align-items: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%,
      rgba(74, 108, 247, 0.3) 0%,
      rgba(15, 23, 42, 0.9) 100%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-header h1 {
  font-size: 2.5rem;
  /* Smaller base size */
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: break-word;
  /* Ensure long titles break correctly */
  word-wrap: break-word;
  hyphens: auto;
  word-wrap: break-word;
}

.page-header p {
  font-size: 1rem;
  /* Smaller font for mobile */
  opacity: 0.9;
  max-width: 100%;
  /* Allow full width on mobile */
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
  word-wrap: break-word;
  hyphens: auto;
  overflow-wrap: break-word;

}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .page-header {
    padding: 5rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .page-header {
    padding: 4rem 0 2rem;
    min-height: 40vh;
    /* Smaller height on mobile */
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .page-header {
    padding: 3rem 0 1.5rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}


.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background-color: white;
  color: var(--dark);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
  z-index: -1;
}

.filter-btn:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.filter-btn:hover::before {
  width: 100%;
}

.filter-btn.active {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: var(--shadow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: white;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.portfolio-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  padding: 1.5rem;
  color: white;
}

.overlay-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.overlay-content p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.portfolio-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.portfolio-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.portfolio-btn:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.category {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Repair & Troubleshooting Section ===== */
.repair-section {
  background-color: #f8fafc;
}

.repair-item {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.repair-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.repair-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  transition: var(--transition);
}

.repair-item:hover .repair-icon {
  transform: rotate(15deg) scale(1.1);
}

.repair-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.repair-item p {
  color: var(--dark-gray);
}

/* ===== Portfolio Preview Section ===== */
.portfolio-preview-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.portfolio-preview-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.portfolio-preview-item img {
  transition: var(--transition-slow);
}

.portfolio-preview-item:hover img {
  transform: scale(1.1);
}

.portfolio-preview-item h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: white;
  margin-bottom: 0;
  transform: translateY(100%);
  transition: var(--transition);
}

.portfolio-preview-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 1.5rem 1rem;
  color: var(--gray);
  font-weight: 500;
  transform: translateY(100%);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.portfolio-preview-item:hover h3,
.portfolio-preview-item:hover p {
  transform: translateY(0);
}

/* ===== Services Section ===== */
.service-preview-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
  z-index: -1;
}

.service-preview-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-preview-card:hover::before {
  height: 100%;
}

.service-preview-card i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-preview-card:hover i {
  color: white;
  transform: scale(1.1) rotate(10deg);
}

.service-preview-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-preview-card:hover h3 {
  color: white;
}

.service-preview-card p {
  color: var(--dark-gray);
  transition: var(--transition);
}

.service-preview-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Pricing Section ===== */
.pricing-preview-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  border: 2px solid transparent;
}

.pricing-preview-card.popular {
  border-color: var(--primary);
  transform: translateY(-20px);
  box-shadow: var(--shadow-xl);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--secondary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}

.pricing-preview-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-preview-card h4 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.pricing-preview-card ul {
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-preview-card ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-preview-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.pricing-preview-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.pricing-preview-card.popular:hover {
  transform: translateY(-25px);
}

/* ===== FAQ Section ===== */
.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius) !important;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem !important;
  background-color: white !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
  background-color: rgba(74, 108, 247, 0.05) !important;
}

.accordion-button:focus {
  border-color: var(--primary-light) !important;
}

.accordion-body {
  padding: 1.5rem !important;
}

/* ===== Call to Action ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--darker);
  color: white;
  padding: 5rem 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-about img {
  height: 60px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 3px solid var(--primary);
}

.footer-about p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--gray);
  transition: var(--transition);
  display: inline-block;
}

.footer-links ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-input::placeholder {
  color: var(--gray);
}

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  border: none;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--primary-dark);
  transform: rotate(15deg);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: var(--gray);
  margin-bottom: 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* ===== Animations ===== */
.wow {
  visibility: hidden;
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeInLeft {
  animation-name: fadeInLeft;
}

.animate__fadeInRight {
  animation-name: fadeInRight;
}

.animate__fadeInDown {
  animation-name: fadeInDown;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1199.98px) {
  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 3rem 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero-section {
    min-height: 600px;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .about-img {
    margin-bottom: 2rem;
  }

  .newsletter-box {
    text-align: center;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 2.5rem 0;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .services-ticker {
    width: 100%;
  }

  .footer {
    padding: 3rem 0 0;
  }

  .footer-about,
  .footer-links {
    margin-bottom: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    justify-content: flex-start;
  }
}

/* ===== Base Styles ===== */
:root {
  --primary: #4a6cf7;
  --primary-dark: #3a5ce4;
  --primary-light: #6e8efb;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --dark: #1e293b;
  --darker: #0f172a;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark-gray: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Raleway', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  margin-bottom: 3rem;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title p {
  color: var(--dark-gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: capitalize;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.bg-light {
  background-color: #f8fafc;
}

/* ===== Page Header ===== */
.page-header {
  position: relative;
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: white;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--darker);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

.navbar-brand img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  transition: var(--transition);
}

.navbar-brand:hover img {
  transform: rotate(15deg);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--dark);
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:hover {
  color: var(--primary);
}

.navbar-nav {
  gap: 1rem;
}

.nav-link {
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* ===== Pricing Section ===== */
.pricing-section {
  background-color: #f8fafc;
}

.pricing-category {
  margin-bottom: 4rem;
}

.pricing-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
  z-index: -1;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.pricing-card:hover::before {
  height: 100%;
}

.pricing-header {
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  transition: var(--transition);
}

.pricing-card:hover .pricing-title {
  color: white;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.pricing-card:hover .pricing-price {
  color: white;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  transition: var(--transition);
}

.pricing-card:hover .pricing-features li {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  transition: var(--transition);
}

.pricing-card:hover .pricing-features li::before {
  color: white;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--secondary);
  color: white;
  padding: 0.25rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-list {
  margin-top: 1.5rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-item:last-child {
  border-bottom: none;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--darker);
  color: white;
  padding: 5rem 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-about img {
  height: 60px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 3px solid var(--primary);
}

.footer-about p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--gray);
  transition: var(--transition);
  display: inline-block;
}

.footer-links ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-input::placeholder {
  color: var(--gray);
}

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  border: none;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--primary-dark);
  transform: rotate(15deg);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: var(--gray);
  margin-bottom: 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 999;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== Animations ===== */
.wow {
  visibility: hidden;
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeInLeft {
  animation-name: fadeInLeft;
}

.animate__fadeInRight {
  animation-name: fadeInRight;
}

.animate__fadeInDown {
  animation-name: fadeInDown;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1199.98px) {
  .section {
    padding: 5rem 0;
  }

  .page-header {
    padding: 7rem 0 5rem;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 4rem 0;
  }

  .page-header {
    padding: 6rem 0 4rem;
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 3rem 0;
  }

  .page-header {
    padding: 5rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 2.5rem 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .footer {
    padding: 3rem 0 0;
  }

  .footer-about,
  .footer-links {
    margin-bottom: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Blog Page Styles ===== */
.trends-hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: white;
  overflow: hidden;
}

.trends-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.trends-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trends-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

/* Trends Content Section */
.trends-content-section {
  padding: 5rem 0;
}

.trend-category {
  margin-bottom: 5rem;
}

.trend-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.trend-item {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 2rem;
}

.trend-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.trend-img {
  height: 200px;
  overflow: hidden;
}

.trend-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.trend-item:hover .trend-img img {
  transform: scale(1.1);
}

.trend-content {
  padding: 1.5rem;
}

.trend-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
  transition: var(--transition);
}

.trend-item:hover .trend-content h3 {
  color: var(--primary);
}

.trend-content p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.trend-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray);
}

.trend-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background-color: rgba(74, 108, 247, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
}

/* Live Chat Widget */
.live-chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 350px;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.live-chat-widget.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  position: relative;
}

.chat-header h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.chat-header p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.close-chat {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-chat:hover {
  transform: rotate(90deg);
}

.chat-body {
  padding: 1.5rem;
  height: 300px;
  overflow-y: auto;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-message.bot {
  align-self: flex-start;
  background-color: #f1f5f9;
  color: var(--dark);
  border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius);
}

.chat-message.user {
  align-self: flex-end;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--border-radius) 0 var(--border-radius) var(--border-radius);
}

.chat-input {
  display: flex;
  padding: 0 1.5rem 1.5rem;
}

.chat-input input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 0.9rem;
  transition: var(--transition);
}

.chat-input input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.send-btn {
  padding: 0 1rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.send-btn:hover {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}

.chat-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.chat-footer p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.chat-options {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.whatsapp-btn,
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.call-btn {
  background-color: var(--success);
  color: white;
}

.whatsapp-btn:hover,
.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* Ad Section */
.ad-section {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .trends-hero {
    padding: 8rem 0 5rem;
  }
}

@media (max-width: 991.98px) {
  .trends-hero {
    padding: 7rem 0 4rem;
  }

  .trends-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 767.98px) {
  .trends-hero {
    padding: 6rem 0 3rem;
  }

  .trends-hero h1 {
    font-size: 2.5rem;
  }

  .trends-hero p {
    font-size: 1.1rem;
  }

  .live-chat-widget {
    width: 300px;
  }
}

@media (max-width: 575.98px) {
  .trends-hero {
    padding: 5rem 0 2rem;
  }

  .trends-hero h1 {
    font-size: 2rem;
  }

  .category-title {
    font-size: 1.75rem;
  }

  .live-chat-widget {
    width: 280px;
    right: 1rem;
  }

  .chat-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    right: 1rem;
    bottom: 1rem;
  }
}

/* ===== Contact Page Styles ===== */
.contact-section {
  padding: 6rem 0;
  background-color: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header p {
  color: var(--dark-gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.contact-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

/* AI Chat Styles */
#aiChat {
  height: 300px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8fafc;
  border-radius: var(--border-radius);
}

.ai-message {
  background-color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.user-message {
  background-color: var(--primary-light);
  color: white;
  margin-left: auto;
  max-width: 80%;
}

.ai-input-group {
  display: flex;
  margin-bottom: 1.5rem;
}

.ai-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 0.9rem;
  transition: var(--transition);
}

.ai-input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.ai-send-btn {
  padding: 0 1.25rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.ai-send-btn:hover {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}

.quick-questions {
  margin-top: 1.5rem;
}

.quick-questions p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
}

.quick-btn {
  padding: 0.5rem 1rem;
  background-color: #f1f5f9;
  border: none;
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.quick-btn:hover {
  background-color: var(--primary-light);
  color: white;
}

/* Contact Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Live Chat Widget Styles */
#chatToggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

#chatToggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

#liveChat {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 380px;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

#liveChat.chat-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  padding: 1.25rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  position: relative;
}

.chat-header h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.chat-header p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0;
}

#closeChat {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

#closeChat:hover {
  transform: rotate(90deg);
}

.chat-body {
  padding: 1.25rem;
  height: 300px;
  overflow-y: auto;
}

.bot-message {
  background-color: #f1f5f9;
  padding: 0.75rem 1rem;
  border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius);
  margin-bottom: 0.75rem;
  max-width: 80%;
}

.user-chat-message {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius) 0 var(--border-radius) var(--border-radius);
  margin-bottom: 0.75rem;
  margin-left: auto;
  max-width: 80%;
}

.chat-footer {
  padding: 1rem;
  border-top: 1px solid #f1f5f9;
}

#chatInput {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  transition: var(--transition);
}

#chatInput:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

#sendChatBtn {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

#sendChatBtn:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.chat-actions {
  padding: 1rem;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.chat-actions p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
}

.action-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.action-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.call-btn {
  background-color: var(--primary);
  color: white;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .section-header h2 {
    font-size: 2rem;
  }

  #liveChat {
    width: 90%;
    right: 5%;
    bottom: 100px;
  }

  #chatToggle {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .section-header h2 {
    font-size: 1.75rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
  }

  .card-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .quick-questions {
    text-align: center;
  }

  .quick-btn {
    margin-bottom: 0.5rem;
  }
}

/* ===== Portfolio Page Styles ===== */
.page-header {
  background-color: var(--darker);
  padding: 7rem 0 5rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%,
      rgba(74, 108, 247, 0.3) 0%,
      rgba(15, 23, 42, 0.9) 100%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  background-color: var(--light);
  color: var(--dark);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background-color: var(--primary-light);
  color: white;
}

.filter-btn.active {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 6px rgba(74, 108, 247, 0.2);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
  height: 200px;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-info {
  padding: 1.25rem;
}

.portfolio-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-weight: 700;
}

.category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(74, 108, 247, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Repair Section */
.repair-section {
  background-color: #f8fafc;
  padding: 4rem 0;
}

.repair-item {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.repair-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.repair-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(74, 108, 247, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.repair-item h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.repair-item p {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.repair-item .btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

/* Testimonials */
.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonial-content p {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author h5 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.testimonial-author p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .page-header {
    padding: 5rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .filter-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-author img {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* Mobile-Specific Adjustments */
@media (max-width: 767.98px) {

  /* Hero Section */
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .services-ticker {
    width: 100%;
    overflow: hidden;
  }

  /* Navigation */
  .navbar-toggler-icon {
    color: var(--dark) !important;
  }

  .navbar-collapse {
    background: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--border-radius);
  }

  /* Portfolio Grid */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-author img {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  /* General Spacing */
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 575.98px) {

  /* Tiny Screens */
  .hero-title {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .filter-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .filter-btn {
    white-space: nowrap;
  }
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  /* More padding on mobile */
}

@media (max-width: 767.98px) {
  .container {
    padding: 0 0.75rem;
    /* Slightly less padding on very small screens */
  }
}



@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* FAQ Section Styles */
.faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: white;
}

.faq-question {
  padding: 20px;
  background: linear-gradient(135deg, #6e8efb 0%, #4a6cf7 100%);
  color: white;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 20px;
  display: none;
}

.faq-answer.show {
  display: block;
}

.faq-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.faq-form h3 {
  margin-bottom: 20px;
  color: #2d3748;
}

.ai-response {
  margin-top: 20px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 8px;
  display: none;
}

.ai-response.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Existing styles from your contact page */
.page-header {
  padding: 100px 0;
  color: white;
  text-align: center;
}

.contact-section {
  padding: 60px 0;
}

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}