@import url(
"https://fonts.googleapis.com/css2?family=Fredoka+One&family=Poppins:wght@400;500;600&display=swap" );
/* General */
body{
  margin: 0;
  font-family: 'Arial', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
body {
    font-family: 'Poppins', sans-serif; /* Paragraphs / normal text */
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}




body {
  background: #f5f7fb;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SMOOTH SCROLL (IMPORTANT) */
html {
  scroll-behavior: smooth;
}



/* Default links – Hero section پر white */
.nav-link {
  color: #fff;
  transition: color 0.3s ease;
}

/* Scrolled links – Hero کے بعد black */
.nav-scrolled .nav-link {
  color: #000;
}
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  padding: 15px 30px;
  display: flex;
  gap: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  z-index: 1000;
}



/* NAV LINKS */
.nav-link {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: 0.3s;
}

.nav-linkS{
  display: flex;
  gap: 30px;
}

/* ACTIVE LINK */
.nav-link.active {
  
  
}

/* SECTIONS */
.section {
  min-height: 100vh;
  padding: 120px 40px;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FIXED NAVBAR OFFSET SOLVE */
section {
  scroll-margin-top: 100px;
}

/* COLORS */
.home { background: #f5f7ff; }
#about { background: #fff; }
#services { background: #f2f2f2; }
#portfolio { background: #fff; }
#contact { background: #f5f7ff; }

/* Navbar */
.navbar{
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  padding: 14px 30px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}

/* Logo */
.logo-img{
  height: 40px;
}

/* Links */
.nav-links{
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a{
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
  transition: 0.3s;
}

/* Underline Animation */
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: #ffd700;
  border-radius: 5px;
  transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after{
  width: 100%;
}

.nav-links a:hover{
  color: #ffd700;
}

/* Button */
.nav-btn{
  padding: 10px 22px;
  background: linear-gradient(135deg, #ffd700, #ffb703);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: 0.3s;
}

.nav-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,215,0,0.4);
}


/* Hero Section */
.hero{
  height: 100vh;
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: white;
  padding: 20px;
}

/* Glass Card */
.hero-card{
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  padding: 60px;
  border-radius: 22px;
  text-align: center;
  color: white;
  z-index: 2;
  animation: fadeUp 1.2s ease;
}

.hero-card h1{
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-card h1 span{
  color: #ffd700;
}

.hero-card p{
  font-size: 18px;
  margin-bottom: 35px;
}

/* Hero Buttons */
.hero-buttons{
  display: flex;
  gap: 18px;
  justify-content: center;
}

.btn{
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn.primary{
  background: #ffd700;
  color: #000;
}

.btn.primary:hover{
  transform: translateY(-3px);
}

.btn.secondary{
  border: 2px solid white;
  color: white;
}

.btn.secondary:hover{
  background: white;
  color: #000;
}

/* Floating Shapes */
.shape{
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
  animation: float 10s infinite alternate;
}

.s1{
  width: 220px;
  height: 220px;
  background: #ffd700;
  top: 10%;
  left: 5%;
}

.s2{
  width: 300px;
  height: 300px;
  background: #a855f7;
  bottom: 10%;
  right: 10%;
  animation-duration: 14s;
}

.s3{
  width: 180px;
  height: 180px;
  background: #60a5fa;
  top: 60%;
  left: 60%;
  animation-duration: 12s;
}

.code-box {
  width: 260px;
  height: 260px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: bold;
  color: #ffd369;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.about {
  padding: 80px 20px;
  background: #ffffff;
  display: flex;
  justify-content: center;
}

.about-box {
  max-width: 1000px;
  background: #fff;
  padding: 45px 35px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-box h2 {
  font-size: 34px;
  margin-bottom: 18px;
  color: #333;
}

.about-box p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
  
}

.about-box span {
  color: #667eea;
  font-weight: 600;
  font-size: 34px;
}

.small-text {
  font-size: 15px;
  color: #777;
}

/* Button */
.about-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102,126,234,0.4);
}
.about {
  padding: 90px 20px;
  background: linear-gradient(
    180deg,
    #f7f8fc,
    #eef1f7
  ); /* soft matte background */
  display: flex;
  justify-content: center;
}

.about-wrapper {
  max-width: 650px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 55px 45px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

/* Heading */
.about-wrapper h2 {
  font-size: 36px;
  color: #2d2d2d;
  margin-bottom: 20px;
}

/* Text */
.main-text {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 14px;
}

.sub-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

/* Highlight */
.about-wrapper span {
  color: #667eea;
  font-weight: 600;
}

/* Tags */
.about-tags {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.about-tags span {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 20px;
  background: #f0f2ff;
  color: #4a5bdc;
  font-weight: 500;
}
#portfolio {
  padding: 110px 20px;
  background: linear-gradient(180deg, #ffffff, #ffffff);
  text-align: center;
}

#portfolio-title {
  font-size: 40px;
  color: #2d2d2d;
  margin-bottom: 10px;
}

#portfolio-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 70px;
}

/* Grid */
#portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: auto;
}

/* Card */
#portfolio-card {
  position: relative;
  height: 260px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(0,0,0,0.1);
  transition: 0.5s ease;
  text-decoration: none;
}

/* Image */
#portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

/* Overlay */
#card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.75)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #fff;
  opacity: 0;
  transition: 0.5s ease;
}

/* Hover Effects */
#portfolio-card:hover img {
  transform: scale(1.12);
}

#portfolio-card:hover .card-overlay {
  opacity: 1;
}

#portfolio-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.18);
}

/* Text */
#card-overlay h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

#card-overlay span {
  font-size: 14px;
  color: #ffd369;
}
#portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
#portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards in one line */
  gap: 35px;
  max-width: 1800px;
  margin: auto;
}
.services-section {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  padding: 80px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  flex: 1 1 280px;
  max-width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 15px;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 20px;
}
.service-card i{
  font-size: 40px;
  padding-bottom: 12px;
  margin-bottom: 12px;
}


.service-btn {
  display: inline-block;
  background:#667eea;
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.service-btn:hover {
  background: #764ba2;
}

.reviews-section {
  background: #fff;
  padding: 60px 20px;
  overflow: hidden;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

.reviews-track {
  overflow: hidden;
  width: 100%;
}

.reviews-container {
  display: flex;
  gap: 20px;
  animation: scrollReviews 20s linear infinite;
}

.review-card {
  flex: 0 0 300px;
  background: #fdfdfd;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-10px);
}

.review-text {
  font-size: 1.1em;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
}

.stars {
  color: #FFD700;
  font-size: 1.2em;
}

.client-name {
  margin-top: 10px;
  font-weight: bold;
  font-size: 0.95em;
  color: #555;
}

/* Floating shapes in background */
.reviews-section::before,
.reviews-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 200, 200, 0.2);
  width: 150px;
  height: 150px;
  animation: float 6s ease-in-out infinite;
}

.reviews-section::before {
  top: -50px;
  left: -50px;
}

.reviews-section::after {
  bottom: -50px;
  right: -50px;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(45deg); }
}

/* Auto scroll animation */
@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* moves half container to loop */
}

/* Section Styling */
#contact-section {
  max-width: 600px;
  margin: 100px auto;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
}

/* Title */
#contact-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

/* Labels */
#label-username, #label-name, #label-email, #label-phone, #label-service, #label-comment {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
}

/* Inputs & Textarea & Select */
#username, #name, #email, #phone, #service, #comment {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#username:focus, #name:focus, #email:focus, #phone:focus, #service:focus, #comment:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0,123,255,0.4);
}

/* Submit Button */
#submit-button {
  padding: 12px 30px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#submit-button:hover {
  background-color: #0056b3;
}

/* Responsive */
@media screen and (max-width: 768px) {
  #contact-section {
    margin: 50px 15px;
    padding: 15px;
  }

  #contact-title {
    font-size: 1.7rem;
  }

  #submit-button {
    width: 100%;
  }
}
/* Simple animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* Main Footer */
.footer-section {
  background: linear-gradient(135deg, #6C63FF, #b86bff);
  color: #fff;
  padding: 80px 20px 20px 20px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Floating soft shapes */
.footer-section::before,
.footer-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  width: 200px;
  height: 200px;
  animation: floatFooter 6s ease-in-out infinite;
}

.footer-section::before { top: -50px; left: -50px; }
.footer-section::after { bottom: -50px; right: -50px; animation-delay: 3s; }

@keyframes floatFooter {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(45deg); }
}

/* Container */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1400px;
  margin: auto;
}

/* Footer Boxes */
.footer-box {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-box h3 {
  margin-bottom: 15px;
  font-size: 1.3em;
  font-weight: bold;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: #FFD700;
}

/* Social */
.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2em;
  transition: 0.3s;
}

.social-icon:hover {
  background: #FFD700;
  color: #333;
  transform: translateY(-5px);
}

/* Contact Info */
.footer-contact {
  margin-top: 5px;
  font-size: 0.95em;
  color: rgba(255,255,255,0.9);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9em;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}


/* Mini Logo Section */
.footer-logo-mini {
  display: flex;
  align-items: center;
  gap: 15px; /* logo और text के बीच gap */
  margin-bottom: 30px; /* नीचे spacing */
}

.footer-logo-mini-img {
  max-width: 80px; /* logo का size */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.footer-logo-mini-img:hover {
  transform: scale(1.05);
}

.footer-logo-text {
  font-size: 1.2em;
  font-weight: bold;
  color: #fff; /* text color */
  font-family: 'Courier New', Courier, monospace;
}


/* Hamburger Icon */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    width: 90%;
    max-width: 320px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 25px 20px;
    display: none;
    animation: fadeUp 0.4s ease;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-links a i {
    color: #ffd700;
    font-size: 16px;
  }
}
/* Animations */
@keyframes float{
  from{ transform: translateY(0px); }
  to{ transform: translateY(-60px); }
}

@keyframes fadeUp{
  from{
    opacity: 0;
    transform: translateY(40px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}


/* Responsive */
@media(max-width: 1000px){
  .footer-container { flex-direction: column; align-items: center; text-align: center; }
  .footer-box { min-width: auto; }
}

/* ========================= */
/* 📱 MOBILE (max 768px) */
/* ========================= */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    padding: 12px 18px;
  }

  .nav-links {
    display: none; /* future hamburger menu */
  }

  .logo-img {
    height: 32px;
  }

  /* HERO */
  .hero-card {
    padding: 35px 25px;
  }

  .hero-card h1 {
    font-size: 32px;
  }

  .hero-card p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* ABOUT */
  .about-wrapper {
    padding: 35px 25px;
  }

  .about-wrapper h2 {
    font-size: 28px;
  }

  .main-text {
    font-size: 16px;
  }

  /* PORTFOLIO */
  #portfolio-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  #portfolio-card {
    height: 220px;
  }

  /* SERVICES */
  .services-grid {
    gap: 20px;
  }

  .service-card {
    max-width: 100%;
  }

  /* REVIEWS */
  .review-card {
    flex: 0 0 260px;
  }

  /* CONTACT */
  #contact-section {
    margin: 40px 15px;
  }

}

/* ========================= */
/* 📱📲 SMALL MOBILES (max 480px) */
/* ========================= */
@media (max-width: 480px) {

  .hero-card h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 2rem;
  }

  #portfolio-title {
    font-size: 30px;
  }

  #portfolio-subtitle {
    font-size: 15px;
  }

}

/* ================= MOBILE NAVBAR FIX ================= */
@media (max-width: 768px) {

  /* Hamburger */
  .menu-toggle {
    display: block;
    font-size: 26px;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  /* Nav Links Hidden by Default */
  .nav-links {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 90%;
    max-width: 320px;

    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(16px);
    border-radius: 22px;

    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 25px 20px;

    display: none !important;   /* 🔥 IMPORTANT */
    opacity: 0;
    transition: 0.3s ease;
  }

  /* When Active */
  .nav-links.active {
    display: flex !important;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  .nav-links a {
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-links a i {
    color: #ffd700;
  }
}

