/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary: #ff5e62; /* Vibrant Coral */
    --primary-dark: #d94044;
    --secondary: #00b09b; /* Teal */
    --accent: #ff9966; /* Orange Gradient Start */
    --dark: #2d3436;
    --light: #f7f9fc;
    --white: #ffffff;
    --text-muted: #636e72;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --gradient-main: linear-gradient(135deg, #ffa679 0%, #ff5e62 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* =========================================
   1.5 TOP BAR (Sign In Section)
   ========================================= */
.top-bar {
    background-color: var(--dark);
    padding: 8px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.top-bar a {
    color: #bbb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-bar a:hover {
    color: var(--primary);
}

.top-bar a::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
}

/* =========================================
   2. NAVBAR (Dropdown Version)
   ========================================= */
nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 0;
}

nav > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-main);
    transition: width 0.3s;
}

nav > ul > li > a:hover::after {
    width: 100%;
}

/* --- DROPDOWN MENU STYLES --- */
nav ul li ul.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1100;
    border-top: 3px solid var(--primary);
}

nav ul li:hover > ul.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul li ul.dropdown li {
    width: 100%;
    margin: 0;
}

nav ul li ul.dropdown li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
}

nav ul li ul.dropdown li a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

nav ul li ul.dropdown li a::after {
    display: none;
}

/* =========================================
   3. HEADINGS, BUTTONS & COMMON
   ========================================= */
h1, h2, h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3rem; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; position: relative; display: inline-block; width: 100%; }

button, .donate-btn, .submit-btn {
    background: var(--gradient-main);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(255, 94, 98, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover, .donate-btn:hover, .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 94, 98, 0.6);
}

/* Common Header for Sub-pages */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('image/volunteer.png');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
}

/* =========================================
   4. HOME PAGE (Index.php)
   ========================================= */
.welcome-section {
    text-align: center;
    padding: 80px 20px;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), linear-gradient(to bottom right, #ffffff, #f0f2f5);
}

.welcome-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 50px;
}

.slider-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-images img.active {
    opacity: 1;
}

/* Info Grid */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 5%;
}

.info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 5px solid transparent;
}

.info-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-bottom: 5px solid var(--primary);
}

.info-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.5s;
}

.info-box:hover img {
    transform: scale(1.1) rotate(5deg);
}

/* Mission & Impact */
.mission-impact-section {
    background: var(--dark);
    color: white;
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
}

.mission-impact-section h2 { color: white; }

.mission-impact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.impact-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* =========================================
   5. EVENTS PAGE (events.php)
   ========================================= */
.events-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.events-hero h1 { color: white; }

.events-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 5%;
}

.event-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover img {
    transform: scale(1.1);
}

.event-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.event-card:hover .event-info {
    transform: translateY(0);
}

.event-date {
    background: var(--primary);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 5px 0;
}

/* =========================================
   6. CONTACT PAGE (contact.php)
   ========================================= */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 80vh;
}

.contact-image {
    flex: 1;
    min-width: 400px;
    background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80') center/cover;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.contact-form-container {
    flex: 1;
    min-width: 400px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    background: #f9f9f9;
    transition: border-color 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.icon-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.icon-row img {
    width: 25px;
    margin-right: 15px;
}

/* =========================================
   7. HOW WE WORK / CAREERS (careers.php)
   ========================================= */
.steps-container {
    padding: 50px 5%;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #eee;
    transform: translateX(-50%);
    z-index: -1;
}

.step-box {
    width: 45%;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    position: relative;
    transition: transform 0.3s;
}

.step-box:hover {
    transform: scale(1.03);
}

.step-box:nth-child(odd) { margin-left: auto; }
.step-box:nth-child(even) { margin-right: auto; }

.step-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(255, 94, 98, 0.3);
}

.step-icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.impact-anim-section {
    background: var(--gradient-main);
    padding: 60px 5%;
    text-align: center;
    color: white;
}

.impact-counters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.impact-counter span:first-child {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
}

/* =========================================
   8. CONTRIBUTORS (financials.php)
   ========================================= */
.contributors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px 0;
}

.contributor-card {
    background: white;
    width: 280px;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--secondary);
    animation: fadeInUp 0.8s ease backwards;
}

.contributor-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary);
    margin-bottom: 15px;
}

.contribution-badge {
    display: inline-block;
    margin-top: 15px;
    background: #ffd700;
    color: #444;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* =========================================
   9. DONATE PAGE (donate.php)
   ========================================= */
.donate-header {
    background: var(--gradient-main);
    color: white;
    text-align: center;
    padding: 60px 20px;
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.donate-header .heart {
    width: 60px;
    vertical-align: middle;
    margin-left: 15px;
    animation: heartbeat 1.5s infinite;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

.donate-section {
    padding: 60px 5%;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.payment-method {
    background: white;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 30px;
    width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.payment-method:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 94, 98, 0.2);
}

.payment-method img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.payment-method span {
    display: block;
    font-weight: 700;
    color: var(--dark);
}

.donation-form-container {
    background: white !important;
    border: none !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1) !important;
    padding: 40px !important;
    border-radius: 20px !important;
    max-width: 600px !important;
    margin: 20px auto !important;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.donation-form-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--gradient-main);
}

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 5px; }
.form-group input, .form-group select { 
    width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; 
}

/* Success Overlay */
.success-overlay {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.checkmark-circle {
    width: 100px; height: 100px; position: relative; display: inline-block; vertical-align: top;
}
.checkmark-circle .background {
    width: 100px; height: 100px; border-radius: 50%; background: #2EB150; position: absolute;
}
.checkmark-circle .checkmark {
    border-radius: 5px;
}
.checkmark-circle .checkmark.draw:after {
    animation-delay: 100ms; animation-duration: 1s; animation-timing-function: ease;
    animation-name: checkmark; transform: scaleX(-1) rotate(135deg);
    animation-fill-mode: forwards;
}
.checkmark-circle .checkmark:after {
    opacity: 0; height: 0; width: 0; transform-origin: left top;
    border-right: 15px solid white; border-top: 15px solid white;
    content: ''; left: 25px; top: 50px; position: absolute;
}

@keyframes checkmark {
    0% { height: 0; width: 0; opacity: 0; }
    20% { height: 0; width: 25px; opacity: 1; }
    40% { height: 50px; width: 25px; opacity: 1; }
    100% { height: 50px; width: 25px; opacity: 1; }
}

/* =========================================
   10. OUR STORY PAGE (our-story.php)
   ========================================= */
.impact-hero {
    position: relative;
    background: var(--dark);
    color: white;
    padding: 100px 5%;
    text-align: center;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 10s infinite ease-in-out;
}
.circle1 { width: 300px; height: 300px; background: var(--primary); top: -50px; left: -50px; }
.circle2 { width: 500px; height: 500px; background: var(--secondary); bottom: -100px; right: -100px; animation-delay: 2s; }
.circle3 { width: 150px; height: 150px; background: white; top: 20%; right: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.impact-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.stat-block {
    text-align: center;
    animation: fadeInUp 1s ease backwards;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #aaa;
    margin-top: 10px;
}

.impact-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 5%;
}

.impact-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
}

.impact-card:hover {
    transform: translateY(-10px);
}

.impact-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.impact-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.impact-card .caption {
    padding: 20px 20px 5px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.impact-card .details {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   11. TEAM PAGE (team.php)
   ========================================= */
.team-section {
    padding: 60px 5%;
    background-color: var(--light);
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    color: var(--primary);
    font-size: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

.view-bio-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.view-bio-btn:hover {
    background: var(--primary);
    color: white;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    border-top: 5px solid var(--primary);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.close-btn:hover { color: var(--primary); }

#modal-name { font-size: 2rem; color: var(--dark); margin-bottom: 5px; }
#modal-role { color: var(--secondary); font-weight: 700; margin-bottom: 20px; display: block; }
#modal-bio { line-height: 1.8; color: var(--text-muted); }

/* =========================================
   12. AUTHENTICATION PAGES (Login & Signup)
   ========================================= */
.auth-container {
    background-color: var(--white);
    width: 100%;
    max-width: 420px;
    margin: 80px auto 50px; /* Top margin adjusted for Navbar */
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Form Groups */
.auth-container .form-group {
    margin-bottom: 20px;
}

.auth-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.auth-container input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-container input[type="password"] {
    padding-right: 40px;
}

.auth-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 94, 98, 0.15);
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 94, 98, 0.3);
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 0;
}

.divider span {
    position: relative;
    background-color: var(--white);
    padding: 0 15px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    z-index: 1;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.google-btn, .facebook-btn {
    width: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
}

.google-btn {
    background-color: #fff;
    border: 1px solid #dadce0;
    color: #3c4043;
}

.google-btn:hover {
    background-color: #f8f9fa;
    border-color: #d2d4d7;
}

.facebook-btn {
    background-color: #1877f2;
    color: white;
}

.facebook-btn:hover {
    background-color: #166fe5;
}

.toggle-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.toggle-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.toggle-link a:hover {
    text-decoration: underline;
}

/* =========================================
   13. FOOTER (Footer.php)
   ========================================= */
footer {
    background: var(--dark);
    color: #ccc;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto; /* Pushes footer to bottom */
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials img {
    width: 30px;
    margin: 0 10px;
    filter: invert(1);
    transition: transform 0.3s;
}

.footer-socials img:hover {
    transform: scale(1.2);
}

/* =========================================
   14. GENERAL ANIMATIONS & RESPONSIVE
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-image { display: none; }
    .steps-container::before { left: 20px; }
    .step-box { width: 100%; padding-left: 50px; }
    nav { flex-direction: column; }
    nav ul { margin-top: 15px; gap: 15px; }
    
    .auth-container {
        margin: 50px auto;
        width: 90%;
        padding: 25px;
    }
}