@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
  min-height: 100vh;
  padding-top: 70px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 20px;
  /* Keep logo on left, push other items to the right */
  justify-content: space-between;
}

/* Ensure logo doesn't grow or shrink */
.logo {
  flex-shrink: 0;
}

.logo img {
  height: 120px; /* Fixed to fit navbar */
}
/* Mobile: reduce logo height */
@media (max-width: 768px) {
  .logo img {
    height: 90px;
  }
}
/* Search bar: limit width and align right */
.search-wrapper {
  position: relative;
  width: 300px; /* Fixed reasonable width */
  margin: 0; /* Remove extra margin */
}

.search-wrapper input {
  width: 100%;
  height: 40px;
  padding: 0 45px 0 15px;
  border: 2px solid #ccc; /* styled border */
  border-radius: 20px;
  background: white;
  font-size: 16px;
  color: #2d3748;
  outline: none;
  transition: border-color 0.3s ease, background 0.2s;
}

.search-wrapper input:focus {
  background: #e6edf5;
  border-color: #4a5568; /* darker border on focus */
}


.search-wrapper .search-icon-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #4a5568;
  font-size: 18px;
  cursor: pointer;
}

/* User Icon */
.user-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d3748;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #D1D5DC;
  background: transparent;
  position: relative;
  flex-shrink: 0; /* Prevent shrinking */
  margin-left: 20px; /* Small gap between search and user icon */
   transition: background 0.3s ease, color 0.3s ease;
}
.user-icon:hover{
    background: black;
    color: white;
}
/* User Dropdown */
.user-dropdown {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  background: white;
  border-radius: 3px;
  overflow: hidden;
  min-width: 180px;
  z-index: 1001;

  /* Better even shadow */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(0, 0, 0, 0.06);
}


.user-dropdown a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #2d3748;
  font-size: 0.8rem;
  

}

.user-dropdown a:hover {
  background: black;
  color: white;
}
/* header-end */




/*footer */
.storylab-footer {
    background: #000000;
    color: #f0f0f0;
    padding-top: 60px;
    padding-bottom: 30px;
    font-family: 'Georgia', serif;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-logo {
    margin-bottom: 15px;
}

/* New wrapper for the logo with background */
.logo-wrapper {
    display: inline-block;
    padding: 0px 4px;
    border-radius: 6px;
    background: white; /* Very subtle light background */
    /* Optional: Add a soft border for extra definition */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-img {
    height: 90px;
    width: auto;
    display: block;
    /* Ensure no extra space below image */
    vertical-align: middle;
}

.brand-tagline {
    font-style: italic;
    margin: 15px 0 20px;
    opacity: 0.8;
    color: #ccc;
}
.brand-tagline .fa-quote-left {
    position: relative;
    top: -0.3em; /* Lifts the quote mark up */
    margin-right: 0.25em; /* Adds a little space after the quote */
    font-size: 1em; /* Slightly larger for visual balance */
    opacity: 0.8; /* Optional: subtle emphasis */
}
.brand-tagline .fa-quote-right {
    position: relative;
    top: -0.3em; /* Lifts the quote mark up */
    margin-left: 0.25em; /* Adds a little space after the quote */
    font-size: 1em; /* Slightly larger for visual balance */
    opacity: 0.8; /* Optional: subtle emphasis */
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f0f0f0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    color: #fff;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #888, transparent);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.newsletter p {
    margin: 15px 0 20px;
    opacity: 0.8;
    line-height: 1.6;
    color: #ccc;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 4px 0 0 4px;
    background: #111;
    color: white;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form button {
    background: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #444;
    border-color: #555;
}

.app-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.app-link {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    color: #f0f0f0;
    transition: background 0.3s ease;
    border: 1px solid #222;
}

.app-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #333;
}

.app-link i {
    margin-right: 8px;
    font-size: 18px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid #222;
}

.copyright {
    margin: 10px 0;
    opacity: 0.7;
    font-size: 14px;
    color: #aaa;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.legal-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
        border: 1px solid #333;
    }
    
    .newsletter-form button {
        border-radius: 4px;
        padding: 12px;
        border: 1px solid #444;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .logo-wrapper {
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 60px;
    }
    
    .logo-wrapper {
        padding: 0px 8px;
    }
}