/* Global Styles */
/* ------------------- */


/* Typography and Font Settings */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    font-size: clamp(1rem, 9vw, 1.25rem); /* Responsive body text size */
    font-weight: 300;
    background-color: #000000; /* Dark gray background */
}

p {
    max-width: 80ch; /* Limits paragraphs globally to about 70 characters */
    margin-left: 0;
    margin-right: auto;
    text-align: left; /* Optional: adjust as needed (center, right, etc.) */
}

/* Responsive Heading Sizes with clamp() */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Scaling h1 */
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem); /* Scaling h2 */
    max-width: 35ch;
}

h5 {
    font-size: clamp(1.25rem, 2.5vw, 2rem); /* Scaling h5 */
}

h6 {
    font-size: clamp(1rem, 2vw, 1.5rem); /* Scaling h6 */
}

/* Font Family */
h1, h2, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

/* Image Styling */
img {
    border-radius: var(--global-border-radius);
}

/* Eyebrow Style */
.eyebrow {
    font-size: clamp(1rem, 1.5vw, 1.2rem); /* Responsive eyebrow text */
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #E0E0E0;
    margin-bottom: 10px;
}

/* Buttons */
.btn-custom {
    padding: 10px 25px;
    font-size: clamp(0.9rem, 1vw, 1rem); /* Responsive button text */
    font-weight: 500;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    background: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom:hover {
    background-color: #fff;
    color: #000;
}

/* Layout and Section Styles */
/* ------------------- */
.full-width-section {
    color: #fff;
    padding: 40px 20px;
    width: 100%;
}

.section-content {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Section Background Colors */
/* ------------------- */
.hero-section {
    background-color: transparent;
}

.services-section {
    background-color: #0f0f2d;
}

.our-work-section {
    background-color: rgba(0, 0, 0, 0.5);
}

.two-column-content-block {
    background-color: #0f0f2d !important;
}

.inspiration-section {
    background-color: rgba(0, 0, 0, 0.5);
}

.contact-us-section {
    background-color: #0C62FB !important;
}


        /* Custom Navbar styling */
        .navbar {
            position: absolute;
            top: 0;
            width: 100%;
            z-index: 10;
            background: transparent;
            color: white;
            padding:30px;
            max-width: 1600px;

        }

        /* Drawer styling for full-screen */
        .offcanvas-end {
            width: 100% !important; /* Full width for the drawer */
            height: 100vh !important; /* Full height for the drawer */
            background-color: #002FAF;
        }

        /* Make the hamburger icon white */
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        }

        /* Logo constraints */
        .navbar-brand img {
            max-width: 300px;
            max-height: 80px;
        }

        /* Font color for drawer content */
        .offcanvas-body,
        .offcanvas-body .nav-link {
            color: white;
        }

        /* Remove hover effect inside the drawer */
        .offcanvas-body .nav-link:hover {
            color: white !important; /* Ensure no color change on hover inside the drawer */
        }

        /* Add size constraints for logo in drawer */
        .drawer-logo img {
            max-width: 300px;
            max-height: 80px;
        }

        /* Ensure navbar links are white */
        .navbar-nav .nav-link {
            color: white !important; /* Ensure white font for links */
            text-decoration: none;
            padding: 0 15px;
            margin-right: 20px; /* Adds space between menu items */
            font-size: 1.25rem; /* Make the text smaller (adjust as needed) */
            font-weight: 500; /* Medium weight */
        }

        /* Hover effect for navbar links to change to #0C62FB (only for top bar) */
        .navbar-nav .nav-link:hover:not(.offcanvas-body .nav-link) {
            color: #0C62FB !important; /* Change to #0C62FB on hover for top bar */
        }

        /* Add vertical spacing between the links inside the drawer */
        .offcanvas-body .nav-item {
            margin-bottom: 20px; /* Adjust the value as needed */
        }

/* Hero Section */
/* ------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 5px solid #0C62FB;
    max-width: 1600px;

}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0px;
    pointer-events: none;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.5rem); /* Adjusting clamp for smoother scaling */
}

.hero-index .hero-content {
    padding-top: 110px;
}

.hero-index .hero-content p {
    max-width: 28ch; /* Restrict paragraph width to 30 characters */
    margin-left: auto;
    margin-right: 0;
    text-align: right; /* Center the text block within the container */
    font-size: clamp(1.15rem, 9, 1.6rem); /* Responsive font size for text */
}

.hero-content .btn-custom {
    pointer-events: auto;
}

.hero-h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(4.4rem, 9vw, 7rem); /* Default scaling for h1 */
}

.spline-embed-container {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90%;
    z-index: 1;
    overflow: hidden;
}

/* Subpage-Specific Styles */
.hero-subpage {
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    height: 100vh;
}

.hero-subpage .hero-content {
    text-align: left;
    padding-left: 40px;
    width: 100%;
    max-width: 90%;

}

.hero-subpage .hero-h1 {
    font-weight: 600;
    font-size: 7rem;
}

/* Subpage-Specific Paragraph Style */
.hero-subpage .hero-content p {
    margin-top: 30px;  /* Adds vertical space between the h1 and the paragraph */
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);  /* Ensure responsive font size scaling */
}


/* Responsive Adjustments */
@media (max-width: 1000px) {
    .hero-content {
        text-align: center;
    }


    .hero-subpage .hero-h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }


    .hero-subpage .hero-h1 {
        font-size: 3rem;
        max-width: 100%;
    }

    .spline-embed-container {
        height: 70%;
    }
}


/* Services Section */
/* ------------------- */
.masonry-grid {
    column-count: 2;
    column-gap: 20px;
}

.masonry-item {
    background-color: #002FAF;
    padding: 20px;
    border-radius: 10px;
    color: #f8f8f8;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.tile-title {
    margin: 0;
    font-size: 1.5rem;
    vertical-align: middle;
}

.toggle-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

.collapsed-sign {
    display: inline;
}

.expanded-sign {
    display: none;
}

button.collapsed .collapsed-sign {
    display: inline;
}

button.collapsed .expanded-sign {
    display: none;
}

button:not(.collapsed) .collapsed-sign {
    display: none;
}

button:not(.collapsed) .expanded-sign {
    display: inline;
}

.tile-content {
    margin-top: 10px;
    display: none;
}

.tile-content.show {
    display: block;
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Our Work Section */
/* ------------------- */

.our-work-section .card-custom {
    background-color: #002FAF;
    border: none;
    color: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    transition: opacity 0.5s ease;
    cursor: pointer;
    pointer-events: all;
}

.our-work-section .card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.our-work-section .card-custom.dimmed::before {
    opacity: 1;
}

.our-work-section .card-custom .image-wrapper,
.our-work-section .card-custom .card-body {
    position: relative;
    z-index: 1;
}

.our-work-section .card-custom .image-wrapper {
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.our-work-section .card-custom .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.our-work-section .card-custom .card-body {
    padding: 20px;
    text-align: center;
}

/* Inspiration Section */
/* ------------------- */
.inspiration-section .card-small {
    background-color: #002FAF;
    border: none;
    color: #fff;
    padding: 0;
    border-radius: 10px;
    height: auto;
    text-align: center;
    position: relative;
    transition: opacity 0.5s ease;
    cursor: pointer;
    pointer-events: all;
}

.inspiration-section .card-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.inspiration-section .card-small.dimmed::before {
    opacity: 1;
}

.inspiration-section .card-small .image-wrapper,
.inspiration-section .card-small .card-body {
    position: relative;
    z-index: 1;
}

.inspiration-section .card-small .image-wrapper {
    width: 100%;
    padding-top: 33.33%;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.inspiration-section .card-small .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inspiration-section .card-small .card-body {
    padding: 10px;
}

.inspiration-section .card-small h6 {
    font-size: 1rem;
    margin-top: 5px;
}

/* Responsive Adjustments */
@media (min-width: 1000px) {
    .inspiration-section .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1000px) {
    .inspiration-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .inspiration-section .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
}

/* Contact Us Section */
/* ------------------- */
.card-eyebrow {
    margin-bottom: 0;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: rgba(255, 255, 255, 0.8);
}

