/* Main Styles */
.dd5-main {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.dd5-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Hero Section */
.dd5-hero {
    margin-bottom: 100px;
    padding: 0 50px;
    text-align: center;
}

.dd5-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.dd5-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a4534;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.dd5-lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
    font-weight: 300;
}

/* Services Section */
.dd5-services {
    margin-bottom: 100px;
    padding: 0 50px;
}

.dd5-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.dd5-service-card {
    background-color: #fff;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.dd5-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a4534, #255c48);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dd5-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: #1a4534;
}

.dd5-service-card:hover::before {
    opacity: 1;
}

.dd5-service-icon {
    font-size: 3.5rem;
    color: #1a4534;
    margin-bottom: 30px;
    transition: transform 0.4s ease;
}

.dd5-service-card:hover .dd5-service-icon {
    transform: scale(1.1);
}

.dd5-service-title {
    font-size: 2rem;
    color: #1a4534;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.dd5-service-desc {
    color: #333;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 300;
}

/* Publications Section */
.dd5-publications {
    margin-bottom: 100px;
    padding: 0 50px;
}

.dd5-section-header {
    margin-bottom: 40px;
    text-align: center;
}

.dd5-section-title {
    font-size: 2.8rem;
    color: #1a4534;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.dd5-publication-card {
    background-color: #fff;
    border-radius: 25px;
    padding: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dd5-publication-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: #1a4534;
}

.dd5-publication-title {
    font-size: 2rem;
    color: #1a4534;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.dd5-publication-type {
    color: #1a4534;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.dd5-btn {
    padding: 15px 35px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 200px;
    text-align: center;
}

.dd5-btn-primary {
    background-color: #1a4534;
    color: #fff;
}

.dd5-btn-primary:hover {
    background-color: #255c48;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(26, 69, 52, 0.2);
}

.dd5-btn i {
    margin-left: 12px;
    transition: transform 0.4s ease;
}

.dd5-btn:hover i {
    transform: translateX(8px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .dd5-main {
        padding: 80px 0;
    }
    
    .dd5-hero {
        margin-bottom: 80px;
        padding: 0 40px;
    }
    
    .dd5-title {
        font-size: 3rem;
    }
    
    .dd5-services-grid {
        grid-template-columns: 1fr;
    }
    
    .dd5-publication-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .dd5-services,
    .dd5-publications {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .dd5-main {
        padding: 60px 0;
    }
    
    .dd5-title {
        font-size: 2.5rem;
    }
    
    .dd5-lead {
        font-size: 1.2rem;
    }
    
    .dd5-service-card {
        padding: 40px;
    }

    .dd5-services,
    .dd5-publications {
        padding: 0 30px;
    }
    
    .dd5-section-title {
        font-size: 2.2rem;
    }

    .dd5-btn {
        width: 100%;
        min-width: auto;
    }
} 