/*
Theme Name: Grounded Connections Ltd Starry Night
Theme URI: http://example.com
Author: Oishik Dutta
Description: A custom starry night animated homepage theme.
Version: 2.01.005
*/

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Bell MT", Georgia, serif;
    background-color: #0a0a0c;
    color: white;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #ddd;
    text-align: center;
    padding: 15px;
    z-index: 9999;
    border-top: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.cookie-banner a { color: #3b82f6; }
.cookie-banner button { background: #007520; color: #fff; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; }

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #05070e;
    transition: opacity .6s ease, visibility .6s ease;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-globe {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #000 center/cover no-repeat url('a455858517-earth-night-1918.gif');
    box-shadow: 0 0 40px rgba(58, 133, 212, 0.5), 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: preloader-spin 2s linear infinite;
}

.preloader-globe::before,
.preloader-globe::after {
    content: none;
}

.preloader-caption {
    margin-top: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .6px;
    color: #00f7ff;
    opacity: 0;
    transform: translateY(12px);
    animation: caption-reveal 0.8s ease-out .6s forwards;
}

@keyframes preloader-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes cloud-clear {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    60% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@keyframes caption-reveal {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

body {
    display: flex;
    flex-direction: column;
}

/* Header Styling */
.site-header {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(75, 85, 99, 0.2);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.join-btn {
    background-color: #007520;
    color: white;
    padding: 10px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.join-btn:hover {
    background-color: #009028;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 117, 32, 0.4);
}

/* Canvas for the starry background */
#canvas-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Main Content Styling */
.content-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
    flex-grow: 1;
}

/* CSS recreation of the globe/heart logo */
.logo-wrapper {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, #2a5caa 0%, #153875 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 0 30px rgba(42, 92, 170, 0.4);
    position: relative;
    overflow: hidden;
    animation: logo-spin 2s linear infinite;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%231a5c20" d="M10,40 Q20,10 50,20 Q80,10 90,40 Q95,70 50,90 Q5,70 10,40 Z"/></svg>') no-repeat center center;
    opacity: 0.3;
}

.hero-rotating-globe {
    font-size: 100px;
    line-height: 1;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* The globe spins via the logo-wrapper animation, but we can also add its own if needed */
}

h1 {
    color: #3b82f6;
    /* Blue text */
    font-size: 4.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 0 40px 0;
    line-height: 1.6;
    color: #d1d5db;
}

.cta-btn {
    background-color: #007520;
    /* Green button */
    color: white;
    padding: 16px 36px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 117, 32, 0.4);
}

.cta-btn:hover {
    background-color: #009028;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 117, 32, 0.6);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
.features-section {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, 0.9) 100%);
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item p {
    margin: 0;
    color: #9ca3af;
    font-size: 1rem;
}

/* No Profiles Section */
.no-profiles-section {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.95) 100%);
    text-align: center;
}

.no-profiles-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out;
}

.no-profiles-section .tagline {
    color: #9ca3af;
    margin-bottom: 60px;
    font-size: 1.1rem;
    animation: fadeIn 1.2s ease-out;
}

.cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 15px;
    padding: 40px 30px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.card:hover {
    border-color: rgba(75, 85, 99, 0.5);
    box-shadow: 0 8px 32px rgba(42, 92, 170, 0.2);
    transform: translateY(-5px);
}

.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3) {
    animation-delay: 0.6s;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

/* Mission Section */
.mission-section {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.98) 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.mission-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out;
}

.mission-list {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1rem;
    text-align: left;
    padding-left: 25px;
    animation: fadeIn 1.2s ease-out;
}

.mission-list li {
    margin-bottom: 15px;
}

.mission-list ul {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 20px;
    list-style: none;
}

.mission-list ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.mission-list ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #007520;
}

.mission-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #007520;
    color: white;
}

.btn-primary:hover {
    background-color: #009028;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 117, 32, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.mission-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideIn 1s ease-out;
}

.image-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, rgba(42, 92, 170, 0.3) 0%, rgba(26, 139, 53, 0.3) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 2px solid rgba(75, 85, 99, 0.3);
    backdrop-filter: blur(10px);
}

/* Articles Section */
.articles-section {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.98) 0%, rgba(10, 10, 12, 1) 100%);
    text-align: center;
}

.articles-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 50px;
    animation: fadeIn 1s ease-out;
}

.articles-placeholder {
    padding: 40px;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(75, 85, 99, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1.2s ease-out;
}

.articles-placeholder p {
    color: #9ca3af;
    margin: 0;
}

/* Footer Styling */
.site-footer {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.98) 0%, rgba(10, 10, 12, 1) 100%);
    border-top: 1px solid rgba(75, 85, 99, 0.2);
    padding: 80px 20px 40px;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    color: #007520;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-header h2 {
    color: white;
    font-size: 2.5rem;
    margin: 10px 0 0 0;
    animation: fadeIn 1s ease-out;
}

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

.footer-column {
    animation: slideUp 0.8s ease-out;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.footer-column p {
    color: #9ca3af;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: #3b82f6;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(75, 85, 99, 0.3);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 50%;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-icon:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-3px);
}

.social-icon.twitter {
    color: #1DA1F2;
}

.social-icon.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: #1DA1F2;
}

.social-icon.linkedin {
    color: #0A66C2;
}

.social-icon.linkedin:hover {
    background: rgba(10, 102, 194, 0.2);
    border-color: #0A66C2;
}

.social-icon.instagram {
    color: #E1306C;
}

.social-icon.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    border-color: #E1306C;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0;
    margin-top: 15px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 5px 0 0 5px;
    background: rgba(31, 41, 55, 0.6);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:focus {
    border-color: #3b82f6;
}

.search-btn {
    padding: 12px 24px;
    background-color: #007520;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #009028;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(75, 85, 99, 0.2);
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fade-in 0.6s ease-out;
}

.slide-in {
    animation: slideUp 0.6s ease-out;
}

/* Join Form Section */
.join-section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-container {
    max-width: 700px;
    width: 100%;
}

.join-form-wrapper {
    background: rgba(20, 30, 48, 0.7);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(42, 92, 170, 0.15);
}

.join-form-wrapper h1 {
    color: #3b82f6;
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    text-align: center;
}

.join-subtitle {
    color: #9ca3af;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    gap: 20px;
}

.form-row:has(.full-width) {
    grid-template-columns: 1fr;
}

.form-row:not(:has(.full-width)) {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #e5e7eb;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(31, 41, 55, 0.95);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.5;
}

.form-group.checkbox a {
    color: #3b82f6;
    text-decoration: none;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

.form-submit-btn {
    background-color: #007520;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit-btn:hover {
    background-color: #009028;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 117, 32, 0.4);
}

.form-note {
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

/* Privacy Policy Section */
.privacy-section {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 1) 100%);
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.privacy-header {
    background: rgba(20, 30, 48, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.privacy-header h3 {
    color: #3b82f6;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.privacy-header p {
    color: #d1d5db;
    margin: 5px 0;
}

.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.privacy-item {
    background: rgba(31, 41, 55, 0.5);
    border-left: 4px solid #007520;
    border-radius: 8px;
    padding: 25px;
    animation: slideUp 0.6s ease-out;
}

.privacy-item h4 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
}

.privacy-item p {
    color: #d1d5db;
    line-height: 1.8;
    margin: 10px 0;
}

.privacy-item ul {
    color: #d1d5db;
    padding-left: 25px;
    margin: 15px 0;
}

.privacy-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-item a {
    color: #3b82f6;
    text-decoration: none;
}

.privacy-item a:hover {
    text-decoration: underline;
}

/* Three Pillars Section */
.pillars-section {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.95) 100%);
    text-align: center;
}

.pillars-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: fadeIn 1s ease-out;
}

.pillars-subtitle {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-bottom: 60px;
    animation: fadeIn 1.2s ease-out;
}

.pillars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar {
    background: rgba(20, 30, 48, 0.7);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.pillar:nth-child(1) {
    animation-delay: 0.1s;
}

.pillar:nth-child(2) {
    animation-delay: 0.3s;
}

.pillar:nth-child(3) {
    animation-delay: 0.5s;
}

.pillar-zoom {
    cursor: pointer;
}

.pillar:hover {
    border-color: rgba(75, 85, 99, 0.5);
    box-shadow: 0 8px 32px rgba(42, 92, 170, 0.2);
    transform: translateY(-10px) scale(1.05);
}

.pillar-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

.pillar:nth-child(2) .pillar-icon {
    animation-delay: 0.2s;
}

.pillar:nth-child(3) .pillar-icon {
    animation-delay: 0.4s;
}

.pillar h3 {
    color: #3b82f6;
    font-size: 1.8rem;
    margin: 15px 0;
}

.pillar p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Blog Section */
.blog-section {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 1) 100%);
}

.blog-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.blog-subtitle {
    color: #9ca3af;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 60px;
    animation: fadeIn 1.2s ease-out;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(75, 85, 99, 0.5);
    box-shadow: 0 8px 32px rgba(42, 92, 170, 0.25);
    transform: translateY(-8px);
}

.blog-fade-in {
    animation: slideUp 0.8s ease-out forwards;
}

.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-card:nth-child(4) {
    animation-delay: 0.4s;
}

.blog-card:nth-child(5) {
    animation-delay: 0.5s;
}

.blog-card:nth-child(6) {
    animation-delay: 0.6s;
}

.blog-image {
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(42, 92, 170, 0.2) 0%, rgba(26, 139, 53, 0.2) 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    color: white;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.blog-meta {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.blog-content p {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-link:hover {
    color: #007520;
    transform: translateX(5px);
}

.site-footer {
    background: #fff;
    color: #111;
    padding: 80px 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border-top: 1px solid #eaeaea;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 260px;
}

.footer-brand {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: #2a2a2a;
    line-height: 1;
}

.footer-qr-card {
    background: #FFD54F;
    /* Yellow matching Bumble closer */
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    max-width: 300px;
    margin-top: auto;
}

.qr-box {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.qr-text strong {
    color: #111;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
}

.footer-columns-bumble {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.footer-col {
    min-width: 140px;
}

.footer-col h3 {
    font-size: 14px;
    margin-bottom: 24px;
    margin-top: 0;
    color: #666;
    font-weight: 500;
}

.footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px;
}

.footer-col li {
    margin-bottom: 16px;
    list-style-type: none !important;
}

.footer-col a {
    color: #111;
    text-decoration: none !important;
    font-weight: 500;
    box-shadow: none !important;
}

.footer-col a:hover {
    text-decoration: underline !important;
}

.footer-bottom-bumble {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -24px;
}

.footer-social-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    text-decoration: none !important;
    box-shadow: none !important;
}

.footer-social a:hover {
    opacity: 0.6;
}

.language-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #111;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    color: #111;
}

.language-dropdown:hover {
    background: #f9f9f9;
}

@media (max-width: 1024px) {
    .mission-section {
        grid-template-columns: 1fr;
    }

    .mission-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .no-profiles-section h2 {
        font-size: 2rem;
    }

    .mission-section {
        padding: 60px 20px;
        gap: 40px;
    }

    .mission-content h2 {
        font-size: 2rem;
    }

    .cards-container {
        gap: 20px;
    }

    .card {
        max-width: 100%;
    }

    .features-container {
        gap: 20px;
    }

    .mission-buttons {
        flex-direction: column;
    }

    .image-placeholder {
        width: 100%;
        height: 250px;
    }

    /* Join Form Responsive */
    .join-form-wrapper {
        padding: 30px 20px;
    }

    .join-form-wrapper h1 {
        font-size: 2rem;
    }

    .form-row:not(:has(.full-width)) {
        grid-template-columns: 1fr;
    }

    /* Privacy Section Responsive */
    .privacy-section h2 {
        font-size: 2rem;
    }

    .privacy-item {
        padding: 20px;
    }

    .privacy-item h4 {
        font-size: 1.1rem;
    }

    /* Pillars Section Responsive */
    .pillars-section h2 {
        font-size: 2rem;
    }

    .pillars-container {
        gap: 25px;
    }

    .pillar {
        padding: 30px 20px;
    }

    .pillar-icon {
        font-size: 3rem;
    }

    .pillar h3 {
        font-size: 1.4rem;
    }

    /* Blog Section Responsive */
    .blog-section h2 {
        font-size: 2rem;
    }

    .blog-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-image {
        min-height: 150px;
        padding: 30px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-content h3 {
        font-size: 1.1rem;
    }

    .site-header {
        padding: 15px 20px;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .site-logo {
        font-size: 1.2rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-input {
        border-radius: 5px;
    }

    .search-btn {
        border-radius: 5px;
    }

    .footer-header h2 {
        font-size: 1.8rem;
    }
}

/* Custom reCAPTCHA styling */
.custom-recaptcha-container {
    display: inline-block;
    margin-top: 5px;
}
.custom-recaptcha-body {
    background-color: #f9f9f9 !important;
    border: 1px solid #d3d3d3 !important;
    border-radius: 3px !important;
    width: 304px;
    height: 78px;
    box-sizing: border-box;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1) !important;
    transition: box-shadow 0.3s ease;
}
.custom-recaptcha-body:hover {
    box-shadow: 0px 6px 14px rgba(0,0,0,0.15) !important;
}
.recaptcha-mock-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.recaptcha-mock-checkbox {
    width: 28px !important;
    height: 28px !important;
    background: #fff !important;
    border: 2px solid #c1c1c1 !important;
    border-radius: 2px !important;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
}
.recaptcha-mock-checkbox:hover {
    border-color: #b2b2b2 !important;
}
.recaptcha-mock-checkbox:checked {
    border-color: #c1c1c1 !important;
}
.recaptcha-mock-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #009e5f !important;
    border-width: 0 3px 3px 0 !important;
    transform: rotate(45deg);
}
.recaptcha-label {
    font-family: 'Roboto', 'Arial', sans-serif !important;
    font-size: 14px !important;
    color: #222 !important;
    cursor: pointer;
    font-weight: 400 !important;
    margin: 0 !important;
}
.recaptcha-mock-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: -2px;
}
.recaptcha-logo-img {
    width: 32px !important;
    margin-bottom: 2px !important;
}
.recaptcha-logo-text {
    font-family: 'Roboto', 'Arial', sans-serif !important;
    font-size: 10px !important;
    color: #555 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
}
.recaptcha-logo-terms {
    font-family: 'Roboto', 'Arial', sans-serif !important;
    font-size: 8px !important;
    color: #999 !important;
    margin-top: 1px !important;
    line-height: 1.1 !important;
}
