/* Define custom fonts and colors based on mood board */
body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Lora', serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, button, nav {
    font-family: 'Inter', sans-serif;
}
.golden-accent { color: #ffc75b; }
.golden-bg { background-color: #ffc75b; }
.golden-border { border-color: #ffc75b; }

/* Ghost button style */
.ghost-button {
    border: 1px solid #ffc75b;
    color: #ffc75b;
    transition: all 0.3s ease;
}
.ghost-button:hover {
    background-color: #ffc75b;
    color: #000000;
}

/* Solid button style */
.solid-button {
    background-color: #ffc75b;
    color: #000000;
    transition: all 0.3s ease;
}
.solid-button:hover {
    background-color: #e6b350; /* A slightly darker gold for hover */
}

/* Header scroll effect */
.header-transparent {
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.5s ease;
}
.header-solid {
    background-color: #000000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Subtle texture background */
.textured-bg {
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
    background-color: #0a0a0a;
}

/* Hero background with filters */
.hero-bg {
    background-size: cover;
    background-position: 70% 40%;
    background-repeat: no-repeat;
    filter: contrast(1.1) saturate(0.9) brightness(0.8);
}

/* Responsive background positioning */
@media (max-width: 768px) {
    .hero-bg {
        background-position: 55% 40%;
    }
}

@media (min-width: 769px) {
    .hero-bg {
        background-position: 70% 40%;
    }
}

/* Scroll-triggered animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Partner Cards */
.partner-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 199, 91, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffc75b, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.partner-card:hover::before {
    transform: translateX(100%);
}

.partner-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 199, 91, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 199, 91, 0.2);
}

.partner-logo-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.partner-logo {
    height: 3rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(0.3);
    display: block;
    margin: 0 auto;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0);
    transform: scale(1.05);
}

.partner-info {
    text-align: center;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffc75b;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: #ffffff;
}

.partner-description {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.partner-tag {
    display: inline-block;
    background: rgba(255, 199, 91, 0.1);
    color: #ffc75b;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 199, 91, 0.2);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-tag {
    background: rgba(255, 199, 91, 0.2);
    border-color: rgba(255, 199, 91, 0.4);
    transform: scale(1.05);
}

/* Staggered animation for partner cards */
.partner-card:nth-child(1) { animation-delay: 0.1s; }
.partner-card:nth-child(2) { animation-delay: 0.2s; }
.partner-card:nth-child(3) { animation-delay: 0.3s; }
.partner-card:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced Guiding Principles */
.principle-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 199, 91, 0.15);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 199, 91, 0.05) 0%, transparent 50%, rgba(255, 199, 91, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 199, 91, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 199, 91, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.principle-icon-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.principle-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(255, 199, 91, 0.1), rgba(255, 199, 91, 0.05));
    border: 2px solid rgba(255, 199, 91, 0.2);
}

.principle-card:hover .principle-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 199, 91, 0.2), rgba(255, 199, 91, 0.1));
    border-color: rgba(255, 199, 91, 0.4);
    box-shadow: 0 10px 30px rgba(255, 199, 91, 0.2);
}

.principle-icon svg {
    color: #ffc75b;
    transition: all 0.3s ease;
}

.principle-card:hover .principle-icon svg {
    color: #ffffff;
    transform: scale(1.1);
}

.principle-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.principle-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffc75b;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.principle-card:hover .principle-title {
    color: #ffffff;
    transform: scale(1.05);
}

.principle-description {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    transition: color 0.3s ease;
}

.principle-card:hover .principle-description {
    color: #ffffff;
}

.principle-quote {
    font-style: italic;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 1rem;
    background: rgba(255, 199, 91, 0.05);
    border-radius: 12px;
    border-left: 3px solid rgba(255, 199, 91, 0.3);
    transition: all 0.3s ease;
}

.principle-card:hover .principle-quote {
    background: rgba(255, 199, 91, 0.1);
    border-left-color: rgba(255, 199, 91, 0.6);
    color: #e5e7eb;
}

.principle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 199, 91, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.principle-card:hover .principle-glow {
    transform: translate(-50%, -50%) scale(1);
}

/* Staggered animation for principle cards */
.principle-card:nth-child(1) { 
    animation: slideInUp 0.8s ease-out 0.1s both;
}
.principle-card:nth-child(2) { 
    animation: slideInUp 0.8s ease-out 0.3s both;
}
.principle-card:nth-child(3) { 
    animation: slideInUp 0.8s ease-out 0.5s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
