@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    /* black */
    --black-primary: #000000;
    --black-secondary: #2f2f2f;

    /* Text Colors */
    --white-primary: #F5F5F5;
    /* Soft White */
    --white-secondary: #EAEAEA;
    /* Slightly Off-White */
    --white-muted: #cfcfcf;
    /* Light Greyish White */

    /* Accent Colors (Pastel Shades) */
    --accent-blue: #9dd5fd;
    /* Muted Sky Blue */
    --accent-mint: #92d9bc;
    /* Soft Pastel Mint */
    --accent-yellow: #F7DC6F;
    /* Subtle Warm Yellow */
    --accent-rose: #E6B0AA;
    /* Elegant Soft Rose */
    --accent-gray-blue: #B2BABB;
    /* Muted Greyish Blue */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--black-primary) !important;
    color: var(--white-primary);
    font-family: "Josefin Sans", serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 300 !important;
    color: var(--white-primary) !important;
    line-height: 2;
    letter-spacing: 2px;
}

.section_heading_h2 {
    text-align: center;
    font-size: 2.5em;
    font-weight: 500 !important;
}

p {
    font-weight: 300 !important;
    color: var(--white-muted) !important;
}

span {
    color: var(--accent-yellow);
    /* font-weight: 400; */
}

.contact_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--accent-yellow), var(--accent-mint));
    color: var(--black-primary);
    border-radius: 10px;
    cursor: pointer;
    padding: 5px;
    transition: 0.3s ease-in-out;
}

.contact_btn a {
    font-size: 1.5em;
    font-weight: 500;
    text-decoration: none;
    color: var(--black-primary);
}

.contact_btn:hover {
    background: linear-gradient(45deg, var(--accent-mint), var(--accent-yellow));
}

/* Navbar css */
.navbar_main {
    display: flex;
    align-items: center !important;
    justify-content: space-around;
    background: var(--black-primary) !important;
    padding: 15px 20px;
    z-index: 10;
    position: fixed !important;
    width: 100vw !important;
    top: 0;
    left: 0;
    border-bottom: 1px solid var(--white-secondary);
}

/* Logo */
.nav-logo {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white-primary);
}

.nav-logo img {
    width: 50px;
    height: 50px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.nav-links li {
    display: inline;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.nav-links a {
    text-decoration: none;
    color: var(--white-primary);
    font-size: 1.3rem;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--accent-mint);
    /* Accent Color */
}

/* Hamburger Button */
.nav-toggle {
    display: none;
    font-size: 1rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 300;
    transition: transform 0.2s ease-in-out;
}


/* hero css */

.hero_section {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 100px;
    background: var(--black-primary);
}

.hero_section_image_div {
    padding: 20px 12px;
}

.hero_section h3 {
    text-align: center;
    font-size: 1.8em;
    font-weight: 300 !important;
    margin: 70px 0 30px 0;
}


.hero_section_image_desktop {
    display: block;
}

.hero_section_image_desktop img,
.hero_section_image_mobile img {
    width: 100%;
}

.hero_section_image_mobile {
    display: none;
}


/* about css */

.about_section {
    margin-top: 00px;
    padding: 40px 40px 20px 40px;
}

/* .about_section h2 {
    text-align: center;
    font-size: 2.5em;
    font-weight: 500 !important;
} */

.about_section p {
    text-align: left !important;
    font-size: 1.4em;
    margin: 20px 0 20px 0;
    line-height: 1.5;
    letter-spacing: 1px;
}

.about_section_content_col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about_section .row {
    margin: 40px 0 40px 0;
}

.about_roger_image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.about_roger_image .contact_btn {
    display: none;
}

.about_roger_image img {
    width: 60%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    -webkit-box-shadow: 11px 6px 26px -8px rgba(74, 74, 74, 0.66);
    -moz-box-shadow: 11px 6px 26px -8px rgba(74, 74, 74, 0.66);
    box-shadow: 11px 6px 26px -8px rgba(74, 74, 74, 0.66);
}


/* companies css */

.companies_section {
    /* margin-top: 40px; */
    padding: 40px;
}

/* .companies_section h2 {
    text-align: center;
    font-size: 2.5em;
    font-weight: 500 !important;
} */


.companies_section {
    overflow: hidden;
    background-color: var(--black-primary);
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
}

.companies_section .slider {
    display: flex;
    width: 100%;
    overflow: hidden;
    margin-top: 70px;
}

.companies_section .slide-track {
    display: flex;
    gap: 3em;
    width: calc(120px * 14 * 2);
    /* Adjust based on the number of slides */
    animation: scroll 50s linear infinite;
}

.companies_section .slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
    /* Ensures consistent spacing */
}

.companies_section img {
    width: 100px;
    height: 100px;
}

.companies_section p {
    color: white;
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Moves only half since we duplicated */
}
/* services css */

.services_section {
    padding: 40px;
}

.services_section_cards {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.services_section_cards .parent {
    display: grid;
    gap: 30px;
    min-width: 600px;
}

.services_section_cards .parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
}

.services_section_cards .card1,
.services_section_cards .card2,
.services_section_cards .card3,
.services_section_cards .card4 {
    grid-column: auto;
    grid-row: auto;
    width: 400px;
    min-height: 500px;
    border: 1px solid var(--white-secondary);
    border-radius: 25px;
    overflow: hidden;
    padding: 20px;
}

.services_section_cards .card_img {
    max-width: 100%;
    max-height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 5px;
}

.services_section_cards .card_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.services_section_cards .card_content {
    width: 100%;
    text-align: center;
    padding: 15px;
}

.services_section_cards .card_title {
    font-weight: 500;
    font-size: 1.8em;
}

.services_section_cards .card_desc {
    font-size: 1.2em;
    color: var(--white-muted);
}

/* testimonial css */

.testimonial_section {
    padding: 40px;
}

.testimonial_section .row {
    margin-top: 30px;
}

.testimonial_card {
    padding: 20px;
    position: relative;
}

.testimonial_card h3 {
    display: inline-flex;
    text-align: center;
    font-size: 1.8em;
    font-weight: 300 !important;
    margin-bottom: 10px;
    padding: 20px;
    border-bottom: 0.5px solid #828282aa;
}

.testimonial_card h4 {
    text-align: center;
}

.fa-quote-left {
    color: var(--white-muted);
    font-size: 2em;
}

.fa-quote-right {
    color: var(--white-muted);
    font-size: 1.5em;
    position: absolute;
    right: 2px;
}

/* contact css */
.contact_section {
    padding: 40px;
}

.contact_content {
    padding: 20px;
    text-align: center;
    border: 0.5px solid 828282aa;
}

/* footer css */

.footer_section {
    margin-top: 40px;
    padding-bottom: 20px;
}

.footer_section .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 50px;
}


.footer_brand_image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_brand_image img {
    width: 150px;
    height: 150px;
}

.footer_add {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer_add p {
    text-align: center;
}

.footer_contact_icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 10px;
}

.fa-envelope,
.fa-phone,
.fa-linkedin {
    color: var(--white-primary) !important;
    font-size: 1.4em;
}

.fa-envelope:hover,
.fa-phone:hover,
.fa-linkedin:hover {
    color: var(--accent-mint) !important;
    font-size: 1.4em;
}

.social_media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 15px
}

.footer_address p {
    font-size: 1.4em;
    line-height: 1.5;
    letter-spacing: 1px;
}

.footer_rights {
    margin-top: 15px;
    text-align: center;
}

/* Change image for mobile screens */
@media (max-width: 768px) {
    .contact_btn {
        border-radius: 8px;
        padding: 3px;
    }

    .contact_btn a {
        font-size: 1.2em;
        font-weight: 500;
    }

    .section_heading_h2 {
        text-align: center;
        font-size: 2em;
        font-weight: 500 !important;
    }

    .navbar_main {
        padding: 10px 15px 5px 15px !important;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: -250px;
        /* Start hidden */
        background: #222;
        width: 200px;
        flex-direction: column;
        padding: 15px;
        border-radius: 8px;
        opacity: 0;
        transform: translateX(100%);
        visibility: hidden;
        transition: right 0.4s ease-in-out, opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    }

    .nav-links.active {
        right: 20px;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
        font-size: 2rem;
    }

    /* Smooth Close Animation */
    .nav-links.closing {

        opacity: 0;
        transform: translateX(100%);

    }

    /* Hamburger to Cross Animation */
    .nav-toggle.active {
        transform: rotate(90deg);
    }

    .hero_section {
        margin-top: 40px;
        padding: 20px;
    }

    .hero_section h2 {
        margin-top: 40px;
        margin-bottom: 10px;
    }

    .hero_section h3 {
        font-size: 1.6em;
    }

    .hero_section_image_div {
        width: 100vw;
    }

    .hero_section_image_mobile {
        display: block;
        background: var(--black-primary);
    }

    .hero_section_image_desktop {
        display: none;
    }

    /* .about_section h2 {
        text-align: center;
        font-size: 1.8em;
    } */

    .about_section p {
        text-align: center;
        font-size: 1.3em;
    }

    .about_section_content_col .contact_btn {
        display: none;
    }

    .about_roger_image .contact_btn {
        display: inline-flex;
    }

    .about_roger_image img {
        width: 80%;
        max-height: 90%;
        object-fit: cover;
        border-radius: 15px;
    }

    /* .companies_section p {
        text-align: center;
        font-size: 1em;
    } */
        .companies_section p {
            color: white;
            font-size: 1.5em;
            font-weight: 500;
            margin-top: 10px;
        }

    .services_section_cards .parent {
        display: grid;
        gap: 8px;
        min-width: 300px;
    }

    .services_section_cards .parent {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
    }

    .services_section_cards .card1,
    .services_section_cards .card2,
    .services_section_cards .card3,
    .services_section_cards .card4 {
        grid-column: auto;
        grid-row: auto;
        width: 320px;
        min-height: 460;
        margin-bottom: 5px;
    }

    .services_section_cards .card_desc {
        font-size: 1em;
        color: var(--white-muted);
    }

    .testimonial_card h3 {
        font-size: 1.5em;
    }

    .fa-quote-left {
        font-size: 1.8em;
        padding-left: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .services_section_cards .parent {
        display: grid;
        gap: 8px;
        min-width: 300px;
    }

    .services_section_cards .parent {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .services_section_cards .card1,
    .services_section_cards .card2,
    .services_section_cards .card3,
    .services_section_cards .card4 {
        grid-column: auto;
        grid-row: auto;
        width: 320px;
        min-height: 500;
        margin-bottom: 5px;
    }

    .services_section_cards .card_desc {
        font-size: 1em;
        color: var(--white-muted);
    }

    .about_roger_image img {
        width: 100%;
        max-height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }

    .about_section_content_col .contact_btn {
        display: none;
    }

    .about_roger_image .contact_btn {
        display: inline-flex;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .about_roger_image img {
        width: 100%;
        max-height: 90%;
        object-fit: cover;
        border-radius: 15px;
    }
}