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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #1A1A3D;
  background-color: #F5F6FF;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 1.2rem 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #6B21A8, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #1A1A3D;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #6B21A8;
  transition: width 0.3s ease;
}

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

.nav-links a:hover {
  color: #6B21A8;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #6B21A8;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 0.2s ease;
  z-index: -2;
}

@media (min-width: 769px) {
  .hero-background {
    background-image: url('cc.png');
    animation: backgroundShift 30s ease-in-out infinite;
  }
}

@media (max-width: 768px) {
  .hero-background {
    background-image: url('o.png');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }
}

@keyframes backgroundShift {
  0%, 25% { background-image: url('o.png'); }
 /* 30%, 45% { background-image: url('hy.jpeg'); }
  50%, 75% { background-image: url('j.jpeg'); }
  80%, 100% { background-image: url('ty.jpg'); }*/
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: -1;
}

.hero-content {
  z-index: 1;
  max-width: 1000px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.animated-gradient {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #6B21A8, #EC4899, #6B21A8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s linear infinite;
}

.typing-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes gradientMove {
  to {
    background-position: 200% center;
  }
}

.hero-content p {
  font-size: 1.6rem;
  margin: 1.8rem 0 3.5rem;
  color: #F5F6FF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.cta-btn.primary {
  background: linear-gradient(90deg, #6B21A8, #EC4899);
  color: white;
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid #EC4899;
  color: #EC4899;
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(107, 33, 168, 0.4);
}

.cta-btn.primary:hover {
  background: linear-gradient(90deg, #EC4899, #6B21A8);
}

.cta-btn.secondary:hover {
  background: #EC4899;
  color: white;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.cta-btn:active::after {
  width: 300px;
  height: 300px;
}

.custom-cursor {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 33, 168, 0.2), transparent);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
  transition: transform 0.2s ease;
}

/* Sections */
section {
  padding: 120px 0;
}

h2 {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  margin-bottom: 3.5rem;
  background: linear-gradient(90deg, #6B21A8, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* About */
.about {
  background: linear-gradient(135deg, #F5F6FF, #EDE9FE);
  text-align: center;
}

.founder-info {
  margin-top: 2.5rem;
  padding: 2.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.founder-info:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(107, 33, 168, 0.15);
}

/* Achievements */
.achievements {
  background: #fff;
  text-align: center;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.achievement-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.achievement-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 12px 32px rgba(107, 33, 168, 0.2);
}

.achievement-card .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #6B21A8;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 12px 32px rgba(107, 33, 168, 0.25);
}

.service-icon {
  font-size: 3.5rem;
  color: #6B21A8;
  margin: 2rem 0;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.15), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, #6B21A8, #EC4899);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover::after {
  opacity: 1;
  animation: borderPulse 2s infinite ease-in-out;
}

@keyframes borderPulse {
  0%, 100% { filter: blur(3px) brightness(1); }
  50% { filter: blur(5px) brightness(1.4); }
}

.service-card h3 {
  margin: 1.2rem 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1A1A3D;
}

.service-card p {
  padding: 0 1.8rem 2.5rem;
  color: #4B5563;
  font-size: 1rem;
}

/* Portfolio */
.portfolio {
  background: #fff;
  text-align: center;
  padding: 100px 0;
}

.portfolio-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.portfolio .carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card {
  flex: 0 0 100%;
  position: relative;
  margin: 0 12px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease;
}

.portfolio-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.85), rgba(236, 72, 153, 0.7));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 24px;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.portfolio-overlay p {
  font-size: 1.1rem;
  color: #F5F6FF;
}

.portfolio .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #6B21A8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.portfolio .carousel-btn:hover {
  background: #EC4899;
  transform: translateY(-50%) scale(1.1);
}

.portfolio .carousel-btn.prev {
  left: -70px;
}

.portfolio .carousel-btn.next {
  right: -70px;
}

.portfolio .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.portfolio .carousel-dot {
  width: 12px;
  height: 12px;
  background: #D1D5DB;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.portfolio .carousel-dot.active {
  background: #6B21A8;
  transform: scale(1.3);
}

/* Testimonials */
.testimonials {
  background: #fff;
  text-align: center;
  padding: 100px 0;
}

.testimonials-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials .carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin: 0 12px;
  text-align: center;
}

.testimonial-card p {
  font-style: italic;
  color: #4B5563;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  color: #1A1A3D;
  margin-bottom: 0.75rem;
}

.testimonial-card span {
  font-size: 1rem;
  color: #6B7280;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #6B21A8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-btn:hover {
  background: #EC4899;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -70px;
}

.carousel-btn.next {
  right: -70px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background: #D1D5DB;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: #6B21A8;
  transform: scale(1.3);
}

/* Contact */
.contact {
  background: white;
  text-align: center;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  color: #6B21A8;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group {
  position: relative;
}

.contact-form input,
.contact-form textarea {
  padding: 16px;
  border: 1px solid/* rgb(219, 174, 146);*/rgb(241, 129, 43);
  border-radius: 20px; /* smoother, rounder corners */
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  outline: none;
  background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6B21A8;
  box-shadow: 0 0 10px rgba(107, 33, 168, 0.2);
  outline: none;
}

.contact-form .error-message {
  color: #DC2626;
  font-size: 0.9rem;
  position: absolute;
  bottom: -22px;
  left: 12px;
}

.contact-form button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #6B21A8, #EC4899);
  color: white;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #EC4899, #6B21A8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 33, 168, 0.4);
}

.contact-form button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.contact-form button:active::after {
  width: 300px;
  height: 300px;
}

/* Footer */
.footer {
  background:/* rgb(222, 195, 48)*/ #1A1A3D ;
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.social-links {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links a {
  color: white;
  font-size: 1.8rem;
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: #EC4899;
  transform: scale(1.15);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #6B21A8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top.show {
  opacity: 1;
}

.back-to-top:hover {
  background: #EC4899;
  transform: translateY(-8px);
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
    animation: slideIn 0.4s ease-in-out;
  }

  @keyframes slideIn {
    from {
      transform: translateY(-20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .hero {
    min-height: 100vh;
    padding-top: 80px; /* Account for fixed header */
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero-content {
    padding: 20px;
    margin: 20px 10px;
    border-radius: 16px;
    width: calc(100% - 20px);
    max-width: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.2rem;
    margin: 1rem 0 2rem;
    line-height: 1.4;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 1.2rem;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1.1rem;
  }

  .service-card:hover {
    transform: translateY(-5px) rotate(0);
  }

  .carousel-btn.prev {
    left: 12px;
  }
  .carousel-btn.next {
    right: 12px;
  }

  .portfolio .carousel-btn.prev {
    left: 12px;
  }
  .portfolio .carousel-btn.next {
    right: 12px;
  }
  .portfolio-card img {
    height: 350px;
  }

  /* Hide custom cursor on mobile */
  .custom-cursor {
    display: none !important;
  }

  section {
    padding: 80px 0;
  }

  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 100vh;
    padding-top: 70px;
  }

  .hero-content {
    padding: 15px;
    margin: 10px 5px;
  }

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

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

  .cta-btn {
    padding: 12px 18px;
    font-size: 1rem;
  }

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

  .service-card p {
    font-size: 0.95rem;
  }

  .portfolio-card img {
    height: 280px;
  }
  .portfolio-overlay h4 {
    font-size: 1.4rem;
  }
  .portfolio-overlay p {
    font-size: 0.95rem;
  }

  .nav {
    padding: 0 10px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }
}