@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');

:root {
    --primary-color: #0097b2; /* Deep cyan for contrast */
    --secondary-color: #e53935; /* Strong red/magenta for contrast */
    --accent-color: #6200ea; /* Deep purple */
    --dark-bg: #f0f4f8; /* Very luminous light blue-grey background */
    --text-light: #1a1e23; /* Dark slate text for high contrast */
    --text-muted: rgba(0, 0, 0, 0.75);
    --white: #ffffff;
    
    /* Premium White Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
    --glass-bg-hover: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-border-light: rgba(255, 255, 255, 1);
    --glass-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.08); /* Soft blue-ish shadow */
    --glass-blur: blur(24px);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   LUMINOUS SPIRITUAL BACKGROUND
========================================= */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    background-color: #f8faff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 151, 178, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 192, 50, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 151, 178, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(229, 57, 53, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
}

.mesh-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 151, 178, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(229, 57, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Extra orb for more color */
.hero-3d-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 60%);
    filter: blur(140px);
    opacity: 0.2;
    z-index: -1;
    animation: pulse 15s infinite ease-in-out alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.2); }
}

@keyframes pulse {
    0% { opacity: 0.1; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.1); }
}

/* =========================================
   WHITE GLASSMORPHISM UTILITIES
========================================= */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    border-radius: 30px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
    pointer-events: none;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
header {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.1));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-light);
    z-index: 1001;
}

.menu-toggle i {
    width: 32px;
    height: 32px;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-portal)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-portal):hover::after {
    width: 100%;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* =========================================
   BUTTONS
========================================= */
.btn-3d {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary-color), #00b4d8);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 151, 178, 0.3), inset 0 2px 0 rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-3d::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.btn-3d:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 151, 178, 0.4), inset 0 2px 0 rgba(255,255,255,0.6);
}

.btn-3d:hover::after {
    opacity: 0.3;
    transform: scale(1);
}

.btn {
    transition: var(--transition);
    padding: 14px 30px;
}
.btn:hover {
    background: rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

/* =========================================
   HERO SECTION WITH VIDEO
========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Soft white/grey gradient over the video to make dark text readable */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 6.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(180deg, var(--text-light) 0%, rgba(0,0,0,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

/* =========================================
   MISSION CARDS
========================================= */
.mission-card {
    position: relative;
    padding: 50px 40px;
    border-radius: 30px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mission-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.mission-card:hover {
    transform: translateY(-15px);
    background: var(--glass-bg-hover);
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 20px 50px rgba(31, 38, 135, 0.12), 0 0 20px rgba(0, 151, 178, 0.1);
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-card .icon-3d {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02), 0 10px 20px rgba(31, 38, 135, 0.08);
    transition: var(--transition);
}

.mission-card:hover .icon-3d {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(0, 151, 178, 0.3);
}

.mission-card:hover .icon-3d i {
    color: #ffffff !important;
}

/* =========================================
   REFACTORED LAYOUTS (GRID & SECTIONS)
========================================= */
.missions-section {
    padding: 150px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.section-divider {
    width: 150px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
    box-shadow: 0 0 20px var(--secondary-color);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.founder-section {
    padding: 150px 0;
    position: relative;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

.founder-image {
    flex: 1;
    min-width: 400px;
}

.founder-img-wrapper {
    padding: 15px;
    position: relative;
    border-radius: 40px;
}

.founder-img-wrapper img {
    width: 100%;
    border-radius: 30px;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

.founder-glow {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    filter: blur(120px);
    opacity: 0.4;
    z-index: -1;
}

.founder-content {
    flex: 1;
    min-width: 400px;
}

.founder-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.label-line {
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.founder-label h4 {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 800;
    font-size: 0.9rem;
}

.founder-name {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 40px;
    background: linear-gradient(180deg, var(--text-light) 0%, rgba(0,0,0,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-quote {
    padding: 40px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.founder-quote p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    font-weight: 300;
}

.founder-btn {
    background: linear-gradient(135deg, var(--secondary-color), #ff8f00);
    color: #ffffff;
}

.cta-section {
    padding: 100px 0;
}

.cta-card {
    padding: 100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 151, 178, 0.05), rgba(229, 57, 53, 0.05));
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.7;
}

/* ABOUT PAGE CLASSES */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.story-card {
    padding: 40px;
    border-left: 5px solid var(--primary-color);
}

.story-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.story-img-wrapper {
    padding: 15px;
    border-radius: 40px;
}

.story-img-wrapper img {
    width: 100%;
    border-radius: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    padding: 50px 40px;
    text-align: center;
}

.value-icon {
    margin: 0 auto 30px;
}

.value-icon.secondary {
    background: linear-gradient(135deg, var(--secondary-color), #ff8f00);
}

.value-icon.accent {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.value-text {
    color: var(--text-muted);
}

/* UTILITIES */
.text-primary { color: var(--primary-color); }
.page-title { font-size: 4rem; margin-bottom: 20px; }
.page-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.card-title-dark { margin-bottom: 40px; color: var(--text-light); }

/* SERVICES PAGE */
.services-page-section { padding: 180px 0 100px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.service-card-detailed { padding: 60px 40px; }
.service-icon-box { margin-bottom: 30px; }
.service-icon-box.secondary { background: linear-gradient(135deg, var(--secondary-color), #ff8f00); }
.service-icon-box.accent { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.service-title { font-size: 2.2rem; margin-bottom: 25px; }
.service-features { color: var(--text-muted); display: grid; gap: 15px; list-style: none; }
.service-features li { display: flex; gap: 10px; align-items: center; }
.service-features i { color: var(--primary-color); width: 20px; }
.services-cta { margin-top: 80px; padding: 80px; text-align: center; background: linear-gradient(135deg, rgba(0, 151, 178, 0.05), transparent); }
.services-cta-title { font-size: 3rem; margin-bottom: 30px; }
.services-cta-text { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; }

/* NEWS PAGE */
.news-page-section { padding: 180px 0 100px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.news-card-detailed { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-img { width: 100%; height: 250px; object-fit: cover; }
.news-card-content { padding: 30px; }
.news-date { color: var(--primary-color); font-size: 0.9rem; font-weight: 800; }
.news-title-text { font-size: 1.8rem; margin: 15px 0; }
.news-excerpt { color: var(--text-muted); margin-bottom: 25px; line-height: 1.6; }
.news-read-more { padding: 0; color: var(--primary-color); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.empty-news { padding: 100px; text-align: center; }
.empty-icon { width: 80px; height: 80px; color: var(--glass-border); margin-bottom: 30px; }
.empty-title { color: var(--text-muted); }

/* CONTACT PAGE */
.contact-page-section { padding: 180px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.contact-info-card { padding: 50px 40px; }
.contact-list { display: grid; gap: 30px; list-style: none; }
.contact-item { display: flex; gap: 20px; }
.contact-icon-box { cursor: default; }
.contact-icon-box.primary { background: rgba(0, 151, 178, 0.1); border-color: var(--primary-color); }
.contact-icon-box.secondary { background: rgba(255, 192, 50, 0.1); border-color: var(--secondary-color); }
.contact-icon-box.accent { background: rgba(112, 0, 255, 0.1); border-color: var(--accent-color); }
.contact-details h4 { margin-bottom: 5px; }
.contact-details p { color: var(--text-muted); }
.contact-social-follow { margin-top: 50px; }
.contact-social-follow h4 { margin-bottom: 20px; }
.contact-form-card { padding: 60px; }
.contact-form { display: grid; gap: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; }
.form-input, .form-textarea { width: 100%; padding: 15px; border-radius: 12px; background: rgba(0,0,0,0.03); border: 1px solid var(--glass-border); font-family: inherit; font-size: 1rem; }
.form-success-message { text-align: center; padding: 40px 0; }
.success-icon { width: 80px; height: 80px; color: var(--primary-color); margin-bottom: 30px; }

/* JOIN PAGE */
.join-page-section { padding: 180px 0 100px; }
.join-card { max-width: 900px; margin: 0 auto; padding: 60px; }
.join-header { text-align: center; margin-bottom: 60px; }
.join-logo { height: 80px; margin-bottom: 25px; filter: drop-shadow(0 10px 15px rgba(0, 151, 178, 0.2)); }
.join-title { font-size: 3.5rem; color: var(--text-light); margin-bottom: 10px; }
.join-subtitle { font-size: 1.2rem; color: var(--text-muted); }
.join-divider { margin: 30px auto; }
.form-error-alert { background: rgba(229, 57, 53, 0.1); border: 1px solid var(--secondary-color); color: #c62828; padding: 20px; border-radius: 15px; margin-bottom: 35px; display: flex; align-items: center; gap: 15px; }
.form-success-container { text-align: center; padding: 60px 0; }
.success-icon-box { width: 100px; height: 100px; background: rgba(16, 185, 129, 0.1); color: #10b981; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; }
.success-icon-box i { width: 60px; height: 60px; }
.success-title { font-size: 2.5rem; margin-bottom: 20px; }
.success-text { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; line-height: 1.8; }
.join-form { display: grid; gap: 30px; }
.join-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.join-form-column { display: grid; gap: 20px; }
.join-section-title { font-size: 1.4rem; margin-bottom: 5px; color: var(--primary-color); }
.join-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.join-input, .join-select, .join-textarea { width: 100%; padding: 16px; border-radius: 15px; background: rgba(255,255,255,0.8); border: 1px solid var(--glass-border); font-family: inherit; font-size: 1rem; }
.join-photo-upload { position: relative; overflow: hidden; padding: 16px; border-radius: 15px; background: rgba(0, 151, 178, 0.05); border: 1px dashed var(--primary-color); text-align: center; height: 120px; }
.join-photo-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 10; }
.join-photo-placeholder { position: relative; z-index: 5; margin-top: 15px; }
.join-photo-placeholder i { color: var(--primary-color); margin-bottom: 10px; }
.join-photo-placeholder p { font-size: 0.85rem; color: var(--primary-color); font-weight: 600; }
.join-photo-preview-container { position: absolute; inset: 0; background: #fff; z-index: 1; }
.join-photo-preview { width: 100%; height: 100%; object-fit: cover; }
.join-form-footer { text-align: center; margin-top: 40px; }
.join-submit-btn { width: 100%; max-width: 400px; font-size: 1.1rem; padding: 20px; }
.join-footer-text { margin-top: 20px; color: var(--text-muted); font-size: 0.9rem; }
.narrow-gap { gap: 15px; }

/* RULES CONTAINER */
.rules-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 30px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rules-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 25px 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rules-content h3:first-child {
    margin-top: 0;
}

.rules-content h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin: 20px 0 10px;
}

.rules-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.rules-acceptance {
    margin-top: 20px;
    padding: 10px;
}

/* CUSTOM CHECKBOX */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    user-select: none;
    color: var(--text-light);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--glass-border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: var(--white);
    border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.label-text {
    margin-left: 10px;
}

/* =========================================
   FOOTER
========================================= */
/* =========================================
   ADVANCED FOOTER
========================================= */
footer {
    background: rgba(255, 192, 50, 0.08); /* Transparent yellow base */
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 4px solid #ffc032;
    padding: 100px 0 40px;
    margin-top: 150px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 192, 50, 0.1), transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 151, 178, 0.1), transparent 40%);
    pointer-events: none;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand {
    flex: 1.5;
    min-width: 300px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 15px rgba(255, 192, 50, 0.2));
}

.brand-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 450px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid rgba(255, 192, 50, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc032;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.social-icon:hover {
    background: #ffc032;
    color: white;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(255, 192, 50, 0.3);
}

.footer-nav-group {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ffc032;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--text-muted);
    transition: var(--transition);
    font-weight: 400;
}

.footer-column a:hover {
    color: #ffc032;
    padding-left: 8px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: var(--text-muted);
    margin-bottom: 20px !important;
}

.contact-info i {
    color: #ffc032;
    width: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 192, 50, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.copyright span {
    color: #ffc032;
    font-weight: 800;
}

.copyright a {
    color: var(--primary-color);
    font-weight: 600;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE FIRST)
========================================= */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 50px;
        border-left: 1px solid rgba(255,255,255,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .btn-portal {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content p {
        font-size: 1.2rem !important;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn-3d, .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 60px 0 !important;
    }

    h2 {
        font-size: 2.5rem !important;
    }

    .container {
        padding: 0 25px;
    }

    .mission-card {
        padding: 30px 20px;
    }
    
    .founder-img-container {
        min-width: 100% !important;
        margin-bottom: 40px;
    }

    /* REFACTORED RESPONSIVE ADAPTATIONS */
    .section-title {
        font-size: 2.5rem;
    }

    .missions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .founder-container {
        gap: 40px;
    }

    .founder-image, .founder-content {
        min-width: 100%;
    }

    .founder-name {
        font-size: 3rem;
    }

    .founder-quote {
        padding: 25px;
    }

    .cta-card {
        padding: 50px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* SERVICES PAGE RESPONSIVE */
    .services-page-section, .news-page-section, .contact-page-section {
        padding: 120px 0 60px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .services-grid, .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card-detailed {
        padding: 40px 25px;
    }

    .services-cta {
        padding: 40px 20px;
        margin-top: 40px;
    }

    .services-cta-title {
        font-size: 2rem;
    }

    /* NEWS PAGE RESPONSIVE */
    .empty-news {
        padding: 60px 20px;
    }

    .news-card-detailed {
        max-width: 100%;
    }

    /* CONTACT PAGE RESPONSIVE */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* FOOTER RESPONSIVE */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .brand-description {
        margin: 0 auto 35px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
}

/* =========================================
   SCROLL TO TOP BUTTON
========================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid #ffc032;
    border-radius: 50%;
    color: #ffc032;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(255, 192, 50, 0.2);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #ffc032;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 192, 50, 0.4);
}

.scroll-top-btn i {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

