
:root {
  --primary: #4da6ff;
  --secondary: #ff7eb3;
  --dark: #1a1a1a;
  --light: #ffffff;
  --gray: #f5f5f5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: var(--gray);
  color: var(--dark);
}

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}
.logo span { color: var(--secondary); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--dark);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: var(--primary);
  transition: 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-socials a {
  margin-left: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
  transition: 0.3s;
}
.nav-socials a:hover { color: var(--secondary); }

/* HERO */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--light);
}
.hero h1 span { color: var(--light); }
.hero .btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--light);
  color: var(--primary);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.hero .btn:hover { background: var(--secondary); color: var(--light); }

/* PROJECTS */
.projects {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}
.projects h2 { text-align: center; margin-bottom: 2rem; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.project-card:hover { transform: translateY(-6px); }

/* FOOTER */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}
.footer-container h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}
.footer-links ul {
  list-style: none;
}
.footer-links a {
  color: var(--light);
  text-decoration: none;
  display: block;
  margin: 0.4rem 0;
  transition: 0.3s;
}
.footer-links a:hover { color: var(--secondary); }
.social-icons a {
  margin-right: 1rem;
  font-size: 1.4rem;
  color: var(--light);
  transition: 0.3s;
}
.social-icons a:hover { color: var(--primary); }
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
}
/* Contact Section */
.contact-section {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f5f5;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Glass Effect Form */
.contact-form {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Inputs & Textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  outline: none;
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

/* Button */
.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #4facfe, #ff6ec4);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ABOUT SECTION */
.about-section {
  padding: 80px 20px;
  text-align: center;
  background: #f9f9f9;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
  line-height: 1.6;
}

.about-section .skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.about-section .skills span {
  background: #cfcfcf;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* SERVICES SECTION */
.services-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-cards .card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

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

.service-cards h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #333;
}

/* STATS SECTION */
.stats-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.stats-grid .stat {
  text-align: center;
}

.stats-grid .stat h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.stats-grid .stat p {
  font-size: 1rem;
  opacity: 0.9;
}
.about-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #fdfbfb, #ffffff);
}
/* Remove unwanted space between sections */
#stats {
  margin-bottom: 0;
  padding-bottom: 60px; /* adjust as needed */
}

footer {
  margin-top: 0;
  padding-top: 40px; /* keep some spacing */
}
/* MY WORK SECTION */
.my-work-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #1e1e2f, #2a2a40);
  text-align: center;
  color: #fff;
}

.my-work-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.my-work-section .subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 50px;
}

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Glass Cards */
.work-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

/* Card Content */
.work-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.work-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Button */
.work-card .btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.work-card .btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* Container grid for all project cards */
.work-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

/* Each card styling */
.work-card {
  background-color: #2b2b3d;
  color: white;
  width: 550px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  padding: 20px;
  text-align: center;
}

/* Video styling (fixed size) */
.work-video video {
  width: 500px;
  height: 281px; /* 16:9 aspect ratio */
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Optional responsive scaling for smaller screens */
@media (max-width: 600px) {
  .work-card {
    width: 100%;
  }

  .work-video video {
    width: 100%;
    height: auto;
  }
}
/* === CREATORS SECTION === */
.creators-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #1e1e2f, #2a2a40);
  text-align: center;
  color: #fff;
}

.creators-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.creators-section .subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 50px;
}

/* Grid layout */
.creators-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual creator card */
.creator-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  width: 320px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.creator-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/* Creator image */
.creator-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s, border-color 0.3s;
}

.creator-card:hover img {
  transform: scale(1.08);
  border-color: var(--primary);
}

/* Creator name */
.creator-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

/* Button */
.creator-card .btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.3s;
}

.creator-card .btn:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
  .creators-grid {
    flex-direction: column;
  }

  .creator-card {
    width: 80%;
  }
}
/* Default video style (horizontal 16:9) */
.work-video video {
  width: 500px;
  height: 281px; /* 16:9 */
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Vertical (TikTok-style) video */
.vertical-video .work-video video {
  width: 140px;     /* Narrower to match the height visually */
  height: 250px;    /* 9:16 aspect ratio */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Adjust card width for the vertical video */
.vertical-video {
  width: 400px; /* keeps visual balance with wider 16:9 cards */
}

/* Responsive tweak */
@media (max-width: 600px) {
  .vertical-video .work-video video {
    width: 100%;
    height: auto;
  }
  .vertical-video {
    width: 100%;
  }
}
