:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --success: #10b981;
  --bg-color: #0f172a;
  --header-bg: rgba(15, 23, 42, 0.95);
  --card-bg: rgba(30, 41, 59, 0.7);
  --header-height: 100px;
  --header-shrink-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.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(--accent));
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  height: var(--header-height);
}

header.shrink {
  height: var(--header-shrink-height);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  transition: all 0.4s ease;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  overflow: hidden;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-family: "Dancing Script", cursive;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--light);
}
@media (max-width: 1024px) {
  .logo-text {
    font-size: 1.8rem;
  }
  .logo-img {
    width: 55px;
    height: 55px;
  }
  .cta-button {
    padding: 7px 14px;
  }
}
@media (max-width: 912px) {
  .logo-text {
    font-size: 1.1rem;
  }
  .logo-img {
    width: 37px;
    height: 37px;
  }
  .cta-button {
    padding: 5px 10px;
  }
}

.logo-text span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  align-content: center;
  margin-left: 30px;
}

.nav-menu a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  font-size: 1.05rem;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
}

/* Dropdown Styles - Enhanced Version */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Subtle shine effect on hover */
.dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.dropdown-toggle:hover::before {
    left: 100%;
}

.dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    width: max-content;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: left;
    padding: 12px 8px;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    background: none;
    border-radius: 0;
    text-align: left;
    width: 100%;
    position: relative;
}

/* Add subtle icons to dropdown items */
.dropdown-menu a[href*="book-online"]::before {
    content: '📅';
    margin-right: 3px;
    font-size: 0.9rem;
}

.dropdown-menu a[href*="schedule"]::before {
    content: '💰';
    margin-right: 3px;
    font-size: 0.9rem;
}

/* CLEAN HOVER EFFECT - No background color change */
.dropdown-menu a:hover {
    color: var(--primary);
    padding-left: 25px;
    background: transparent !important;
}

/* Simple left border indicator on hover */
.dropdown-menu a:hover {
    border-left: 3px solid var(--primary);
    background: transparent !important;
}

/* Mobile Responsive - Enhanced */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
        width: 50%;
        margin: 0 auto;
        padding: 12px 6px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
    }
    
    .dropdown-toggle .fa-chevron-down {
        transform: none !important;
    }
    
    .dropdown.active .dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg) !important;
    }
    
    .dropdown-menu {
        position: static;
        background: rgba(30, 41, 59, 0.8);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        width: 70%;
        margin: 0 auto;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 8px;
        border-radius: 10px;
        padding: 4px 0;
        min-width: auto;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .dropdown-menu a {
        padding: 3px 6px;
        border-left: 3px solid transparent;
        font-size: 0.95rem;
        justify-content: center;
        text-align: center;
    }
    
    .dropdown-menu a:hover {
        border-left-color: var(--primary);
        background: transparent !important;
        padding-left: 20px;
        color: var(--primary);
    }
    
    /* Enhanced mobile animation */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-15px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

/* Desktop hover states - Clean */
@media (min-width: 769px) {
    .dropdown-menu a:hover {
        background: transparent !important;
        color: var(--primary);
        border-left: 3px solid var(--primary);
        padding-left: 25px;
    }
}

/* Active state for better UX */
.dropdown-toggle:active {
    transform: translateY(0);
}

/* Focus states for accessibility */
.dropdown-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dropdown-menu a:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 25px;
  line-height: 1.1;
}

.hero-content h1 span {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--gray);
  margin-bottom: 35px;
  max-width: 550px;
  line-height: 1.7;
}

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

.secondary-button {
  background: transparent;
  color: var(--light);
  border: 2px solid var(--primary);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.secondary-button:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
}

.hero-video {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s;
}

.hero-video:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

/*.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.2), rgba(245, 158, 11, 0.2));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}*/

.hero-video:hover::before {
  opacity: 1;
}

/* Adapt for iframe video */
.hero-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  position: relative;
  z-index: 0;
  aspect-ratio: 16/9;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 35px 30px;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.skill-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--primary);
}

.skill-card h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.skill-card p {
  color: var(--gray);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* default: desktop 3 cols */
  gap: 30px;
  margin-bottom: 60px;
}

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

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

.service-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--primary);
  display: inline-block;
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  transition: all 0.4s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  transform: rotateY(180deg);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.service-card p {
  color: var(--gray);
}

.services-cta {
  text-align: center;
  margin-top: 40px;
}

/*   .cta-button {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 16px 32px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            font-size: 1.1rem;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
        }*/

.secondary-button {
  background: transparent;
  color: var(--light);
  border: 2px solid var(--primary);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.secondary-button:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 853px) {
  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }

  section {
    padding: 80px 0;
  }

  .service-card {
    padding: 30px 20px;
  }
}
.services-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px; /* space between buttons */
}

.services-cta a {
  flex: 1 1 auto;
  max-width: 220px; /* prevents buttons from being too wide */
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .cta-button,
  .secondary-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .services-cta {
    flex-direction: row; /* side by side */
    gap: 12px;
  }

  .services-cta a {
    flex: 1 1 45%; /* two buttons side by side */
    max-width: none;
  }
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  border-radius: 15px;
  overflow: hidden;
  background-color: var(--card-bg);
  transition: transform 0.4s;
  position: relative;
}
.featured-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.portfolio-item:hover {
  transform: translateY(-15px);
}

.portfolio-img {
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px; /* optional for better visuals */
}

.portfolio-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.portfolio-content {
  padding: 25px;
}

.portfolio-content h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.portfolio-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background-color: rgba(37, 99, 235, 0.2);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.4s;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-15px);
}

.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.blog-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.blog-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.read-more i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.read-more:hover {
  color: var(--accent);
}

.read-more:hover i {
  transform: translateX(8px);
}

/* Reviews Section */
.reviews-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.review-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 40px;
  margin: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.review-card::before {
  content: "";
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

.review-text {
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.author-info h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.author-info p {
  color: var(--gray);
  font-size: 0.95rem;
}
/* Star Ratings */
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.star {
  color: #ffd700; /* Yellow stars */
  font-size: 1.2rem;
  line-height: 1;
}

.star.inactive {
  color: #ccc; /* Grey for empty stars */
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

/* FAQ Section Styles */
.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.faq-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

/* FAQ Accordion Styles */
.faq-accordion {
  flex: 1;
  max-width: 600px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  background: transparent;
  border: none;
  color: var(--light);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-family: "Space Grotesk", sans-serif;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
  color: var(--primary);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: rgba(15, 23, 42, 0.5);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 30px 24px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

/* CTA Section Styles */
.faq-cta {
  flex: 0 0 400px;
  position: sticky;
  top: 120px;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cta-card:hover::before {
  transform: translateX(100%);
}

.cta-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1rem;
}

.faq-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-cta-button i {
  transition: transform 0.3s ease;
}

.faq-cta-button:hover i {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .faq-content {
    gap: 40px;
  }

  .faq-cta {
    flex: 0 0 350px;
  }
}

@media (max-width: 768px) {
  .faq-content {
    flex-direction: column;
    gap: 40px;
  }

  .faq-accordion {
    max-width: 100%;
  }

  .faq-cta {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: static;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 24px 20px;
  }

  .cta-card {
    padding: 30px 24px;
  }

  .cta-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.9rem;
  }

  .cta-card {
    padding: 24px 20px;
  }

  .cta-card h3 {
    font-size: 1.2rem;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Animation for FAQ items */
.faq-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) {
  animation-delay: 0.1s;
}
.faq-item:nth-child(2) {
  animation-delay: 0.2s;
}
.faq-item:nth-child(3) {
  animation-delay: 0.3s;
}
.faq-item:nth-child(4) {
  animation-delay: 0.4s;
}

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

/* Smooth accordion transitions */
.faq-answer {
  will-change: max-height;
}

/* Focus styles for accessibility */
.faq-question:focus {
  outline: 1px solid var(--primary);
  outline-offset: 2px;
}

.cta-button:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--header-bg);
  padding: 80px 0 30px;
  position: relative;
  margin-bottom: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  margin-bottom: 25px;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}
.footer-col {
  color: var(--gray);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.footer-col ul li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--card-bg);
  border-radius: 50%;
  color: var(--light);
  transition: all 0.3s;
  font-size: 1.2rem;
  text-decoration: none;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.95rem;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  text-decoration: none;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  cursor: pointer;
  transition: all 0.4s;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-button:hover {
  transform: scale(1.1);
  animation: none;
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.2;
  overflow: hidden;
}

.code-line {
  position: absolute;
  font-family: monospace;
  color: var(--primary);
  font-size: 1.1rem;
  white-space: nowrap;
  animation: float 25s linear infinite;
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

@keyframes float {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100vw);
  }
}

/*Back to top button*/

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 40px;
  left: 20px;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  background-color: var(--secondary);
}

/* Responsive adjustments for buttons */
@media (max-width: 768px) {
  .widget-toggle {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  #backToTop {
    bottom: 50px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 853px) {
  .hamburger {
    display: block;
  }

  /*   .nav-menu {
                position: fixed;
                top: var(--header-height);
                right: -100%;
                width: 80%;
                height: calc(100vh - var(--header-height));
                background-color: var(--header-bg);
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding-top: 60px;
                transition: right 0.4s ease;
                box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
            }   */

  .nav-menu {
    position: fixed;
    top: var(--header-shrink-height); /* start just below header */
    right: -100%;
    width: 80%;
    height: calc(
      100vh - var(--header-shrink-height)
    ); /* fill the rest of screen */
    background-color: #0f172af5;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: right 0.4s ease, top 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    padding-top: 60px; /* spacing inside the menu */
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 0 0 35px 0;
  }

  .hero-container {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .hero {
    padding-top: 150px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  section {
    padding: 80px 0;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .logo-img {
    width: 35px;
    height: 35px;
  }
  /*portfolio responsive*/
  .portfolio-grid {
    justify-content: center;
  }

  .portfolio-item {
    width: 90%;
    margin: 0 auto;
  }
  /*blog*/
  .blog-grid {
    justify-content: center;
    width: 100%;
  }
  .blog-card {
    width: 90%;
    margin: 0 auto;
  }
  .reviews-container {
    width: 100%;
    margin: 0 auto;
  }
  .review-card {
    padding: 30px 20px;
    margin: 0 auto;
  }
}
