/* ============================================
   Kriger Construction Homepage Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --main-color: #4682b4;
    --dark-bg: #231f20;
    --light-gray: #f4f4f4;
    --medium-gray: #858585;
    --text-dark: #4a444b;
    --text-white: #ffffff;
    --text-black: #000000;
    --overlay-dark: rgba(0, 0, 0, 0.54);
    --overlay-light: rgba(35, 31, 32, 0.7);

    /* Fonts */
    --font-heading: 'rigid-square', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Bootstrap Breakpoints (for reference) */
    /* xs: 0px */
    /* sm: 576px */
    /* md: 768px */
    /* lg: 992px */
    /* xl: 1200px */
    /* xxl: 1400px */
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling and offset for fixed navbar */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Utility Classes */
.btn-primary-custom {
    background-color: var(--main-color);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 1.375rem;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #2e5a85;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 4.25rem;
    line-height: 1.2;
}

.text-underline {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.text-bold {
    font-weight: 700;
}

/* Remove default link underline */
a {
    text-decoration: none;
}

/* ============================================
   SCROLL-TRIGGERED ANIMATIONS
   ============================================ */
/* General hover-in effect */
.hover-in-effect {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease-out, transform 2s ease-out;
}

.hover-in-effect.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover-in-left: starts -100px and slides to 0 */
.hover-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 2s ease-out, transform 2s ease-out;
}

.hover-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Hover-in-right: starts +100px and slides to 0 */
.hover-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 2s ease-out, transform 2s ease-out;
}

.hover-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   NAVBAR SECTION
   ============================================ */
.navbar-custom {
    background-color: rgba(35, 31, 32, 0.3);
    backdrop-filter: blur(10px);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: 100vw;
}

.navbar-custom .container-fluid {
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-logo {
    height: auto;
    width: auto;
    padding-top: 10px;
}

.logo-divider {
    width: 3px;
    height: 3.75rem;
    background-color: rgba(255, 255, 255, 0.42);
    transform: rotate(90deg);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-kriger {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.logo-tagline {
    font-family: var(--font-body);
    color: var(--text-white);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.btn-apply-now {
    padding: 0.9375rem 2rem;
    font-size: 1.375rem;
}

.navbar-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.navbar-dropdown-toggle:hover {
    opacity: 0.8;
}

.navbar-dropdown-toggle::after {
    display: none;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.navbar-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.navbar-dropdown-menu {
    background-color: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--main-color);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
    width: 100%;
}

.navbar-dropdown-item {
    background-color: var(--main-color);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.navbar-dropdown-menu li:last-child .navbar-dropdown-item {
    margin-bottom: 0;
}

.navbar-dropdown-item:hover {
    background-color: #2e5a85;
    color: var(--text-white);
}

.navbar-border {
    height: 4px;
    background-color: var(--main-color);
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 700px;
    width: 100%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    margin-top: 40px;
}

.hero-decorative-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    margin-top: 40px;
    opacity: 0;
    transition: opacity 2.5s ease-out;
}

.hero-decorative-svg.animate {
    opacity: 1;
    transition-delay: 0s;
}

.hero-decorative-svg img {
    width: 100%;
    object-fit: cover;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 3.75rem);
    font-weight: 600;
    color: var(--text-white);
    max-width: 1107px;
    margin-bottom: 2rem;
    line-height: 1.25;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-title.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-title .text-underline {
    text-decoration-thickness: 2px;
}

.btn-hero-cta {
    padding: 1.625rem 2.5rem;
    font-size: 1.375rem;
    opacity: 0;
    filter: blur(3px);
    transition: opacity 0.8s ease-out, filter 0.8s ease-out;
}

.btn-hero-cta.animate {
    opacity: 1;
    filter: blur(0px);
    transition-delay: 0.6s;
    animation: pulseButton 1s ease-out 1.2s;
}

.btn-hero-cta:hover {
    transform: scale(1.05) !important;
}

@keyframes pulseButton {
    0% { transform: scale(1) rotate(0deg); }
    10% { transform: scale(1.05) rotate(-2deg); }
    20% { transform: scale(1.08) rotate(2deg); }
    30% { transform: scale(1.1) rotate(-1deg); }
    40% { transform: scale(1.08) rotate(1deg); }
    50% { transform: scale(1.05) rotate(-0.5deg); }
    60% { transform: scale(1.03) rotate(0.5deg); }
    70% { transform: scale(1.01) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* ============================================
   GREY LINE SECTION
   ============================================ */
   #grey-line-section {
    background-color: #231F20;
    height: 50px;
   }

/* ============================================
   BUILDING COMMUNITY SECTION
   ============================================ */

#home-building-community {
    background-image: url("../img/kriger-highway-construction.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: var(--font-heading);
}

.community-overlay {
    background-color: rgba(35, 31, 32, 0.7);
    position: relative;
}

.content-container {
    display: grid;
    padding: 150px 250px;
    column-gap: 200px;
}

.building-community {
    font-size: 46px;
    color: white;
    grid-row: 1;
    grid-column: 1;
}

.community-text {
    font-size: 22px;
    color: white;
    grid-row: 2;
    grid-column: 1;
}

.community-logo {
    width: auto;
    height: 300px;
    grid-row: 1 / span 2;
    grid-column: 2;
}

.community-decorative-line-right {
    position: absolute;
    top: 64px;
    right: 100px;
    width: 2px;
    height: 550px;
    background-color: var(--text-white);
    opacity: 0.3;
}

.community-decorative-line-middle {
    position: absolute;
    top: calc(85%);
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   RECENT PROJECTS SECTION
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.projects-section {
    position: relative;
    background-color: var(--text-white);
    border-top: 14px solid var(--main-color);
    border-bottom: 14px solid var(--main-color);
}

.projects-header {
    position: relative;
    height: 108px;
    overflow: hidden;
}

.projects-header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.projects-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #231f20;
    opacity: 0.7;
}

.projects-header .container-fluid {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.projects-title {
    color: var(--text-white);
    mix-blend-mode: difference;
    font-size: 68px;
    font-weight: 800;
    margin: 0;
    padding-left: 3.8125rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.projects-title.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.projects-content {
    background-color: var(--text-white);
    padding: 3rem 0;
    position: relative;
}

.projects-content .container-fluid {
    max-width: 1165px;
    padding: 0;
}

.projects-list {
    margin: 0 auto;
}

.projects-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 2.5rem;
    padding: 2.5rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.projects-item.animate:nth-child(1) {
    transition-delay: 0.4s;
}

.projects-item.animate:nth-child(2) {
    transition-delay: 0.6s;
}

.projects-item.animate:nth-child(3) {
    transition-delay: 0.8s;
}

.projects-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.projects-item:last-child {
    border-bottom: none;
}

.projects-item-name {
    grid-column: 1 / -1;
    grid-row: 1;
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 800;
    color: var(--text-black);
    margin: 0;
    line-height: normal;
}

.projects-item-location {
    grid-column: 1;
    grid-row: 2;
    font-family: var(--font-body);
    font-size: 30px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-black);
    margin: 0;
    line-height: normal;
}

.projects-item-divider {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 2px;
    background-color: var(--main-color);
    align-self: center;
}

.projects-item-cost {
    grid-column: 3;
    grid-row: 2;
    font-family: var(--font-body);
    font-size: 30px;
    font-weight: 500;
    color: var(--text-black);
    text-align: right;
    line-height: normal;
}

.projects-cta {
    padding: 2rem 0;
    display: none;
}

.projects-decorative-line-left {
    position: absolute;
    top: 0;
    left: 11%;
    width: 2px;
    height: 40.2%;
    background-color: rgba(0, 0, 0, 0.15);
}

.projects-decorative-line-right {
    position: absolute;
    top: 3%;
    right: 10.2%;
    width: 2px;
    height: 95.1%;
    background-color: rgba(0, 0, 0, 0.15);
}

/* ============================================
   NEWS & INSIGHTS SECTION
   ============================================ */
.news-section {
    position: relative;
    background-color: var(--dark-bg);
}

.news-header {
    position: relative;
    height: 108px;
    overflow: hidden;
}

.news-header-bg-image {
    position: absolute;
    top: -300.79%;
    left: 0;
    width: 100%;
    height: 889.32%;
    object-fit: cover;
    object-position: center;
}

.news-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    opacity: 0.7;
}

.news-header .container-fluid {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.news-title {
    color: var(--text-white);
    mix-blend-mode: difference;
    margin: 0;
    padding-left: 3.8125rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.news-title.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.news-content {
    background-color: var(--dark-bg);
    padding: 137.5px 0;
    position: relative;
}

.news-content .container-fluid {
    max-width: 1165px;
    padding: 0;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Carousel Container */
.news-carousel-container {
    position: relative;
    overflow: hidden;
    width: 1005px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.news-carousel-container.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.news-card-list {
    display: flex;
    gap: 39px;
    list-style: none;
    margin: 0;
    padding: 20px 0;
    transition: transform 0.4s ease;
}

.news-card-item {
    flex: 0 0 309px;
    width: 309px;
}

.news-card {
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: scale(1.05);
}

.news-card {
    display: block;
    text-decoration: none;
    height: 100%;
}

.news-card-image {
    position: relative;
    width: 309px;
    height: 179px;
    background-color: var(--medium-gray);
    overflow: hidden;
}

.news-card-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-vector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.news-card-vector img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    background-color: var(--text-dark);
    padding: 4px 1rem 6px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    text-align: center;
    line-height: normal;
}

.news-card-excerpt {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-white);
    line-height: normal;
    margin: 0;
    text-align: left;
}

/* Scroll Controls */
.news-scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--main-color);
    border: none;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 98px;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.news-scroll-button.animate {
    opacity: 1;
}

.news-scroll-button.prev.animate {
    transition-delay: 1.2s;
}

.news-scroll-button.next.animate {
    transition-delay: 1.4s;
}

.news-scroll-button:hover {
    background-color: #2e5a85;
}

.news-scroll-button img {
    width: 16px;
    height: 49px;
}

.news-scroll-button.prev {
    left: 0;
}

.news-scroll-button.prev img {
    transform: rotate(180deg);
}

.news-scroll-button.next {
    right: 0;
}

.news-scroll-button:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* Decorative Lines */
.news-decorative-line-middle {
    position: absolute;
    top: 62.5%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.news-decorative-line-left {
    position: absolute;
    top: 38%;
    left: 22.4%;
    width: 2px;
    height: 57%;
    background-color: rgba(255, 255, 255, 0.3);
}

.news-decorative-line-right {
    position: absolute;
    top: 38%;
    right: 31.1%;
    width: 2px;
    height: 57%;
    background-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   OUR EXPERTISE SECTION
   ============================================ */
.expertise-section {
    position: relative;
    background-color: #3b3b3b;
    padding: 26px 0 4rem 0;
}

.expertise-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.expertise-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.expertise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-dark);
}

.expertise-section-container {
    position: relative;
}

.expertise-main-title {
    color: var(--text-white);
    mix-blend-mode: difference;
    font-size: 163px;
    font-weight: 800;
    line-height: normal;
    margin: 0;
    text-align: center;
}

#expertise-container {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 0;
}

.expertise-grid-nav {
    grid-column: 1;
    grid-row: 2;
}

.expertise-grid-content {
    grid-column: 2;
    grid-row: 1 / 4;
    justify-self: start;
}

.expertise-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-right: 3.8125rem;
    position: relative;
}

.expertise-nav-item {
    background-color: white;
    color: var(--text-black);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    padding: 2rem 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    width: 255px;
    height: 122px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.expertise-nav-item:hover {
    background-color: #2e5a85;
    color: var(--text-white);
}

.expertise-nav-item:hover > span:first-child {
    opacity: 1;
}

.expertise-nav-item > span:first-child {
    opacity: 0.37;
    transition: opacity 0.3s ease;
}

.expertise-nav-item.active {
    background-color: var(--main-color);
    color: var(--text-white);
}

.expertise-nav-item.active > span:first-child {
    opacity: 1;
}

.expertise-nav-arrow-img {
    position: absolute;
    right: 0%;
    width: 25px;
    height: 25px;
    transform: rotate(-90deg);
    pointer-events: none;
    transition: top 0.3s ease;
    top: 48.5px;
}

.expertise-content-box {
    background-color: var(--text-white);
    padding: 43px 48px 51px;
    margin: 0 auto;
    min-height: 690px;
    max-width: 809px;
    display: none;
}

.expertise-content-box.active {
    display: block;
}

.expertise-description {
    font-family: var(--font-body);
    font-size: 1.375rem;
    font-weight: 300;
    color: var(--text-black);
    line-height: 1.6;
    text-align: center;
    max-width: 676px;
    margin: 0 auto 0.5rem;
}

.btn-expertise-cta {
    display: none;
    width: fit-content;
    margin: 0 auto 2rem;
    padding: 1.375rem 2rem;
}

#btn-products {
    display: block;
}

.expertise-image-container {
    width: 100%;
    max-width: 590px;
    margin: 0 auto;
    overflow: hidden;
}

.expertise-image {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    object-position: center;
}

.expertise-decorative-line-left {
    position: absolute;
    top: 0;
    left: 13%;
    width: 2px;
    height: 97%;
    background-color: rgba(255, 255, 255, 0.3);
}

.expertise-decorative-line-right {
    position: absolute;
    top: 52%;
    right: 11%;
    width: 2px;
    height: 37%;
    background-color: rgba(255, 255, 255, 0.3);
}

.expertise-decorative-line-middle {
    position: absolute;
    top: 63%;
    left: 0;
    width: 94%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Our Expertise Responsive */



/* ============================================
   OUR AFFILIATIONS SECTION
   ============================================ */
.affiliations-section {
    position: relative;
    background-color: var(--text-white);
    border-top: 14px solid var(--main-color);
}

.affiliations-header {
    position: relative;
    height: 108px;
    overflow: hidden;
}

.affiliations-header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.affiliations-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #231f20;
    opacity: 0.7;
}

.affiliations-header .container-fluid {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.affiliations-title {
    color: var(--text-white);
    mix-blend-mode: difference;
    font-size: 68px;
    font-weight: 800;
    margin: 0;
    padding-left: 3.8125rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.affiliations-title.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.affiliations-content {
    background-color: var(--text-white);
    padding: 109px 0 130px;
    position: relative;
}

.affiliations-content .container-fluid {
    max-width: 1165px;
    padding: 0;
}

.affiliations-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

.affiliations-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.affiliations-logo-item.animate:nth-child(1) {
    transition-delay: 0.4s;
}

.affiliations-logo-item.animate:nth-child(2) {
    transition-delay: 0.6s;
}

.affiliations-logo-item.animate:nth-child(3) {
    transition-delay: 0.8s;
}

.affiliations-logo-item.animate:nth-child(4) {
    transition-delay: 1s;
}

.affiliations-logo-item.animate:nth-child(5) {
    transition-delay: 1.2s;
}

.affiliations-logo-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.affiliations-logo-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.affiliations-logo-item:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

.affiliations-logo-item img {
    max-height: 206px;
}

.affiliations-decorative-line-bottom {
    position: absolute;
    bottom: 16.4%;
    left: 0;
    width: 85.6%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.2);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.final-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.final-cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.final-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-dark);
}

.final-cta-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 579px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem;
    text-align: center;
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: 2.875rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.final-cta-subtitle {
    font-family: var(--font-heading);
    font-size: 2.875rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.final-cta-text {
    font-family: var(--font-body);
    font-size: 1.375rem;
    font-weight: 300;
    color: var(--text-white);
    line-height: 1.6;
    max-width: 777px;
    margin: 0 auto 3rem;
}

.btn-final-cta {
    padding: 1.625rem 2.5rem;
    font-size: 1.375rem;
}

.btn-final-cta.animate {
    animation: pulseButton 1s ease-out 0.8s;
}

.btn-final-cta:hover {
    transform: scale(1.05) !important;
}

.final-cta-decorative-line-left {
    position: absolute;
    top: 53px;
    left: 199px;
    width: 2px;
    height: 432px;
    background-color: rgba(255, 255, 255, 0.3);
}

.final-cta-decorative-line-bottom {
    position: absolute;
    bottom: 174px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer-section {
    position: relative;
    background-color: var(--light-gray);
    padding: 48px 0 35px 0;
}

.footer-section .container-fluid {
    max-width: 90%;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto 1fr auto 95px;
    grid-template-rows: auto auto;
    row-gap: 31px;
    grid-template-areas:
        "logo         . nav    ."
        "affiliations . social .";
}

.footer-logo-container {
    grid-area: logo;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    max-width: 264px;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.7;
}

.footer-contact-info {
    margin-top: 1rem;
}

.footer-phone {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-black);
    margin: 0;
}

.footer-partner-logos {
    grid-area: affiliations;
    max-width: 410px;
    width: 100%;
    height: auto;
}

.footer-partner-logos img {
    width: 100%;
    height: auto;
}

.footer-nav {
    grid-area: nav;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.footer-nav-link {
    font-family: var(--font-body);
    font-size: 1.5625rem;
    font-weight: 300;
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--main-color);
}

.footer-social {
    grid-area: social;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-black);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: all 0.15s ease;
    padding: 8px;
}

.footer-social-link:hover {
    color: var(--main-color);
    transform: scale(1.2);
}

.footer-social-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-decorative-line-vertical {
    position: absolute;
    top: 5.13%;
    right: 8.96%;
    width: 1px;
    height: 92.3%;
    background-color: var(--main-color);
}

.footer-decorative-line-horizontal {
    position: absolute;
    bottom: 23.2%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--main-color);
}

.footer-decorative-line-top {
    position: absolute;
    top: 9.4%;
    right: 7.43%;
    width: 152px;
    height: 1px;
    background-color: var(--main-color);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */
@media (max-width: 1482px) {
    /* Building Community */
     .content-container{
        column-gap: 50px;
     }
}

@media (max-width: 1399px) {

    /* Building Community */
    .content-container {
        padding: 100px 120px;
    }

    /* Our Expertise */
    .expertise-main-title {
        font-size: 139px;
    }

    /* Our Affiliations */
    .affiliations-logo-item img {
        max-width: 250px;
    }
}

@media (max-width: 1199px) {
    /* Recent Projects */
    .projects-content .container-fluid {
        max-width: 90%;
    }

    /* News & Insights */
    .news-content .container-fluid {
        max-width: 90%;
    }

    .news-carousel-container {
        width: calc(100% - 64px);
        max-width: 1005px;
    }

    /* Building Community */
    .content-container {
        padding: 100px 100px;
    }

    /* Our Expertise */
    .expertise-main-title {
        font-size: 7rem;
    }

    /* Our Affiliations */
    .affiliations-content .container-fluid {
        max-width: 90%;
    }

    #logo-richard-mellow img {
        max-height: 159px;
    }

    #logo-diamond-city img {
        max-height: 169px;
    }

    #logo-nepa-concrete img {
        max-height: 156px;
    }

    #logo-bell-mountain img {
        max-height: 129px;
    }

    #logo-nepa-trucking img {
        max-height: 170px;
    }

    /* Footer */
    .footer-section {
        padding: 32px 0;
    }
}

@media (max-width: 991px) {
    /* Hero */
    .hero-section {
        height: 550px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .btn-hero-cta {
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
    }

    /* Building Community */
    .content-container {
        row-gap: 30px;
        padding: 80px 50px;
    }

    .community-logo {
        grid-row: 1;
        grid-column: 1;
        justify-self: center;
        height: 200px;
    }

    .building-community {
        grid-row: 2;
        grid-column: 1;
        text-align: center;
        font-size: 35px;
    }

    .community-text {
        grid-row: 3;
        grid-column: 1;
        text-align: center;
        font-size: 18px;
    }

    .community-decorative-line-right {
        display: none;
    }

    .community-decorative-line-middle {
        display: none;
    }

    /* Recent Projects */
    .projects-title {
        font-size: 3rem;
        padding-left: 2rem;
    }

    .projects-content {
        padding: 2rem 0;
    }

    .projects-item {
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .projects-item-name {
        font-size: 28px;
    }

    .projects-item-location,
    .projects-item-cost {
        font-size: 24px;
    }

    .projects-item-divider {
        min-width: 100px;
    }

    /* News & Insights */
    .news-title {
        font-size: 3rem;
        padding-left: 2rem;
    }

    .news-content {
        padding: 137.5px 1.5rem;
    }

    .news-content .container-fluid {
        max-width: 817px;
    }

    .news-carousel-container {
        width: 657px;
    }

    /* Our Expertise */
    .expertise-main-title {
        font-size: 5rem;
    }

    #expertise-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .expertise-grid-nav {
        grid-column: 1;
        grid-row: 1;
    }

    .expertise-grid-content {
        grid-column: 1;
        grid-row: 2;
    }

    .expertise-nav {
        margin-right: 0;
        margin-bottom: 2rem;
        flex-direction: row;
        justify-content: center;
    }

    .expertise-nav-item {
        font-size: 1.25rem;
        padding: 1.5rem 1rem;
        width: auto;
        flex: 1;
        max-width: 221px;
        height: 89px;
        justify-content: center;
        text-align: center;
    }

    .expertise-nav-arrow-img {
        transform: rotate(0deg);
        right: auto;
        left: 50%;
        margin-left: -12.5px;
        bottom: 0;
        top: auto;
        transition: left 0.3s ease;
    }

    .expertise-grid-content {
        justify-self: center;
    }

    .expertise-content-box {
        margin: 0 auto;
    }

    /* Our Affiliations */
    .affiliations-title {
        font-size: 3rem;
        padding-left: 2rem;
    }


    /* Final CTA */
    .final-cta-title,
    .final-cta-subtitle {
        font-size: 2.25rem;
    }

    .final-cta-text {
        font-size: 1.125rem;
    }


    /* Footer */
    .footer-grid {
        grid-template-columns: auto 1fr auto 60px;
    }

    .footer-decorative-line-vertical {
        right: 6%;
    }

    .footer-decorative-line-top {
        right: 4.47%;
    }

    /* Our Affiliations */
    .affiliations-content {
        padding: 2rem 0;
    }

    .affiliations-logos {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0;
        height: auto;
        justify-items: center;
        align-items: center;
    }

    .affiliations-logo-upper,
    .affiliations-logo-lower {
        margin-top: 0;
    }

    #logo-richard-mellow {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    #logo-diamond-city {
        grid-column: 2 / 4;
        grid-row: 2;
    }

    #logo-nepa-concrete {
        grid-column: 3 / 5;
        grid-row: 1;
    }

    #logo-bell-mountain {
        grid-column: 4 / 6;
        grid-row: 2;
    }

    #logo-nepa-trucking {
        grid-column: 5 / 7;
        grid-row: 1;
    }
}

@media (max-width: 767px) {
    /* Navigation */
    .navbar-custom .container-fluid {
        padding: 0.5rem 1rem;
    }

    .logo-container {
        gap: 1rem;
    }

    .navbar-logo {
        height: 4rem;
    }

    .logo-kriger {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.625rem;
    }

    .btn-apply-now {
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
    }

    .navbar-dropdown-toggle {
        font-size: 1rem;
    }

    .navbar-dropdown-item {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Hero */
    .hero-section {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .btn-hero-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Recent Projects */
    .projects-title {
        font-size: 2.25rem;
        padding-left: 1rem;
    }

    .projects-item {
        gap: 1rem;
    }

    .projects-item-name {
        font-size: 24px;
    }

    .projects-item-location,
    .projects-item-cost {
        font-size: 20px;
    }

    /* News & Insights */
    .news-title {
        font-size: 2.25rem;
        padding-left: 1rem;
    }

    .news-content {
        padding: 121.5px 1.5rem;
    }

    .news-content .container-fluid {
        max-width: 469px;
        padding: 0;
    }

    .news-carousel-container {
        width: 309px;
    }

    .news-card-item {
        flex: 0 0 309px;
        width: 309px;
    }

    .news-card-image {
        width: 309px;
        height: 179px;
    }

    .news-card-list {
        gap: 0;
    }

    .news-card-body {
        height: auto;
        min-height: 100px;
    }

    .news-card-title {
        font-size: 1.5rem;
    }

    .news-card-excerpt {
        font-size: 0.875rem;
    }

    /* Our Expertise */
    .expertise-section {
        padding: 2rem 0;
    }

    .expertise-section-container {
        padding-top: 2rem;
    }

    .expertise-main-title {
        font-size: 67px;
        top: 0;
    }

    .expertise-nav-item {
        font-size: 28px;
        padding: 1rem 0.75rem;
        height: auto;
    }

    .expertise-description {
        font-size: 15px;
        max-width: 451px;
    }

    .expertise-image-container {
        max-width: 430px;
    }

    .expertise-content-box {
        padding: 2rem 1.5rem;
        max-width: 590px;
        min-height: 469px;
    }

    .btn-expertise-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Our Affiliations */
    .affiliations-title {
        font-size: 2.25rem;
        padding-left: 1rem;
    }

    .affiliations-content {
        padding: 3rem 0;
    }

    /* Final CTA */
    .final-cta-content {
        min-height: 500px;
        padding: 3rem 1.5rem;
    }

    .final-cta-title,
    .final-cta-subtitle {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .final-cta-subtitle {
        margin-bottom: 2rem;
    }

    .final-cta-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-final-cta {
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
    }

    /* Footer */
    .footer-section .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;
        row-gap: 0;
        grid-template-areas:
            "logo"
            "affiliations"
            "social";
    }

    .footer-logo-container {
        margin-bottom: 2rem;
        justify-content: center;
        gap: 0;
    }

    .footer-logo {
        max-width: 120px;
    }

    .footer-phone {
        max-width: 150px;
    }

    .footer-contact-info {
        margin-top: 0;
    }

    .footer-partner-logos {
        justify-self: center;
    }

    .footer-social {
        gap: 1rem;
        justify-self: center;
    }

    .footer-decorative-line-horizontal {
        bottom: 42%;
    }

    .footer-nav {
        padding: 1rem 0;
    }

    .footer-nav-link {
        font-size: 1.25rem;
    }

    /* Our Affiliations */
    .affiliations-logo-item img {
        width: 100%;
        height: auto;
        max-height: none;
    }
}

@media(max-width: 673px) {
    /* Building Community */
    .content-container {
        row-gap: 30px;
        padding: 75px 50px;
    }
}

@media (max-width: 660px) {
    /* Final CTA */
    .final-cta-decorative-line-left {
        left: 100px;
    }

    /* Footer */
    .footer-section {
        padding: 16px 0;
    }

    .footer-logo-container {
        margin-bottom: 0;
    }

    .footer-partner-logos {
        max-width: 300px;
    }

    .footer-social-link {
        width: 50px;
        height: 50px;
    }

    .footer-decorative-line-horizontal {
        bottom: 38%;
    }
}

@media (max-width: 623px) {
    /* Hero */
    .hero-title {
        white-space: normal;
    }

    /* Building Community */
    .content-container {
        row-gap: 30px;
        padding: 70px 50px;
    }

    .community-logo {
        height: 150px;
    }

    .building-community {
        font-size: 25px;
    }

    .community-text {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    /* Navbar */
    .navbar-custom .container-fluid {
        flex-wrap: wrap;
    }

    .navbar-left {
        width: 50%;
    }

    .logo-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .navbar-logo {
        width: 100%;
    }

    .navbar-logo-divider {
        display: none;
    }

    .navbar-logo-phone {
        max-width: 100%;
        height: auto;
    }

    /* Hero */
    .hero-section {
        height: 450px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    /* Recent Projects */
    .projects-content {
        padding: 1.5rem 0;
    }

    .projects-item {
        padding: 1.5rem 0;
    }

    /* Our Expertise */
    .expertise-main-title {
        font-size: 37px;
    }

    .expertise-section-container {
        padding-top: 2rem;
    }

    .expertise-nav-item {
        font-size: 18px;
        padding: 1rem 0.5rem;
    }

    .expertise-nav-arrow-img {
        width: 18px;
        height: 18px;
    }

    /* News & Insights */
    .news-header {
        height: auto;
        padding: 1.5rem 0;
    }

    .news-title {
        line-height: 0.8;
    }

    .news-content {
        padding: 1.5rem;
    }

    .news-content .container-fluid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .news-scroll-button {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 231.75px;
        height: 40px;
    }

    .news-scroll-button img {
        width: 13px;
        height: 20px;
    }

    .news-scroll-button.prev {
        order: 1;
    }

    .news-scroll-button.next {
        order: 2;
    }

    .news-carousel-container {
        order: 0;
    }

    /* Final CTA */
    .final-cta-title,
    .final-cta-subtitle {
        font-size: 1.5rem;
    }

    /* Our Affiliations */
    .affiliations-logo-item img {
        max-width: 100px;
    }

    #logo-richard-mellow img {
        max-height: 80px;
    }

    /* Footer */
    .footer-decorative-line-vertical,
    .footer-decorative-line-horizontal,
    .footer-decorative-line-top {
        display: none;
    }
}

@media (max-width: 426px) {
    /* Navbar */
    .navbar-dropdown-toggle {
        font-size: 12px;
    }

    .navbar-dropdown-item {
        font-size: 12px;
    }

    .navbar-dropdown-menu {
        min-width: 150px;
    }

    /* Recent Projects */
    .projects-item-divider {
        display: none;
    }

    /* Final CTA */
    .final-cta-decorative-line-left {
        left: 50px;
    }
}

/* ============================================
   Contact Modal - Liquid Glass Effect
   ============================================ */

/* Custom modal backdrop with blur */
.modal-backdrop.show {
    backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Contact Modal Glass Effect */
#contactModal .modal-dialog {
    margin: 1rem auto;
    max-width: 580px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 2rem);
}

#contactModal .modal-content {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

/* Glass shimmer effect */
#contactModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    animation: shimmer 8s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

#contactModal .modal-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

#contactModal .modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#contactModal .btn-close {
    color: var(--text-white);
    opacity: 0.8;
    filter: invert(1);
    transition: opacity 0.3s ease;
}

#contactModal .btn-close:hover {
    opacity: 1;
}

#contactModal .modal-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Glass form styling */
#contactModal .form-label {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

#contactModal .form-control,
#contactModal .form-control:focus {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.2),
        0 2px 10px rgba(255, 255, 255, 0.1);
}

#contactModal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#contactModal .form-control:focus {
    border-color: rgba(70, 130, 180, 0.5);
    box-shadow: 
        0 0 0 0.2rem rgba(70, 130, 180, 0.25),
        inset 0 2px 10px rgba(0, 0, 0, 0.2),
        0 4px 20px rgba(70, 130, 180, 0.2);
    background: rgba(0, 0, 0, 0.4);
    outline: 0;
}

#contactModal textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Glass buttons */
#contactModal .modal-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#contactModal .btn-secondary {
    background: rgba(108, 117, 125, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

#contactModal .btn-secondary:hover {
    background: rgba(108, 117, 125, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#contactModal .btn-primary {
    background: linear-gradient(135deg, var(--main-color) 0%, #2e5a85 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    font-weight: 700;
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#contactModal .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#contactModal .btn-primary:hover {
    background: linear-gradient(135deg, #2e5a85 0%, var(--main-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(70, 130, 180, 0.4);
}

#contactModal .btn-primary:hover::before {
    left: 100%;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #contactModal .modal-dialog {
        margin: 0.5rem auto;
        max-width: 350px;
        width: 95%;
    }
    
    #contactModal .modal-body {
        padding: 1rem;
    }
    
    #contactModal .modal-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    #contactModal .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    #contactModal .form-control {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    #contactModal .modal-footer {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #contactModal .btn-secondary,
    #contactModal .btn-primary {
        width: 100%;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   Sending Modal - Glass Effect
   ============================================ */

#sendingModal .modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#sendingModal .modal-body {
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#sendingModal .spinner-border {
    color: var(--main-color) !important;
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

#sendingModal .modal-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* ============================================
   Success Modal - Glass Effect
   ============================================ */

#successModal .modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#successModal .modal-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

#successModal .modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

#successModal .modal-body {
    color: var(--text-white);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    padding: 2rem;
}

#successModal .modal-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

#successModal .btn-close {
    color: var(--text-white);
    opacity: 0.8;
    filter: invert(1);
    transition: opacity 0.3s ease;
}

#successModal .btn-close:hover {
    opacity: 1;
}

#successModal .btn-primary {
    background: linear-gradient(135deg, var(--main-color) 0%, #2e5a85 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    font-weight: 700;
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#successModal .btn-primary:hover {
    background: linear-gradient(135deg, #2e5a85 0%, var(--main-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
}
/* ============================================
   Products Modal - Clean White Background
   ============================================ */

#productsModal .modal-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#productsModal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

#productsModal .modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-black);
    text-transform: uppercase;
    letter-spacing: 2px;
}

#productsModal .btn-close {
    color: var(--text-black);
    opacity: 0.8;
}

#productsModal .btn-close:hover {
    opacity: 1;
}

#productsModal .modal-body {
    padding: 1.5rem;
    background: #ffffff;
    max-height: 70vh;
    overflow-y: auto;
}

.products-columns {
    display: flex;
    gap: 2rem;
}

.products-column {
    flex: 1;
}

.products-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.products-list {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 0;
    font-family: var(--font-body);
    color: var(--text-black);
}

.products-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.products-availability-note {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-black);
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.products-availability-note a {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
}

.products-availability-note a:hover {
    text-decoration: underline;
}

#productsModal .modal-footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
}

#productsModal .btn-primary {
    background: linear-gradient(135deg, var(--main-color) 0%, #2e5a85 100%);
    border: none;
    color: var(--text-white);
    border-radius: 10px;
    font-weight: 700;
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#productsModal .btn-primary:hover {
    background: linear-gradient(135deg, #2e5a85 0%, var(--main-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #productsModal .modal-dialog {
        margin: 0.5rem auto;
        max-width: 350px;
        width: 95%;
    }

    #productsModal .modal-body {
        padding: 1rem;
        max-height: 60vh;
    }

    .products-columns {
        flex-direction: column;
        gap: 1rem;
    }

    #productsModal .modal-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .products-section-title {
        font-size: 1rem;
    }
    
    .products-list li {
        font-size: 0.9rem;
    }
    
    .products-availability-note {
        font-size: 0.85rem;
    }
}
