/* Main Styles for Promethean Partners Website */

/* Base Styles and Variables */
:root {
    --primary-color: #0a3d62;
    --secondary-color: #3c6382;
    --accent-color: #38ada9;
    --light-color: #f5f6fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --light-text: #f5f6fa;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: #2c8c89;
    color: var(--light-text);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 61, 98, 0.8), rgba(10, 61, 98, 0.8)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Company Overview Section */
.company-overview {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.overview-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-10px);
}

.overview-card .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Climate Finance Highlight Section */
.climate-finance-highlight {
    padding: 80px 0;
}

.climate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.climate-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.climate-text p {
    margin-bottom: 20px;
}

.climate-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Deal Experience Section */
.deal-experience {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.tombstone-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.tombstone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tombstone-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px;
    text-align: center;
}

.tombstone-header h3 {
    color: var(--light-text);
    margin: 0;
    font-size: 1.2rem;
}

.tombstone-content {
    padding: 20px;
    text-align: center;
}

.tombstone-content .location {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* White Papers Section */
.white-papers {
    padding: 80px 0;
}

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

.paper-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.paper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.paper-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.paper-content {
    padding: 20px;
}

.paper-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.paper-content .date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.view-all {
    text-align: center;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(10, 61, 98, 0.9), rgba(10, 61, 98, 0.9)), url('../assets/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-contact a {
    color: var(--light-text);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .climate-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .climate-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .overview-grid,
    .tombstones,
    .papers-grid {
        grid-template-columns: 1fr;
    }
}
