@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* ==========================================================================
   Base Styles
   ========================================================================== */

body, html {
    margin: 0;
    padding: 0;
}

#canvas3d {
    width: 100%;   /* Full width */
    height: 100%;  /* Full height */
    display: block;
    position: absolute; /* Changed to absolute */
    top: 0;        /* Align to top edge */
    left: 0;       /* Align to left edge */
    z-index: 1;    /* Keep it behind the mobile menu (adjust if needed) */
}

footer {
    z-index: 500;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: flex-end; /* Align items to the bottom */
    padding: 20px 0;
    /* ... other footer styles ... */
    min-height: 60px;
    width: 100%; /* Make sure footer spans the width */
    box-sizing: border-box; /* Include padding in width calculation */
    text-align: center; /* Fallback for older browsers or simpler setups */
}

footer p {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
    color: #555;
    font-size: 0.9em;
    width: 100%; /* Make the paragraph take full width to center text within */
    box-sizing: border-box; /* Include padding/border in width */
    text-align: center; /* Center the text within the paragraph */
    padding: 0; /* Reset any default padding */
}

.homepage-footer {
    position: absolute;
    bottom: 0;
    z-index: 500;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: flex-end; /* Align items to the bottom */
    padding: 20px 0;
    /* ... other footer styles ... */
    min-height: 60px;
    width: 100%; /* Make sure footer spans the width */
    box-sizing: border-box; /* Include padding in width calculation */
    text-align: center; /* Fallback for older browsers or simpler setups */
}

.homepage-footer p {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
    color: #555;
    font-size: 0.9em;
    width: 100%; /* Make the paragraph take full width to center text within */
    box-sizing: border-box; /* Include padding/border in width */
    text-align: center; /* Center the text within the paragraph */
    padding: 0; /* Reset any default padding */
}

.homepage-footer a {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
    color: #555;
    font-size: 0.9em;
    width: 100%; /* Make the paragraph take full width to center text within */
    box-sizing: border-box; /* Include padding/border in width */
    text-align: center; /* Center the text within the paragraph */
    padding: 0; /* Reset any default padding */
    text-decoration: none;
}

/* ==========================================================================
   Mobile Menu Styles (NEW)
   ========================================================================== */

    .burger {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10001;
        width: 40px;
        height: 30px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 6px;
        border-radius: 50%;
        background: transparent;
        opacity: 1; /* Initially hide the burger */
        pointer-events: auto; /* Prevent clicks on it */
        transition: opacity 0.5s ease; /* Smooth fade-in */
        transition-delay: 0.5s;
    }

    .burger span {
        height: 4px;
        background: #071332;
        border-radius: 2px;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        transform-origin: center;
    }

    .burger.open span {
        background: #ffffff;
    }

    .burger.open span:nth-child(1) {
        transform: translateY(13px) rotate(45deg);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .burger.open span:nth-child(3) {
        transform: translateY(-13px) rotate(-45deg);
    }

    #popup-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(7, 19, 50, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        padding: 20px;
        box-sizing: border-box;
    }

    #popup-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .menu-items {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 90vw;
    }

    .pill {
        opacity: 0;
        transform: translateY(40px) scaleX(0.3);
        background: #07b0ba;
        color: #fff;
        padding: 14px 28px; /* Adjust padding for smaller size */
        font-family: 'Montserrat', sans-serif;
        border-radius: 999px;
        font-weight: bold;
        font-size: 16px; /* Make the font size smaller */
        text-decoration: none;
        display: inline-block;
        transition: all 0.5s ease;
        text-align: center;
        width: 60%;
        max-width: 240px; /* Reduce the maximum width */
    }

    #popup-menu.active .pill {
        opacity: 1;
        transform: translateY(0) scaleX(1);
    }

    #popup-menu.active .pill:nth-child(1) {
        transition-delay: 0.1s;
    }

    #popup-menu.active .pill:nth-child(2) {
        transition-delay: 0.2s;
    }

    #popup-menu.active .pill:nth-child(3) {
        transition-delay: 0.3s;
    }

    #popup-menu.active .pill:nth-child(4) {
        transition-delay: 0.4s;
    }

    #popup-menu.active .pill:nth-child(5) {
        transition-delay: 0.5s;
    }

    #popup-menu.active .pill:nth-child(6) {
        transition-delay: 0.6s;
    }


/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .pill {
        font-size: 14px; /* Even smaller on smaller screens */
        padding: 12px 16px; /* Adjust padding for smaller screens */
        max-width: 90%; /* Keep responsiveness */
    }
}

    .burger {
        width: 36px;
        height: 26px;
    }

    .burger span {
        height: 3px;
    }
/* ==========================================================================
   Logo-Slogan-Container Styles
   ========================================================================== */

.logo-slogan-container{
    display:  flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.mobile-logo {
    align-self: center;
    z-index: 10001;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    transition-delay: 0.5s;
}

/* Mobile Styles (applied by default for smaller screens) */
.mobile-logo {
    top: 20px;
    left: 20px;
    width: auto;
    height: auto;
    align-items: flex-start;
    align-self: flex-start;
}

.mobile-logo img {
    max-width: 150px;
    height: auto;
    padding-left: 25px;
    padding-top: 25px;
}

/* Desktop Styles (applied for screens 768px and wider) */
@media (min-width: 768px) {
    .mobile-logo {
        align-self: center;

    }

    .mobile-logo img {
        padding-left: 30px;
        padding-top: 0;
        max-width: 300px;
        height: auto;
    }
}

@media (min-width: 1620px) {
    .mobile-logo {
        align-self: center;

    }

    .mobile-logo img {
        padding-left: 30px;
        padding-top: 0;
        max-width: 350px;
        height: auto;
    }
}



.mobile-slogan {
    display: flex;
    z-index: 100001;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    padding-right: 100px;
}
@media (max-width: 768px){
    .mobile-slogan {
        font-size: 8px;
        position: absolute;
        bottom: 80px;
        left: 25px;
    }
}


/* ==========================================================================
   Desktop-Background Styles
   ========================================================================== */
.desktop-background{
    display: flex;
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
.desktop-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px){
    .desktop-background {
        display: none;
    }
}

/* ==========================================================================
   Mobile-Background Styles
   ========================================================================== */

.mobile-background {
    display: none;
}

@media (max-width: 768px) {

    .mobile-background {
        display: flex;
        position: absolute;
        margin: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
        transition-delay: 0.5s;
    }

    .mobile-background img {
        width: 100%;
        height: auto;
        display: flex;
    }

    .mobile-background.visible {
        opacity: 1;
    }
}

/* ==========================================================================
   Work Together Styles
   ========================================================================== */

@media (max-width: 768px) {
    .team-member h3 {
        padding-top: 20px;
    }

    .work-together-heading {
        font-size: 60px;
        margin-left: 20px;
    }

    .custom-pixel-form .form-row {
        flex-direction: column;
    }

    .custom-pixel-form input[type="text"],
    .custom-pixel-form input[type="tel"],
    .custom-pixel-form input[type="email"],
    .custom-pixel-form textarea {
        padding: 10px;
        font-size: 16px;
    }

    .custom-pixel-form label {
        font-size: 16px;
    }

    .pill-group label {
        font-size: 14px;
        padding: 5px 10px;
    }

    .contact-header h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .contact-header p {
        font-size: 18px;
    }

    .team-member h3 {
        font-size: 22px;
        font-family: 'Bebas Neue', sans-serif;
        color: #071332 !important;
    }

    .team-member .role {
        font-size: 18px;
    }

    .team-member .email,
    .team-member .phone {
        font-size: 16px;
    }
}

.work-together-page {
    background-image: url('/assets/images/Let Work Together Popop BG.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.work-together-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 82px;
    font-weight: 600;
    color: #071332;
    margin-left: 35px;
    margin-bottom: 10px;
    opacity: 0; /* Added for animation */
    transform: translateX(-50px); /* Added for animation */
    animation: slideInLeft 0.8s ease-out forwards; /* Added animation */
    text-align: left;
}


.form-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    padding: 0 35px 35px 35px;
    box-sizing: border-box;
    gap: 30px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        overflow-y: auto;
    }
}

.form-left {
    flex: 1;
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.8s ease-out forwards; /* Added animation */
}

.form-right {
    flex: 0.8;
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.8s ease-out forwards 0.5s; /* Added animation with delay */
}

/* ==========================================================================
   Custom Pixel Form Styles (Your Provided CSS)
   ========================================================================== */


.custom-pixel-form {
    font-family: 'Bebas Neue', sans-serif;
    max-width: 900px;
    color: #000;
    font-size: 14px;
    text-transform: uppercase;
}

.custom-pixel-form .row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.custom-pixel-form input[type="text"],
.custom-pixel-form input[type="tel"],
.custom-pixel-form input[type="email"] {
    flex: 1;
    padding: 5px 16px;
    border: 1px solid #000;
    border-radius: 30px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    text-transform: uppercase;
    opacity: 1; /* Added for animation */
    transform: translateY(20px); /* Added for animation */
    animation: slideInUp 0.6s ease-out forwards 0.3s; /* Added animation with delay */
}


.custom-pixel-form textarea {
    flex: 1;
    padding: 5px 16px;
    border: 1px solid #000;
    border-radius: 30px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    text-transform: uppercase;
    height: 100px;
    resize: none;
    margin-bottom: 5px;
}

.custom-pixel-form label {
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
    color: #07b0ba;
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.6s ease-out forwards 0.3s; /* Added animation with delay */
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 25px;
    padding: 10px;
    border-radius: 10px;
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.8s ease-out forwards 0.5s; /* Added animation with delay */
}

.pill-group label {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 40px;
    padding: 5px 14px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 300;
    position: relative;
    color: #000;
}

.pill-group input[type="checkbox"],
.pill-group input[type="radio"] {
    display: none;
}

.pill-group label::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.pill-group input:checked + label::before {
    background-color: #07b0ba;
    border-color: #07b0ba;
}

.pill-group input:checked + label {
    color: #07b0ba;
    border-color: #07b0ba;
}

.pill-group.budget {
    background-color: #07b0ba;
}

.pill-group.budget label {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.pill-group.budget input:checked + label {
    background-color: #fff;
    color: #07b0ba;
    border-color: #07b0ba;
}

.pill-group.budget input:checked + label::before {
    background-color: #07b0ba;
    border-color: #07b0ba;
}

/* ADD THIS - dark background for first section */
.pill-group.mind {
    background-color: #00132f;
}

/* Submit Button */
.row.recaptcha-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 5px;
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.8s ease-out forwards 0.7s; /* Added animation with delay */
}

.row.recaptcha-submit .g-recaptcha {
    flex: 1 1 60%;
    min-width: 200px;
}

.row.recaptcha-submit button {
    flex: 1 1 15%;
    min-width: 100px;
    opacity: 0; /* Added for animation */
    transform: scale(0.9); /* Added for animation */
    animation: fadeInScale 0.6s ease-out forwards 0.9s; /* Added animation with delay */
}

.custom-pixel-form button {
    background-color: #07b0ba;
    color: #fff;
    border: none;
    padding: 3px 16px;
    border-radius: 20px;
    font-weight: 300;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 2px 2px 0 #000;
    text-transform: uppercase;
    font-family: inherit;
    max-width: 100px;
}

.custom-pixel-form button:hover {
    background-color: #0595a2;
}

/* ==========================================================================
   Contact Section Styles (Your Provided CSS)
   ========================================================================== */


.elementor-column,
.elementor-widget-wrap,
.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    font-family: 'Bebas Neue', sans-serif;
    background-color: transparent;
    text-align: left;
    color: #071332;
    padding-top: 0;
    margin-top: 0;
}

.contact-header {
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
}

.contact-header h2 {
    font-size: 42px;
    line-height: 20px;
    font-weight: 300;
    color: #212121;
    margin-bottom: 5px;
    opacity: 0; /* Added for animation */
    transform: translateX(-20px); /* Added for animation */
    animation: slideInLeft 0.6s ease-out forwards 0.2s; /* Added animation with delay */
}

.contact-header p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: 'Bebas Neue', sans-serif;
    color: #071332;
    opacity: 0; /* Added for animation */
    transform: translateX(-20px); /* Added for animation */
    animation: slideInLeft 0.6s ease-out forwards 0.4s; /* Added animation with delay */
}

.team-members {
    gap: 0;
    margin-bottom: 0;
    text-align: left;
    opacity: 1; /* Added for animation */
    animation: fadeIn 0.8s ease-out forwards 0.6s; /* Added animation with delay */
}

.team-member {
    padding: 0;
    text-align: left;
}

.vertical-bar {
    display: inline-block;
    width: 5px;
    height: 30px;
    background-color: #07b0ba;
    margin-right: 10px;
    vertical-align: bottom;
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.6s ease-out forwards 0.8s; /* Added animation with delay */
}

.team-member h3 {
    font-size: 26px;
    font-weight: bold;
    color: #071332;
    margin-bottom: 0;
    margin-top: 0;
    display: inline-block;
    vertical-align: middle;
    opacity: 1; /* Added for animation */
    transform: translateY(10px); /* Added for animation */
    animation: slideInUp 0.6s ease-out forwards 0.8s; /* Added animation with delay */
}

.team-member .role {
    font-size: 22px;
    margin-bottom: 0;
    margin-left: 0;
    font-family: 'Bebas Neue', sans-serif;
    text-align: left;
    color: #07b0ba;
    opacity: 1; /* Added for animation */
    transform: translateY(10px); /* Added for animation */
    animation: slideInUp 0.6s ease-out forwards 0.8s; /* Added animation with delay */
}

.team-member .email,
.team-member .phone {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    color: #071332;
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.6s ease-out forwards 0.8s; /* Added animation with delay */
}

/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Portfolio page styles
   ========================================================================== */


.portfolio-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6em;
    text-align: left;
    margin: 0.5em 0 0 150px;
    color: #071332;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.portfolio-pill {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    background-color: #07b0ba;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 18px;
    margin-left: 150px;
    margin-bottom: 2em;
    margin-right: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.2s;
    animation: slideIn 0.8s ease-in-out 0.3s forwards;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px 150px;
    max-width: 100%;
    margin: 0 auto;
}

/* Media query for mobile devices */
@media (max-width: 768px) {

    .portfolio-heading {
        font-size: 4em;
        margin-left: 20px;
        max-width: 350px;
    }
    .portfolio-pill {
        font-size: 16px;
        margin-left: 20px;
        margin-bottom: 1.5em;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 20px;
    }
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    animation: fadeInUp 0.6s ease-in-out forwards;
}

/* Apply a delay to each item's animation */
.portfolio-grid .project-item:nth-child(1) { animation-delay: 0.5s; }
.portfolio-grid .project-item:nth-child(2) { animation-delay: 0.7s; }
.portfolio-grid .project-item:nth-child(3) { animation-delay: 0.9s; }
.portfolio-grid .project-item:nth-child(4) { animation-delay: 1.1s; }
.portfolio-grid .project-item:nth-child(5) { animation-delay: 1.3s; }
.portfolio-grid .project-item:nth-child(6) { animation-delay: 1.5s; }
.portfolio-grid .project-item:nth-child(7) { animation-delay: 1.7s; }
.portfolio-grid .project-item:nth-child(8) { animation-delay: 1.9s; }
.portfolio-grid .project-item:nth-child(9) { animation-delay: 2.1s; }


.project-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.project-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.project-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}


.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 19, 50, 0.8);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    transform: translateY(0); /* Keep it at its original position */
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0); /* Keep it at its original position */
}



.project-overlay h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    font-family: 'Montserrat', sans-serif;
}

.project-overlay .project-category {
    font-size: 1em;
    font-style: italic;
}

/* Keyframes for entrance animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   About Us page styles
   ========================================================================== */
body.about-page {
    /* background-color: #f9f9f9;   You can add a background color if needed */
    background-image: url("/assets/images/bgdesktop.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

.about-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6em;
    text-align: left;
    margin: 1em 0 0 150px;
    color: #071332;
    font-weight: bold;
    opacity: 0; /* Added for animation */
    transform: translateX(-50px); /* Added for animation */
    animation: slideInLeft 0.8s ease-out forwards; /* Added animation */
}

.about-pill {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    background-color: #07b0ba;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 18px;
    margin-left: 150px;
    margin-bottom: 2em;
    opacity: 0; /* Added for animation */
    transform: scale(0.8); /* Added for animation */
    animation: fadeInScale 0.6s ease-out 0.3s forwards; /* Added animation */
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 150px;
    padding: 20px 0;
    width: 100% !important;
    max-width: none !important;
}

.about-image {
    flex: 1;
    max-width: 500px;
    margin-right: 30px;
    display: flex;
    justify-content: flex-start;
    opacity: 0; /* Added for animation */
    transform: scale(1.1); /* Added for animation */
    animation: fadeInZoom 0.6s ease-out 0.5s forwards; /* Added animation */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    max-width: 600px;
    line-height: 1.7;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.6s ease-out 0.7s forwards; /* Added animation */
}

.about-text p{
    opacity: 0; /* Added for animation */
    animation: fadeIn 0.6s ease-out 0.9s forwards; /* Added animation */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    body.about-page {
        background-image: url("/assets/images/bgmobile.png");
        overflow-x: hidden;
    }

    .about-heading {
        font-size: 3em;
        margin-left: 20px;
        opacity: 0; /* Added for animation */
        transform: translateX(-50px); /* Added for animation */
        animation: slideInLeft 0.8s ease-out forwards; /* Added animation */
    }

    .about-pill {
        font-size: 16px;
        margin-left: 20px;
        margin-bottom: 1.5em;
        opacity: 0; /* Added for animation */
        transform: scale(0.8); /* Added for animation */
        animation: fadeInScale 0.6s ease-out 0.3s forwards; /* Added animation */
    }

    .about-content {
        flex-direction: column;
        padding: 20px 0;
        width: 100% !important;
        max-width: none !important;
        align-items: flex-start;
        margin-left: 20px;
    }

    .about-image {
        margin-bottom: 20px;
        max-width: 90%;
        display: flex;
        justify-content: flex-start;
        opacity: 0; /* Added for animation */
        transform: scale(1.1); /* Added for animation */
        animation: fadeInZoom 0.6s ease-out 0.5s forwards; /* Added animation */
    }

    .about-text {
        max-width: 350px;
        opacity: 0; /* Added for animation */
        animation: fadeIn 0.6s ease-out 0.7s forwards; /* Added animation */
    }

    .about-text p{
        opacity: 0; /* Added for animation */
        animation: fadeIn 0.6s ease-out 0.9s forwards; /* Added animation */
    }


}

/* Keyframes for animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==========================================================================
   Blog page styles
   ========================================================================== */

.blog-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6em;
    text-align: left;
    margin: 0.5em 0 0 150px;
    color: #071332;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px 150px;
    max-width: 100%;
    margin: 0 auto;
}

.blog-pill{
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    background-color: #07b0ba;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 18px;
    margin-left: 150px;
    margin-bottom: 2em;
    margin-right: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.2s;
    animation: slideIn 0.8s ease-in-out 0.3s forwards;
}

/* Media query for mobile devices */
@media (max-width: 768px) {

    .blog-heading {
        font-size: 4em;
        margin-left: 20px;
        max-width: 350px;
    }

    .blog-pill {
        font-size: 16px;
        margin-left: 20px;
        margin-bottom: 1.5em;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 20px;
    }
}

.blog-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    animation: fadeInUp 0.6s ease-in-out forwards;
}

/* Apply a delay to each item's animation */
.blog-grid .blog-item:nth-child(1) {
    animation-delay: 0.5s;
}

.blog-grid .blog-item:nth-child(2) {
    animation-delay: 0.7s;
}

.blog-grid .blog-item:nth-child(3) {
    animation-delay: 0.9s;
}

.blog-grid .blog-item:nth-child(4) {
    animation-delay: 1.1s;
}

.blog-grid .blog-item:nth-child(5) {
    animation-delay: 1.3s;
}

.blog-grid .blog-item:nth-child(6) {
    animation-delay: 1.5s;
}

.blog-grid .blog-item:nth-child(7) {
    animation-delay: 1.7s;
}

.blog-grid .blog-item:nth-child(8) {
    animation-delay: 1.9s;
}

.blog-grid .blog-item:nth-child(9) {
    animation-delay: 2.1s;
}


.blog-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.blog-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}


.blog-overlay {
    position: absolute;
    bottom: 0;  /* Overlay starts from the bottom */
    left: 0;
    width: 100%;
    height: 0; /* Start with 0% height */
    background-color: rgba(7, 19, 50, 0.8);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align items to the start (top in this case) */
    opacity: 0;
    transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Animate height and opacity */
    padding-top: 50%; /* padding-top to make the text appear in the middle of the container*/
}

.blog-item:hover .blog-overlay {
    opacity: 1;
    height: 50%; /* Expand overlay to 50% on hover */
    padding-top: 0; /* remove the padding-top when the height is 50% */
}

.blog-overlay h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    font-family: 'Montserrat', sans-serif;
    padding: 0 10px;
}

.blog-overlay .blog-excerpt {
    font-size: 0.9em;
    font-style: normal;
    padding: 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* Media query for mobile devices */
@media (max-width: 768px) {

    .blog-heading {
        font-size: 4em;
        margin-left: 20px;
        max-width: 350px;
    }

    .blog-pill {
        font-size: 16px;
        margin-left: 20px;
        margin-bottom: 1.5em;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 20px;
    }

    .blog-overlay {
        opacity: 1;
        height: 50%;
        padding-top: 0;
        align-items: flex-start;
    }

    .blog-overlay .blog-excerpt{
        display: none;
    }

    .blog-overlay h3{
        padding: 10px;
        font-size: 1em;
    }
}

/* Keyframes for entrance animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Project Page Styles
   ========================================================================== */

body.project-page {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    line-height: 1.8;
    background-color: #fefefe;
}

.project-content-container {
    max-width: 1400px;
    margin: 80px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 95%;
}

.project-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6em;
    color: #071332;
    text-align: left;
    letter-spacing: 1px;
    font-weight: 400;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out 0.2s forwards, slideInDown 0.5s ease-out 0.2s forwards;
    margin-bottom: 0;
    line-height: 0.5;
}

.project-title2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3em;
    color: #07b0ba;
    text-align: left;
    letter-spacing: 1px;
    font-weight: 400;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out 0.2s forwards, slideInDown 0.5s ease-out 0.2s forwards;
    margin-bottom: 40px;
    line-height: 1;
}


.project-main-image {
    display: none;
}

.image-grid-wrapper{
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.project-image-gallery {
    display: flex; /* Changed to flexbox */
    flex-direction: row; /* Horizontal layout */
    overflow-x: auto; /* Enable horizontal scrolling if needed */
    gap: 20px;
    width: 100%;
    margin-bottom: 0;
}
.project-image-gallery .gallery-item{
    height: 300px; /* height to auto */
    width: 300px;
    flex: 0 0 auto; /* Don't grow, don't shrink, auto width */
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition:  transform 0.3s ease, box-shadow 0.3s ease;
}
/* Removed hover effect from gallery-item */


.project-image-gallery .gallery-item img {
    width: 300px; /* image width */
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.project-image-gallery .gallery-item img:hover {
    transform: scale(1);
    filter: brightness(1);
}
.project-image-gallery .large-image{
    height: auto; /* Changed height to auto */
    width: auto;
    flex: 0 0 auto;
}


.project-text-section {
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out 0.6s forwards;
    width: 100%;
}

.project-text-section.intro-text{
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
    line-height: 2;
    font-weight: 300;
}


.project-text-section p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
    line-height: 2;
    font-weight: 300;
}

.project-text-section h2 {
    font-size: 2.5em;
    color: #008080;
    margin-bottom: 25px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-weight: 400;
}

.project-text-section h3 {
    font-size: 1.8em;
    color: #008080;
    margin-bottom: 25px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-weight: 400;
}

/* ==========================================================================
   Project Page Styles (Mobile Responsive)
   ========================================================================== */

@media (max-width: 768px) {
    .project-content-container {
        flex-direction: column;
        margin-left: 20px;
        padding: 0;
        max-width: 360px;
    }

    .project-title {
        font-size: 4em;
        text-align: left;
        line-height: 0.8;
    }



    .project-image-gallery {
        display: flex; /* Changed to flexbox */
        flex-direction: row; /* Horizontal layout */
        max-width: 360px;
        overflow-x: scroll;
        width: 100%;
        margin-bottom: 40px;
    }
    .project-image-gallery .gallery-item{
        height: 200px;
        width: 200px;
        flex: 0 0 auto;
    }
    .project-image-gallery .gallery-item img {
        width: 200px; /* image width */
        height: 200px;
        object-fit: cover;
        display: block;
        border-radius: 25px;
        transition: transform 0.3s ease;
    }
    .project-image-gallery .large-image{
        height: 200px;
        width: 200px;
        flex: 0 0 auto;
    }

    .project-text-section {
        width: 100%;
        margin-bottom: 40px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   Blog Post Page Styles
   ========================================================================== */

body.blogpost-page {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    line-height: 1.8;
    background-color: #fefefe;
}

.blogpost-content-container {
    max-width: 1400px;
    margin: 80px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 95%;
    opacity: 0; /* Initial opacity for fade-in */
    animation: fadeIn 1s ease-in-out 0.2s forwards; /* Added fade-in animation to the whole container */
}

.blogpost-title-container {
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    margin-bottom: 40px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    width: 100%;
    height: 300px;
    position: relative;
    opacity: 0;
    animation: slideInDown 0.8s ease-out 0.4s forwards;

}

.blogpost-title-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    z-index: 1;
}


.blogpost-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6em;
    color: #fff;
    text-align: left;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1;
    z-index: 1000;
    position: relative;
    transform: translateY(20px); /* Start position for slide-in */
    opacity: 1;
    animation: slideInUp 0.5s ease-out 0.6s forwards; /* Slide title up */
}

.blogpost-text-section {
    margin-bottom: 60px;
    width: 100%;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.8s forwards;
}

.blogpost-text-section p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
    line-height: 2;
    font-weight: 300;
}

.blogpost-text-section h2 {
    font-size: 2.5em;
    color: #008080;
    margin-bottom: 25px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-weight: 400;
}

.blogpost-text-section h3 {
    font-size: 1.8em;
    color: #008080;
    margin-bottom: 25px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-weight: 400;
}

/* ==========================================================================
   Blog Post Page Styles (Mobile Responsive)
   ========================================================================== */

@media (max-width: 768px) {
    .blogpost-content-container {
        flex-direction: column;
        margin-left: 20px;
        padding: 0;
        width: 90%;
    }

    .blogpost-title {
        font-size: 3em;
        padding-left: 10px;
        padding-right: 10px;
    }

    .blogpost-title-container {
        padding: 0;
        margin-bottom: 40px;
        height: 200px;
        width: 90%;
    }


    .blogpost-text-section p {
        font-size: 1em;
    }

    .blogpost-text-section h2 {
        font-size: 2em;
    }

    .blogpost-text-section h3 {
        font-size: 1.5em;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.services-page {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    line-height: 1.8;
    background-color: #fefefe;
}

.page-title{
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4em;
    color: #071332;
    text-align: left;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-left: 150px;
}

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-left: 150px;
    margin-right: 150px;
    height: auto;
}
.service-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    text-align: left;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
}

.service-card h2{
    font-size: 2em;
    margin-bottom: 15px;
    color: #07b0ba;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-weight: 400;
}
.service-card p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 300;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.service-card ul li{
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
    font-weight: 300;
}

.service-card:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .page-title{
        margin-left: 20px;
        font-size: 4em;
    }
    .services-grid-container {
        grid-template-columns: 1fr;
        margin-left: 20px;
        margin-right: 20px;
    }
    .service-card {
        text-align: left;
    }
}

/* Keyframes for the animation */
.service-card:nth-child(1) {
    animation: fadeIn 0.5s ease-in-out 0.2s forwards, slideInUp 0.5s ease-in-out 0.2s forwards;
}
.service-card:nth-child(2) {
    animation: fadeIn 0.5s ease-in-out 0.4s forwards, slideInUp 0.5s ease-in-out 0.4s forwards;
}
.service-card:nth-child(3) {
    animation: fadeIn 0.5s ease-in-out 0.6s forwards, slideInUp 0.5s ease-in-out 0.6s forwards;
}
.service-card:nth-child(4) {
    animation: fadeIn 0.5s ease-in-out 0.8s forwards, slideInUp 0.5s ease-in-out 0.8s forwards;
}
.service-card:nth-child(5) {
    animation: fadeIn 0.5s ease-in-out 1.0s forwards, slideInUp 0.5s ease-in-out 1.0s forwards;
}
.service-card:nth-child(6) {
    animation: fadeIn 0.5s ease-in-out 1.2s forwards, slideInUp 0.5s ease-in-out 1.2s forwards;
}
.service-card:nth-child(7) {
    animation: fadeIn 0.5s ease-in-out 1.4s forwards, slideInUp 0.5s ease-in-out 1.4s forwards;
}
.service-card:nth-child(8) {
    animation: fadeIn 0.5s ease-in-out 1.6s forwards, slideInUp 0.5s ease-in-out 1.6s forwards;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}