/* Reset and Base Styles */
:root {
    --banner-height: 44px;
    --banner-height-mobile: 38px;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: var(--banner-height);
}

/* Contract Address Banner */
.ca-banner {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 0;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.ca-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.ca-label {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

.ca-address {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    min-width: 180px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.ca-copy-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ca-copy-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.ca-copy-btn:active {
    transform: translateY(0);
}

.copy-success {
    display: none;
    color: #4CAF50;
    font-weight: 700;
}

.ca-copy-btn.copied .copy-text {
    display: none;
}

.ca-copy-btn.copied .copy-success {
    display: inline;
}

.ca-copy-btn.copied {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.6);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.main-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    position: sticky;
    top: var(--banner-height);
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 75px;
}

.logo h1 {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.1);
    color: #ffd700;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('mouth-tape-meta.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 120px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3c72;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.2rem;
}

.btn-outline {
    background: transparent;
    color: #1e3c72;
    border: 2px solid #1e3c72;
}

.btn-outline:hover {
    background: #1e3c72;
    color: white;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: white;
}

.mission-section h2 {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #1e3c72;
}

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

.mission-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-card h3 {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    color: #1e3c72;
    margin-bottom: 20px;
}

.mission-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

/* Facts Section */
.facts-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.facts-section h2 {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    margin-bottom: 60px;
}

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

.fact-card {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.fact-number {
    font-size: 4rem;
    font-weight: 700;
    color: #ffd700;
    display: block;
    margin-bottom: 20px;
}

.fact-card h3 {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.fact-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #1e3c72;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.testimonial::before {
    content: '"';
    font-size: 6rem;
    color: #1e3c72;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Georgia', serif;
}

.testimonial p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: #444;
}

.testimonial cite {
    font-weight: 600;
    color: #1e3c72;
    font-style: normal;
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    margin-bottom: 30px;
}

.cta-section > p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.petition-counter {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.counter-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.counter-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.main-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Banner mobile responsiveness */
    .ca-banner {
        padding: 6px 0;
    }
    
    .ca-banner-content {
        gap: 8px;
        padding: 0 15px;
    }
    
    .ca-label {
        font-size: 0.75rem;
    }
    
    .ca-address {
        font-size: 0.8rem;
        padding: 4px 10px;
        min-width: 140px;
    }
    
    .ca-copy-btn {
        padding: 4px 12px;
        font-size: 0.75rem;
    }
    
    /* Adjust header top position for mobile */
    .main-header {
        top: var(--banner-height-mobile);
    }
    
    /* Logo responsive sizing */
    .logo img {
        height: 60px !important;
    }
    
    /* About section responsive layout */
    .about-flex-container {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 20px;
    }
    
    .about-image-container {
        order: 2;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-text-container {
        order: 1;
        text-align: center !important;
    }
    
    #about .container > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 20px;
    }
    
    #about .container > div[style*="display: flex"] > div:first-child {
        order: 2;
        max-width: 300px;
        margin: 0 auto;
    }
    
    #about .container > div[style*="display: flex"] > div:last-child {
        order: 1;
        text-align: center !important;
    }
    
    /* Survey results responsive */
    .survey-card {
        padding: 20px !important;
    }
    
    /* General text sizing */
    [style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
    }
    
    [style*="font-size: 2.2rem"] {
        font-size: 1.8rem !important;
    }
    
    [style*="font-size: 2.8rem"] {
        font-size: 2rem !important;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 15px 20px;
        min-height: auto;
    }
    
    .nav-menu {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mission-section h2,
    .facts-section h2,
    .testimonials h2,
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    /* Logo extra small screens */
    .logo img {
        height: 50px !important;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 120px 0 60px !important;
        background-attachment: scroll; /* Fixed attachment causes issues on mobile */
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 30px;
    }
    
    /* Button improvements */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 5px 0;
    }
    
    .btn-large {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    /* Card improvements */
    .mission-card,
    .fact-card,
    .testimonial,
    .survey-card {
        padding: 20px 15px !important;
        margin: 0 10px 20px 10px;
    }
    
    /* About section mobile */
    .about-text {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .about-image-container {
        max-width: 250px !important;
    }
    
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Section padding */
    .mission-section,
    .facts-section,
    .testimonials {
        padding: 60px 0 !important;
    }
    
    .cta-section {
        padding: 60px 0 !important;
    }
}

/* Mobile viewport fix */
@media (max-width: 768px) {
    /* Force responsive behavior on stubborn inline styles */
    section[style*="padding"] {
        padding: 60px 0 !important;
    }
    
    h2[style*="font-size"] {
        font-size: 2rem !important;
    }
    
    h3[style*="font-size"] {
        font-size: 1.5rem !important;
    }
    
    /* Navigation improvements */
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-menu a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* About Section Layout */
.about-flex-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image-container {
    flex: 1;
}

.about-text-container {
    flex: 1.5;
    text-align: left;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

/* Logo image styling */
.logo-image {
    height: 72px;
    width: auto;
}

/* About section image */
.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Research section styles */
.research-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 60px;
}

.research-intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: white;
    opacity: 0.9;
}

.research-subtitle {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.researcher-name {
    font-style: italic;
    color: #ffd700;
    margin-bottom: 15px;
}

/* Survey Results */
.survey-results-section {
    padding: 100px 0;
    background: white;
}

.survey-results-title {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #1e3c72;
}

.survey-results-container {
    max-width: 800px;
    margin: 0 auto;
}

.survey-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.survey-question {
    color: #1e3c72;
    margin-bottom: 20px;
}

.survey-bar-container {
    background: #1e3c72;
    height: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
}

.survey-bar-fill {
    background: #ff6b6b;
    height: 100%;
    border-radius: 10px;
}

.survey-bar-73 { width: 73%; }
.survey-bar-89 { width: 89%; }
.survey-bar-67 { width: 67%; }

.survey-percentage {
    position: absolute;
    right: 10px;
    top: 0;
    color: white;
    font-weight: bold;
    line-height: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-card,
.fact-card,
.testimonial {
    animation: fadeInUp 0.6s ease-out;
}