/* Global Variables */
:root {
  /* Light Theme Colors */
  --primary-color-light: #5e35b1;
  --secondary-color-light: #7c4dff;
  --background-light: #ffffff;
  --surface-light: #f9fafb;
  --text-primary-light: #1f2937;
  --text-secondary-light: #4b5563;
  --border-light: #e5e7eb;
  
  /* Dark Theme Colors */
  --primary-color-dark: #9575cd;
  --secondary-color-dark: #b39ddb;
  --background-dark: #1a1a2e;
  --surface-dark: #252544;
  --text-primary-dark: #f9fafb;
  --text-secondary-dark: #d1d5db;
  --border-dark: #374151;
  
  /* Transition Values */
  --transition-speed: 0.3s;
}

/* Light/Dark Mode Variables */
body {
  --primary-color: var(--primary-color-light);
  --secondary-color: var(--secondary-color-light);
  --background: var(--background-light);
  --surface: var(--surface-light);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
  --border: var(--border-light);
}

body.dark-mode {
  --primary-color: var(--primary-color-dark);
  --secondary-color: var(--secondary-color-dark);
  --background: var(--background-dark);
  --surface: var(--surface-dark);
  --text-primary: var(--text-primary-dark);
  --text-secondary: var(--text-secondary-dark);
  --border: var(--border-dark);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  transition: background-color var(--transition-speed), color var(--transition-speed);
  overflow-x: hidden;
  cursor: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  z-index: 1000;
  background: var(--primary-color);
}



.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

section {
  padding: 6rem 0;
}

/* 3D Canvas Container */
.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  background-color: var(--surface);
  border-radius: 30px;
  padding: 5px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.theme-toggle i {
  font-size: 20px;
  padding: 5px;
  color: var(--text-secondary);
  transition: all var(--transition-speed);
}

.theme-toggle i.active {
  color: var(--primary-color);
  transform: scale(1.2);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background-color: transparent;
  z-index: 1000;
  transition: all var(--transition-speed);
}

header.scrolled {
  background-color: #ffffff !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--text-primary);
}

.logo span {
  color: var(--primary-color);
}

.main-nav {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 2rem;
}

.main-nav a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: blueviolet;
  margin: 5px 0;
  transition: all var(--transition-speed);
}
/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  width: 50%;
  z-index: 1;
}
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}
.hero-content .highlight {
  color: var(--primary-color);
  position: relative;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
}
.btn-primary {
  background-color: var(--primary-color);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.hero-3d-element {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-3d-element img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInRight 1s ease-out 0.6s forwards;
  opacity: 0;
}

/* Add the fadeInRight animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* mission vision section code */

.mission-vision {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    overflow: hidden;
}

.mission-vision .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.mission-vision-image {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-image {
    width: 100%;

    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: fadeInLeft 1s ease-out;
    transition: transform var(--transition-speed);
}

.mv-image:hover {
    transform: scale(1.02);
}

.mission-vision-content {
    width: 55%;
    padding-left: 2rem;
    z-index: 1;
}

.mission-vision-content .about-subtitle {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.mission-vision-content .about-subtitle:nth-of-type(2) {
    margin-top: 2.5rem;
    animation-delay: 0.6s;
}

.mission-vision-content .highlight {
    color: var(--primary-color);
    position: relative;
}

.mission-vision-content .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

.mission-vision-content .lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.mission-vision-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

/* Floating background elements */
.mission-vision::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.mission-vision::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 123, 255, 0.03));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-vision .container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .mission-vision-image,
    .mission-vision-content {
        width: 100%;
    }
    
    .mission-vision-content {
        padding-left: 0;
    }
    
    .mv-image {
        height: 300px;
    }
    
    .mission-vision-content .about-subtitle {
        font-size: 1.8rem;
    }
    
    .mission-vision-content .lead {
        font-size: 1.1rem;
    }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--surface);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-color);
  opacity: 0.05;
  transition: height var(--transition-speed);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tech span {
  background-color: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* About Section */
.about-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-right {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.about-3d-element {
    height: 400px;
}

.strength-section {
    padding: 2rem;
    height: fit-content;
}

.strength-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-left,
    .about-right {
        flex: 1;
    }
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: transparent;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-speed);
  position: relative;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--primary-color);
}

.filter-btn:hover::after,
.filter-btn.active::after {
  width: 80%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 250px;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.portfolio-content {
  text-align: center;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform var(--transition-speed);
}

.portfolio-content h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-content {
  transform: translateY(0);
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.1);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-img {
  height: 250px;
  overflow: hidden;
}

.member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.team-member:hover .member-img img {
  transform: scale(1.1);
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  transition: all var(--transition-speed);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-secondary);
}

.contact-info .social-links {
  justify-content: flex-start;
  margin-top: 1rem;
}

.contact-form {
  background-color: var(--surface);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background-color: var(--background);
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--transition-speed);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
footer {
  background-color: var(--surface);
  padding: 4rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-logo p {
  color: var(--text-secondary);
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul,
.footer-services ul {
  list-style: none;
}

.footer-links li,
.footer-services li {
  margin-bottom: 0.8rem;
}

.footer-links a,
.footer-services a {
  color: var(--text-secondary);
  transition: color var(--transition-speed);
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-newsletter p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-newsletter form {
  display: flex;
  position: relative;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 30px;
  background-color: var(--background);
  color: var(--text-primary);
}

.footer-newsletter button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.footer-newsletter button:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-text {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .hero-content {
    width: 60%;
  }
  
  .hero-3d-element {
    width: 40%;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-speed);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav li {
    margin: 1.5rem 0;
  }
  
  .hamburger {
    display: block;
    z-index: 101;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-content {
    width: 100%;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto 2rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .hero-3d-element {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 4rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links h3::after,
  .footer-services h3::after,
  .footer-newsletter h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-newsletter form {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-info .social-links {
    justify-content: center !important;
  }
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  padding: 4rem 0;
  color: white;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}

.stat-block {
  padding: 2rem;
  flex: 1;
  min-width: 200px;
}

.stat-block .counter {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
}

.stat-block .plus {
  font-size: 3rem;
  font-weight: 700;
}

.stat-block h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
  font-weight: 500;
}

/* How We Work Section */
.how-we-work {
  background-color: var(--surface);
  padding: 6rem 0;
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 3rem 0;
}

.process-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
}

.process-step {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.process-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
}

.step-content {
  width: 45%;
  padding: 2rem;
  background-color: var(--background);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Tech Stack Section */
.tech-stack {
  padding: 6rem 0;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tech-category {
  background-color: var(--surface);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tech-category h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tech-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tech-icon span {
  color: var(--text-secondary);
}

/* Client Section */
.clients {
  padding: 5rem 0;
  background-color: var(--surface);
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-content: center; /* Center items horizontally */
    align-items: center;     /* Optional: Center items vertically */
}


.client-logo {
  max-width: 150px;
  opacity: 0.7;
  transition: opacity var(--transition-speed);
}

.client-logo:hover {
  opacity: 1;
}

.client-logo img {
  width: 100%;
  height: auto;
}

/* Blog Preview Section */
.blog-preview {
  padding: 6rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 0.5rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
}

.read-more i {
  margin-left: 0.5rem;
  transition: transform var(--transition-speed);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background-color: var(--surface);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--background);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  margin: 0;
}

.faq-toggle {
  background-color: var(--primary-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transition: transform var(--transition-speed);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 5rem 0;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Live Chat Widget */
.live-chat {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chat-button {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-speed);
}

.chat-button:hover {
  transform: translateY(-3px);
}

.chat-button i {
  font-size: 1.5rem;
}

.chat-box {
  position: absolute;
  bottom: calc(100% + 1rem);
  right: 0;
  width: 300px;
  background-color: var(--background);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: none;
}

.chat-box.active {
  display: block;
}

.chat-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.close-chat {
  cursor: pointer;
}

.chat-body {
  padding: 1rem;
  height: 300px;
  display: flex;
  flex-direction: column;
}

.chat-message {
  padding: 0.8rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  max-width: 80%;
}

.chat-message.received {
  background-color: var(--surface);
  align-self: flex-start;
}

.chat-message.sent {
  background-color: var(--primary-color);
  color: white;
  align-self: flex-end;
}

.message-time {
  display: block;
  font-size: 0.7rem;
  margin-top: 0.4rem;
  opacity: 0.7;
}

.chat-message-input {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

.chat-message-input input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  outline: none;
}

.chat-message-input button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0 1rem;
  cursor: pointer;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* Search Container */
.search-container {
  position: relative;
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.search-icon {
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.2rem;
}

.search-box {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  background-color: var(--surface);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 0.5rem;
  display: none;
  z-index: 100;
}

.search-box.active {
  display: flex;
}

.search-box input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background-color: var(--background);
  color: var(--text-primary);
}

.search-box button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

@media screen and (max-width: 991px) {
  /* Existing media query styles */
  
  .process-timeline:before {
    left: 30px;
  }
  
  .process-step {
    flex-direction: row !important;
  }
  
  .step-number {
    left: 30px;
  }
  
  .step-content {
    width: 80%;
    margin-left: auto;
  }
  
  .tech-categories {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  /* Existing media query styles */
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-container {
    margin-right: 3rem;
  }
  
  .search-box {
    width: 250px;
  }
  
  .chat-button span {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  /* Existing media query styles */
  
  .tech-icons {
    grid-template-columns: 1fr;
  }
  
  .client-logos {
    gap: 1.5rem;
  }
  
  .client-logo {
    max-width: 100px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .step-content {
    width: 100%;
    margin-left: 50px;
  }
}

/* Custom cursor styles */
a, button, .btn, input, select, textarea, [role="button"], [tabindex="0"] {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(0, 255, 255, 0.7);
  mix-blend-mode: exclusion;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, background-color 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: white;
}

.custom-cursor.visible {
  opacity: 1;
}

.custom-cursor.link-hover {
  width: 45px;
  height: 45px;
  background-color: rgba(0, 255, 255, 0.4);
}

.light-mode .custom-cursor {
  background-color: rgba(0, 120, 255, 0.7);
}

.light-mode .custom-cursor.link-hover {
  background-color: rgba(0, 120, 255, 0.4);
}

.portfolio-project-cursor {
  position: fixed;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 9990;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
  filter: blur(10px);
}

.light-mode .portfolio-project-cursor {
  background: radial-gradient(circle, rgba(0, 120, 255, 0.1) 0%, transparent 70%);
} 