/* components.css - Reusable content blocks and cards */

/* ----- TEXT STYLES ----- */
.text {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 1.8rem;
}

.text h1 {
    color: #003256;
    font-size: 2.2rem;
    margin: 1.8rem 0 1.2rem;
    font-weight: 700;
}

.text h2 {
    color: #0d4a73;
    font-size: 2rem;
    margin: 2.2rem 0 1rem;
}

.text h3 {
    color: #0b3d5c;
    font-size: 1.5rem;
    margin: 2rem 0 0.5rem;
}

.text p {
    font-size: 1.1rem;
    color: #1f3549;
    margin-bottom: 1.2rem;
}

/* ----- BLOCK CONTAINER (image + text) ----- */
.block {
    display: flex;
    border: 1px solid #d0e0f0;
    border-radius: 24px;
    overflow: hidden;
    margin: 1.8rem 1.5rem;
    background: white;
    box-shadow: 0 10px 25px -8px #b0c8e0;
}

.block img {
    width: 30%;
    height: auto;
    object-fit: cover;
}

.block .text { 
    width: 70%; 
    padding: 25px; 
    margin: 0;
}

@media (max-width:700px) { 
    .block { 
        flex-direction: column; 
    } 
    .block img, 
    .block .text { 
        width:100%; 
    } 
}

/* ----- CARD CONTAINER (for product cards) ----- */
.section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1.2rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Card styling */
.section {
    flex: 1 1 280px;
    max-width: 340px;
    background: linear-gradient(145deg, #0e2f48, #1b4463);
    border-radius: 44px;
    padding: 1.8rem 1.2rem 2.2rem;
    box-shadow: 0 25px 35px -8px #123a55;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.section:hover { 
    transform: translateY(-6px); 
}

.section img {
    width: 100px; 
    height: 100px;
    object-fit: cover; 
    border-radius: 50%;
    background: #ffffff30; 
    padding: 0.4rem;
}

.line {
    width: 70px; 
    height: 4px; 
    background: #FFA100;
    margin: 1rem 0; 
    border-radius: 6px;
}

.section h2 { 
    color: #FFA100; 
    font-size: 1.6rem; 
    text-align: center; 
    margin: 0.5rem 0;
}

.section .text { 
    margin: 0.5rem 0 0;
    padding: 0;
}

.section .text p { 
    color: #f0faff; 
    font-size: 1rem; 
    text-align: justify; 
    margin: 0;
}

.section a { 
    color: #FFD966; 
    font-weight: 600; 
    text-decoration: underline 1px dotted; 
}

/* Feature box styling */
.feature-box {
    flex: 1 1 200px;
    min-width: 200px;
    background: #eef3f9;
    padding: 1rem;
    border-radius: 20px;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card h3 i {
    color: #ffa100;
    margin-right: 0.5rem;
}

.cta-button {
    background: #ffa100;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    color: #1e2e44;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
}