/* ============================================
   Dordle Proposal Website - CSS
   Design: Institutional Trust
   Colors: Navy Blue (#1a365d) + Gold (#d4a574)
   Typography: Playfair Display + Source Sans Pro
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #2d3748;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a365d;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a365d;
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #1a365d;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: #1a365d;
    color: white;
}

.btn-primary:hover {
    background-color: #0f1f3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.btn-outline:hover {
    background-color: #1a365d;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.arrow {
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.gold-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #d4a574, transparent);
    opacity: 0.6;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #2d3748;
}

.checkmark {
    color: #d4a574;
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 300px;
    }
}

/* Challenges Section */
.challenges {
    padding: 5rem 0;
    background-color: white;
    border-top: 1px solid #e2e8f0;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #718096;
}

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

.challenge-card {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: white;
    transition: all 0.3s ease;
}

.challenge-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.challenge-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.challenge-card h3 {
    margin-bottom: 0.75rem;
}

.challenge-card p {
    color: #718096;
    margin: 0;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.benefit-row.reverse {
    direction: rtl;
}

.benefit-row.reverse > * {
    direction: ltr;
}

.benefit-image {
    position: relative;
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-content h3 {
    margin-bottom: 1rem;
}

.benefit-content p {
    font-size: 1.05rem;
    color: #718096;
    margin-bottom: 1.5rem;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

/* Metrics Section */
.metrics-section {
    background: white;
    border-radius: 0.75rem;
    padding: 3rem;
    margin-top: 3rem;
}

.metrics-section h3 {
    margin-bottom: 1rem;
}

.metrics-section > p {
    color: #718096;
    margin-bottom: 2rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.metric-card {
    text-align: center;
    padding: 2rem;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1a365d;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.metric-number::after {
    content: '%';
}

.metric-label {
    color: #718096;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .benefit-row,
    .benefit-row.reverse {
        grid-template-columns: 1fr;
    }
    
    .benefit-image {
        height: 300px;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: white;
    border-top: 1px solid #e2e8f0;
}

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        grid-auto-flow: dense;
    }

.service-card {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: white;
    transition: all 0.3s ease;
}

    .service-card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        transform: translateY(-4px);
    }
    
    .service-card.featured:hover {
        box-shadow: 0 15px 35px rgba(212, 165, 116, 0.2);
        transform: translateY(-2px);
    }

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.service-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 500;
}

.service-card.featured {
    grid-column: 1 / -1;
    border: 2px solid #d4a574;
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    position: relative;
}

.service-badge {
    display: inline-block;
    background-color: #d4a574;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.service-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .service-card.featured {
        grid-column: 1 / -1;
    }
}

/* Partnership Section */
.partnership {
    padding: 5rem 0;
    background-color: #1a365d;
    color: white;
}

.partnership-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.partnership-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.partnership-content p {
    color: #f8f9fa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partnership-item {
    text-align: center;
}

.partnership-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.partnership-item h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.partnership-item p {
    color: #f8f9fa;
    font-size: 0.95rem;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta > p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-email {
    font-size: 0.95rem;
    color: #718096;
    margin: 0;
}

.contact-email a {
    color: #1a365d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid #d4a574;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #f8f9fa;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4a574;
}

.footer-bottom {
    border-top: 1px solid #d4a574;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #f8f9fa;
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #f8f9fa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4a574;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
.service-card.featured h3 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .challenges,
    .benefits,
    .services,
    .partnership,
    .cta {
        padding: 3rem 0;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        grid-column: 1 / -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        grid-column: 1 / -1;
    }
}
