@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@400;500;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #e71d36;
  /* Royal Blue */
  --secondary: #06b6d4;
  /* Cyan/Teal */
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --light: #ffffff;
  --gradient-1: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-2: linear-gradient(135deg, var(--secondary), var(--primary));
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-small: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

section {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--secondary);
  transition: width 0.2s, height 0.2s;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-main);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--glass-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-1);
  z-index: 9998;
}

/* Background Blobs */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.15;
  animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--primary);
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--secondary);
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

/* Buttons */
.btn-custom {
  padding: 12px 30px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: 0.4s ease;
}

.btn-primary-custom {
  background: var(--gradient-1);
  color: var(--light);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
  color: var(--light);
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--secondary);
}

.btn-outline-custom:hover {
  background: var(--secondary);
  color: var(--light);
}

/* Glassmorphism */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
}

/* Typography */
.text-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 4rem;
  font-family: var(--font-small);
  font-weight: 600;
  letter-spacing: 1px;
}

/* Navbar */
.navbar {
  transition: all 0.4s ease;
  padding: 20px 0;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
}

.navbar-brand img {
  height: 30%;
  width: 30%;
  object-fit: cover;
}




.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.typing-text {
  color: var(--primary);
  border-right: 2px solid var(--primary);
  white-space: nowrap;
  overflow: hidden;
}

.hero-img-container {
  position: relative;
  z-index: 2;
}

.hero-img-container img {
  width: 100%;
  animation: float-img 6s ease-in-out infinite;
}

@keyframes float-img {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Services */
.services {
  padding: 100px 0;
  position: relative;
}

.service-card {
  padding: 40px 30px;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
}

.service-card:hover h3,
.service-card:hover p {
  color: var(--light);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--light);
  transform: scale(1.1) rotate(10deg);
}

/* About */
.about {
  padding: 100px 0;
}

.about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.about-img img {
  width: 100%;
  transition: transform 0.5s;
}

.about-img:hover img {
  transform: scale(1.05);
}

.counter-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.counter-num {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 800;
}

/* Portfolio */
.portfolio {
  padding: 100px 0;
  background: var(--bg-alt);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-1);
  border-color: transparent;
  color: var(--light);
}

.portfolio-item {
  margin-bottom: 30px;
}

.portfolio-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--glass-shadow);
}

.portfolio-wrap img {
  width: 100%;
  transition: all 0.5s;
}

.portfolio-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.5s;
  transform: translateY(20px);
}

.portfolio-wrap:hover img {
  transform: scale(1.1);
}

.portfolio-wrap:hover .portfolio-info {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-info h4 {
  color: var(--text-main);
  margin-bottom: 10px;
}

.portfolio-info p {
  color: var(--text-muted);
}

.portfolio-info .preview-link {
  width: 45px;
  height: 45px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--light);
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Why Choose Us */
.why-choose {
  padding: 100px 0;
}

.why-choose img {
  width: 100%;
  height: auto;
}



.feature-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 15px;
  transition: all 0.3s;
  background: #ffffff;
  border: 1px solid var(--glass-border);
}

.feature-card:hover {
  box-shadow: var(--glass-shadow);
  transform: translateX(10px);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgb(195 54 79);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  flex-shrink: 0;
  margin-right: 20px;
}

/* Technologies */
.tech-stack {
  padding: 80px 0;
  background: var(--bg-alt);
}

.tech-icon {
  text-align: center;
  padding: 30px;
  background: #ffffff;
  border-radius: 15px;
  margin-bottom: 30px;
  border: 1px solid var(--glass-border);
  transition: all 0.4s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.tech-icon i {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 15px;
  transition: all 0.4s;
}

.tech-icon:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(6, 182, 212, 0.15);
  border-color: var(--secondary);
}

.tech-icon:hover i {
  color: var(--primary);
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
}

.testimonial-card {
  padding: 40px;
  text-align: center;
  margin: 20px 0;
  background: #ffffff;
  border: 1px solid var(--glass-border);
}

.client-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--primary);
  padding: 3px;
}

.client-img img {
  width: 100%;
  border-radius: 50%;
}

.stars {
  color: #f59e0b;
  margin-bottom: 15px;
}

.swiper-pagination-bullet {
  background: var(--text-muted);
}

.swiper-pagination-bullet-active {
  background: var(--primary);
}

/* Team */
.team {
  padding: 100px 0;
  background: var(--bg-alt);
}

.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: var(--glass-shadow);
}

.team-member img {
  width: 100%;
  transition: all 0.5s;
}

.team-info {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  text-align: center;
  transition: all 0.5s;
  backdrop-filter: blur(5px);
  border-top: 1px solid var(--glass-border);
}

.team-member:hover img {
  transform: scale(1.05);
}

.team-member:hover .team-info {
  bottom: 0;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 50%;
  line-height: 35px;
  margin: 0 5px;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--light);
}

/* Contact */
.contact {
  padding: 100px 0;
}

.contact-info {
  padding: 40px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-right: 20px;
}

.contact-form {
  padding: 40px;
  background: #ffffff;
}

.form-control {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  padding: 15px 20px;
  border-radius: 10px;
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: 10px;
}

.form-select:focus {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
  background: #ffffff;
  padding-top: 80px;
  border-top: 1px solid #e2e8f0;
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer .social-links a {
  background: #f1f5f9;
  color: var(--text-main);
}

.footer .social-links a:hover {
  background: var(--primary);
  color: var(--light);
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-widget img {
  width: 45%;
  height: auto;
}






/* Utilities */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--gradient-1);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  color: var(--light);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .navbar-collapse {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
    text-align: center;
    padding-top: 66px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}