/* General Font Settings */


body {
    font-family: 'Montserrat', sans-serif; /* Use Montserrat for consistency */
    padding: 0;
    margin: 0;
}

small {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4);
}

/* General Heading Styles */
h1 {
    margin-bottom: 1rem; /* Margin below h1 */
    text-align: center;
    padding: 50px 0;
    font-weight: 800;
    /* letter-spacing: -1px; */
    color: inherit;
    font-size: 40px; /* Adjusted for consistency with other headings */
}

h2 {
    text-align: center;
    font-size: 30px;
    margin: 0;
    font-weight: 300;
    color: #466286; /* Default link color */
    padding: 50px;
}

p {
    color: #616161;
}

.project-container{
    margin: 1em;
}
/* Navbar Styles */
.navbar {
    box-shadow: none; /* Remove shadow */
    padding: 0; /* No padding */
    margin-bottom: 0; /* No margin below */
    width: 100%; /* Full width */
    margin: 0 auto; /* Center alignment */
    position: fixed; /* Make it stick/fixed */
    top: 0; /* Stay on top */
    transition: top 0.3s; /* Transition effect when sliding down (and up) */
    z-index: 999;
}

.navbar .container-fluid {
    background-color: white;
}

.navbar-nav {
    text-align: center; /* Center-align navbar items */
    list-style: none; /* Remove default list styling */
    padding-top: 1em;
}

.navbar-nav .nav-link {
    color: #466286; /* Default link color */
    font-size: 20px;
    font-weight: 700; /* Font weight */
    text-transform: none; /* Normal case text */
    padding-left: 20px;
    padding-right: 20px; /* Padding around the link */
    margin-left: 20px; /* Add space between links */
    margin-right: 20px; /* Add space between links */
    text-decoration: none; /* No underline */
    position: relative; /* For pseudo-element positioning */
    display: inline-block; /* Inline-block for consistent layout */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    transition: color 0.5s, transform 0.3s ease, background 0.3s ease-in-out; 
    font-family: "Montserrat", sans-serif;
    background-image: linear-gradient(white 50%, var(--link-2) 50%);
    background-size: auto 175%;
}


.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background-color: #06aed5;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
    .nav-link:hover::before {
        left: 0;
        right: auto;
        width: 100%;
    }
}


.navbar-nav .nav-link:hover {
    background-position-y: 100%;
}

/* Dropdown Link Styles */
.navbar-nav .dropdown-menu .dropdown-item {
    padding: 10px 15px; /* Padding for dropdown items */
    color: #06aed5; /* Default link color */
    text-decoration: none; /* No underline */
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    color: #06aed5; /* Hover color for dropdown items */
}

/* Ensure no pseudo-element for dropdown items */
.navbar-nav .dropdown-menu .dropdown-item::after {
    display: none; /* No pseudo-element for dropdown items */
}

/* Hero Banner Styles */
#hero-banner {
    margin-top: 0;
}

#hero-banner h1{
    margin-top: 0;
    color: #df2935;
    text-align: center;
    line-height: 1.2;
    font-weight: 900;
    padding-bottom: 0px;
}
#hero-banner p{
    color: #1e1e1e;
}


@media (min-width: 768px) {
#hero-banner img {
    padding-top: 50px;
}

#hero-banner h1 {
    font-size: 60px;

}

#hero-banner p {
    color: #1e1e1e;
    font-size: 24px;
    text-align: center;
}
}


@media (max-width: 375px) {
    #hero-banner h1 {
        font-size: 40px;
        text-align: center;
    }

    #hero-banner img {
        margin: 15px auto;
    }
    #hero-banner p {
       font-size: 24px;
       text-align: center;
         color: #1e1e1e;
}
}



/* For medium phones, like iPhone XR, iPhone 12 (390px wide) */
@media (min-width: 376px) and (max-width: 430px) {
    #hero-banner h1 {
        font-size: 40px;
        text-align: center;
    }

    #hero-banner img {
        margin: 20px auto;
    }
    #hero-banner p {
        font-size: 18px;
        text-align: center;
          color: #1e1e1e;
     }
}

/* For larger phones, like iPhone 14, iPhone 15 (up to 430px wide) */
@media (min-width: 431px) and (max-width: 768px) {
    #hero-banner h1 {
        font-size: 40px;
        text-align: center;
    }

    #hero-banner img {
        margin: 25px auto;
    }
    #hero-banner p {
        font-size: 18px;
        text-align: center;
          color: #1e1e1e;
     }
}
 


/* Product Cards */

#product-cards{
    display: flex;
    flex-direction: column;
    height: 100%;
}

#product-cards .card-body {
    color: #616161;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

#product-cards .btn-primary{
    margin-top: 30px;
    width: auto;
    align-self: flex-start;
}

#product-cards .card {
    border: 0px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#product-cards .card-body label,
#product-cards .card-body h5,
#product-cards .card-body p {
    margin-bottom: auto;
}

#product-cards img {
    font-weight: 400;
    border-radius: 0px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

#product-cards .card:hover img {
    font-weight: 400;

}

#product-cards .card-body {
    color: #616161;
    padding: 30px;
}

#product-cards .card {
    border: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
/* Ensures the entire card is clickable */
.card-link {
    display: block;
    text-decoration: none; /* Remove default underline */
    color: inherit; /* Inherit text color from card */
}

.card-link .card {
    height: 100%; /* Ensure card occupies full height */
}

/* Add hover effect if needed */
.card-link .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


#product-cards .card:hover{
    transform: translateY(-10px); /* Move the card 10px upwards */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); 
/* Add a larger shadow on hover */

}
#product-cards h2 {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    color: #313131;
    font-weight: 800;
    padding-bottom: 0px;
}

#product-cards h2::after {
    content: '';
    display: block;
    width: 200px; /* Adjust width of the line */
    height: 3px; /* Adjust thickness of the line */
    margin: 5px auto 0 auto; /* Adjust margin and center the line */
}

#product-cards h5 {
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    color: #313131;
    font-weight: 700;
}

#product-cards label {
    text-transform: uppercase;
    color: #919191;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Primary Button Styles */
.btn-primary {
    background-color: white;
    border: 2px solid #df2935;
    color: #df2935;
    font-weight: 600;
    font-size: 18px;
    margin-top: 0.5em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 0px;
    text-decoration: none;
    transition: background-color 0.9s ease, color 0.9s ease, border-color 0.9s ease;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: #df2935;
    color: white;
    border-color: transparent;
}


/********PROJECT PAGES*************/

.right-section-text{
    margin: 2em;
    h2{
        font-size: 34px;
        font-weight: 800;
        margin: 0;
        padding: 5px;
    }
    h3{
        text-align: center;
        font-size: 24px;
        margin: 0;
        padding: 0;
    }
    p{
        padding: 10px;
    }
    .icons{
        i{
            color: #06aed5;
        }
        padding-left: 30px;
        padding-right: 30px;
    }
}

.left-section{
    .image-gallery{
        padding-top: 3em;
    }
    .item{
        max-width: 450px;
    }
    padding: 0;
    margin: 0;
    align-items: right;

}


/***********/

.aboutContainer h6{
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    color: #525252;
}

/********/

.poster-image {
    max-width: 80%; /* Adjust the max-width as needed (80% is just an example) */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Make sure the image behaves like a block element */
    margin: 0 auto; /* Center the image horizontally */
}

.portfolio-title{
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 14px;
   text-align: center;
}

