
/* Base Styles */
:root {
    --primary-color: #853AF6;
    --primary-dark: #9F45EA;
    --primary-light: #e0e7ff;
    --secondary-color: #D55ECB;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --text-outlin: #ffae00;
    --bg-light: #f9fafb;
    --bg-dark: #000000;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.5rem;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
  }
  
  .section-header.light h2,
  .section-header.light p {
    color: var(--text-white);
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 2px solid var(--primary-color);
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--text-outlin);
    border: 2px solid var(--text-white);
  }
  
  .btn-outline:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
  }
  
  .btn-full {
    width: 100%;
  }
  
  /* Navigation */
  .navbar {
    background-color: var(--text-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
  }
  
  .logo i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.75rem;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--primary-color);
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 5rem 0;
  }
  
  .hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .hero-content {
    flex: 1;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
  }
  
  /* Services Section */
  .services {
    padding: 5rem 0;
    background-color: var(--bg-light);
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
  }
  
  .service-card {
    background-color: var(--text-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .service-icon {
    background-color: var(--primary-light);
    color: var(--primary-color);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
  }
  
  .service-features {
    color: var(--text-light);
  }
  
  .service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  
  .service-features i {
    color: #10b981;
    margin-right: 0.5rem;
  }
  
  /* About Section */
  .about {
    padding: 5rem 0;
  }
  
  .about-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .about-image {
    flex: 1;
  }
  
  .about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
  }
  
  .about-content {
    flex: 1;
  }
  
  .about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
  }
  
  .stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .stat {
    text-align: center;
  }
  
  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .stat-text {
    color: var(--text-light);
  }
  
  /* Portfolio Section */
  .portfolio {
    padding: 5rem 0;
    background-color: var(--bg-light);
  }
  
  .portfolio-grid {
    display: flex; /* Grid ki jagah flex use karein */
    gap: 2rem; /* Grid ki tarah gap maintain karega */
    overflow: hidden; /* Extra items hide rahenge */
}
.slick-slide {
    margin: 0 10px; /* Slides ke beech ka gap maintain karega */
}

  
  .portfolio-card {
    background-color: var(--text-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .portfolio-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .portfolio-content {
    padding: 1.5rem;
  }
  
  .portfolio-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .portfolio-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
  }
  
  .portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .portfolio-tags span {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .portfolio-cta {
    text-align: center;
    margin-top: 3rem;
  }
  
  /* Testimonials Section */
  .testimonials {
    padding: 5rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
  }
  
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .testimonial-card {
    background-color: var(--text-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    color: var(--text-dark);
  }
  
  .testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .testimonial-header img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
  }
  
  .testimonial-header h4 {
    font-weight: 600;
  }
  
  .testimonial-header p {
    font-size: 0.875rem;
    color: var(--text-light);
  }
  
  .testimonial-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
  }
  
  .testimonial-rating {
    color: #f59e0b;
  }
  
  /* Contact Section */
  .contact {
    padding: 5rem 0;
  }
  
  .contact-grid {
    display: flex;
    gap: 3rem;
  }
  
  .contact-info {
    flex: 1;
  }
  
  .contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
  }
  
  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
  }
  
  .contact-icon {
    background-color: var(--primary-light);
    color: var(--primary-color);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
  }
  
  .contact-item h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .contact-item p {
    color: var(--text-light);
  }
  
  .social-links {
    margin-top: 1.5rem;
  }
  
  .social-links h3 {
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .social-icons a {
    background-color: var(--primary-light);
    color: var(--primary-color);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
  }
  
  .contact-form {
    flex: 1;
  }
  
  .form-container {
    background-color: var(--text-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
  }
  
  .form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  }
  
  /* Footer */
  .footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-about {
    grid-column: span 2;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .footer-logo i {
    color: var(--primary-light);
    margin-right: 0.5rem;
  }
  
  .footer-about p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
  }
  
  .footer-social {
    display: flex;
    gap: 1rem;
  }
  
  .footer-social a {
    color: #9ca3af;
    transition: color 0.3s ease;
  }
  
  .footer-social a:hover {
    color: var(--text-white);
  }
  
  .footer-links h3,
  .footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-links ul,
  .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--text-white);
  }
  
  .footer-contact li {
    display: flex;
    align-items: flex-start;
    color: #9ca3af;
  }
  
  .footer-contact i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--primary-light);
  }
  
  .footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
  }
  
  .footer-bottom-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .footer-bottom-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
  }
  
  .footer-bottom-links a:hover {
    color: var(--text-white);
  }
  


  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .hero-content h1 {
      font-size: 2.5rem;
    }
    
    .about-grid,
    .contact-grid {
      flex-direction: column;
    }
    
    .about-image {
      margin-bottom: 2rem;
    }
    
    .footer-about {
      grid-column: span 1;
    }
  }
  
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      left: -100%;
      top: 5rem;
      flex-direction: column;
      background-color: var(--text-white);
      width: 100%;
      text-align: center;
      transition: 0.3s;
      box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
      padding: 2rem 0;
      gap: 1.5rem;
    }
    
    .nav-links.active {
      left: 0;
    }
    
    .hamburger {
      display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
      opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero .container {
      flex-direction: column;
    }
    
    .hero-content {
      text-align: center;
      margin-bottom: 2rem;
    }
    
    .hero-buttons {
      justify-content: center;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
  }
  
  @media (max-width: 576px) {
    .section-header h2 {
      font-size: 2rem;
    }
    
    .hero-content h1 {
      font-size: 2rem;
    }
    
    .about-content h2,
    .contact-info h2 {
      font-size: 2rem;
    }
    
    .stats {
      flex-direction: column;
      gap: 1rem;
    }
    
    .hero-buttons {
      flex-direction: column;
    }
  }


  /* Responsive Fix for Portfolio Cards */
@media (max-width: 768px) {
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
  }
}
