/*
Theme Name: Koruteq Theme
Theme URI: https://koruteq.com
Author: Koruteq
Author URI: https://koruteq.com
Description: Custom WordPress theme for Koruteq
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koruteq
*/

@font-face {
    font-family: 'Bossa TRIAL';
    src: url('fonts/BossaTRIAL-Black.woff2') format('woff2'),
        url('fonts/BossaTRIAL-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bossa TRIAL Medium';
    src: url('fonts/BossaTRIAL-Medium.woff2') format('woff2'),
        url('fonts/BossaTRIAL-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    background-color:#081E25;
    color: white;
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.main-section {
    background-color: #081E25;
    background-image: url(images/Group-335-e1726472568391.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar {
    background-color: #000;
    padding: 5px 0;
}

.main-navbar {
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}

.main-navbar.navbar-fixed {
    position: fixed;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.mainlogoimg {
    margin-left: -20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: white !important;
}

.navbar-nav .nav-link {
    color:#FFF;
    margin: 0 15px;
    font-size: 20px;
    font-weight: 600;
}

.activenav {
    position: relative;
}

.centeralign
{
    text-align:center;
}

.activenav::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: 8px;
    width: 60%;
    height: 2px;
    background-color: #C8D114;
}

.contact-btn {
    border: 3px solid #C8D114;
    border-radius: 50px;
    color: white !important;
}

.contact-btn.activenav {
    background-color: #C8D114 !important;
    color: #000 !important;
}

/* Blog Styles */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.singlethumbn img
{
    max-height:400px;
    width:auto;
}

.blog-card {
    background-color: #0a2530;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 30px 1px rgba(0, 0, 0, 0.3);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #A4D4B5;
}

.blog-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Bossa TRIAL';
}

.blog-title a {
    color: #C8D114;
    text-decoration: none;
}

.blog-excerpt {
    color: #D6D7D9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.single h1
{
    color: #C8D114;
    text-decoration: none;
    font-family: 'Bossa TRIAL';
    
}

.blog-section h1
{
     font-size: 64px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: 'Bossa TRIAL';
    
}

.read-more {
    color: #C8D114;
    text-decoration: none;
    font-weight: 600;
}

.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
    font-family: 'Bossa TRIAL';
}

.content-section p {
    color: #FFF;
    line-height: 27px;
    font-size: 18px;
}

.footer {
    background-color: #101010;
    padding: 10px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}

.social-icon svg {
    width: 22px;
}

.social-icon a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    background-color: #A4D4B5;
    color: #1a1a1a;
}

.copyright {
    background-color: #101010;
    padding: 20px 0;
    font-size: 16px;
    color: #666;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0px 0px 15px;
}

.footer-gallery {
    width: 100%;
    padding: 0;
    margin: 0;
}

.gallery-row {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.gallery-item {
    flex: 1;
    height: 450px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media only screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
     .content-section h2 {
        font-size: 40px;
        margin-top: 30px;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .gallery-row {
        flex-direction: column;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .mainlogoimg {
        margin-left: 0px;
    }
    
    .navbar-toggler-icon {
        filter: invert(1);
    }
}


/* Related Posts Section */
.related-posts-section {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.related-posts-section h2 {
    font-size: 42px;
    font-weight: bold;
    font-family: 'Bossa TRIAL';
    color: white;
}

.related-post-card {
    background-color: #0a2530;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-5px);
}

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 20px;
}

.prcontent ol,.prcontent strong
{
    font-size: 22px;
    font-weight: bold;
    font-family: 'Bossa TRIAL';
    color: #C8D114;
    
    
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-post-title a {
    color: white;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-title a:hover {
    color: #C8D114;
}

.related-post-date {
    font-size: 14px;
    color: #A4D4B5;
}

@media only screen and (max-width: 768px) 

{
    .related-posts-section h2 
    {
        font-size: 32px;
    }
    
    .related-post-image {
        height: 180px;
    }

    
   .content-section h2 {
        font-size: 18px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .content-section p {

    font-size: 16px;
}
    
    .content-section {
        padding: 30px 0;
    }
    
    .gallery-row {
        flex-direction: column;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .mainlogoimg {
        margin-left: 0px;
    }
    
    .navbar-toggler-icon {
        filter: invert(1);
    }
    
    .prcontent ol,.prcontent strong
{
    font-size: 16px;
 
    
    
}

.blog-section h1 {
    font-size: 34px;

}

}



/* Single Post Layout */
.single-post-layout {
    margin-bottom: 40px;
}

.post-thumbnail-sidebar {
    position: sticky;
    top: 100px;
    border-radius: 20px;
    overflow: hidden;
}

.post-thumbnail-sidebar img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
}

.post-content,
.post-content.with-sidebar,
.post-content.full-width {
    color: #FFF;
    line-height: 1.8;
    font-size: 18px;
}

.post-content h2, 
.post-content h3, 
.post-content h4,
.post-content.with-sidebar h2,
.post-content.with-sidebar h3,
.post-content.with-sidebar h4,
.post-content.full-width h2,
.post-content.full-width h3,
.post-content.full-width h4 {
    color: #FFF;
    margin-top: 30px;
    margin-bottom: 20px;
    font-family: 'Bossa TRIAL';
}

.post-content h2,
.post-content.with-sidebar h2,
.post-content.full-width h2 {
    font-size: 36px;
}

.post-content h3,
.post-content.with-sidebar h3,
.post-content.full-width h3 {
    font-size: 28px;
}

.post-content p,
.post-content.with-sidebar p,
.post-content.full-width p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol,
.post-content.with-sidebar ul,
.post-content.with-sidebar ol,
.post-content.full-width ul,
.post-content.full-width ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.post-content li,
.post-content.with-sidebar li,
.post-content.full-width li {
    margin-bottom: 10px;
}



@media only screen and (max-width: 768px) {
    .single-post-layout {
        display: flex;
        flex-direction: column;
    }
    
    .post-image-column {
        order: 1;
        margin-bottom: 30px;
    }
    
    .post-content-column {
        order: 2;
    }
    
    .post-thumbnail-sidebar {
        position: relative;
        top: 0;
    }
    
    .single-post-layout {
        margin-bottom: 20px;
    }
    
    .post-content,
    .post-content.with-sidebar,
    .post-content.full-width {
        font-size: 16px;
    }
    
    .post-content h2,
    .post-content.with-sidebar h2,
    .post-content.full-width h2 {
        font-size: 28px;
    }
    
    .post-content h3,
    .post-content.with-sidebar h3,
    .post-content.full-width h3 {
        font-size: 22px;
    }
}


