/* --- 
   Table of Contents
   ---
   1. Global Styles & Variables
   2. Typography
   3. Layout & Container
   4. Header & Navigation
   5. Hero Section
   6. Services Section
   7. Experience Section
   8. Footer
   9. Responsive Design (Media Queries)
   --- */

/* 1. Global Styles & Variables */
:root {
  --color-primary: #ff6600; /* Orange */
  --color-secondary: #1e3a8a; /* Navy Blue */
  --color-white: #ffffff;
  --color-light-gray: #f3f4f6;
  --color-dark-text: #111827;
  --color-light-text: #6b7280;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--color-light-gray);
  color: var(--color-dark-text);
  line-height: 1.6;
}

/* 2. Typography */
h1,
h2,
h3 {
  font-weight: 600;
  color: var(--color-secondary);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--color-light-text);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

/* 3. Layout & Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 700;
}

/* 4. Header & Navigation */
.header {
  background-color: var(--color-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar {
  height: 80px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: var(--color-dark-text);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

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

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

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

.social-links a {
  font-size: 1.1rem;
}

.hamburger-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* 5. Hero Section */
.hero-section {
  padding: 80px 0;
  /* Create the 3D space for the parallax effect */
  perspective: 1500px;
  position: relative; /* Required for Vanta.js background */
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  transform-style: preserve-3d;
  position: relative; /* Ensure content is layered above the background */
  z-index: 2;
}

.hero-text,
.hero-image {
  /* Add transition for a smooth reset on mouse leave */
  transition: transform 0.4s ease-out;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #e65c00;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-item i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.stat-item p {
  margin: 0;
  font-weight: 500;
  color: var(--color-dark-text);
}

/* 6. Services Section */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  /* Animation: initial state */
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.5s ease, box-shadow 0.3s ease, opacity 0.5s ease;
}

/* Staggered animation delay for service cards */
.service-card:nth-child(1) {
  transition-delay: 0.1s;
}
.service-card:nth-child(2) {
  transition-delay: 0.2s;
}
.service-card:nth-child(3) {
  transition-delay: 0.3s;
}
.service-card:nth-child(4) {
  transition-delay: 0.4s;
}
.service-card:nth-child(5) {
  transition-delay: 0.5s;
}
.service-card:nth-child(6) {
  transition-delay: 0.6s;
}
.service-card:nth-child(7) {
  transition-delay: 0.7s;
}
.service-card:nth-child(8) {
  transition-delay: 0.8s;
}
.service-card:nth-child(9) {
  transition-delay: 0.9s;
}
.service-card:nth-child(10) {
  transition-delay: 1s;
}
.service-card:nth-child(11) {
  transition-delay: 1.1s;
}

/* Animation: final state when visible */
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.service-card i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* 7. Experience Section */
.experience-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 0;
  position: relative;
}

.experience-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>') no-repeat;
  background-size: cover;
  pointer-events: none;
}

.experience-section .section-heading {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.experience-section .section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 20px;
  position: relative;
}

.experience-section .section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #ff8533);
  border-radius: 2px;
}

.experience-section .section-heading p {
  font-size: 1.1rem;
  color: var(--color-light-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.skill {
  background: var(--color-white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 102, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.skill-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 102, 0, 0.2);
  transition: all 0.3s ease;
}

.skill-icon img {
  width: 35px;
  height: 35px;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.skill:hover .skill-icon {
  transform: translateY(-5px) scale(1.1);
  background: rgba(255, 102, 0, 0.2);
  border-color: rgba(255, 102, 0, 0.4);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.skill:hover .skill-icon img {
  transform: rotate(360deg);
  filter: brightness(1.3) drop-shadow(0 4px 8px rgba(255, 102, 0, 0.3));
}

.skill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #ff8533);
  transition: height 0.3s ease;
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.15);
}

.skill:hover::before {
  height: 6px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 500;
}

.skill-bar {
  width: 100%;
  height: 10px;
  background-color: var(--color-light-gray);
  border-radius: 5px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 5px;
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1); /* Add transition for animation */
}

/* 8. Certifications Section */
.certifications-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 0;
  position: relative;
}

.certifications-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,0 0,100 1000,100"/></svg>') no-repeat;
  background-size: cover;
  pointer-events: none;
}

.certifications-section .section-heading {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.certifications-section .section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 20px;
  position: relative;
}

.certifications-section .section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #ff8533);
  border-radius: 2px;
}

.certifications-section .section-heading p {
  font-size: 1.1rem;
  color: var(--color-light-text);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.certification-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.certification-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 102, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
  /* Animation: initial state */
  opacity: 0;
  transform: translateY(30px);
}

/* Staggered animation delay for certification cards */
.certification-card:nth-child(1) {
  transition-delay: 0.1s;
}
.certification-card:nth-child(2) {
  transition-delay: 0.2s;
}
.certification-card:nth-child(3) {
  transition-delay: 0.3s;
}
.certification-card:nth-child(4) {
  transition-delay: 0.4s;
}
.certification-card:nth-child(5) {
  transition-delay: 0.5s;
}
.certification-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Animation: final state when visible */
.certification-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #ff8533);
  transition: height 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 102, 0, 0.2);
  border-color: rgba(255, 102, 0, 0.3);
}

.certification-card:hover::before {
  height: 6px;
}

.cert-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 50%;
  border: 3px solid rgba(255, 102, 0, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.cert-image-wrapper::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 102, 0, 0.3), transparent);
  animation: certRotate 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certification-card:hover .cert-image-wrapper::after {
  opacity: 1;
}

@keyframes certRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cert-image-wrapper img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(1.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.certification-card:hover .cert-image-wrapper {
  transform: scale(1.1);
  background: rgba(255, 102, 0, 0.2);
  border-color: rgba(255, 102, 0, 0.4);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.certification-card:hover .cert-image-wrapper img {
  filter: brightness(1.3) drop-shadow(0 4px 8px rgba(255, 102, 0, 0.3));
  transform: scale(1.05);
}

.cert-text {
  flex: 1;
}

.cert-text h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.certification-card:hover .cert-text h3 {
  color: var(--color-primary);
}

.cert-text p {
  color: var(--color-light-text);
  margin: 0;
  line-height: 1.5;
  font-size: 1rem;
}

/* Badge effect for premium certifications */
.certification-card:nth-child(1) .cert-image-wrapper,
.certification-card:nth-child(4) .cert-image-wrapper {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 102, 0, 0.2));
  border-color: rgba(255, 215, 0, 0.4);
}

.certification-card:nth-child(1):hover .cert-image-wrapper,
.certification-card:nth-child(4):hover .cert-image-wrapper {
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* 9. Footer */
.footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 40px 0;
  text-align: center;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--color-light-gray);
  margin: 0 15px;
  font-weight: 500;
}

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

.copyright {
  color: var(--color-light-gray);
  opacity: 0.8;
  font-size: 0.9rem;
  margin: 0;
}

/* 10. Contact Page */
.contact-section {
  background-color: var(--color-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-form h3,
.contact-info h3 {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.contact-form button {
  width: 100%;
  border: none;
  cursor: pointer;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--color-primary);
  width: 30px;
  text-align: center;
}

.contact-info-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-dark-text);
}

.map-container {
  margin-top: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 280px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 10. Pricing Page */
.pricing-section {
  background-color: var(--color-light-gray);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  background-color: var(--color-light-gray);
  border-radius: 10px;
  padding: 5px;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #e5e7eb;
}

.toggle-btn {
  padding: 10px 20px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-light-text);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background-color: var(--color-white);
  color: var(--color-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.pricing-cards-group {
  display: none;
}

.pricing-cards-group.active {
  display: block;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.pricing-card h3 {
  font-size: 1.4rem;
  color: var(--color-secondary);
}

.pricing-card .price {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1rem 0;
}

.pricing-card .price.price-custom-quote {
  font-size: 2.5rem;
  margin: 2.2rem 0; /* Adjust margin to keep vertical rhythm */
}

.pricing-card .price sup {
  font-size: 1.5rem;
  font-weight: 500;
  top: -1.5rem;
}

.pricing-card .price span {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-light-text);
}

.features-list {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
  display: inline-block;
}

.features-list li {
  margin-bottom: 1rem;
  color: var(--color-dark-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-list li i {
  color: var(--color-primary);
}

.features-list li i.fa-times {
  color: #ccc;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--color-primary);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- Enhancements for Pricing Card Buttons --- */
.pricing-card .btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
}

.pricing-card .btn:hover {
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.3); /* Add an orange "glow" on hover */
}

/* IT Services Pricing Cards */
.pricing-section-divider {
  grid-column: 1 / -1;
  text-align: center;
  margin: 40px 0 20px;
  padding: 30px 0;
  border-top: 2px solid var(--color-light-gray);
  position: relative;
}

.pricing-section-divider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #ff8533);
  border-radius: 2px;
}

.pricing-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.pricing-section-subtitle {
  color: var(--color-light-text);
  font-size: 1.1rem;
  margin: 0;
}

.pricing-card.it-services {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 102, 0, 0.02) 100%);
  position: relative;
  overflow: hidden;
}

.pricing-card.it-services:hover {
  box-shadow: 0 15px 40px rgba(255, 102, 0, 0.15);
  transform: translateY(-8px);
}

.pricing-card.it-services h3 {
  color: var(--color-primary);
}

.pricing-card.it-services .price {
  color: var(--color-primary);
}

.btn-it-services {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-it-services:hover {
  background: #e65c00;
  border-color: #e65c00;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

/* IT Services Featured Card */
.pricing-card.it-services.featured {
  transform: scale(1.05);
  background: linear-gradient(135deg, #fff 0%, rgba(255, 102, 0, 0.05) 100%);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
}

.pricing-card.it-services.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card.it-services.featured .popular-badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 50%, #e65c00 100%);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 
    0 8px 25px rgba(255, 102, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  z-index: 100;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card.it-services.featured .popular-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.pricing-card.it-services.featured:hover .popular-badge {
  transform: translateX(-50%) translateY(-3px) scale(1.08);
  box-shadow: 
    0 12px 35px rgba(255, 102, 0, 0.4),
    0 6px 18px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #e65c00 0%, #ff6600 50%, #ff8533 100%);
}

.pricing-card.it-services.featured:hover .popular-badge::before {
  left: 100%;
}

/* Responsive adjustments for pricing grid */
@media (max-width: 992px) {
  .pricing-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .pricing-section-divider {
    margin: 30px 0 15px;
    padding: 20px 0;
  }
  
  .pricing-section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.it-services.featured {
    transform: none;
  }
  
  .pricing-card.it-services.featured:hover {
    transform: translateY(-5px);
  }
}

/* 11. Testimonials Section */
.testimonials-section {
  background-color: var(--color-white); /* White background to stand out */
  padding: 80px 0;
}

.testimonial-cards {
  display: flex;
  gap: 30px;
  overflow-x: auto; /* Enable horizontal scrolling */
  padding-bottom: 20px; /* Add space for the scrollbar */
  scroll-snap-type: x mandatory; /* Snap scrolling to cards */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.testimonial-card {
  background-color: var(--color-light-gray);
  padding: 30px;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 340px; /* Set a fixed width so cards don't shrink */
  scroll-snap-align: start; /* Align cards to the start on snap */
}

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

.testimonial-rating {
  color: #ffc107; /* A nice gold color for stars */
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-dark-text);
  flex-grow: 1; /* Ensures cards have same height in a row */
  margin-bottom: 20px;
}

.testimonial-text::before {
  content: "“";
  font-size: 2.5rem;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 0;
  margin-right: 5px;
  position: relative;
  top: 10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto; /* Pushes author to the bottom */
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-secondary);
}

.author-info span {
  font-size: 0.9rem;
  color: var(--color-light-text);
}

/* Custom Scrollbar for Testimonials */
.testimonial-cards::-webkit-scrollbar {
  height: 8px;
}

.testimonial-cards::-webkit-scrollbar-track {
  background: var(--color-light-gray);
  border-radius: 10px;
}

.testimonial-cards::-webkit-scrollbar-thumb {
  background: #d1d5db; /* A slightly darker gray */
  border-radius: 10px;
}

.testimonial-cards::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}


/* 12. Blog Page */
/* Blog Hero Section with 3D Effects */
.blog-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.hero-3d-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating Code Snippets */
.floating-code {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.code-snippet {
    position: absolute;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    color: rgba(102, 126, 234, 0.8);
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #667eea;
    backdrop-filter: blur(10px);
    animation: floatCode 15s infinite linear;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.code-snippet:nth-child(1) { top: 10%; left: 80%; animation-delay: 0s; }
.code-snippet:nth-child(2) { top: 25%; left: 85%; animation-delay: 2s; }
.code-snippet:nth-child(3) { top: 40%; left: 90%; animation-delay: 4s; }
.code-snippet:nth-child(4) { top: 60%; left: 75%; animation-delay: 6s; }
.code-snippet:nth-child(5) { top: 75%; left: 80%; animation-delay: 8s; }
.code-snippet:nth-child(6) { top: 15%; left: 70%; animation-delay: 10s; }
.code-snippet:nth-child(7) { top: 50%; left: 85%; animation-delay: 12s; }
.code-snippet:nth-child(8) { top: 85%; left: 75%; animation-delay: 14s; }

@keyframes floatCode {
    0% {
        transform: translateX(100px) translateY(0) rotateY(0deg) rotateX(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-150vw) translateY(-50px) rotateY(360deg) rotateX(180deg);
        opacity: 0;
    }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -100%;
    width: 2px;
    height: 100vh;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #667eea 10%, 
        #764ba2 30%, 
        #ff6b6b 50%, 
        #4ecdc4 70%, 
        #45b7d1 90%, 
        transparent 100%);
    animation: matrixFall 8s linear infinite;
    opacity: 0.4;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
}

.matrix-column:nth-child(2n) {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #ff6b6b 10%, 
        #4ecdc4 30%, 
        #45b7d1 50%, 
        #667eea 70%, 
        #764ba2 90%, 
        transparent 100%);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

.matrix-column:nth-child(3n) {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #4ecdc4 10%, 
        #45b7d1 30%, 
        #667eea 50%, 
        #764ba2 70%, 
        #ff6b6b 90%, 
        transparent 100%);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.6);
}

@keyframes matrixFall {
    0% {
        top: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* 3D Geometric Shapes */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    animation: float3D 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.cube {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.6);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    transform: rotateX(45deg) rotateY(45deg);
}

.pyramid {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(102, 126, 234, 0.3);
    top: 60%;
    left: 10%;
    animation-delay: 2s;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

.sphere {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.3));
    border: 2px solid rgba(102, 126, 234, 0.6);
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: translateY(-20px) rotateX(90deg) rotateY(90deg) rotateZ(90deg);
    }
    50% {
        transform: translateY(-40px) rotateX(180deg) rotateY(180deg) rotateZ(180deg);
    }
    75% {
        transform: translateY(-20px) rotateX(270deg) rotateY(270deg) rotateZ(270deg);
    }
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.05"><polygon points="1000,100 0,100 0,0 1000,40"/></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 0;
}

/* 3D Hero Content */
.blog-hero-content {
    text-align: center;
    color: #2d3748;
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
}

.hero-title-3d {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.title-part {
    display: inline-block;
    position: relative;
    transform-style: preserve-3d;
    animation: title3D 3s ease-in-out infinite;
    text-shadow: 
        0 1px 0 #667eea,
        0 2px 0 #5a67d8,
        0 3px 0 #4c51bf,
        0 4px 0 #434190,
        0 5px 0 #3c366b,
        0 6px 1px rgba(102, 126, 234, 0.1),
        0 0 5px rgba(102, 126, 234, 0.1),
        0 1px 3px rgba(102, 126, 234, 0.3),
        0 3px 5px rgba(102, 126, 234, 0.2),
        0 5px 10px rgba(102, 126, 234, 0.25);
}

.title-part:nth-child(1) {
    animation-delay: 0s;
}

.title-part:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes title3D {
    0%, 100% {
        transform: rotateX(0deg) rotateY(0deg) translateZ(0px);
    }
    25% {
        transform: rotateX(15deg) rotateY(15deg) translateZ(50px);
    }
    50% {
        transform: rotateX(0deg) rotateY(30deg) translateZ(100px);
    }
    75% {
        transform: rotateX(-15deg) rotateY(15deg) translateZ(50px);
    }
}

.hero-subtitle-3d {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: subtitleFloat 4s ease-in-out infinite;
    transform-style: preserve-3d;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(45, 55, 72, 0.8);
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-10px) rotateX(5deg);
    }
}

/* Blog Search with 3D Effects */
.blog-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.blog-search-3d {
    position: relative;
    display: inline-block;
    perspective: 1000px;
    animation: searchFloat 5s ease-in-out infinite;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

@keyframes searchFloat {
    0%, 100% {
        transform: translateZ(0) rotateY(0deg);
    }
    50% {
        transform: translateZ(30px) rotateY(5deg);
    }
}

.blog-search input,
.blog-search-3d input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-search-3d input {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #2d3748;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(102, 126, 234, 0.2);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.blog-search-3d input::placeholder {
    color: rgba(45, 55, 72, 0.6);
}

.blog-search input:focus,
.blog-search-3d input:focus {
    outline: none;
    background: var(--color-white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.blog-search-3d input:focus {
    transform: translateZ(20px);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(102, 126, 234, 0.3),
        0 0 20px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark-text);
}

.blog-search-3d input:focus::placeholder {
    color: var(--color-light-text);
}

.blog-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-light-text);
    font-size: 1.1rem;
    pointer-events: none;
}

.blog-search-3d i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(45, 55, 72, 0.6);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.8);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.hero-particles::before {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.hero-particles::after {
    top: 70%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Blog Filters */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* Responsive Design for 3D Effects */
@media (max-width: 768px) {
    .blog-hero {
        min-height: 50vh;
        perspective: 500px;
    }
    
    .hero-title-3d {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-subtitle-3d {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .code-snippet {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .matrix-column {
        width: 1px;
    }
    
    .shape {
        transform: scale(0.7);
    }
    
    .blog-search-3d {
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Reduce 3D intensity on mobile for performance */
    .title-part {
        animation-duration: 4s;
    }
    
    @keyframes title3D {
        0%, 100% {
            transform: rotateX(0deg) rotateY(0deg) translateZ(0px);
        }
        25% {
            transform: rotateX(8deg) rotateY(8deg) translateZ(25px);
        }
        50% {
            transform: rotateX(0deg) rotateY(15deg) translateZ(50px);
        }
        75% {
            transform: rotateX(-8deg) rotateY(8deg) translateZ(25px);
        }
    }
}

@media (max-width: 480px) {
    .hero-title-3d {
        font-size: 2rem;
    }
    
    .hero-subtitle-3d {
        font-size: 0.9rem;
    }
    
    .floating-code {
        display: none; /* Hide on very small screens for performance */
    }
    
    .geometric-shapes {
        display: none; /* Hide on very small screens for performance */
    }
    
    .blog-hero {
        min-height: 40vh;
        perspective: none;
    }
    
    /* Disable 3D transforms on very small screens */
    .title-part {
        animation: simplePulse 3s ease-in-out infinite;
    }
    
    @keyframes simplePulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--color-light-gray);
    background: var(--color-white);
    color: var(--color-light-text);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* Special styling for IT Services button */
.filter-btn[data-category="it-services"] {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.filter-btn[data-category="it-services"]:hover {
    background: #e65c00;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
    transform: translateY(-2px);
    border-color: #e65c00;
}

.filter-btn[data-category="it-services"].active {
    background: #e65c00;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
    transform: translateY(-2px);
    border-color: #e65c00;
}

/* Special styling for Physical Mastery button */
.filter-btn[data-category="physical-mastery"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-color: #f59e0b;
}

.filter-btn[data-category="physical-mastery"]:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.filter-btn[data-category="physical-mastery"].active {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

/* Dropdown Container */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-btn:hover {
    background: #e65c00;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
    transform: translateY(-2px);
    border-color: #e65c00;
}

.dropdown-btn.active {
    background: #e65c00;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
    transform: translateY(-2px);
    border-color: #e65c00;
}

.dropdown-btn i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.dropdown-container:hover .dropdown-btn i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 280px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

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

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--color-dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 500;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--color-primary);
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 1.1rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.2);
}

/* Responsive dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 250px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .dropdown-container:hover .dropdown-menu {
        transform: translateX(-50%) translateY(5px);
    }
    
    .dropdown-item {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Enhanced Blog Post Cards */
.blog-post {
    background-color: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.blog-post:nth-child(1) { animation-delay: 0.1s; }
.blog-post:nth-child(2) { animation-delay: 0.15s; }
.blog-post:nth-child(3) { animation-delay: 0.2s; }
.blog-post:nth-child(4) { animation-delay: 0.25s; }
.blog-post:nth-child(5) { animation-delay: 0.3s; }
.blog-post:nth-child(6) { animation-delay: 0.35s; }
.blog-post:nth-child(7) { animation-delay: 0.4s; }
.blog-post:nth-child(8) { animation-delay: 0.45s; }
.blog-post:nth-child(9) { animation-delay: 0.5s; }
.blog-post:nth-child(10) { animation-delay: 0.55s; }
.blog-post:nth-child(11) { animation-delay: 0.6s; }
.blog-post:nth-child(12) { animation-delay: 0.65s; }

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

.blog-post:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Blog Post Image with Overlay */
.blog-post-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post:hover .blog-post-img img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.blog-post:hover .blog-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Post Content */
.blog-post-info {
    padding: 25px;
}

.blog-post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--color-light-text);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-post-meta i {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.post-category {
    background: linear-gradient(135deg, var(--color-primary), #ff8533);
    color: white !important;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-secondary);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-post:hover .blog-post-title {
    color: var(--color-primary);
}

.blog-post-text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--color-light-text);
}

/* Blog Post Footer */
.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.read-more-btn::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.6s ease;
}

.read-more-btn:hover::before {
    left: 100%;
}

.blog-engagement {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--color-light-text);
}

.blog-engagement span {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-engagement span:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.blog-engagement i {
    transition: color 0.3s ease;
}

.likes:hover i {
    color: #e91e63;
}

.comments:hover i {
    color: #2196f3;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 15px 40px;
    font-size: 1rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-white) 0%, #f8fafc 100%);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff8533 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.load-more-btn:hover::before {
    width: 100%;
}

.load-more-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.3);
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-post-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 60px 0 40px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-search input {
        padding: 12px 40px 12px 15px;
    }
    
    .blog-post-img {
        height: 200px;
    }
    
    .blog-post-info {
        padding: 20px;
    }
}

/* Enhanced Like and Comment System */
.blog-engagement span {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.blog-engagement span:hover {
    color: var(--color-primary);
    transform: scale(1.1);
    background: rgba(255, 102, 0, 0.1);
}

.blog-engagement i {
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.likes:hover i {
    color: #e91e63;
}

.comments:hover i {
    color: #2196f3;
}

/* Liked state animation */
.likes.liked {
    animation: heartPulse 0.6s ease;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Floating heart animation */
@keyframes floatUp {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50px) scale(1.5);
        opacity: 0;
    }
}

/* Sparkle animation */
@keyframes sparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Celebration animation for comments */
@keyframes celebrate {
    0% {
        transform: scale(0) rotate(0deg) translateY(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg) translateY(-20px);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg) translateY(-40px);
        opacity: 0;
    }
}

/* Heart burst effect */
.heart-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 1.5rem;
    animation: heartBurst 0.6s ease forwards;
    pointer-events: none;
    z-index: 1000;
}

@keyframes heartBurst {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Comment Section Styles */
.comment-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 102, 0, 0.1);
    transition: all 0.5s ease;
}

.comment-form {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comment-form h4 {
    color: var(--color-secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-name,
.comment-email,
.comment-text {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.comment-name:focus,
.comment-email:focus,
.comment-text:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
    transform: translateY(-1px);
}

.comment-text {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 20px;
}

.comment-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.comment-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.comment-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Comments List */
.comments-list h4 {
    color: var(--color-secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.comment-item:hover {
    transform: translateX(5px);
    border-left-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comment-item.new-comment {
    border-left-color: var(--color-primary);
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar i {
    font-size: 2.5rem;
    color: var(--color-light-text);
    transition: color 0.3s ease;
}

.comment-item:hover .comment-avatar i {
    color: var(--color-primary);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-header strong {
    color: var(--color-secondary);
    font-weight: 600;
}

.comment-time {
    font-size: 0.8rem;
    color: var(--color-light-text);
}

.comment-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--color-dark-text);
}

.comment-reply {
    display: flex;
    gap: 15px;
}

.reply-btn,
.like-comment-btn {
    background: none;
    border: none;
    color: var(--color-light-text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reply-btn:hover {
    color: var(--color-primary);
    background: rgba(255, 102, 0, 0.1);
}

.like-comment-btn:hover {
    color: #e91e63;
    background: rgba(233, 30, 99, 0.1);
}

/* Notification Styles */
.notification {
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.notification i {
    font-size: 1.1rem;
}

/* Responsive Design for Comments */
@media (max-width: 768px) {
    .comment-input-group {
        grid-template-columns: 1fr;
    }
    
    .comment-actions {
        justify-content: center;
    }
    
    .comment-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment-avatar {
        align-self: flex-start;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Ripple Animation for Buttons */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Additional Blog Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.blog-post:hover .post-category {
    animation: pulse 2s infinite;
}

/* Scrollbar Styling for Webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e65c00;
}

/* 13. Responsive Design (Media Queries) */

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image {
    grid-row: 1;
    margin-bottom: 30px;
  }
  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }
  .skills-container {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  .section-heading h2 {
    font-size: 1.8rem;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 25px;
    transition: right 0.4s ease-in-out;
  }
  .nav-links.active {
    right: 0;
  }
  .social-links {
    display: none;
  }
  .hamburger-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pricing-card.featured {
    transform: scale(
      1
    ); /* Disable scaling on mobile to prevent layout issues */
  }
}
