:root {
  --primary: #6c63ff;
  --secondary: #4d44db;
  --dark: #2f2e41;
  --light: #f8f9fa;     
  --accent: #ff6584;
  --gray: #6c757d;
  --light-gray: #e9ecef;
}
        
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
        
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}
        
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
        
a {
  text-decoration: none;
  color: inherit;
}
        
/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
        
.preloader.fade-out {
  opacity: 0;
        }
        
.loader {
  width: 80px;
  height: 80px;
  border: 8px solid rgba(108, 99, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
        
@keyframes spin {
  to { transform: rotate(360deg); }
}
        
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}
        
.navbar.scrolled {
  padding: 15px 5%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
        
.logo {
  display: flex;
  align-items: center;
}
        
.logo img {
  height: 40px;
  margin-right: 10px;
}
        
.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
        
.nav-links {
  display: flex;
  list-style: none;
}
        
.nav-links li {
  margin-left: 25px;
  position: relative;
}
        
.nav-links a {
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}
        
.nav-links a i {
  margin-right: 8px;
  font-size: 16px;
}
        
.nav-links a:hover {
  color: var(--primary);
}
        
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}
        
.nav-links a:hover::after {
  width: 100%;
}
        
.cta-button {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
  display: flex;
  align-items: center;
}
        
.cta-button i {
  margin-right: 8px;
}
        
.cta-button:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
  color: white;
}
        
.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}
        
/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(255, 101, 132, 0.1) 100%);
  position: relative;
  overflow: hidden;
}
        
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0) 70%);
  z-index: -1;
}
        
.hero-content {
  width: 50%;
  z-index: 1;
}
        
.hero-image {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
        
.hero-image img {
  max-width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}
        
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}
        
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}
        
.hero p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.6;
}
        
.hero-buttons {
  display: flex;
  gap: 20px;
}
        
.secondary-button {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
        
.secondary-button i {
  margin-right: 8px;
}
        
.secondary-button:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}
        
.stats {
  display: flex;
  margin-top: 50px;
  gap: 30px;
}
        
.stat-item {
  text-align: center;
  position: relative;
}
        
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
        
.stat-number.animated {
  opacity: 1;
  transform: translateY(0);
}
        
.stat-label {
  font-size: 14px;
  color: var(--gray);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.2s;
}
        
.stat-label.animated {
  opacity: 1;
  transform: translateY(0);
}
        
/* Features Section */
.section {
  padding: 100px 5%;
}
        
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
        
.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
        
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 3px;
}
        
.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}
        
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
        
.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  transform: translateY(50px);
  opacity: 0;
}
        
.feature-card.animated {
  transform: translateY(0);
  opacity: 1;
}
        
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
        
.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--primary);
  transition: all 0.3s ease;
}
        
.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: white;
  transform: rotateY(180deg);
}
        
.feature-card h3 {
  margin-bottom: 15px;
}
        
.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}
        
/* About Section */
.about {
  background-color: white;
}
        
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}
        
.about-image {
  flex: 1;
  position: relative;
}
        
.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-20deg);
  transition: transform 0.5s ease;
}
        
.about-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}
        
.about-image::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  border-radius: 10px;
  z-index: -1;
  transition: all 0.5s ease;
}
        
.about-image:hover::after {
  top: -15px;
  left: -15px;
}
        
.about-text {
  flex: 1;
}
        
.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
        
.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 3px;
}
        
.about-text p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}
        
.skills {
  margin-top: 30px;
}
        
.skill-item {
  margin-bottom: 20px;
}
        
.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
        
.skill-bar {
  height: 8px;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}
        
.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  position: relative;
  width: 0;
  transition: width 1.5s ease 0.3s;
}
        
.skill-progress.animated {
  width: var(--progress-width);
}
        
.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
               rgba(255,255,255,0.1) 0%, 
               rgba(255,255,255,0.3) 50%, 
               rgba(255,255,255,0.1) 100%);
  animation: shine 2s infinite;
}
        
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
        
/* Services Section */
.services {
  background-color: #f8f9fa;
}
        
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}
        
.service-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  transform: scale(0.95);
  opacity: 0;
}
        
.service-card.animated {
  transform: scale(1);
  opacity: 1;
}
        
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
        
.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
        
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
        
.service-card:hover .service-image img {
  transform: scale(1.1);
}
        
.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(255, 101, 132, 0.3);
}
        
.service-content {
  padding: 30px;
}
        
.service-content h3 {
  margin-bottom: 15px;
  font-size: 22px;
  display: flex;
  align-items: center;
}
        
.service-content h3 i {
  margin-right: 10px;
  color: var(--primary);
}
        
.service-content p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}
        
.service-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
        
.service-price i {
  margin-right: 8px;
  font-size: 20px;
}
        
.service-features {
  margin-bottom: 20px;
}
        
.service-feature {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--gray);
}
        
.service-feature i {
  margin-right: 8px;
  color: var(--primary);
  font-size: 14px;
}
        
/* Portfolio Section */
.portfolio-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}
        
.filter-btn {
  padding: 8px 20px;
  background-color: white;
  border: 1px solid var(--light-gray);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
        
.filter-btn i {
  margin-right: 8px;
}
        
.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}
        
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
        
.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.5s ease;
}
        
.portfolio-item.animated {
  transform: translateY(0);
  opacity: 1;
}
        
.portfolio-image {
  height: 250px;
  overflow: hidden;
}
        
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
        
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(108, 99, 255, 0.9), rgba(108, 99, 255, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
        
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
        
.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}
        
.portfolio-overlay h3 {
  color: white;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
        
.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}
        
.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}
        
/* Contact Section */
.contact {
  background-color: white;
}
        
.contact-container {
  display: flex;
  gap: 50px;
}
        
.contact-info {
  flex: 1;
}
        
.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
        
.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 3px;
}
        
.contact-info p {
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.6;
}
        
.contact-details {
  margin-bottom: 30px;
}
        
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
        
.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: var(--primary);
  margin-right: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
        
.contact-item:hover .contact-icon {
  background-color: var(--primary);
  color: white;
  transform: rotate(15deg);
}
        
.contact-text h4 {
  margin-bottom: 5px;
}
        
.contact-text p, .contact-text a {
  color: var(--gray);
}
        
.contact-text a:hover {
  color: var(--primary);
}
        
.social-links {
  display: flex;
  gap: 15px;
}
        
.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: var(--primary);
  transition: all 0.3s ease;
}
        
.social-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}
        
.contact-form {
  flex: 1;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: perspective(1000px) rotateY(20deg);
  transition: transform 0.5s ease;
}
        
.contact-form:hover {
  transform: perspective(1000px) rotateY(0deg);
}
        
.form-group {
  margin-bottom: 20px;
  position: relative;
}
        
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
        
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}
        
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}
        
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}
        
/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 80px 5% 30px;
  position: relative;
  overflow: hidden;
}
        
footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0) 70%);
  z-index: 0;
}
        
footer::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 101, 132, 0.1) 0%, rgba(255, 101, 132, 0) 70%);
  z-index: 0;
}
        
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
        
.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
        
.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}
        
.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}
        
.footer-links {
  list-style: none;
}
        
.footer-links li {
  margin-bottom: 10px;
}
        
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}
        
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}
        
.footer-links a i {
  margin-right: 10px;
  font-size: 14px;
  transition: transform 0.3s ease;
}
        
.footer-links a:hover i {
  transform: rotate(360deg);
}
        
.newsletter-form {
  position: relative;
}
        
.newsletter-form input {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  margin-bottom: 15px;
}
        
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
        
.newsletter-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
        
.newsletter-form button i {
  margin-right: 8px;
}
        
.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}
        
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  position: relative;
  z-index: 1;
}
        
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}
        
.back-to-top.active {
  opacity: 1;
  visibility: visible;
}
        
.back-to-top:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}
        
/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h1 {
     font-size: 42px;
  }
}
        
@media (max-width: 992px) {
  .hero {
     flex-direction: column;
     padding-top: 120px;
     height: auto;
     text-align: center;
  }
            
  .hero-content, .hero-image {
     width: 100%;
  }
            
  .hero-buttons, .stats {
     justify-content: center;
  }
            
  .about-content {
     flex-direction: column;
  }
            
  .contact-container {
     flex-direction: column;
  }
            
  .contact-form {
     transform: none;
  }
}
        
@media (max-width: 768px) {
  .nav-links {
     position: fixed;
     top: 80px;
     left: -100%;
     width: 100%;
     height: calc(100vh - 80px);
     background-color: white;
     flex-direction: column;
     align-items: center;
     padding: 40px 0;
     transition: left 0.3s ease;
  }
            
  .nav-links.active {
     left: 0;
  }
            
  .nav-links li {
     margin: 15px 0;
  }
            
  .mobile-menu-btn {
     display: block;
  }
            
  .hero h1 {
     font-size: 36px;
  }
            
  .section {
     padding: 80px 5%;
  }
            
  .section-title h2 {
     font-size: 30px;
  }
}
        
@media (max-width: 576px) {
  .hero h1 {
     font-size: 32px;
  }
            
  .hero-buttons {
     flex-direction: column;
     gap: 15px;
  }
            
  .stats {
     flex-direction: column;
     gap: 20px;
  }
            
  .portfolio-filter {
     flex-direction: column;
     align-items: center;
  }
            
  .footer-content {
     grid-template-columns: 1fr;
  }
}
