:root {
  --primary: #2563eb;
  --secondary: #3b82f6;
  --accent: #FF6347;
  --neutral: #1e293b;
  --light: #f8f9fa;
  --text-muted: #6c757d;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  color: var(--neutral);
}

section {
  scroll-margin-top: 70px;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand,
.nav-link {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, var(--primary), var(--accent));
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.6rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active {
  font-weight: 700;
}

/* Gradient Button */
.btn-gradient {
  background-image: linear-gradient(45deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-gradient:hover {
  background-color: var(--accent);
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--neutral), var(--primary), #9B59B6, #1ABC9C);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 1rem 3rem;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 1s ease;
}

.hero .btn {
  font-size: clamp(1rem, 2vw, 1.2rem);
  animation: fadeIn 1.5s ease;
}

/* Gradient Text */
.gradient-text {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, #00ffcc, var(--accent));
}

/* Floating Element */
.floating-element {
  max-width: 100%;
  margin-top: 2rem;
  animation: float 6s ease-in-out infinite;
}

.floating-element .illustration {
  background: url("../images/two.jpg") center/cover no-repeat;
  height: 400px;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
}

/* Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Cards */
.card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#services .card:hover {
  box-shadow: 0 8px 16px rgba(144, 238, 144, 0.3);
}

#internship .card:hover {
  box-shadow: 0 8px 16px rgba(0, 255, 255, 0.3);
}

#portfolio .card {
  padding: 0;
}

#portfolio .card:hover {
  box-shadow: 0 8px 16px rgba(255, 69, 0, 0.3);
}

#portfolio .card img {
  transition: transform 0.3s ease;
}

#portfolio .card:hover img {
  transform: scale(1.08);
}

/* Price Card */
.price-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.price-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
}

.price-highlight {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.price-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.price-card ul {
  padding-left: 0;
  margin-bottom: 1.5rem;
  max-height: 120px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.price-card.expanded ul {
  max-height: 500px;
}

.price-card ul li {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.price-card .view-more {
  color: var(--primary);
  font-size: 0.9rem;
  text-decoration: none;
  margin: 0.5rem 0;
  display: block;
  transition: color 0.3s ease;
}

.price-card .view-more:hover {
  color: var(--accent);
  text-decoration: underline;
}

.price-card a.btn {
  font-weight: 600;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 8px;
  padding: 0.75rem;
  transition: background 0.3s ease;
}

.price-card a.btn:hover {
  background: linear-gradient(to right, var(--secondary), var(--primary));
}

/* Testimonial Avatar */
.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#testimonial .card {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#testimonial .card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 255, 0.3);
}

/* Coming Soon Overlay */
.coming-soon-card {
  position: relative;
  opacity: 0.7;
  filter: grayscale(50%);
}

.coming-soon-card::after {
  content: "Coming Soon";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #555;
  font-weight: 600;
}

/* Contact Section */
#contact {
  background: var(--neutral);
  color: #fff;
}

#contact .overlay {
  position: absolute;
  inset: 0;
  background: url('../images/one.jpg') center/cover no-repeat;
  opacity: 0.1;
}

#contact .container {
  position: relative;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
}

/* Footer Section */
.footer-section {
  background: linear-gradient(135deg, var(--neutral), var(--primary), #9B59B6, #1ABC9C);
  color: #fff;
  padding: 3rem 0;
}

.footer-section h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section ul li {
  color: rgba(255, 255, 255, 0.9);
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li i {
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.footer-section .social-icons a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-section .social-icons a:hover {
  transform: translateY(-5px);
  background: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-rights,
.footer-author {
  color: rgba(255, 255, 255, 0.8);
}

.cursive-font {
  font-family: 'Brush Script MT', cursive;
}

/* Hero Service */
.hero-service {
  position: relative;
  background: url('../images/one.jpg') center/cover no-repeat;
  color: #fff;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 70px;
}

/* Expertise Card */
.expertise-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  border-image: linear-gradient(45deg, var(--primary), var(--accent)) 1;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.expertise-icon {
  font-size: 2.5rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

/* Tech Logos */
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.tech-logos img {
  max-width: 80px;
  transition: transform 0.3s ease;
}

.tech-logos img:hover {
  transform: scale(1.1);
}

/* CTA Buttons */
.cta-button {
  background-image: linear-gradient(45deg, var(--primary), var(--accent));
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.secondary-cta {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease;
}

.secondary-cta:hover {
  background: var(--primary);
  color: #fff;
}

/* Process Step */
.process-step {
  position: relative;
  padding: 1.5rem;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: -1;
}

/* Teams Section */
#teams {
  background: linear-gradient(135deg, var(--light), rgba(37, 99, 235, 0.05));
}

#teams .carousel {
  max-width: 1200px;
  margin: 0 auto;
}

#teams .carousel-inner {
  border-radius: 1rem;
  overflow: hidden;
}

#teams .carousel-item {
  transition: transform 0.5s ease;
}

#teams .carousel-item .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

#teams .carousel-item .col-lg-4 {
  flex: 0 0 32%;
  max-width: 32%;
}

#teams .carousel-control-prev,
#teams .carousel-control-next {
  width: 8%;
  background: none;
  filter: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#teams .carousel-control-prev:hover,
#teams .carousel-control-next:hover {
  opacity: 1;
  background: none;
}

#teams .carousel-control-prev i,
#teams .carousel-control-next i {
  color: var(--primary);
  font-size: 2rem;
}

#teams .carousel-indicators {
  bottom: -3.5rem;
}

#teams .carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.5;
  transition: background-color 0.3s ease;
}

#teams .carousel-indicators .active {
  opacity: 1;
  background-color: var(--accent);
}

#teams .team-card {
  border: 1px solid transparent;
  border-image: linear-gradient(45deg, var(--primary), var(--accent)) 1;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#teams .team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(255, 99, 71, 0.3);
}

#teams .team-avatar img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border: 3px solid var(--primary);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

#teams .team-card:hover .team-avatar img {
  transform: scale(1.08);
}

#teams .team-card h5 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

#teams .team-card p.text-muted {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

#teams .team-card .social-icons a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

#teams .team-card .social-icons a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* Scroll Buttons */
.scroll-buttons {
  position: fixed;
  bottom: 30px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.scroll-buttons button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.scroll-buttons button.show {
  opacity: 1;
  visibility: visible;
}

.scroll-buttons button:hover {
  background: var(--accent);
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .hero { padding: 7rem 2rem 4rem; }
  .hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
  .hero p { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
  .hero .btn { font-size: clamp(1.1rem, 2vw, 1.3rem); }
  .floating-element .illustration { height: 450px; }
  .footer-bottom .d-flex { justify-content: space-between; }
}

@media (min-width: 992px) {
  .hero { flex-direction: row; text-align: left; padding: 8rem 2rem 4rem; }
  .hero h1 { font-size: clamp(3rem, 6vw, 5rem); }
  .hero p { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
  .floating-element { margin-top: 0; }
  .floating-element .illustration { height: 500px; }
}

@media (max-width: 992px) {
  #teams .carousel-item .col-lg-4 {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

@media (max-width: 768px) {
  .hero { min-height: 80vh; padding: 6rem 1rem 2rem; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .hero p { font-size: clamp(0.9rem, 3vw, 1.1rem); }
  .contact-form { padding: 1.5rem; }
  .footer-section .social-icons a { width: 38px; height: 38px; font-size: 1.1rem; }
  .process-step:not(:last-child)::after { display: none; }
  .expertise-card { margin-bottom: 1.5rem; }
  .tech-logos img { max-width: 60px; }
  #teams .carousel-item .col-lg-4 { flex: 0 0 100%; max-width: 100%; }
  #teams .team-avatar img { width: 110px; height: 110px; }
  #teams .carousel-control-prev, #teams .carousel-control-next { width: 10%; }
  #teams .carousel-control-prev i, #teams .carousel-control-next i { font-size: 1.5rem; }
  #teams .carousel-indicators { bottom: -3rem; }
}