/* Root Variables for branding */
:root {
    --primary-blue: #002B5B; /* Diplomatic Navy */
    --gold-accent: #C5A059;  /* Sovereign Gold */
    --light-gray: #F8F9FA;
    --text-dark: #1A1A1A;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Navbar */
.navbar {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 3px solid var(--gold-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 1px 6px 9px 1px rgba(197, 160, 89, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-blue);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* The Circular Logo */
.logo img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gold-accent);
}

/* The Text next to the logo */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold-accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 43, 91, 0.9), rgba(0, 43, 91, 0.9)), 
                url('assets/Concil-heroSction.jpg') center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 300;
    line-height: 1.8;
}

.subtitle {
    display: block;
    color: var(--gold-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Buttons */
.btn-gold {
    background: var(--gold-accent);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-right: 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-gold:hover {
    background: #b38f4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* Hero highlight text */
.hero-highlight {
    color: var(--gold-accent);
    font-weight: 700;    
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 4px;
    width: 0;
    background: var(--gold-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.hero-highlight:hover::after {
    width: 100%;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--gold-accent);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -1px;
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Pillars Grid */
.pillars-section {
    padding: 100px 0;
    background: var(--light-gray);
    border-top: 1px solid #eee;
}

/* Values Section */
.values-section {
    padding: 60px 0;
    background: var(--white);
}

/* Join Section */
.join-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.join-content {
    max-width: 1000px;
    margin: 0 auto;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.code-of-conduct {
    margin-top: 40px;
    background: var(--gold-accent);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.code-of-conduct h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.code-of-conduct ul {
    list-style: disc inside;
    line-height: 1.8;
    color: var(--white);
}

.code-of-conduct li {
    margin-bottom: 10px;
}

.join-cta {
    margin-top: 25px;
    text-align: center;
}

.btn-coming-soon {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: not-allowed;
}

.btn-coming-soon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Goals Section */
.goals-section {
    padding: 30px 0;
    background: var(--light-gray);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.goal-card {
    background: var(--white);
    padding: 40px;
    border-left: 5px solid var(--gold-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.goal-number {
    position: absolute;
    top: -15px;
    left: 40px;
    width: 50px;
    height: 50px;
    background: var(--gold-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.goal-card h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.goal-card p {
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Generic content sections such as vision or vision-mission */
.content-section {
    padding: 100px 0;
}

/* Events */
.events-section {
    padding: 100px 0;
    background: var(--light-gray);
    border-top: 1px solid #eee;
}

.event-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.event-gallery::-webkit-scrollbar {
    display: none;
}

.event-gallery img {
    height: 280px;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    scroll-snap-align: start;
}

.event-content {
    margin-top: 30px;
}

.event-content h3 {
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.event-subheading {
    margin-bottom: 20px;
    color: var(--gold-accent);
    font-weight: 600;
}

.event-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Vision Section Styling */
.vision-section {
    background: linear-gradient(rgba(0, 43, 91, 0.7), rgba(0, 43, 91, 0.7)), url('assets/Concil-heroSction.jpg') center/cover;
    color: white;
    padding: 80px 0;
}

/* Lead Paragraph Styling */
.lead {
    color: white;
    max-width: 600px;
    margin: 0 auto 20px;
}

.join-lead {
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto 20px;
}
/* Section Titles with Underline Hover Effect */
.section-title {
    color: var(--gold-accent);
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--gold-accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.pillars-section .section-title::after,
.content-section .section-title::after {
    width: 100px;
}

.pillars-section .section-title:hover::after,
.content-section .section-title:hover::after {
    width: 200px;
}

/* Content Wrapper */
.content-wrapper {
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.card {
    background: var(--white);
    padding: 40px;
    border-top: 5px solid var(--gold-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.card p {
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.footer {
    padding: 40px 0;
    text-align: center;
    background: #111;
    color: #666;
    font-size: 0.8rem;
    border-top: 1px solid #333;
}

/* Footer Section Titles */
.footer-about h3,
.footer-nav h4,
.footer-contact h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-about p {
    margin: 10px 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(197, 160, 89, 0.95);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    font-size: 1.1rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsive Design */
/* Tablet - 768px and below */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .pillars-section .section-title::after,
    .content-section .section-title::after {
        width: 60px;
    }
    
    .pillars-section .section-title:hover::after,
    .content-section .section-title:hover::after {
        width: 120px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #eee;
        padding: 0;
        list-style: none;
    }
    
    .nav-links.active {
        max-height: 300px;
        padding: 20px 0;
    }
    
    .nav-links li {
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item h2 {
        font-size: 2.5rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 30px;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }

    .event-gallery img {
        height: 240px;
    }

    .event-content h3 {
        font-size: 1.1rem;
    }
    
    .goal-card {
        padding: 30px;
    }
    
    .goal-card h3 {
        font-size: 1.1rem;
    }
    
    .goal-number {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        left: 30px;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-gold,
    .btn-outline {
        margin-right: 0;
        width: 100%;
        text-align: center;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        padding: 15px 20px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 35px;
        width: 35px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .hero p {
        font-size: 0.9rem;
        max-width: 100%;
        margin: 0 auto 20px;
    }
    
    .btn-gold,
    .btn-outline {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item h2 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    .pillars-section,
    .content-section,
    .events-section {
        padding: 60px 0;
    }
    
    .card {
        padding: 20px;
    }
    
    .card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }


    .event-gallery {
        gap: 15px;
    }

    .event-gallery img {
        height: 200px;
    }

    .event-content {
        margin-top: 20px;
    }

    .event-content h3 {
        font-size: 1rem;
    }

    .event-subheading,
    .event-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .goal-card {
        padding: 20px;
    }
    
    .goal-card h3 {
        font-size: 1rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .goal-card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .goal-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        left: 20px;
        top: -12px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 0.9rem;
    }
    
    .footer {
        font-size: 0.7rem;
        padding: 30px 0;
    }
}
.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
text-align:left;
}

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

.footer-nav a{
color:#aaa;
text-decoration:none;
display:block;
margin:5px 0;
}

.footer-nav a:hover{
color:var(--gold-accent);
}

.social-icons a{
color:#aaa;
margin-right:10px;
font-size:18px;
}

.social-icons a:hover{
color:var(--gold-accent);
}

/* Scrolling Animation */
@keyframes scroll-countries {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* News Banner - Countries Section */
.countries-section {
    padding: 80px 0;
    background: var(--light-gray);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.news-banner {
    background: linear-gradient(90deg, var(--primary-blue), rgba(0, 43, 91, 0.9));
    overflow: hidden;
    padding: 20px 2px;
    box-shadow: 0px -11px 14px 0px rgba(0, 0, 0, 0.2);
}

.banner-content {
    overflow: hidden;
    width: 100%;
}

.scrolling-countries {
    display: flex;
    gap: 40px;
    animation: scroll-countries 30s linear infinite;
    padding: 0 20px;
    white-space: nowrap;
}

.country-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
}

.country-item::before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 20px;
    background: var(--gold-accent);
    margin-right: 8px;
    opacity: 0.6;
}

.country-item:first-child::before {
    display: none;
}

/* Responsive - News Banner */
@media (max-width: 768px) {
    .countries-section {
        padding: 60px 0;
    }

    .scrolling-countries {
        gap: 30px;
        animation: scroll-countries 25s linear infinite;
        padding: 0 15px;
    }

    .country-item {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .countries-section {
        padding: 40px 0;
    }

    .news-banner {
        padding: 15px 0;
        margin-top: 30px;
    }

    .scrolling-countries {
        gap: 20px;
        animation: scroll-countries 20s linear infinite;
        padding: 0 10px;
    }

    .country-item {
        font-size: 0.9rem;
    }

    .country-item::before {
        height: 15px;
        margin-right: 6px;
    }
}
/* Join Section */

.join-section{
padding:100px 0;
background:var(--light-gray);
text-align:center;
}

.join-subtitle{
margin-bottom:40px;
color:#555;
}

.join-form{
max-width:800px;
margin:auto;
}

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

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

.form-group label{
font-weight:600;
margin-bottom:6px;
color:var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea{
padding:12px;
border:1px solid #ddd;
border-radius:4px;
font-family:'Inter',sans-serif;
font-size:0.9rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
outline:none;
border-color:var(--gold-accent);
box-shadow:0 0 5px rgba(197,160,89,0.4);
}

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

.contact-section{
padding:100px 0;
background: linear-gradient(135deg, rgba(0, 43, 91, 0.92), rgba(1, 12, 35, 0.92));
}

.contact-intro {
    max-width: 650px;
    margin: 0 auto 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.contact-card{
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(8px);
padding:40px;
border-top:5px solid rgba(197, 160, 89, 0.6);
box-shadow:0 14px 45px rgba(0,0,0,0.35);
text-align:center;
transition:all 0.3s ease;
}

.contact-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 70px rgba(0,0,0,0.4);
}

.contact-card h3{
color:var(--white);
margin-bottom:15px;
font-size:1.3rem;
}

.contact-card h3 i {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 50%;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-card p{
font-size:0.95rem;
line-height:1.7;
color: rgba(255, 255, 255, 0.85);
}

.contact-info{
margin-top:10px;
font-weight:600;
color: rgba(255, 255, 255, 0.95);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-info a:hover{
color: var(--gold-accent);
border-color: rgba(197, 160, 89, 0.9);
}

.contact-social{
margin-top:15px;
}

.contact-social a{
color: rgba(255, 255, 255, 0.85);
font-size:20px;
margin:0 8px;
transition:color 0.3s ease;
}

.contact-social a:hover{
color:var(--gold-accent);
}

/* Embedded Google Form Styling */

.join-cta{
    margin-top:40px;
    padding:25px;
    background:rgba(255,255,255,0.06);
    border-top:5px solid var(--gold-accent);
    border-radius:12px;
    box-shadow:0 12px 35px rgba(0,0,0,0.25);
}

.join-cta iframe{
    width:100%;
    border:none;
    border-radius:8px;
    background:#ffffff;
}

/* Motion enhancements: activated only after JavaScript has initialized. */
.navbar {
    transition: padding 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.is-scrolled {
    padding: 14px 0;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 22px rgba(0, 43, 91, 0.13), 0 3px 8px rgba(197, 160, 89, 0.18);
}

.motion-ready .motion-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .motion-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.motion-ready .motion-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
    transition-delay: var(--motion-delay, 0ms);
}

.motion-ready .motion-section.is-visible .motion-card {
    opacity: 1;
    transform: translateY(0);
}

.motion-ready .section-title.title-motion::after {
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s ease;
}

.motion-ready .motion-section.is-visible .section-title.title-motion::after {
    transform: translateX(-50%) scaleX(1);
}

.card,
.goal-card,
.contact-card,
.event-gallery img {
    will-change: transform;
}

.card:hover {
    transform: translateY(-6px);
    border-top-color: #d1b06e;
    box-shadow: 0 18px 42px rgba(0, 43, 91, 0.13);
}

.card h3 i,
.contact-card h3 i {
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.card:hover h3 i,
.contact-card:hover h3 i {
    transform: scale(1.08);
    color: var(--gold-accent);
}

.goal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 43, 91, 0.13);
}

.contact-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

.contact-card:hover h3 i {
    background: rgba(197, 160, 89, 0.2);
}

.btn-gold,
.btn-outline {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-gold:hover,
.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(197, 160, 89, 0.3);
}

.event-gallery img {
    transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.event-gallery img:hover {
    transform: scale(1.025);
    filter: brightness(1.04);
    box-shadow: 0 16px 36px rgba(0, 43, 91, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .motion-ready .motion-section,
    .motion-ready .motion-card {
        opacity: 1;
        transform: none;
    }

    .motion-ready .section-title.title-motion::after {
        transform: translateX(-50%) scaleX(1);
    }
}

.hero {
    isolation: isolate;
    overflow: hidden;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero-depth,
.hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-globe {
    position: absolute;
    top: 50%;
    right: clamp(-170px, -8vw, -70px);
    width: clamp(330px, 42vw, 560px);
    aspect-ratio: 1;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    opacity: 0.48;
    transform: translate3d(var(--globe-x, 0), -50%, 0) rotate(var(--globe-tilt, 0deg));
    will-change: transform;
}

.hero-globe::before,
.hero-globe::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 50%;
}

.hero-globe::before {
    inset: 13% 0;
    transform: rotateY(68deg);
}

.hero-globe::after {
    inset: 0 13%;
    transform: rotateX(68deg);
}

.hero-globe-meridian,
.hero-globe-latitude {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 50%;
}

.hero-globe-meridian {
    transform: rotateY(62deg);
}

.hero-globe-latitude {
    inset: 28% 0;
}

.hero-globe-inner {
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(197, 160, 89, 0.13);
    border-radius: 50%;
    animation: globe-rotation 54s linear infinite;
}

.hero-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.32;
}

.hero-network line {
    stroke: rgba(197, 160, 89, 0.45);
    stroke-width: 0.45;
}

.hero-network circle {
    fill: var(--gold-accent);
    animation: network-pulse 6s ease-in-out infinite;
}

.hero-atmosphere::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(72vw, 820px);
    height: min(58vw, 550px);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(197, 160, 89, 0.12), rgba(197, 160, 89, 0) 68%);
    transform: translate(-50%, -50%);
    filter: blur(18px);
    animation: atmosphere-breathe 10s ease-in-out infinite;
}

.ambient-orb {
    position: absolute;
    z-index: 0;
    width: var(--orb-size);
    height: var(--orb-size);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.14), rgba(197, 160, 89, 0.055) 42%, rgba(197, 160, 89, 0) 72%);
    filter: blur(10px);
    opacity: 0.65;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    animation: orb-float var(--orb-duration) ease-in-out infinite alternate;
}

.ambient-orb-one {
    --orb-size: clamp(190px, 24vw, 320px);
    --orb-duration: 19s;
    top: 12%;
    right: -10%;
}

.ambient-orb-two {
    --orb-size: clamp(160px, 18vw, 260px);
    --orb-duration: 23s;
    bottom: 5%;
    left: -8%;
    animation-delay: -8s;
}

.depth-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.depth-section > .container {
    position: relative;
    z-index: 1;
}

.depth-card {
    position: relative;
    transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.motion-ready .motion-section.is-visible .depth-card {
    transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.card.depth-card:hover,
.goal-card.depth-card:hover,
.contact-card.depth-card:hover,
.event.depth-card:hover {
    transform: translate3d(0, -6px, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.depth-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--light-x, 50%) var(--light-y, 50%), rgba(255, 255, 255, 0.14), transparent 52%);
    opacity: var(--light-opacity, 0);
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.contact-card.depth-card::after {
    background: radial-gradient(260px circle at var(--light-x, 50%) var(--light-y, 50%), rgba(197, 160, 89, 0.12), transparent 55%);
}

.event.depth-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

@keyframes globe-rotation {
    to { transform: rotate(360deg); }
}

@keyframes network-pulse {
    0%, 100% { opacity: 0.42; r: 1.2; }
    50% { opacity: 1; r: 1.8; }
}

@keyframes atmosphere-breathe {
    0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.96); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes orb-float {
    to { transform: translate3d(4%, -5%, 0) scale(1.04); }
}

@media (max-width: 768px) {
    .hero-globe {
        right: -180px;
        opacity: 0.34;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-globe-inner,
    .hero-network circle,
    .hero-atmosphere::before,
    .ambient-orb {
        animation: none;
    }

    .hero-globe,
    .depth-card,
    .motion-ready .motion-section.is-visible .depth-card {
        transform: none;
    }
}
