:root {
    --charcoal: #0A0A0A;
    --deep-grey: #2D2D2D;
    --issi-gold: #fcca46;
    --issi-green: #1A3C32;
    --light-bg: #FAFAFA;
    --white: #FFFFFF;
    --accent-gold: rgba(212, 175, 55, 0.1);
    --gradient-dark: linear-gradient(135deg, #0A0A0A 0%, #1A3C32 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.loading {
    overflow: hidden !important;
    height: 100vh;
    position: fixed;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
.display-font {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Loader Wrapper */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Hide Animation */
.loader-wrapper.hide {
    opacity: 0;
    visibility: hidden;
}

/* Branding Section */
.loader-wrapper>div:first-child {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

/* Logo */
.loader-logo {
    width: 60px;
    height: auto;
}

/* Organization Name */
.loader-wrapper span {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

/* Loader Container */
.loader {
    width: 90px;
    height: 90px;
    position: relative;
}

/* Circle Spin */
.loader-circle {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(212, 175, 55, 0.15);
    border-top-color: var(--issi-gold);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

/* Center Icon (Optional) */
.loader-icon {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    color: var(--issi-gold);
    font-size: 1.5rem;
    opacity: 0.85;
}

/* Smooth Rotation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* Navbar */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--issi-gold) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.8rem;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--issi-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 60, 50, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--issi-gold);
    color: var(--charcoal);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid var(--issi-gold);
    color: var(--issi-gold);
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-outline-modern:hover {
    background: var(--issi-gold);
    color: var(--charcoal);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--deep-grey);
    margin-bottom: 4rem;
    max-width: 800px;
}

/* Modern Cards */
.modern-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--issi-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.modern-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Timeline */
.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--issi-gold);
    border-radius: 1.5px;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--issi-gold);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--accent-gold);
}

/* Quote Section */
.quote-section {
    background: rgba(212, 175, 55, 0.03);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30rem;
    font-family: 'Playfair Display', serif;
    color: rgba(26, 60, 50, 0.03);
    pointer-events: none;
}

.quote-text {
    font-size: 2rem;
    font-style: italic;
    font-weight: 500;
    color: var(--charcoal);
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* CTA Sections */
.cta-horizontal-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--issi-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--charcoal);
    animation: floatIcon 6s ease-in-out infinite;
    position: relative;
}

.cta-horizontal-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: pulseRing 3s ease-in-out infinite;
}

@keyframes floatIcon {

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

    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

@keyframes pulseRing {

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

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* Contact Form */
.contact-form {
    
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
}

::placeholder {
    color: white !important;
    opacity: 1;
}

.form-control {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.form-control:focus {
    border-color: var(--issi-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: var(--white);
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--issi-gold), transparent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--issi-gold);
    padding-left: 2rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Image Styling */
.about-img,
.story-img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .modern-card {
        padding: 2rem;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {

    .btn-modern,
    .btn-outline-modern {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

.bg-gold {
    background-color: var(--issi-gold) !important;
}

.text-gold {
    color: var(--issi-gold) !important;
}

.badge.bg-gold {
    background: var(--issi-gold);
    color: var(--charcoal);
}