/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2rem;
    background: #4a90e2;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo h1 {
    color: #4a90e2;
    font-size: 1.8rem;
}

/* Navigation */
.nav-tabs {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-tabs li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-tabs li a:hover {
    background-color: #e8f4ff;
    color: #4a90e2;
}

.nav-tabs li a.active {
    background-color: #4a90e2;
    color: white;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .nav-tabs li a:hover,
    .nav-tabs li a.active {
        background-color: #4a90e2;
        color: #4a90e2;
    }
}

/* ==========================================================================
   RESPONSIVE NAVIGATION
   ========================================================================== */

/* Mobile Navigation Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: #4a90e2;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media (max-width: 1024px) {
    /* Prevent horizontal scrolling */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }
    
    header .container {
        position: relative;
        padding: 0.8rem 60px 0.8rem 20px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .nav-toggle {
        display: block !important;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        margin: 0;
    }
    
    .nav-tabs {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-tabs.active {
        right: 0;
    }
    
    .nav-tabs li {
        width: 100%;
    }
    
    .nav-tabs li a {
        display: block;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        white-space: nowrap; /* Prevent text wrapping */
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-tabs li a:hover,
    .nav-tabs li a.active {
        border-left: 3px solid #4a90e2;
        background-color: #e8f4ff;
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(3px);
        z-index: 999;
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Adjust header for mobile */
    .logo {
        position: relative;
        z-index: 1;
        max-width: calc(100% - 70px); /* Leave space for hamburger */
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo img {
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure container doesn't cause overflow */
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Smaller screens adjustments */
@media (max-width: 768px) {
    .nav-tabs {
        width: 80%;
    }
    
    .nav-toggle {
        right: 15px;
        font-size: 1.4rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    header .container {
        padding: 0.8rem 50px 0.8rem 15px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .nav-toggle {
        right: 10px;
        font-size: 1.3rem;
    }
    
    header .container {
        padding: 0.8rem 45px 0.8rem 10px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}

/* Large laptop screens */
@media (min-width: 1025px) {
    .nav-toggle {
        display: none !important;
    }
    
    .nav-tabs {
        display: flex !important;
    }
    
    .nav-overlay {
        display: none !important;
    }
}


/* Logo Link */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(rgba(74, 144, 226, 0.85), rgba(77, 132, 186, 0.85)),
                url('images/heros/contact-hero.jpg') center/cover no-repeat;
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><circle cx="50" cy="50" r="2" fill="white"/></svg>');
    background-size: 50px 50px;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-hero .stat {
    text-align: center;
}

.contact-hero .stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-hero .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.contact-form {
    padding: 3rem 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fbff;
}

.form-control:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* FAQ Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #4a90e2;
    position: relative;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e8f4ff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.15);
    border-color: #4a90e2;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-height: auto;
}

.faq-question:hover {
    background-color: #f8fbff;
}

.faq-question h3 {
    color: #4a90e2;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    color: #4a90e2;
    transition: transform 0.3s ease;
    margin-left: 1rem;
    font-size: 0.9rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* Follow Us Section */
.follow-us {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.follow-us .section-title {
    text-align: center;
    color: #4a90e2;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.follow-us .section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #4a90e2;
    border-radius: 2px;
}

.follow-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-card {
    background: white;
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Social Icons */
.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.05);
}

/* Social Platform Colors */
.facebook { background: #1877F2; }
.twitter { background: #1DA1F2; }
.instagram { background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%); }
.linkedin { background: #0A66C2; }
.tiktok { background: linear-gradient(135deg, #000000 0%, #69C9D0 50%, #EE1D52 100%); }

.social-card h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.social-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.85rem;
    min-height: 40px;
}

.social-stats {
    margin-bottom: 1rem;
}

.social-stats .number {
    font-size: 1.1rem;
    font-weight: bold;
    color: #4a90e2;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid;
    width: 100%;
    justify-content: center;
}

/* Social Button Colors */
.facebook-btn { background: #1877F2; color: white; border-color: #1877F2; }
.twitter-btn { background: #1DA1F2; color: white; border-color: #1DA1F2; }
.instagram-btn { background: #E4405F; color: white; border-color: #E4405F; }
.linkedin-btn { background: #0A66C2; color: white; border-color: #0A66C2; }
.tiktok-btn { background: #000000; color: white; border-color: #000000; }

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    color: white;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Floating Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #357abd;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-hero .hero-stats {
        gap: 2rem;
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        margin: 0 1rem;
    }
    
    .form-header,
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .social-card {
        padding: 1.2rem 1rem;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero .stat-number {
        font-size: 2.2rem;
    }
    
    .contact-faq .section-title,
    .follow-us .section-title {
        font-size: 2rem;
    }
    
    .follow-us {
        padding: 40px 0;
    }
    
    .follow-us .section-title {
        font-size: 1.7rem;
    }
    
    .follow-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-card {
        padding: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .social-card h3 {
        font-size: 1rem;
    }
    
    .social-card p {
        font-size: 0.8rem;
    }
    
    .social-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Heart Donation Button - Option 3: Minimalist */
.heart-donation {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: visible;
}

.donation-tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
    letter-spacing: 0.5px;
    animation: heartbeat 3s infinite ease-in-out;
}

/* Arrow connecting tooltip to button */
.donation-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid #333;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.heart-donation:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.heart-donation:hover .donation-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Heartbeat animation not sure :} */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    5% {
        transform: scale(1.1);
    }
    10% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive design for heart button */
@media (max-width: 768px) {
    .heart-donation {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .donation-tooltip {
        font-size: 0.8rem;
        padding: 6px 10px;
        right: 55px;
    }
    
    .donation-tooltip::after {
        right: -4px;
        border-width: 4px 0 4px 4px;
    }
}