@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');

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

:root {
  --primary-color: #4891ff;
  --light-color: #f4f4f6;
  --dark-color: #111;
}

body {
  background-color: var(--dark-color);
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.navbar {
  padding: 20px;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo1 img {
  width: 60px;
  transition: transform 0.5s ease-in-out;
  border-radius: 50%;
}

.logo1 img:hover {
  transform: scale(0.9);
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #4891ff, #facc15);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: hueRotate 10s linear infinite;
}

@keyframes hueRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.main-menu {
  display: flex;
}

.main-menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu a {
  font-weight: 600;
  padding: 10px 15px;
  transition: color 0.3s;
  text-decoration: none;
  color: white;
}

.main-menu a:hover {
  color: var(--primary-color, #facc15);
}

/* BUN PAUROTI MENU */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* MOBILE KO LAGI */
@media (max-width: 768px) {
    .container {
        
        align-items: center; 
        justify-content: space-between; 
        flex-wrap: wrap; 
    }

    .menu-toggle {
        display: block;
    }

    .main-menu {
        width: 100%;
        display: none;
        flex-direction: column;
        margin-top: 15px;
    }
    
    .main-menu.active {
        display: flex;
    }

    .main-menu ul {
        flex-direction: column;
        gap: 15px;
        width: 100%; 
        align-items: center; 
    }
}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  padding: 50px 20px;
  box-sizing: border-box;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
  color: white;
  text-align: left;
}

.hero-heading {
  font-size: 3rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-photo img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.typewriter {
  font-weight: 700;
  font-size: 2rem;
  border-right: 3px solid #fff;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  overflow: hidden;
  display: inline-block;
  color: white;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: #fff; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-heading {
    font-size: 2.5rem;
  }
  .typewriter {
    font-size: 2rem;
  }
  .hero-photo img {
    width: 200px;
    height: 200px;
  }
}

.about {
    padding: 100px 20px;
    background: #070707;
    text-align: center;
    color: #f0f0f0;
}

.about-container {
    max-width: 900px;
    margin: auto;
    padding: 0 15px;
}

.about-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    position: relative;
}

.about-paragraph {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 25px auto;
    color: #cccccc; 
    line-height: 1.8; 
}

.about-paragraph.call-to-action {
    font-weight: 600; 
    color: #e0e0e0; 
    font-size: 1.25rem; 
    margin-top: 40px; 
}




/* --- Things Section --- */
.things-section {
    padding: 100px 20px;
    background-color: #030303;
    text-align: center;
    color: #f0f0f0;
}

.section-heading { /* Now also has .reveal-text from JS */
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 60px;
    color: #e0e0e0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.things-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-wrapper {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    /* Initial state for `in-view` animation */
    opacity: 0;
    min-height: 200px;
    transform: translateY(50px);
    position: relative;
    z-index: 1;

    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}



.card-wrapper.in-view {
    opacity: 1;
    transform: translateY(0);
}

.card {
    width: 300px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-radius: 18px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

/* Key changes for the flip effect */
.card.flipped .card-front {
    transform: rotateY(180deg);
}
.card.flipped .card-back {
    transform: rotateY(0deg); /* No extra rotation needed here */
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back of the element when facing away */
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    box-sizing: border-box;
    transition: transform 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Transition for the faces */
}

/* Front Faces - Background Images */
.card-front {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    transform: rotateY(0deg); /* Ensure front starts correctly */
    background-color: #0b0f4a; 
}



/* Back Faces - Content */
.card-back {
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    color: #333;
    transform: rotateY(-180deg); /* Rotates the back face into position, ensuring text is readable when flipped */
    text-align: left;
    padding: 30px;
}

.card-title1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #e0e0e0;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.card-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: #007bff;
    font-weight: bold;
}

/* --- Text Reveal Animation CSS (needed for .section-heading) --- */
.reveal-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-text.is-visible .word {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .section-heading { font-size: 2.8rem; margin-bottom: 50px; }
    .card { width: 280px; height: 420px; }
    .card-title { font-size: 1.6rem; }
    .card-list li { font-size: 1rem; }
}

@media (max-width: 768px) {
    .things-section { padding: 80px 15px; }
    .section-heading { font-size: 2.4rem; margin-bottom: 40px; }
    .card { width: 320px; height: 480px; margin-bottom: 20px; }
    .things-grid { gap: 30px; }
    .card-title { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .section-heading { font-size: 2rem; margin-bottom: 30px; }
    .card { width: 90%; max-width: 300px; height: 450px; }
    .card-back { padding: 20px; }
    .card-title { font-size: 1.5rem; margin-bottom: 20px; }
    .card-list li { font-size: 0.95rem; margin-bottom: 10px; padding-left: 25px; }
}

.title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: bold;
}

ul li {
  margin-bottom: 10px;
  font-weight: 500;
}
/* Container to center everything and limit width */
.marqi {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #030303;
}

/* Wrapper */
.logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
  background-color: #030303;
  width: 100%;
  max-width: 700px;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Track that scrolls */
.logo-marquee-track {
  display: flex;
  animation: scrollMarquee 25s linear infinite;
  width: max-content;
}

/* Group of logos */
.logo-marquee-group {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-shrink: 0;
}

/* Logo item */
.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  min-width: 80px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Logo image */
.logo-item img {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
}

/* Hover */
.logo-item:hover {
  transform: scale(1.2);
}

/* Blur effect */
.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #030303 0%, transparent 100%);
}

.logo-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #030303 0%, transparent 100%);
}

/* Scroll animation */
@keyframes scrollMarquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 🔥 MOBILE RESPONSIVE TWEAKS */
@media (max-width: 600px) {
  .logo-marquee-wrapper {
    padding: 20px 10px;
  }

  .logo-marquee-group {
    gap: 30px;
  }

  .logo-item {
    font-size: 12px;
    min-width: 60px;
  }

  .logo-item img {
    width: 24px;
    height: 24px;
  }

  .logo-item:hover {
    transform: scale(1.1); /* Less aggressive on mobile */
  }

  .logo-marquee-wrapper::before,
  .logo-marquee-wrapper::after {
    width: 30px;
  }
}



/* Import a dope bold font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

/* Hero section layout */
.hero-contact {
  height: 100vh;
  background-color: #030303;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 40px;
  padding: 20px;

  /* Hide on load */
  opacity: 0;
  transform: translateY(100px);
  transition: all 1s ease-out;
}

.hero-contact.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Heading styles */
.hero-contact h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.hero-contact.animate h1 {
  opacity: 1;
  transform: translateY(0);
}

/* Social icons layout */
.hero-contact .social-icons {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Icon images + hover effect */
.hero-contact .social-icons a img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Initial state */
.hero-contact .social-icons a {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.hero-contact.animate .social-icons a {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect */
.hero-contact .social-icons a:hover img {
  transform: scale(1.2);
  
}



.footer {
  background-color: #030303;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
}

.footer p {
  margin-bottom: 15px;
  font-size: 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.social-links a {
  color: #ffc107;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #fff;
}