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

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  color: white;
  /*background-color: #000;*/
  overflow-x: hidden;
}

/* Top Website Title */
.top-header {
  text-align: center;
  padding: 1rem 0;
  background: white; /* white background */
  color: black; /* black text */
  font-family: 'Poppins', sans-serif;
  font-size: 24px; /* fixed 24px */
  font-weight: 600;
  letter-spacing: 1px;
}

.top-header span {
  color: black; /* [2] also black */
}

/* Navbar */

.navbar {
  width: 100%;
  background: #f9f6ef;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  max-width: 1300px;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: black;
}

.nav-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-grow: 1;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #00c6ff;
}
.login-button a,
.signup-button a {
  background: black;
  color: white;
  padding: 0 1.5rem;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}

.profile-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #444;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}

/* Sign Up Button */
.signup-button {
  margin-left: 0; /* Remove margin left */
  margin-right: 0; /* Remove margin right */
}

.signup-button a {
  background: black;
  color: white;
  padding: 0 2rem; /* Adjust horizontal padding for button */
  height: 60px; /* Set the button height to match navbar height */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  box-sizing: border-box;
  border: none;
}

.signup-button a:hover {
  background: #333;
}


/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  z-index: 2;
  max-width: 700px;
  padding: 1rem;
}

.hero-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #eeeeee;
  line-height: 1.6;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.button-outline {
  padding: 0.6rem 1.5rem;
  border: 2px solid white;
  background: transparent;
  color: white;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}

.button-outline:hover {
  background: white;
  color: #0072ff;
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .top-header {
    font-size: 1.5rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .nav-links {
    gap: 1rem;
  }
}
/* About Section */
.about-section {
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}


.about-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
  }
}

.about-left, .about-right {
  flex: 1;
}

.about-left h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #222;
}

.about-left .highlight {
  color: #4f46e5; /* Indigo highlight */
}

.about-right {
  font-size: 1.8rem;
  line-height: 2.0;
  color: #555;
}

.about-right p strong {
  color: #4f46e5;
}
.about-img {
  width: 50%;
  max-width: 400px;
  margin-top: 1rem;
}



/* About Page Hero */
.about-hero {
  padding-top: 8rem;
  text-align: center;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  padding-bottom: 3rem;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About Page Content */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
}

.about-card {
  background: #f8f9fa;
  color: #333;
  padding: 2rem;
  border-radius: 12px;
  max-width: 700px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}


/* Responsive */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-card h2 {
    font-size: 1.5rem;
  }
}
/* Login Section */
.login-section {
  padding-top: 8rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #00c6ff, #0072ff);
}

.login-form {
  background: white;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.login-form h1 {
  margin-bottom: 1.5rem;
  color: #0072ff;
}

.login-form label {
  display: block;
  text-align: left;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.login-form input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.login-form button {
  width: 100%;
  padding: 0.8rem;
  background: #00c6ff;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.login-form button:hover {
  background: #0072ff;
}
.social-button i {
  font-size: 1rem;
}
.small-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #333;
}

.small-link a {
  color: #0056b3;
  text-decoration: none;
  font-weight: 500;
}


/* Signup Section */
.signup-section {
  padding-top: 8rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #00c6ff, #0072ff);
}

.signup-form {
  background: white;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.signup-form h1 {
  margin-bottom: 1.5rem;
  color: #0072ff;
}

.signup-form label {
  display: block;
  text-align: left;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.signup-form input,
.signup-form select {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.signup-form button {
  width: 100%;
  padding: 0.8rem;
  background: #00c6ff;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.signup-form button:hover {
  background: #0072ff;
}
/* Dashboard Section */
.dashboard-section {
  padding-top: 8rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #00c6ff, #0072ff);
}

.dashboard-form {
  background: white;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.dashboard-form h1 {
  margin-bottom: 1.5rem;
  color: #0072ff;
}

.dashboard-form label {
  display: block;
  text-align: left;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.dashboard-form input,
.dashboard-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.dashboard-form textarea {
  resize: vertical;
  height: 100px;
}

.dashboard-form button {
  width: 100%;
  padding: 0.8rem;
  background: #00c6ff;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.dashboard-form button:hover {
  background: #0072ff;
}

/* Override default blue button styles */
.apple-btn,
.google-btn,
.email-btn,
.otp-btn {
  background: black !important;
  color: white !important;
}

.apple-btn:hover,
.google-btn:hover,
.email-btn:hover,
.otp-btn:hover {
  background: #333 !important;
}
.details.compact p {
  font-size: 0.85rem;
  color: #444;
  margin: 4px 0;
}

.photo-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.photo-block {
  flex: 1;
  text-align: center;
}

.photo-block img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.photo-label {
  font-size: 0.75rem;
  color: #666;
  margin-top: 4px;
}

.snippet.quote {
  font-size: 0.85rem;
  font-style: italic;
  color: #333;
  margin-top: 10px;
  margin-bottom: 12px;
}


.subscribe-container {
  max-width: 500px;
  margin: 100px auto;
  text-align: center;
  padding: 30px;
  background: #222;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.subscribe-container button {
  margin-top: 20px;
  padding: 12px 25px;
  font-size: 16px;
  background-color: #2e7d32;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.save-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #555;
}
.save-btn:hover {
  color: #1976d2;
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
/*homepage styling*/
.dropbtn {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  color: #000;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  display: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 99;
  padding: 0.5rem 0;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #333;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Story Card Enhancements */
.story-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid transparent;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 160px;
}

.read-btn {
  display: block;
  text-align: center;
  background-color: #222;
  color: white;
  border-radius: 6px;
  padding: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.2s ease;
}

.read-btn:hover {
  background-color: #E86A33;
}

.save-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  font-size: 0.9rem;
  color: #555;
  gap: 5px;
  cursor: pointer;
}

.save-btn i {
  font-size: 1rem;
}

.save-btn:hover {
  color: #E86A33;
}

.snippet.quote {
  font-style: italic;
  color: #444;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
@keyframes scrollText {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

#rotating-caption {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #f5f1ef;
  padding: 0.5rem 1rem;
  animation: scrollText 12s linear infinite;
}
news-hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #f5f9ff;
  color: #222;
}

.news-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.news-section {
  padding: 2rem;
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card h2 {
  font-size: 1.2rem;
  margin: 1rem;
}

.news-card p {
  margin: 0 1rem 1rem;
  font-size: 0.95rem;
  color: #444;
}

.read-more {
  display: block;
  margin: 0 1rem 1.5rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}
.read-more:hover {
  text-decoration: underline;
}
.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #0072ff; /* blue on hover */
}

.nav-links a.active {
  color: #E86A33; /* orange if active */
  font-weight: 700;
}

/* Base Navbar Gap */
.navbar-container {
  gap: 1rem;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block !important;
  }

  .navbar-container {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    height: auto;
    text-align: center;
  }

  .nav-links {
    display: none !important;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
    text-align: center;
    width: 100%;
  }

  .signup-button a,
  .login-button a {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 0.5rem;
  }

  .profile-icon {
    align-self: flex-end;
  }
}

/* Optional: Hero Section tweaks */
@media (max-width: 600px) {
  .hero-content {
    padding: 1rem;
    max-width: 90%;
  }

  .hero-content h2 {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button-outline {
    width: 100%;
    padding: 0.8rem 1rem;
  }
}
/* Sidebar Overlay (background blur) */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show overlay when active */
.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Mobile Sidebar Drawer */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  padding: 2rem 1rem;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Show Sidebar */
.mobile-sidebar.active {
  right: 0;
}

/* Sidebar Links */
.mobile-sidebar a {
  margin: 1rem 0;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}

/* Close Button Inside Sidebar */
.close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .about-section > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-section img {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
label {
  display: block;
  color: #333;           /* or #000 for darker text */
  font-weight: 600;
  margin-bottom: 5px;
}






