/* Adding Fonts */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Global Color Variables */
    --color-theme-green: #22593E;
    --color-theme-pink: #FFBBDA;
    --color-theme-white: #ffffff;
    --color-theme-body: #F9F8F0;
    --color-body-color: #000000;
    --color-text-lightgray: #A6A6A6;

    /* Transition */
    --transition-default: all 0.3s ease;
}

body {
    font-family: "Inter", sans-serif;
}

img {
    max-width: 100%;
}

.container {
    /* max-width: 1280px; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}

.main-header {
    background: var(--color-theme-green);
    padding: 60px 0 100px;
}

.main-header.news-home {
    padding-bottom: 0;
}

.main-logo {
    text-align: center;
}

.main-logo img {
    max-width: 600px;
}

.header-title {
    font-family: "Montserrat", sans-serif;
    color: var(--color-theme-white);
    font-size: 60px;
    text-align: center;
    margin: 20px auto 30px;
    padding: 10px 0;
    border-top: 4px solid var(--color-theme-white);
    border-bottom: 4px solid var(--color-theme-white);
    max-width: max-content;
    line-height: 1;
    text-transform: uppercase;
}

.header-subtitle {
    font-family: "Montserrat", sans-serif;
    color: var(--color-theme-pink);
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.3;
}

.header-content {
    /* position: relative; */
    /* margin-top: 70px; */
}

.header-content p {
    color: var(--color-theme-white);
    font-size: 20px;
    line-height: 1.4;
}

.header-img {
    position: relative;
    top: 60px;
    background: var(--color-theme-pink);
    border-radius: 40px;
    padding: 0 6px 6px 0;
}

.header-img img {
    border-radius: 40px;
    aspect-ratio: 0.95;
    object-fit: cover;
}

/* Content CSS */

.content-wrapper {
    background: var(--color-theme-body);
    padding: 160px 0 100px;
}

.news-cards {
    column-gap: 30px;
    row-gap: 60px;
}

.news-cards .card {
    background: var(--color-theme-pink) 0% 0% no-repeat padding-box;
    box-shadow: 2px 2px 6px #0000003D;
    /* border: 1px solid #B5B5B5; */
    border: none;
    border-radius: 10px;
}

@media screen and (min-width: 1023px) {
    .news-cards .col-lg-4 {
        width: 30.33333333%;
    }

}

.news-cards .card img {
    border-radius: 10px 10px 0 0;
}

.news-cards .card-body .date {
    font-size: 12px;
    color: var(--color-theme-white);
    margin-bottom: 10px;
}

.news-cards .card-body .card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-body-color);
    margin: 0 0 12px;
    min-height: 52px;
}

.news-cards .card-body a {
    display: flex;
    align-items: center;
    font-size: 13px;
    text-decoration: none;
    color: var(--color-theme-green);
    font-weight: 500;
    max-width: max-content;
}

.custom-arrow-icon {
    background: transparent;
    font-size: 13px;
    transition: var(--transition-default);
    padding: 5px;
    border: 1px solid;
    height: 24px;
    width: 24px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-cards .card-body a i {
    margin-left: 6px;
    border: 1px solid var(--color-theme-green);
}

.news-cards .card-body a:hover i,
.news-cards .card-body a:focus i {
    background: var(--color-theme-green);
    color: var(--color-theme-white);
    transition: var(--transition-default);
}

/* Footer */

.footer-top {
    background: url('../img/footer-bg.jpg') no-repeat center/cover;
    /* min-height: 500px; */
}

.footer-top .container,
.footer-top .container .subscription-box {
    min-height: 500px;
}

@media screen and (min-width: 1600px) {
    .footer-top .container,
    .footer-top .container .subscription-box {
        min-height: 650px;
    }
}

.footer-top .container .subscription-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.footer-top .container .subscription-box h3 {
    color: var(--color-theme-white);
    font-size: 30px;
    line-height: 1.8;
    text-align: center;
}

.footer-top .container .subscription-box .input-box {
    align-items: center;
    background: var(--color-theme-pink) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 30px;
    display: flex;
    padding: 2px 12px 2px 20px;
}

.footer-top .container .subscription-box .input-box .custom-form-control {
    background: none;
    border: none;
    padding: 12px 0;
}

.footer-top .container .subscription-box .input-box .custom-form-control:focus, .footer-top .container .subscription-box .input-box .custom-form-control :focus-visible {
    outline: none;
    box-shadow: none;
}

.footer-top .container .subscription-box .input-box button {
    background: none;
    border: none;
    padding: 0;
}

.footer-top .container .subscription-box .input-box .custom-arrow-icon {
    background: #5C4954;
    color: var(--color-theme-pink);
    font-size: 20px;
    height: 32px;
    width: 32px;
    border: none;
}

.footer-top .container .subscription-box .input-box .custom-arrow-icon:hover, .footer-top .container .subscription-box .input-box .custom-arrow-icon:focus {
    background: var(--color-theme-green);
    transition: var(--transition-default);
}

/* Footer Bottom */

.footer-bottom {
    background: var(--color-theme-green);
    padding: 40px 0;
}

.footer-bottom p , .footer-bottom a {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-theme-white);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-links a.linkedin-icon {
    font-size: 16px;
}

.footer-bottom a:hover, .footer-bottom a:focus {
    color: var(--color-theme-pink);
    transition: var(--transition-default);
}

.foot-block-3 a {
    text-decoration: underline;
}

.foot-block-3 p {
    line-height: 1.6;
}


/* ============= Code for News Details =========================== */

.news-detail {
    max-width: 1024px;
    margin: 0 auto;
    padding: 30px 0 80px;
}

.news-detail .news-title {
    color: #333333FC;
    font-size: 36px;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 15px;
	font-weight: 600;
}

.news-date {
    font-size: 13px;
    color: #777777;
    margin-bottom: 35px;
    padding-bottom: 10px;
    border-bottom: 1px solid #959595;    
}

.news-img {
    max-height: 600px;
    object-fit: cover;
    width: 100%;
}

.news-content {
    margin-top: 50px;
    color: #333333FC;
    font-size: 14px;
}

.news-content p {
    line-height: 1.42;
}

.news-content strong {
    font-weight: 600;
}

.news-content:is( h2, h3, h4, h5, h6 ) {
    margin: 15px 0;
}



/* ========= Media Queries Responsive Code ============= */

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .news-cards .col-md-4 {
        width: 30.33333%;
    }

    .news-cards .card-body .card-title {
        min-height: 76px;
    }
}

@media screen and (max-width: 991px) {
    .header-title {
        font-size: 36px;
        padding: 10px 0 15px;
    }

    .header-content {
        padding: 0 8px;
        margin-top: 20px;
    }

    .header-subtitle {
        font-size: 18px;
    }

    .header-content p {
        font-size: 16px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}