:root {
  /* Colors */
  --white: #FFFFFF;
  --yellow: #F6BD26;

  --primary-100: #2179FF;
  --primary-90: #1E6DE5;
  --primary-80: #1B61CC;
  --primary-70: #1755B2;
  --primary-40: #0D3166;
  --primary-20: #071833;

  --secondary-100: #21FFFF;
  --secondary-20: #073333;

  --neutral-100: #FAFCFF;
  --neutral-98: #F2F5FA;
  --neutral-95: #E9ECF2;
  --neutral-90: #DADFE5;
  --neutral-80: #C2C6CC;
  --neutral-60: #919499;
  --neutral-50: #797C80;
  --neutral-40: #616366;
  --neutral-30: #494A4D;
  --neutral-20: #303133;
  --neutral-10: #18191A;
  --neutral-5: #0C0C0D;

  --error-100: #FF2134;

  /*-----------------------------------*\
  #LOGO
  \*-----------------------------------*/

/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

/* Navbar hidden by default */
.navbar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: var(--primary-100);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 999;
}

/* Jab active ho to show */
.navbar.active {
  right: 0;
}

/* Toggle button */
.nav-toggle-btn .close {
  display: none;
}

.nav-toggle-btn.active .open {
  display: none;
}

.nav-toggle-btn.active .close {
  display: inline-block;
}







  .logo img {
    height: 60px;   /* header ke liye perfect height */
    width: auto;    /* aspect ratio maintain kare */
    object-fit: contain; /* image crop na ho */
    display: block;
  }

  .header.active .logo img {
    height: 48px;   /* jab header shrink ho, logo bhi thoda chhota ho */
    transition: height 0.3s ease;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px; /* image aur text ke beech gap */
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-100); /* ya jo bhi color chahiye */
    text-transform: uppercase;
  }



  /* Gradient */
  --gradient: linear-gradient(270deg, #0F4392 0%, #001D3D 100%);

  /* Typography */
  --font-primary: 'Montserrat', sans-serif;

  /* Font sizes */
  --fs-base: 62.5%;
  --fs-headline-large: 3.6rem;
  --fs-headline-medium: 2.8rem;
  --fs-headline-small: 2.8rem;
  --fs-title-large: 2.2rem;
  --fs-title-medium: 2rem;
  --fs-title-small: 1.8rem;
  --fs-body-large: 1.6rem;
  --fs-body-medium: 1.6rem;
  --fs-label-large: 1.6rem;
  --fs-label-medium: 1.4rem;

  /* Line heights */
  --lh-headline-large: 44px;
  --lh-headline-medium: 36px;
  --lh-headline-small: 36px;
  --lh-title-large: 28px;
  --lh-title-medium: 24px;
  --lh-title-small: 24px;
  --lh-body-large: 24px;
  --lh-body-medium: 24px;
  --lh-label-large: 24px;
  --lh-label-medium: 20px;

  /* Font weights */
  --weight-bold: 700;
  --weight-semiBold: 600;
  --weight-regular: 400;

  /* Letter spacing */
  --tracking-n-025: -0.25px;
  --tracking-p-05: 0.5px;

  /* Radius */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
  --radius-extra-large: 32px;
  --radius-full: 1000px;
  --radius-circle: 50%;

  /* Box shadow */
  --shadow-1: 0px 2px 4px 0px #00000033;
  --shadow-2: 0px 5px 10px 0px #0000000D;
  --shadow-3: 0px 5px 10px 0px #00000033;
  --shadow-4: 0px 10px 20px 0px #0000001A;

  /* Transition */
  --transition-easing-quick: cubic-bezier(0, 0.7, 0.3, 1);
  --transition-duration-quick: 200ms;
  --transition-duration-smooth: 500ms;
}


/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }
a, img, span, input, select, button { display: block; }
a { color: inherit; text-decoration: none; }
img { height: auto; }
input, button, select { background: none; border: none; font: inherit; }
button { cursor: pointer; }
input, select { width: 100%; outline: none; }
address { font-style: normal; }
select { appearance: none; -webkit-appearance: none; -moz-appearance: none; }
html { font-family: var(--font-primary); font-size: var(--fs-base); scroll-behavior: smooth; }

body {
  background-color: var(--neutral-90);
  color: var(--neutral-5);
  font-size: var(--fs-body-medium);
  line-height: var(--lh-body-medium);
  min-height: 100vh;
}
::-webkit-scrollbar { width: 12px; }

::-webkit-scrollbar-track { background-color: var(--neutral-90); }

::-webkit-scrollbar-thumb {
  background-color: var(--neutral-60);
  border-radius: 4px;
}


/*-----------------------------------*\
  #TYPOGRAPHY
\*-----------------------------------*/

.headline-large {
  font-size: var(--fs-headline-large);
  line-height: var(--lh-headline-large);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-n-025);
}

.headline-medium {
  font-size: var(--fs-headline-medium);
  line-height: var(--lh-headline-medium);
  font-weight: var(--weight-bold);
}

.headline-small {
  font-size: var(--fs-headline-small);
  line-height: var(--lh-headline-small);
  font-weight: var(--weight-bold);
}

.title-large {
  font-size: var(--fs-title-large);
  line-height: var(--lh-title-large);
  font-weight: var(--weight-semiBold);
}

.title-medium {
  font-size: var(--fs-title-medium);
  line-height: var(--lh-title-medium);
  font-weight: var(--weight-semiBold);
}

.title-small {
  font-size: var(--fs-title-small);
  line-height: var(--lh-title-small);
  font-weight: var(--weight-semiBold);
}

.body-large {
  font-size: var(--fs-body-large);
  line-height: var(--lh-body-large);
  font-weight: var(--weight-regular);
}

.body-medium {
  font-size: var(--fs-body-medium);
  line-height: var(--lh-body-medium);
  font-weight: var(--weight-regular);
}

.label-medium {
  font-size: var(--fs-label-medium);
  line-height: var(--lh-label-medium);
  font-weight: var(--weight-semiBold);
  letter-spacing: var(--tracking-p-05);
}


/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.material-symbols-rounded {
  display: block;
  width: 1em;
  height: 1em;
  overflow: hidden;
  font-variation-settings: 
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

.container {
  padding-inline: 16px;
  max-width: 500px;
  width: 100%;
  margin-inline: auto;
}

.section { padding-block-end: 60px;}
.title-wrapper {margin-block-end: 32px;}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--neutral-80);
  overflow: hidden;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/*-----------------------------------*\
  #COMPONENT
\*-----------------------------------*/

/* button */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding-inline: 24px;
  border-radius: var(--radius-full);
  max-width: max-content;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}

.btn-fill {
  background-color: var(--primary-100);
  color: var(--neutral-100);
}

.btn-fill:where(:hover, :focus) {
  background-color: var(--primary-90);
  box-shadow: var(--shadow-1);
}

.btn-fill:where(:active, :focus-visible) {
  background-color: var(--primary-80);
}

.btn-outline {
  color: var(--primary-100);
  box-shadow: inset 0 0 0 2px var(--primary-100);
}

.btn-outline:where(:hover, :focus, :focus-visible) {
  color: var(--neutral-100);
}

.btn-outline:hover { background-color: var(--primary-100); }

.btn-outline:focus { background-color: var(--primary-90); }

.btn-outline:where(:active, :focus-visible) {
  background-color: var(--primary-90);
}

/* icon btn */
.icon-btn {
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  background-color: var(--neutral-100);
  color: var(--neutral-10);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-3);
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}

.icon-btn:where(:hover, :focus-visible) {
  background-color: var(--neutral-90);
}

/* badge */

.badge {
  height: 32px;
  max-width: max-content;
  display: grid;
  place-items: center;
  padding-inline: 16px;
  background-color: var(--secondary-100);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-3);
}

/* card */

.card {
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}

.card:where(:hover, :focus-within) {box-shadow: var(--shadow-4);}

.card-banner {position: relative;}

.card-banner .img-cover {
  transition: var(--transition-duration-smooth) var(--transition-easing-quick);
}

.card:where(:hover, :focus-within) .img-cover {
  scale: 1.05;
  rotate: 2deg;
}

.card :where(.badge, .icon-btn) {
  position: absolute;
  top: 20px;
}

.card .badge {left: 20px;}

.card .icon-btn {
  right: 20px;
  opacity: 0;
  visibility: hidden;
  scale: 0.8;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}

.fav-btn {color: var(--error-100);}

.fav-btn.active .material-symbols-rounded {
  font-feature-settings: 'FILL' 1;
}

.card:where(:hover, :focus-within) .icon-btn {
  scale: 1;
  opacity: 1;
  visibility: visible;
}

.card-content {padding: 20px 20px 24px;}

.card-title{
  margin-block: 8px;
  color: var(--neutral-20);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}

.card-title:where(:hover, :focus-visible) {color: var(--primary-100);}

.card-text {color:var(--neutral-40);}

.card-meta-list {
  padding-block-start: 16px;
  margin-block-start: 16px;
  border-block-start: 16px solid var(--neutral-90);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.card .meta-item{
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--neutral-20);
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.navbar { display: none; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 4;
}

.header.active {
  animation: slide_in 500ms ease forwards;
  height: 72px;
  background-color: var(--primary-40);
}

@keyframes slide_in {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

.header .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-toggle-btn .close,
.nav-toggle-btn.active .open { display: none; }

.nav-toggle-btn .open,
.nav-toggle-btn.active .close { display: block; }


/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  background: var(--gradient);
  color: var(--neutral-90);
  padding-block: 130px 60px;
  overflow: hidden;
  isolation: isolate;
}



.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding-inline: 24px;
  border-radius: var(--radius-full);
  max-width: max-content;
  transition: all var(--transition-duration-quick) var(--transition-easing-quick); /* fixed */
}



.hero-banner {display: none;}

.hero {
  position: relative;
  background-color: var(--gradient);
  color: var(--neutral-90);
  padding-block:  130px 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero-title {color: var(--neutral-100);}

.hero-text {
  margin-block: 16px 32px;
}
/* 🔹 Search Bar */ 
.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
  background-color: var(--white);
  border-radius: 16px;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: var(--shadow-4);
}
.search-item {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 60px;
  border-radius: var(--radius-medium);
  background-color: var(--neutral-98);
}
.search-item .material-symbols-rounded { margin-right: 10px; color: var(--primary-100); font-size: 22px; }
.search-item input { flex: 1; border: none; outline: none; font-size: 1rem; background: transparent; color: var(--neutral-30); }
.search-btn {
  background-color: var(--primary-100);
  color: var(--neutral-100);
  height: 60px;
  padding-inline: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  transition: background 0.3s ease;
}
.search-btn:hover { background-color: var(--primary-80); }
.search-btn:active, .search-btn:focus-visible { background-color: var(--primary-70); }

/* 🔹 Background Pattern */ .hero .bg-pattern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: -2; opacity: 0.2; }

/*-----------------------------------*\
  #PROPERTY
\*-----------------------------------*/

.property {
  padding-block-start:60px;
}
.property .section-text {
  margin-block: 8px 16px;
  color: var(--neutral-30);
}

.property-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}


/*-----------------------------------*\
  #FEATURE
\*-----------------------------------*/
.feature-banner {
  aspect-ratio: 3 /2;
  overflow: hidden;
  border-radius: var(--radius-extra-large);
}

.feature-content {padding: 24px 16px 0;}
.feature-content,
.feature-content .feature-text {margin-block: 16px;}
.feature-text .feature-item {color: var(--neutral-30)}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-item{
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-icon {
  color: var(--primary-100);
  font-size: 2.2rem;

}

/*-----------------------------------*\
  #VIDEO
\*-----------------------------------*/
.video-card {
  height: 260px;
  border-radius: 32px;
  background: linear-gradient(0deg, #0000004D, #0000000D), url('./assets/images/video-card.jpg');
  background-repeat: no-repeat;
  background-size:cover;
  display: grid;
  place-items: center;
}
.play-btn {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background-color: var(--neutral-100);
  color: var(--primary-100);
  border-radius: var(--radius-circle);
  animation: pulse 1.5s var(--transition-easing-quick) forwards infinite;
}

@keyframes pulse {
  0% {box-shadow: 0 0 0 0 #ffffff80;}
  100% {box-shadow: 0 0 0 20 #ffffff00;}
}

.play-btn .material-symbols-rounded {
  font-size: 4rem;
  font-variation-settings: 'FIIL' 1;
}





/*-----------------------------------*\
  #STORY
\*-----------------------------------*/


.section.story {
  padding: 60px 20px;
  background: var(--neutral-50, #f9f9f9);
}

.section.story .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Title + Button */
.title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.title-wrapper .section-title {
  max-width: 600px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Avatar List (small circular images) */
.avatar-list {
  display: inline-block;
  margin-right: -10px;
}

.avatar-list img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.avatar-list img:hover {
  transform: scale(1.1);
}

/* Story Cards */
.story-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.story-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-8px);
}

/* Overlay Content */
.story-card .overlay-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Name + Rating */
.overlay-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.rating-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
}

.rating-wrapper .material-symbols-rounded {
  font-size: 18px;
  color: gold;
}

/* Avatar inside card */
.card-avatar {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  width: 48px;
  height: 48px;
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/* ===============================
   FOOTER STYLES
================================= */
.footer {
  background: #0d3166; /* dark blue shade */
  color: #fff;
  padding: 60px 20px 20px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Brand */
.footer-brand .logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Links */
.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ddd;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #f6bd26; /* yellow accent */
}

/* Contact */
.footer-contact p {
  margin: 6px 0;
  font-size: 0.95rem;
}

/* Social */
.footer-social .social-icons {
  display: flex;
  gap: 12px;
}

.footer-social .social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: transform 0.3s, color 0.3s;
}

.footer-social .social-icons a:hover {
  color: #f6bd26;
  transform: scale(1.2);
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #ccc;
}

.social {
    display: flex;
    flex-direction: row ;
    gap: 20px;
}
.social a {
    color: #00aaff;
    font-size: 1.2rem;
}
/* Social Links Hover */
.social a:hover {
    color: #ffaa00; /* Default hover color */
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Brand-specific hover colors */
.social a.facebook:hover { color: #1877f2; }   /* Facebook */
.social a.twitter:hover { color: #84d0ff; }    /* Twitter */
.social a.instagram:hover { color: #fd1d1d; }  /* Instagram */
.social a.linkedin:hover { color: #00709c; }   /* LinkedIn */
.social a.discord:hover { color: #2436ff; }    /* Discord */
.social a.github:hover { color: #d1d1d1; }     /* GitHub */

/* ===============================
   MEDIA QUERIES
================================= */

/* Tablet */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social .social-icons {
    justify-content: center;
  }
}
