/* ================================
   CSS Variables
   ================================ */
:root {
    --primary-color: #C62828;   /* red – main actions, highlights */
    --secondary-color: #263238; /* dark blue-gray – headers, footer */
    --text-dark: #1F2933;       /* near-black – main text */
    --text-light: #FFFFFF;      /* white – text on dark/red */
    --bg-light: #F9FAFB;        /* very light gray – page background */
}

/* ================================
   Global Styles
   ================================ */
body {
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ================================
   Buttons
   ================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ================================
   Cards
   ================================ */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* ================================
   Sections
   ================================ */
section {
    position: relative;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.page-header {
    padding: 4rem 0;
}

/* ================================
   Quote Section with Diagonal Banner
   ================================ */
.quote-section {
    position: relative;
    overflow: hidden;
}

.diagonal-banner {
    background: var(--primary-color);
    padding: 1px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
}

.quote-content {
    max-width: 800px;
    padding-left: 100px;
    flex: 1;
}

.quote-icon {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.quote-icon i {
    color: var(--primary-color);
    font-size: 24px;
}

.quote-text {
    color: white;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 15px;
}

.diagonal-banner .blockquote-footer {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    background: transparent;
    margin-top: 10px;
}

.diagonal-banner .blockquote-footer::before {
    content: '';
}

.quote-button {
    padding-right: 100px;
}

.quote-button .btn-primary {
    background: var(--primary-color);
    border: 2px solid white;
    border-bottom-width: 5px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 40px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-button .btn-primary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* ================================
   Partners Section
   ================================ */
.partners-section {
    padding: 0 0 40px;
    background: white;
}

.partners-section h2 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.partner-logo {
    display: block;
    padding: 10px;
    background: transparent;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* ================================
   Winner Story
   ================================ */
.winner-story {
    font-size: 15px;
    line-height: 1.8;
}

.winner-story p {
    margin-bottom: 1rem;
}

/* ================================
   Lists
   ================================ */
ul.list-unstyled li {
    padding: 5px 0;
}

/* ================================
   Utility Classes
   ================================ */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   Blockquote
   ================================ */
blockquote {
    font-style: italic;
    font-size: 1.1rem;
}

blockquote footer {
    background: transparent;
    font-size: 0.9rem;
    margin-top: 10px;
}

.meqsed {
    font-size: 0.8rem;      /* smaller than default */
    line-height: 1.2;       /* tight line spacing */
    margin: 0 0 0.4rem 0;   /* minimal space between paragraphs */
}

/* ================================
   Animations
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading Animation */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 992px) {
    .diagonal-banner {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    }

    .quote-content {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 30px;
    }

    .quote-button {
        padding-right: 20px;
    }

    .quote-icon {
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-text {
        font-size: 16px;
    }

    .diagonal-banner .blockquote-footer {
        font-size: 14px;
    }
}
