﻿:root {
    --primary: #63a49d;
    --primary-dark: #588f8a;
    --primary-light: #a8d1cc;
    --secondary: #456f85;
    --secondary-dark: #3e6275;
    --light-tint: #f7faf9;
    --secondary-tint: #eaf0f3;
    --white: #ffffff;
    --dark-text: #343a40;
    --muted-text: #6c757d;
}



@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) translateX(10px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
}

.hero-section h1 {
    color: var(--primary-dark);
    font-size: clamp(2.2rem, 6vw, 3.5rem); /* Adjusted clamp for slightly smaller min */
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

    .hero-section h1 i {
        font-size: 0.8em;
        vertical-align: middle; /* Try middle alignment */
        margin-right: 0.4em;
    }

.hero-section .lead {
    color: var(--secondary-dark);
    font-size: clamp(1rem, 3vw, 1.2rem); /* Adjusted clamp */
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* === GENERAL SECTION STYLING === */
h2 {
    color: var(--primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
    font-size: clamp(1.75rem, 5vw, 2.25rem); /* Responsive H2 */
}

.section-title-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.content-section {
    padding: 3rem 0; /* Base padding */
}

/* === ABOUT & WHY CHOOSE US === */
.why-choose-us-box {
    background-color: var(--secondary-tint);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-left: 5px solid var(--primary);
    position: relative;
    margin-top: 1rem; /* Add some margin when stacked */
}

    .why-choose-us-box:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(62, 98, 117, 0.2);
    }

    .why-choose-us-box h3 {
        color: var(--secondary-dark);
        margin-bottom: 1.5rem;
    }

        .why-choose-us-box h3 i {
            margin-right: 0.6rem;
            color: var(--primary-dark);
            font-size: 1.3em;
            vertical-align: -2px;
        }

        .why-choose-us-list {
            list-style: none;
            padding-left: 0;
            padding-right: 0;
        }

    
   

/* === GUIDING PRINCIPLES (CARDS) === */
.principles-section {
    background-color: var(--light-tint);
    padding: 4rem 0; /* Base padding */
    margin-top: 3rem;
}

.card.principle-card {
    border: none;
    border-radius: 0.75rem;
    background-color: var(--white);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: calc(var(--animation-order) * 0.15s);
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card.principle-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background-color: rgba(99, 164, 157, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card.principle-card:hover .icon-wrapper {
    background-color: var(--primary);
    transform: scale(1.1);
}

    .card.principle-card:hover .icon-wrapper i {
        color: var(--white);
    }

.card.principle-card .icon-style {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 0;
    transition: color 0.3s ease;
}

.card.principle-card .card-title {
    color: var(--secondary-dark);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem; /* Base size */
}

.card.principle-card .card-text {
    font-size: 0.95rem;
    color: var(--muted-text);
}

/* === FINAL PITCH SECTION === */
.final-pitch {
    background: linear-gradient(to right, var(--secondary-dark), var(--secondary));
    color: var(--white);
    border-radius: 0;
    padding: 4rem 1rem; /* Base padding, adjusted horizontal */
    margin-top: 3rem; /* Adjusted margin */
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.6s;
    overflow: hidden;
}

    .final-pitch h3 {
        color: var(--white);
        font-weight: 700;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        /* Using responsive H2 size */
    }

        .final-pitch h3::after {
            background-color: var(--primary-light);
            left: 50%;
            transform: translateX(-50%);
        }

    .final-pitch p {
        font-size: clamp(1rem, 2.5vw, 1.1rem); /* Responsive paragraph */
        color: rgba(255, 255, 255, 0.9);
        font-weight: 300;
        max-width: 800px;
        margin: 1.5rem auto 0 auto;
    }


/* === UTILITIES === */
hr {
    border-top: 1px solid var(--primary);
    opacity: 0.15;
    margin: 3rem auto; /* Base margin */
    width: 80%;
}




/* === RESPONSIVE ADJUSTMENTS === */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

    .content-section {
        padding: 3rem 0;
    }

    .why-choose-us-box {
        margin-top: 2rem; /* Ensure margin when stacked */
    }

    .principles-section {
        padding: 3.5rem 0;
    }

    hr {
        margin: 3rem auto;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {


    .final-pitch {
        padding: 3rem 1rem; /* Reduce padding */
    }

    .principles-section .col-md-6:not(:last-child) {
        margin-bottom: 1.5rem; /* Add margin between stacked cards */
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        line-height: 1.6; /* Slightly adjust line height */
    }


    h2 {
        font-size: 1.6rem;
    }
    /* Slightly smaller H2 */
    .why-choose-us-box {
        padding: 1.5rem; /* Reduce padding */
    }
    .content-section {
        padding: 0.5rem 1rem; /* Reduce padding */
    }

    .why-choose-us ul li {
        font-size: 0.95rem;
    }

    .principles-section {
        padding: 3rem 0;
    }

    .card.principle-card {
        padding: 1.25rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .card.principle-card .icon-style {
        font-size: 2rem;
    }
    /* Smaller icon */
    .card.principle-card .card-title {
        font-size: 1.15rem;
    }

    .card.principle-card .card-text {
        font-size: 0.9rem;
    }

    .final-pitch {
        padding: 2.5rem 1rem;
    }

        .final-pitch p {
            font-size: 1rem;
        }

    hr {
        margin: 2.5rem auto;
    }
}
