/* Blog Page Styles - blog.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.no-visibility {
    display: none !important;
}

a {
    text-decoration: none;
}

body {
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    color: #03171F;
    background-color: #F3FCFC;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #F3FCFC;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.mobile-nav,
.toggle-nav {
    display: none;
}
.nav-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.logo img {
    width: 170px;
}

.main-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #072C3D;
    font-weight: 400;
    font-size: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #60C9DA;
}

.nav-link i {
    font-size: 12px;
}

.header-icons,
.bs-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}


/* Main Content */
.main-content {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

/* Blog Header */
.blog-header {
    padding-bottom: 70px;
    text-align: left;
}

.page-title {
    font-size: 50px;
    font-weight: 300;
    color: #072C3D;
}

/* Blog Grid */
.blog-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.blog-card {
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.blog-card:hover {
    -webkit-transform: translateY(-8px);
        -ms-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-box-shadow: 0 20px 40px rgba(7, 44, 61, 0.1);
            box-shadow: 0 20px 40px rgba(7, 44, 61, 0.1);
    border-color: #60C9DA;
    background: #fff;
}

.card-image {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.card-image img {
    border-radius: 10px;
    width: 100%;
    height: 450px;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.blog-card:hover .card-image img {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
}
.card-content {
    padding: 20px;
    padding-left: 0;
    -webkit-transition: .5s all ease;
    -o-transition: .5s all ease;
    transition: .5s all ease;
}

.blog-card:hover .card-content {
    padding-left: 20px;
}

.post-date {
    font-size: 16px;
    color: #072C3D;
    font-weight: 300;
    padding-bottom: 20px;
    display: block;
}

.post-title {
    font-size: 30px;
    font-weight: 300;
    color: #072C3D;
    line-height: 120%;
    margin: 0;
}

/* Pagination */
.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.pagination-btn {
    background: #60C9DA;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 100px;
    font-family: Outfit;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    border: 1px solid transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #ffff;
    color: #60C9DA;
    border: 1px solid #60C9DA;
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
}

.pagination-info {
    font-size: 16px;
    color: #072C3D;
    font-weight: 300;
}

/* Footer Styles */
.footer {
    background: url("../images/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    color: #FFFFFF;
    position: relative;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
}

.footer-logo {
    padding: 300px 0;    
    text-align: center;
}

.footer-logo img {
    width: 100%;
    max-width: 900px;
}

.footer-columns {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: .5;
    padding-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    padding-bottom: 20px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #60C9DA;
}

.social-icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
}

.social-icons a {
    color: #A6DDE7;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}
.social-icons a img {
    width: 32px;
    height: 32px;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    background: #001017;
    padding: 20px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 12px 0;
}

.footer-legal span,
.footer-legal a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}
.footer-legal span {
    padding-right: 22px;
}
.footer-legal a {
    padding: 0 8px;
    line-height: 1em;
    border-right: 1px solid #3A7A90;
}
.footer-legal a:last-child {
    border-right: none;
}

.footer-legal a:hover {
    color: #60C9DA;
}

.footer-location {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
}

.location-select,
.language-select {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 0;
    font-family: Outfit;
    font-weight: 400;
    font-size: 14px;
    outline: none;
}

.location-select option,
.language-select option {
    border: none;
    outline: none;
    background: #001017;
    font-family: Outfit;
}

/* Responsive Design */
@media all and (max-width: 1500px) {
    .container,
    .footer {
        padding-right: 5%;
        padding-left: 5%;
    }    
}

@media all and (max-width: 991px) {
    .footer-logo {
        padding: 100px 0;
    }
    .blog-grid {
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (max-width: 768px) {
    .nav-wrapper .logo {
        line-height: 0;
    }

    .mobile-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        gap: 20px;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .mobile-nav a {
        line-height: 0;
    }

    .mobile-nav button {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        gap: 10px;
        border: none;
        background: none;
        cursor: pointer;
    }
    .toggle-nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 22px;
        background: #fff;
        padding: 30px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-shadow: 0 20px 40px rgba(7, 44, 61, 0.1);
                box-shadow: 0 20px 40px rgba(7, 44, 61, 0.1);
        border-radius: 10px;
        position: absolute;
        z-index: 999;
        top: 65px;
        width: 200px;
        right: 10px;
        opacity: 0;
        visibility: hidden;
        -webkit-transform: translateY(-10px);
            -ms-transform: translateY(-10px);
                transform: translateY(-10px);
        -webkit-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .toggle-nav.show {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
                transform: translateY(0);
    }

    .mobile-nav button:hover .toggle-nav {
        right: 20px;
        opacity: 1;
    }

    .bs-icon {
        display: none;
    }

    .main-content {
        padding: 40px 0;
    }

     .main-nav {
        display: none;
    }

    .blog-header {
        padding-bottom: 30px;
    }
    .page-title {
        font-size: 42px;
    }
    
    .blog-grid {
        -ms-grid-columns: 1fr 10px 1fr;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-image img {
        height: 250px;
     }
    
    .post-title {
        font-size: 22px;
    }

    .pagination {
        gap: 20px;
    }
    
    .pagination-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .footer-bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        text-align: left;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }
    
    .footer-legal {
        -webkit-box-pack: left;
            -ms-flex-pack: left;
                justify-content: left;
    }
}

@media all and (max-width: 540px) {
    .page-title {
        font-size: 28px;
    }
    
    .blog-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .footer-columns {
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    }
    .post-title {
        font-size: 22px;
    }
}