@import url('../css/fonts.css');


html, body{
    margin: 0%;
    box-sizing: border-box;
    overflow-x: hidden;
}

:root{

    /*      Theme colors        */
    --text-gray: #3f4954;
    --text-light : #686666da;
    --bg-color: #0f0f0f;
    --white: #ffffff;
    --midnight: #104f55;

    /* gradient color   */
    --sky: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);

    /*      theme font-family   */
    --Abel: 'Abel', cursive;
    --Anton: 'Anton', cursive;
    --Josefin : 'Josefin', cursive;
    --Lexend: 'Lexend', cursive;
    --Livvic : 'Livvic', cursive;
}


/* ---------------- Global Classes ---------------*/

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

.flex-row{
    display: flex;
    flex-direction: row;    
    flex-wrap: wrap;
}

ul{
    list-style-type: none;
}

h1{
    font-family: var(--Lexend);
    font-size: 2.5rem;
}

h2{
    font-family: var(--Lexend);
}

h3{
    font-family: var(--Abel);
    font-size: 1.3rem;
}

button.btn{
    border: none;
    border-radius: 2rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: var(--Livvic);
    cursor: pointer;
}

span{
    font-family: var(--Abel);
}

.container{
    margin: 0 5vw;
}

.text-gray{
    color: var(--text-gray);
}

p{
    font-family: var(--Lexend);
    color: var(--text-light);
}

/* ------x------- Global Classes -------x-------*/

/* --------------- navbar ----------------- */

.nav{
    background: white;
    padding: 0 2rem;
    height: 0rem;
    min-height: 10vh;
    overflow: hidden;
    transition: height 1s ease-in-out;
}

.nav .nav-menu{    
    justify-content: space-between;
}

.nav .toggle-collapse{
    position: absolute;
    top: 0%;
    width: 90%;
    cursor: pointer;
    display: none;
}

.nav .toggle-collapse .toggle-icons{
    display: flex;
    justify-content: flex-end;
    padding: 1.7rem 0;
}

.nav .toggle-collapse .toggle-icons i{
    font-size: 1.4rem;
    color: var(--text-gray);
}

.collapse{
    height: 30rem;
}

.nav .nav-items{
    display: flex;
    justify-content: center;
    margin: 0;
}

.nav .nav-items .nav-link{
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    position: relative;
    font-family: var(--Abel);
    font-size: 1.1rem;
}

.nav .nav-items .nav-link:hover{
    background-color: var(--midnight);
}

.nav .nav-items .nav-link:hover a{
    color: var(--white);
}

.nav .nav-brand a{
    font-size: 1.6rem;
    padding: 1rem 0;
    display: block;
    font-family: var(--Lexend);
    font-size: 1.6rem;
}

.nav .social{
    padding: 1.4rem 0
}

.nav .social i{
    padding: 0 .2rem;
}

.nav .social i:hover{
    color: #a1c4cf;
}

/* -------x------- navbar ---------x------- */


/* ----------------- Main Content----------- */

/* --------------- Site title ---------------- */
main .site-title{
    background: url('../assets/bg-img.jpg');
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
}

main .site-title .site-background{
    padding-top: 10rem;
    text-align: center;
    color: var(--white);
}

main .site-title h1, h3{
    margin: .3rem;
}

main .site-title .btn{
    margin: 1.8rem;
    background: var(--sky);
}

main .site-title .btn:hover{
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

/* --------x------ Site title --------x------- */

/* --------------- Blog Carousel ------------ */

main .blog{
    background: url('../assets/Abract01.png');
    background-repeat: no-repeat;
    background-position: right;
    height: 100vh;
    width: 100%;
    background-size: 65%;
}

main .blog .blog-post{
    padding-top: 5rem;
}

main .blog-post .blog-content{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 80%;
    margin: 3rem 2rem;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}

main .blog-content .blog-title{
    padding: 2rem 0;
}

main .blog-content .btn-blog{
    padding: .7rem 2rem;
    background: var(--sky);
    margin: .5rem;
}

main .blog-content span{
    display: block;
}

section .container .owl-nav{
    display: none;
    position: absolute;
    top: 0%;
    margin: 0 auto;
    width: 100%;
}

.owl-nav .owl-prev .owl-nav-prev,
.owl-nav .owl-next .owl-nav-next{
    color: var(--text-gray);
    background: transparent;
    font-size: 2rem;
}

.owl-theme .owl-nav [class*='owl-']:hover{
    background: transparent;
    color: var(--midnight);
}

.owl-theme .owl-nav [class*='owl-']{
    outline: none;
}


/* -------x------- Blog Carousel -----x------ */

/* ---------------- Site Content ----------------*/

main .site-content{
    display: grid;
    grid-template-columns: 70% 30%;
}

main .post-content{
    width: 100%;
    
}

main .site-content .post-content > .post-image, .post-title{
    padding: 1rem 2rem;
    position: relative;
}

main .site-content .post-content > .post-image .post-info{
    background: var(--sky);
    padding: 1rem;
    position: absolute;
    bottom: 0%;
    left: 20vw;
    border-radius: 3rem;
}

main .site-content .post-content > .post-image > div{
    overflow: hidden;
}

main .site-content .post-content > .post-image .img{
    width: 100%;
    transition: all 1s ease;
}

main .site-content .post-content > .post-image .img:hover{
    transform: scale(1.3);
}

main .site-content .post-content > .post-image .post-info span{
    margin: 0 .5rem;
}

main .post-content .post-title a{
    font-family: var(--Anton);
    font-size: 1.5rem;
}

.site-content .post-content .post-title .post-btn{
    border-radius: 0;
    padding: .7rem 1.5rem;
    background: var(--sky);
}

.site-content .pagination{
    justify-content: center;
    color: var(--text-gray);
    margin: 4rem 0;
}

.site-content .pagination a{
    padding: .6rem .9rem;
    border-radius: 2rem;
    margin: 0 .3rem;
    font-family: var(--Lexend);
}

.site-content .pagination .pages{
    background: var(--text-gray);
    color: var(--white);
}

/* -------x-------- Site Content --------x-------*/


/* --------------- Sidebar ----------------------- */

.site-content > .sidebar .category-list{
    font-family: var(--Livvic);   
}

.site-content > .sidebar .category-list .list-items{
    background: var(--sky);
    padding: .4rem 1rem;
    margin: .8rem 0;
    border-radius: 3rem;
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.site-content > .sidebar .category-list .list-items a{
    color:  black;
}

.site-content .sidebar .popular-post .post-content{
    padding: 1rem 0;
}

.site-content .sidebar .popular-post h2{
    padding-top: 8rem;
}

.site-content .sidebar .popular-post .post-info{
    padding: .4rem .1rem !important;
    bottom: 0rem !important;
    left: 1.5rem !important;
    border-radius: 0rem !important;
    background: white !important;
}

.site-content .sidebar .popular-post .post-title a{
    font-size: 1rem;
}

.site-content .sidebar .newsletter{
    padding-top: 10rem;
}

.site-content .sidebar .newsletter .form-element{
    padding: .5rem 2rem;
}

.site-content .sidebar .newsletter .input-element{
    width: 80%;
    height: 1.9rem;
    padding: .3rem .5rem;
    font-family: var(--Lexend);
    font-size: 1rem;
}

.site-content .sidebar .newsletter .form-btn{
    border-radius: 0;
    padding: .8rem 32%;
    margin: 1rem 0;
    background: var(--sky);
}

.site-content .sidebar .popular-tags{
    padding: 5rem 0;
}

.site-content .sidebar .popular-tags .tags .tag{
    background: var(--sky);
    padding: .4rem 1rem;
    border-radius: 3rem;
    margin: .4rem .6rem;
}


/* -------x------- Sidebar -----------x----------- */

/* ---------x------- Main Content -----x----- */


/* ----------------- Contact Page Styles ----------------- */
/* ----------- Contact Page Styles (No Yellow, No Black) ----------- */
.contact-hero {
    position: relative;
    width: 100%;
    height: 400px;
    /* margin-bottom: 40px; */
}
.contact-hero-bg {
    width: 100%;
    height: 100%;
    position: relative;
}
.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) blur(1px);
    transition: filter 0.3s ease;
}
.contact-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 8px #000a;
    /* background: rgba(16, 79, 85, 0.35); blue overlay */
}
.contact-hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--Lexend);
}
.contact-hero-overlay p {
    font-size: 1.2rem;
    color: #fff;
    font-family: var(--Lexend);
}

.contact-section {
    padding: 60px 0;
    /* background: #f5f7fa; */
    background: linear-gradient(120deg, #f5f7fa 0%, #f5f7fa 100%);

}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}
.contact-form-wrapper, .contact-details-wrapper {
    flex: 1 1 350px;
    background: #fff; /* white cards */
    padding: 32px 24px;
    border-radius: 12px;
    min-width: 320px;
    box-shadow: 0 2px 16px #104f5522;
}
.contact-form-wrapper h2, .contact-details-wrapper h2 {
    color: #104f55;
    margin-bottom: 18px;
    font-family: var(--Lexend);
    margin-bottom: 4vh;
}
.contact-form label {
    color: #104f55; /* dark blue */
    font-weight: bold;
    margin-top: 10px;
    font-family: var(--Livvic);
}
.contact-form input, .contact-form textarea {
    width: 95%;
    padding: 10px;
    margin: 8px auto 18px auto;
    border-radius: 4px;
    border: 1px solid #a1c4fd;
    background: #f5f7fa;
    color: #104f55;
    font-size: 16px;
    font-family: var(--Lexend);
}
.btn-contact {
    background: linear-gradient(120deg, #a1c4fd 0%, #007bff 100%);
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: var(--Livvic);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #a1c4fd44;
}
.btn-contact:hover {
    color: #000;
}
.contact-details {
    color: #104f55;
    font-size: 1rem;
    font-family: var(--Lexend);
}
.contact-map-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #a1c4fd;
}
.contact-socials {
    margin-top: 18px;
}
.contact-socials a i {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
    transition: transform 0.2s;
    filter: grayscale(1) brightness(1.2);
}
.contact-socials a i:hover {
    transform: scale(1.1);
    filter: none;
}
/* ---------x------- Contact Page Styles -----x----- */



/* --- About Page --- */
.about-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) blur(1px);
}
.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    opacity: 0.97;
}
.about-hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-family: var(--Lexend, sans-serif);
}
.about-hero-overlay p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--Lexend, sans-serif);
    color: #fff;
}

.about-section {
    background: linear-gradient(120deg, #f5f7fa 0%, #f5f7fa 100%);
    padding: 60px 0;
}
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 48px;
    flex-wrap: wrap;
}
.about-profile img {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 8px 32px rgba(33,147,176,0.18);
    background: #fff;
    transition: transform 0.3s;
    margin-right: 3vw;
}
.about-profile img:hover {
    transform: scale(1.05) rotate(-2deg);
}
.about-details {
    max-width: 520px;
    background: rgba(255,255,255,0.65);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(33,147,176,0.10);
    padding: 32px 32px 22px 32px;
    backdrop-filter: blur(4px);
    border: 1.5px solid rgba(161,196,253,0.18);
}
.about-details h2 {
    font-size: 2rem;
    color: #2193b0;
    margin-bottom: 10px;
    font-family: var(--Lexend, sans-serif);
}
.about-details p {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 18px;
    font-family: var(--Lexend, sans-serif);
    line-height: 1.7;
}
.about-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}
.about-details ul li {
    margin-bottom: 7px;
    color: #333;
    font-family: var(--Lexend, sans-serif);
    font-size: 1.01rem;
}
.about-details ul li strong {
    color: #2193b0;
    min-width: 80px;
    display: inline-block;
}
.about-socials a {
    display: inline-block;
    margin-right: 14px;
    font-size: 1.4rem;
    color: #2193b0;
    background: linear-gradient(120deg, #a1c4fd 0%, #fda085 100%);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    box-shadow: 0 2px 8px #a1c4fd44;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: 2px solid #fff;
}
.about-socials a:hover {
    background: linear-gradient(120deg, #fda085 0%, #6dd5ed 100%);
    color: #fff;
    transform: translateY(-3px) scale(1.09) rotate(-4deg);
    box-shadow: 0 6px 24px #2193b055;
}

/* Responsive styles */
@media only screen and (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .about-details {
        max-width: 100%;
        padding: 22px 6vw 16px 6vw;
    }
    .about-profile img {
        width: 120px;
        height: 120px;
    }
    .about-section {
        padding: 30px 0;
    }
}
@media only screen and (max-width: 520px) {
    .about-hero,
    .about-hero-bg img {
        display: none;
    }
    .about-hero-overlay h1 {
        font-size: 1.1rem;
    }
    .about-profile img {
        width: 150px;
        height: 150px;
        border-width: 2px;
    }
    .about-details {
        padding: 10px 2vw 8px 2vw;
        border-radius: 10px;
    }
    .about-details h2 {
        font-size: 1.1rem;
    }
    .about-details p,
    .about-details ul li {
        font-size: 0.95rem;
    }
    .about-socials a {
        font-size: 1.1rem;
        width: 28px;
        height: 28px;
        line-height: 28px;
        margin-right: 7px;
    }
}



/* ------------------ Blog view page style ------------ */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #f5f7fa;
    color: #104F55;
}

.blog-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    box-shadow: 0 2px 10px rgba(16,79,85, .09);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

.blog-title {
    color: #104F55;
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.blog-meta {
    font-size: 0.95rem;
    color: #104F55;
    background: #BBE1FC;
    border-radius: 4px;
    padding: 6px 14px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 18px;
}

.blog-content {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 30px;
}

.blog-comments {
    background: #f5f7fa;
    padding: 15px 12px 8px 12px;
    border-radius: 4px;
    margin-top: 28px;
}

.blog-comments h2 {
    color: #104F55;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.comments-list {
    list-style: none;
    padding: 0;
    margin: 0 0 17px 0;
}

.comment-item {
    border-bottom: 1px solid #BBE1FC;
    padding: 8px 2px 8px 4px;
}

.comment-author {
    font-weight: 600;
    color: #104F55;
}

.comment-date {
    font-size: 0.85rem;
    color: #72AFCF;
}

.comment-content {
    color: #222;
    margin-top: 5px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-form input, 
.comment-form textarea {
    padding: 8px;
    border: 1px solid #BBE1FC;
    border-radius: 3px;
    font-size: 1rem;
    background: #fff;
}

.comment-form button {
    background: #104F55;
    color: #fff;
    border: none;
    padding: 9px 0;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1130px) {
    .blog-container {
        max-width: 680px;
        padding: 16px;
    }
}

@media (max-width: 750px) {
    .blog-container {
        max-width: 90%;
        padding: 10px;
    }
    .blog-title {
        font-size: 2rem;
    }
}

@media (max-width: 520px) {
    .blog-container {
        max-width: 99%;
        padding: 5px;
    }
    .blog-title {
        font-size: 1.25rem;
    }
    .blog-meta {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 3px;
    }
    .blog-content {
        font-size: 1rem;
    }
    .comment-form button {
        padding: 7px 0;
        font-size: .95rem;
    }
}




/* ----------------- Footer --------------------- */

footer.footer{
    height: 100%;
    background: var(--bg-color);
    position: relative;
}

footer.footer .container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

footer.footer .container > div{
    flex-grow: 1;
    flex-basis: 0;
    padding: 3rem .9rem;
}

footer.footer .container h2{
    color: var(--white);
}

footer.footer .newsletter .form-element{
    background: black;
    display: inline-block;
}

footer.footer .newsletter .form-element input{
    padding: .5rem .7rem;
    border: none;
    background: transparent;
    color: white;
    font-family: var(--Josefin);
    font-size: 1rem;
    width: 74%;
}

footer.footer .newsletter .form-element span{
    background: var(--sky);
    padding: .5rem .7rem;
    cursor: pointer;
}

footer.footer .instagram div > img{
    display: inline-block;
    width: 25%;
    height: 50%;
    margin: .3rem .4rem;
}

footer.footer .follow div i{
    color: var(--white);
    padding: 0 .4rem;
}

footer.footer .rights{
    justify-content: center;
    font-family: var(--Josefin);
}

footer.footer .rights h4 a{
    color: var(--white);
}

footer.footer .move-up{
    position: absolute;
    right: 6%;
    top: 50%;
}

footer.footer .move-up span{
    color: var(--midnight);
}

footer.footer .move-up span:hover{
    color: var(--white);
    cursor: pointer;
}

/* ---------x------- Footer ----------x---------- */

/*              Viewport less then or equal to 1130px            */

@media only screen and (max-width: 1130px){
    .site-content .post-content > .post-image .post-info{
        left: 2rem !important;
        bottom: 1.2rem !important;
        border-radius: 0% !important;
    }

    .site-content .sidebar .popular-post .post-info{
        display: none !important;
    }

    footer.footer .container{
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        max-width: 95vw;
        gap: 24px;
    }
    .contact-form-wrapper, .contact-details-wrapper {
        padding: 24px 10px;
    }

}

/*      x       Viewport less then or equal to 1130px    x     */


/*              Viewport less then or equal to 750px            */

@media only screen and (max-width: 750px){
    .nav .nav-menu, .nav .nav-items{
        flex-direction: column;
    }

    .nav .toggle-collapse{
        display: initial;
    }

    main .site-content{
        grid-template-columns: 100%;
    }

    footer.footer .container{
        grid-template-columns: repeat(1, 1fr);
    }

    .contact-container {
        flex-direction: column-reverse;
        gap: 24px;
        max-width: 98vw;
    }
    .contact-form-wrapper, .contact-details-wrapper {
        min-width: 0;
        width: 100%;
        padding: 18px 4vw;
    }
    .contact-hero-bg {
        display: none;
    }
    .contact-hero {
        display: none;
    }

}


/*        x      Viewport less then or equal to 750px       x     */


/*              Viewport less then or equal to 520px            */

@media only screen and (max-width: 520px){
    main .blog{
        height: 125vh;
    }

    .site-content .post-content > .post-image .post-info{
        display: none;
    }

    footer.footer .container > div{
        padding:  1rem .9rem !important;
    }

    footer .rights{
        padding: 0 1.4rem;
        text-align: center;
    }

    nav .toggle-collapse{
        width: 80% !important;
    }

    .contact-hero-bg img,
    .contact-hero {
        height: 140px;
    }
    .contact-form-wrapper, .contact-details-wrapper {
        padding: 10px 2vw;
    }
    .contact-form label, .contact-form input, .contact-form textarea {
        font-size: 14px;
    }
    .btn-contact {
        font-size: 14px;
        padding: 8px 12px;
    }

}

/*        x      Viewport less then or equal to 520px       x     */

