/* ======================= Basic Setup & Fonts ======================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');
:root {
    --highlight-color: #FFC300; 
    --text-color: #ffffff;
    --dark-bg: #0a0a0a;
}
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #121212; 
}
.container { 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ======================= Header ======================= */
#header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 20px 0; 
    z-index: 1000; 
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
#header.header-scrolled {
    background-color: black;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo-container { 
    flex-shrink: 0;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    text-decoration: none; 
}
.logo { 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: var(--text-color); 
    line-height: 1; 
}
.logo-tagline { 
    font-size: 0.8rem; 
    color: rgba(255, 255, 255, 0.8); 
    line-height: 1; 
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.share-button { 
    background: none; 
    border: none; 
    color: var(--text-color); 
    font-size: 1.5rem; 
    cursor: pointer; 
}

/* ======================= Hero Section ======================= */
.hero { 
    position: relative; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; /* Stacks children vertically */
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    overflow: hidden; 
    color: var(--text-color); 
    padding: 120px 0 50px; 
}
.slider, .overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}
.slide { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 1.5s ease-in-out; 
}
.slide.active { opacity: 1; }
.slide video { width: 100%; height: 100%; object-fit: cover; }
.overlay { 
    background: linear-gradient(45deg, rgba(106, 17, 203, 0.6), rgba(247, 121, 125, 0.5), rgba(251, 215, 134, 0.6)); 
    z-index: 1; 
}
.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.top-support-links {
   font-size: 1rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: var(--highlight-color);
}
.animated-headline-container {
    height: 120px;
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.headline {
    position: absolute;
    width: 100%;
    max-width: 800px;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}
.headline.active { 
    opacity: 1; 
    visibility: visible; 
}
.headline .highlight { color: var(--highlight-color); }

/* Form Styling */
#resolution-form { 
    width: 100%; 
    max-width: 550px;
    background: rgba(0, 0, 0, 0.35); 
    padding: 2rem; 
    border-radius: 10px; 
    backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
}
.form-inputs { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.form-inputs input { width: 100%; padding: 15px; border: 1px solid rgba(255, 255, 255, 0.5); background: transparent; border-radius: 5px; color: var(--text-color); font-size: 1rem; }
.resolution-checklist { text-align: left; margin-bottom: 1.5rem; }
.resolution-checklist label { display: block; margin-bottom: 0.75rem; font-size: 0.95rem; }
.form-actions { display: flex; align-items: center; gap: 1.5rem; }
#submit-btn { flex-grow: 1; padding: 15px; border: none; border-radius: 5px; background-color: var(--highlight-color); color: #212121; font-size: 1.1rem; font-weight: 600; cursor: pointer; }
#submit-btn:disabled { background-color: #555; cursor: not-allowed; color: #999; }
.signature-counter { background: rgba(0,0,0,0.2); padding: 10px 15px; border-radius: 5px; font-weight: 600; color: rgba(255,255,255,0.9); white-space: nowrap; }
#form-result { margin-top: 1rem; font-weight: 600; height: 20px; }
.fading-links-container { margin-top: 2rem; position: relative; height: 3em; display: flex; justify-content: center; align-items: center; }
.fading-link { position: absolute; max-width: 90%; color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: opacity 0.8s ease-in-out, visibility 0.8s; opacity: 0; visibility: hidden; }
.fading-link.active { opacity: 1; visibility: visible; }

/* ======================= CORRECTED 3-COLUMN FOOTER ======================= */
#footer {
    background-color: var(--dark-bg);
    color: #a0a0a0;
    padding: 60px 0;
    border-top: 1px solid #222;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.footer-col {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
}
.footer-col .logo-container {
    margin-bottom: 1rem;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-col h4 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li a {
    color: #a0a0a0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--highlight-color);
}
.newsletter-box {
    display: flex;
    border: 1px solid #444;
    border-radius: 5px;
    overflow: hidden;
}
.newsletter-box input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    background: #1c1c1c;
    color: var(--text-color);
}
.newsletter-box button {
    padding: 0 15px;
    border: none;
    background-color: var(--highlight-color);
    color: #121212;
    cursor: pointer;
    font-size: 1.1rem;
}
#newsletter-result {
    margin-top: 10px;
    font-size: 0.85rem;
    height: 15px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #222;
}
.footer-social-links a {
    color: #a0a0a0;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.footer-social-links a:hover {
    color: var(--highlight-color);
}

/* ======================= Share Modal ======================= */
.share-modal-container { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); align-items: center; justify-content: center; }
.share-modal-container.active { display: flex; }
.share-modal-content { background-color: #2c2c2c; padding: 20px 30px; width: 90%; max-width: 400px; border-radius: 10px; text-align: center; position: relative; color: white; }
.close-modal-button { color: #aaa; position: absolute; top: 10px; right: 20px; font-size: 28px; font-weight: bold; cursor: pointer; }
.modal-share-links { display: flex; flex-direction: column; gap: 10px; }
.modal-share-links .share-link { padding: 12px; border-radius: 5px; text-decoration: none; color: white; font-weight: 600; }
.share-link.facebook { background: #3b5998; }
.share-link.twitter { background: #1da1f2; }
.share-link.linkedin { background: #0077b5; }
.share-link.whatsapp { background: #25d366; }

/* ======================= Responsive Design ======================= */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .top-support-links { flex-direction: column; gap: 0.5rem; }
    .hero { padding-top: 100px; }
    .hero-content { max-width: 90vw; }
    .headline { font-size: 2.1rem; }
    .form-inputs { flex-direction: column; }
    .footer-top { flex-direction: column; text-align: center; }
    .footer-col { min-width: 100%; padding: 0;}
    .footer-bottom { flex-direction: column-reverse; gap: 1rem; }
    .footer-social-links a { margin: 0 10px; }
}