/* General Body and Typography */
body {
    font-family: 'Arial', sans-serif;
    /* A common, readable sans-serif font */
    color: #333;
    background-color: #f8f9fa;
    /* Light grey background for the whole page */
    overflow-x: hidden;
    /* Prevent horizontal scroll due to floating buttons */
    text-align: justify;
}

/* Navbar Customizations */
.navbar {
    border-bottom: 1px solid #e0e0e0;
    height: 10vh;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04);
    /* Subtle shadow for depth */
}

.navbar-brand img {
    height: 10vh;
    width: auto;
    /* Adjust logo height */
}


.navbar-nav .nav-link {
    color: black !important;
    /* #333 Darker link color */
    font-weight: 600;
    margin-right: 3vh;
    /* Space between links */
    padding: 10px 0;
    /* Adjust padding for height control of links */
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff !important;
    /* Blue hover/active color */
}

.navbar-nav .nav-link.active {
    /* Optional: Add an underline or border for active state */
    border-bottom: 2px solid #007bff;
}

.navbar-nav .btn-primary {
    background-color: #007bff;
    /* Bootstrap primary blue */
    border-color: #007bff;
    border-radius: 5px;
    /* Slightly rounded corners */
    padding: 8px 20px;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar-nav .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Page Hero Section (Banner with Title and Breadcrumb) */
.page-hero {
    background: #44617F;
    /* linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1500x400?text=Industrial+Tools') no-repeat center center; */
    background-size: cover;
    height: 300px;
    /* Fixed height for the banner */
    position: relative;
}

.page-hero h1 {
    font-size: 3.5rem;
    /* Large, bold title */
    color: white;
}

.page-hero p.lead {
    font-size: 1.2rem;
    color: #ddd;
    /* Lighter text for breadcrumb */
}

/* Product Content Section */
.about-content {
    background-color: #fff;
    padding-top: 5rem;
    /* More padding top */
    padding-bottom: 5rem;
    /* More padding bottom */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    /* Space for underline */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 730px;
    height: 3px;
    background-color: #007bff;
    /* Blue underline */
    border-radius: 2px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content p strong {
    color: #007bff;
    /* Highlight Goal Line Ventures name */
}


/*--  adding product SDA  */
.sda-product-container {
    font-family: 'Inter', sans-serif;
    color: #E0FBFC;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: auto;
    text-align: left;
}

@media (min-width: 768px) {
    .sda-product-container {
        flex-direction: row;
        height: 80vh;
    }
}

.sda-product-container .image-section {
    width: 100%;
    height: 50vh;
    background-image: url('https://placehold.co/1200x800/3A506B/E0FBFC?text=2Product+Image');
    /* Default placeholder */
    background-size: cover;
    background-position: center;
    position: relative;
}

.sda-product-container .image-section.product1 {
    background-image: url('https://placehold.co/1200x800/3A506B/E0FBFC?text=SDA+Product');
}

.sda-product-container .image-section.product2 {
    background-image: url('https://placehold.co/1200x800/3A506B/E0FBFC?text=Rebar+Couplers');
}

.sda-product-container .image-section.product3 {
    background-image: url('https://placehold.co/1200x800/3A506B/E0FBFC?text=Rock+Bolts');
}

@media (min-width: 768px) {
    .sda-product-container .image-section {
        width: 70%;
        height: 100%;
    }
}

.sda-product-container .content-section {
    width: 100%;
    background-color: #3A506B;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

@media (min-width: 768px) {
    .sda-product-container .content-section {
        width: 30%;
        height: 100%;
        padding: 3rem;
    }

    .sda-product-container .content-section.overlap {
        position: absolute;
        top: 50%;
        left: 55%;
        transform: translateY(-50%);
        width: 40%;
        background-color: rgba(58, 80, 107, 0.9);
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        z-index: 2;
        padding: 2rem;
        height: auto;
    }
}

.sda-product-container .product-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.sda-product-container .tagline {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(224, 251, 252, 0.8);
    margin-bottom: 2rem;
}

.sda-product-container .view-details-btn {
    background-color: transparent;
    border: 2px solid #5BC0BE;
    color: #5BC0BE;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.sda-product-container .view-details-btn:hover {
    background-color: #5BC0BE;
    color: #3A506B;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s;
}

.modal-content {
    background-color: #3A506B;
    /* Using auto margins for center alignment instead of fixed margin-top */
    margin: auto;
    padding: 2rem;
    padding-top: 6rem;
    border-radius: 12px;
    /* Using percentage for width and max-width for responsiveness */
    width: 90%;
    max-width: 1200px;
    /* Removed fixed height, using max-height for overflow control */
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .modal-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        /* Removed fixed height to allow flexible sizing */
        height: auto;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    /* Removed redundant padding-top */
}

.close-btn:hover,
.close-btn:focus {
    color: #E0FBFC;
    text-decoration: none;
}

.modal-image-container {
    /* Using flex-basis instead of fixed width/height to make it flexible */
    flex-basis: 50%;
    position: relative;
    /* Removed fixed width/height from here */
}

@media (min-width: 768px) {
    .modal-image-container {
        /* Now flex-basis will be consistent */
        flex-basis: 50%;
    }
}

.modal-image-container img {
    /* Made image responsive inside its container */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* object-fit: cover; */
    /* Removed fixed vh height */
}

.image-nav {
    position: absolute;
    top: 50%;
    width: 95%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
    box-sizing: border-box;
}

.image-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
}

.image-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.writing-space {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    color: rgba(224, 251, 252, 0.9);
    /* Using flex-basis to let flexbox manage the width */
    flex-basis: 50%;
    /* Removed fixed vh dimensions to prevent overflow */
    height: auto;
}

@media (min-width: 768px) {
    .writing-space {
        /* Now flex-basis will be consistent */
        flex-basis: 50%;
        height: auto;
        /* Removed the fixed pixel value that conflicted with flexbox */
    }
}

/*  mission vision  section*/
.company-profile {
    background-color: white;
    padding: 50px;
}

.profile-image {
    max-width: 100%;
    height: auto;
}


/* Last Footer section */

.footer {
    background-color: #44617F;
    color: #ffffff;
    padding: 3rem 0;
    text-align: left;
}

.footer .fcontainer-fluid {
    width: 100%;
}

.footer h5 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer p,
.footer li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #007bff;
    /* #fcd34d; */
}

.footer .fcontact-info div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer .fcontact-info .bi {
    font-size: 1.25rem;
    margin-right: 1rem;
    color: #ffffff;
}

/* Social icons section */
.social-icons-footer div {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.social-icons-footer a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.social-icons-footer a:hover {
    color: #007bff;
    /* #fcd34d; */
}

.social-icons-footer .bi {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.copyright {
    background-color: #f8f9fa;
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    max-height: 20px;
}