@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&family=Exo+2:wght@400;500;600&display=swap');

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

html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

body {
    font-family: 'Exo 2', sans-serif;
    color: #1B1B2F;
    background-color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #1B1B2F !important;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    height: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#main-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

#main-header.header-visible {
    transform: translateY(0);
    opacity: 1;
}

#landing {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(27, 27, 47, 0.8), rgba(27, 27, 47, 0.8)),
                url('../images/hero-images/industrial-facility-hero.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.landing-elements-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    position: relative;
    text-align: center;
}

/* Add media queries for landing section on small screens */
@media (max-width: 768px) {
    #landing {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: 100vh;
        height: auto;
        justify-content: flex-start;
        text-align: center;
    }
    
    .landing-elements-container {
        width: 100%;
        padding: 0 15px;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }
    
    .landing-content {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .landing-logo {
        max-width: 90%;
        margin: 0 auto 20px;
        display: block;
    }
    
    .partner-logos-hero {
        width: 100%;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .partner-logos-container-hero {
        width: 100%;
        gap: 2rem;
        padding: 0;
    }
    
    .resimac-row {
        width: 100%;
        margin: 1rem 0;
    }
    
    .partners-row {
        width: 100%;
        gap: 2rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #landing {
        padding-top: 20px;
        padding-bottom: 50px;
        min-height: 100vh;
        height: auto;
        justify-content: flex-start;
        text-align: center;
    }
    
    .landing-elements-container {
        width: 100%;
        padding: 0 10px;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }
    
    .landing-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .landing-logo {
        max-width: 85%;
        margin: 0 auto 10px;
    }
    
    .partner-logos-hero {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .partner-logos-container-hero {
        width: 100%;
        gap: 1rem;
        padding: 0;
    }
    
    .resimac-row {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .partners-row {
        width: 100%;
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
}

.landing-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.landing-logo {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

/* Add media queries for landing logo size on small screens */
@media (max-width: 768px) {
    .landing-logo {
        width: 90%; /* Slightly reduce size on tablets */
        margin-bottom: 20px; /* Add some space below the logo */
    }
}

@media (max-width: 480px) {
    .landing-logo {
        width: 80%; /* Further reduce size on mobile phones */
        margin-bottom: 30px; /* Add more space below the logo */
    }
}

#main-content {
    padding-top: 60px;
    flex: 1;
    transition: opacity 0.5s ease;
}

.search-page #main-content {
    padding-top: 0;
}

.search-header {
    width: 100%;
    background: linear-gradient(180deg, #1B1B2F 0%, #002B3C 100%);
    padding: 20px 0;
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .search-header {
        padding: 20px 15px;
        margin-top: 0;
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 10000;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #1B1B2F;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 0;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
    }
}

.services-intro {
    padding-top: 60px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 0 20px;
}

.full-width-section {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.full-width-section .content-heading {
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
    color: #4984a7;
}

.full-width-section .content-description {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.text-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    padding-top: 60px;
}

.services-page .text-column {
    padding-top: 60px;
}

.content-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 15px;
    color: #4984a7;
    text-align: center;
}

.content-description {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    letter-spacing: normal;
    margin-bottom: 30px;
}

.content-description p {
    margin: 0;
    width: 100%;
    letter-spacing: normal;
}

.image-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.image-container {
    position: relative;
    background-color: #1B1B2F;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

.image-container:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

.caption-wrapper {
    position: relative;
    padding: 20px;
    background: #1B1B2F;
    color: #fff;
}

.caption {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

#main-footer {
    background-color: #1B1B2F;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-logo {
    width: 60px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.opticorr-logo {
    width: 120px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover,
.opticorr-logo:hover {
    opacity: 1;
}

.services-page #main-content {
    padding-top: 60px;
}

.single-column {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.services-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.services-description p {
    margin-bottom: 24px;
}

.services-description p:last-child {
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
    width: 100%;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card-content {
    padding: 20px;
    color: #FFFFFF;
    background: #1B1B2F;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
    color: #4984a7;
}

.service-card-content p {
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #1B1B2F;
        flex-direction: column;
        padding: 20px 0;
        opacity: 0;
        transform: translateY(-10px);
    }

    .nav.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        padding: 10px 20px;
    }

    .content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .text-column,
    .image-column {
        padding: 15px 0;
    }

    .service-image {
        height: 250px;
    }

    .logo {
        width: 120px;
    }

    .landing-content {
        width: 80vw;
        padding-top: 0;
        margin-top: 0;
    }

    .image-container {
        max-width: 100%;
    }

    .map-container {
        height: 300px;
        margin-bottom: 30px;
    }

    .services-page #main-content {
        padding-top: 100px;
    }
    
    .services-content {
        padding: 0;
    }
    
    .content-heading {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }

    .footer-logo {
        width: 50px;
    }
    .opticorr-logo {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .landing-content {
        width: 85vw;
        margin-top: 0;
    }
}

.custom-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.custom-marker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
    width: 100%;
    display: block;
    letter-spacing: normal;
}

.services-section {
    padding-top: 60px;
}

.capabilities-section {
    margin-top: 40px;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.text-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: 20px 0;
    width: 100%;
}

@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }
    
    .full-width-section {
        margin-bottom: 40px;
    }
    
    .content-heading {
        font-size: 28px;
    }
}

/* Ensure consistent spacing in all sections */
.full-width-section .content-description {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: normal;
}

.full-width-section .content-description p {
    margin: 0;
    width: 100%;
    letter-spacing: normal;
}

/* Standardize paragraph margins */
.content-description p + p,
.full-width-section .content-description p + p {
    margin-top: 15px;
}

.cta-button {
    display: inline-block;
    background-color: #333333;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}

.cta-button:hover {
    background-color: #4a4a4a;
}

@media (max-width: 768px) {
    .full-width-section {
        margin-bottom: 40px;
    }
    
    .full-width-section .content-description {
        gap: 20px;
    }
}

.full-width-section .text-justify {
    text-align: justify;
    width: 100%;
}

.center-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#corrosion .three-column-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .three-column-grid,
    .four-column-grid,
    .five-column-grid,
    #corrosion .three-column-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
        margin: 15px auto;
    }

    .column-card {
        width: 100%;
    }

    .column-image {
        height: 200px;
    }

    .column-content {
        padding: 15px;
    }

    .learn-more-btn {
        margin: 0 -15px -15px -15px;
        width: calc(100% + 30px);
        padding: 12px 20px;
        border-radius: 0 0 8px 8px;
    }

    .logo-container {
        height: 200px;
    }
}

.column-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
}

.column-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.column-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
}

.column-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: #4984a7;
}

.column-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
    flex-grow: 1;
}

.learn-more-btn {
    display: block;
    padding: 15px 30px;
    background-color: #4984a7;
    color: white;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: background-color 0.3s ease;
    text-align: center;
    margin: auto -20px -20px -20px;
    width: calc(100% + 40px);
    font-family: 'Exo 2', sans-serif;
    position: relative;
    bottom: 0;
}

.learn-more-btn:hover {
    background-color: #3a6d8a;
}

.column-card .logo-container {
    background-color: #1B1B2F;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.column-card .logo-container .column-image {
    width: 80%;
    height: auto;
    object-fit: contain;
    padding: 20px;
}

.center-section.featured {
    background: linear-gradient(135deg, #1B1B2F 0%, #4984a7 100%);
    padding: 4rem 2rem;
    margin: -40px auto 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    isolation: isolate;
}

.glow-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.glow-edge {
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-radius: 14px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glow-blur {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(73, 132, 167, 0.8) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.center-section.featured:hover .glow-blur {
    opacity: 1;
}

.center-section.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path-to-your-texture.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.center-section.featured .content-heading {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 25px;
    position: relative;
}

.center-section.featured .content-description {
    color: #ffffff;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    opacity: 0.9;
}

/* Regular center section styling (for the secondary content) */
.center-section:not(.featured) {
    max-width: 800px;
    margin: 40px auto;
    padding: 2rem;
}

.center-section:not(.featured) .content-heading {
    font-size: 32px;
    color: #4984a7;
}

.center-section:not(.featured) .content-description {
    font-size: 16px;
    color: #333;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .center-section.featured {
        margin: 0 20px 40px;
        padding: 2rem 1.5rem;
    }
    
    .center-section.featured .content-heading {
        font-size: 32px;
    }
    
    .center-section.featured .content-description {
        font-size: 16px;
    }
}

.page-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sidebar {
    width: 250px;
    background-color: #1B1B2F;
    position: fixed;
    height: 100vh;
    top: 60px;
    left: 0;
    padding-top: 40px;
    z-index: 900;
    transform: translateX(-250px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.sidebar.visible {
    opacity: 1;
    visibility: visible;
}

.sidebar:not(.collapsed) {
    transform: translateX(0);
}

.main-content-with-sidebar {
    width: 100%;
    margin-left: 0;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.main-content-with-sidebar.with-sidebar {
    width: calc(100% - 250px);
    margin-left: 250px;
}

.sidebar-toggle {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    background: #1B1B2F;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    color: #fff;
    box-shadow: 2px 0 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    margin-left: 0;
    width: 30px;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 900;
}

.sidebar-toggle.visible {
    opacity: 1;
    visibility: visible;
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
    margin: 0;
}

.sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

.sidebar.collapsed {
    transform: translateX(-250px);
}

.main-content-with-sidebar {
    width: calc(100% - 250px);
    margin-left: 250px;
    transition: all 0.3s ease;
}

.main-content-with-sidebar.with-sidebar {
    margin-left: 250px;
}

.sidebar.collapsed + .main-content-with-sidebar {
    width: 100%;
    margin-left: 0;
}

@media (max-width: 768px) {
    .main-content-with-sidebar {
        width: 100%;
        margin-left: 0;
    }
    
    .three-column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .center-section {
        margin-bottom: 40px;
    }
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 0;
    padding: 0;
}

.sidebar-nav a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: rgba(73, 132, 167, 0.1);
    color: #4984a7;
    border-left-color: #4984a7;
}

.corrosion-links {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Remove old card styles */
.card__link,
.card__image-section,
.card__image,
.card__content-wrap,
.card__title,
.card__content,
.card__arrow {
    /* Remove these styles as they're no longer needed */
    display: none;
}

.corrosion-links {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .card__image-section {
        height: 200px;
    }
    
    .card__content-wrap {
        padding: 20px;
    }
    
    .card__title {
        font-size: 20px;
    }
}

/* Remove old service card styles */
.services-grid,
.service-card,
.service-card-image,
.service-card-content {
    /* Remove these styles as they're no longer needed */
    display: none;
}

.section {
    scroll-margin-top: 10px;
    padding: 15px 0;
    width: 100%;
    margin-bottom: 30px;
}

#main-content {
    padding-top: 60px;
}

#abrasion.section {
    scroll-margin-top: 60px;
    padding-top: 0;
    margin-top: 0;
}

#abrasion .center-section {
    margin-top: 0;
    margin-bottom: 30px;
}

#abrasion .content-heading {
    margin-bottom: 15px;
}

#abrasion .content-description {
    margin-bottom: 30px;
}

#abrasion .three-column-grid {
    margin-top: 0;
    gap: 30px;
}

#intro.section {
    scroll-margin-top: 120px;
    padding-top: 90px;
    display: flex;
    align-items: center;
}

#intro .center-section.featured {
    background: linear-gradient(135deg, #1B1B2F 0%, #4984a7 100%);
    padding: 4rem 2rem;
    margin: -40px auto 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    isolation: isolate;
    width: 100%;
}

#intro .content-heading {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 25px;
    position: relative;
    line-height: 1.2;
}

#intro .content-description {
    color: #ffffff;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    opacity: 0.9;
    line-height: 1.6;
}

/* Image Card Styles */
.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px;
    margin-bottom: 30px;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.image-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.image-card .card-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.image-card .card-description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.image-card .learn-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #4984a7;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.image-card .learn-more:hover {
    background-color: #3a6d8a;
}

.section {
    margin-bottom: 60px;
}

.center-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.center-section.featured {
    text-align: center;
    padding-top: 60px;
    margin-bottom: 30px;
}

.center-section .content-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 15px;
    color: #4984a7;
}

.center-section .content-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 auto;
    max-width: 100%;
}

.center-section.featured .content-description {
    max-width: 800px;
    margin: 0 auto;
}

/* Parts Repair Page Styles */
.parts-repair-page #main-content {
    padding-top: 60px;
}

.hero-section {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(27, 27, 47, 0.7), rgba(27, 27, 47, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

.content-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.pattern-column {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.radial-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1B1B2F;
    overflow: hidden;
    border-radius: 12px;
}

.radial-pattern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(73, 132, 167, 0.1) 0px,
        rgba(73, 132, 167, 0.1) 1px,
        transparent 1px,
        transparent 10px
    );
    transform: translate(-50%, -50%) rotate(-15deg);
}

.content-column {
    padding: 20px 0;
}

.content-wrapper {
    max-width: 600px;
}

.main-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.case-studies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.case-study-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.case-study-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.case-study-item i {
    color: #4984a7;
    font-size: 20px;
}

.case-study-item span {
    font-size: 15px;
    color: #333;
}

.case-study-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.case-study-item a:hover {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pattern-column {
        min-height: 300px;
    }

    .hero-section {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

/* RESIMAC 100 Series Page Styles */
.specifications-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #4984a7;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4984a7;
}

.carousel-column {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.carousel-prev,
.carousel-next {
    background: rgba(27, 27, 47, 0.8);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(73, 132, 167, 0.8);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background: #4984a7;
}

.technical-documents {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.document-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.document-item i {
    color: #4984a7;
    font-size: 20px;
}

.document-item span {
    font-size: 15px;
    color: #333;
}

.document-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.document-item a:hover {
    text-decoration: none;
    color: inherit;
}

.main-description ul {
    list-style-type: none;
    padding-left: 20px;
    margin: 20px 0;
}

.main-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.main-description li:before {
    content: "•";
    color: #4984a7;
    position: absolute;
    left: 0;
    top: 0;
}

.document-item.unavailable {
    opacity: 0.7;
    cursor: not-allowed;
    background: #f1f1f1;
}

.document-item.unavailable i {
    color: #999;
}

.document-item.unavailable span {
    color: #666;
    font-style: italic;
}

.four-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .four-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .four-column-grid {
        grid-template-columns: 1fr;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    width: 150px;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #FFFFFF;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.nav-link:hover,
.nav-link.active {
    color: #4984a7;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.hamburger i.fa-times {
    display: none;
}

.footer-container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    padding: 15px 0;
    background: #f8f9fa;
    margin: -30px 0 30px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.breadcrumb-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

#breadcrumb li {
    display: flex;
    align-items: center;
    color: #495057;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    opacity: 1;
    visibility: visible;
}

#breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 12px;
    color: #adb5bd;
    font-size: 16px;
}

#breadcrumb li a {
    color: #4984a7;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    gap: 8px;
}

#breadcrumb li a:hover {
    color: #002B3C;
}

#breadcrumb li:first-child a i {
    font-size: 14px;
}

#breadcrumb li:last-child {
    color: #6c757d;
    font-weight: 500;
}

@media (max-width: 768px) {
    #breadcrumb {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    #breadcrumb li:not(:last-child)::after {
        margin: 0 10px;
    }
    
    #breadcrumb li:first-child a i {
        font-size: 13px;
    }
}

.five-column-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .five-column-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .five-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .five-column-grid {
        grid-template-columns: 1fr;
    }
}

/* Adjust card sizes for five-column layout */
.five-column-grid .column-card {
    min-height: 400px;
}

.five-column-grid .column-card .column-image {
    height: 180px;
}

.five-column-grid .column-card .column-content {
    padding: 1.25rem;
}

.five-column-grid .column-card .column-heading {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.five-column-grid .column-card .column-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.five-column-grid .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: #f8f9fa;
}

.five-column-grid .logo-container img {
    max-width: 80%;
    height: auto;
}

/* Error Page Styles */
.error-page {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.error-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-content {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.error-content h1 {
    font-size: 72px;
    color: #4984a7;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.error-content h2 {
    font-size: 24px;
    color: #002B3C;
    margin: 1rem 0;
    font-family: 'Space Grotesk', sans-serif;
}

.error-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 16px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.error-actions .primary-btn,
.error-actions .secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-actions .primary-btn {
    background: #4984a7;
    color: white;
    border-radius: 6px;
}

.error-actions .primary-btn:hover {
    background: #3a6d8a;
    transform: translateY(-2px);
}

.error-actions .secondary-btn {
    background: #f0f0f0;
    color: #333;
    border-radius: 6px;
}

.error-actions .secondary-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-content {
        padding: 2rem;
    }

    .error-content h1 {
        font-size: 56px;
    }

    .error-content h2 {
        font-size: 20px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .primary-btn,
    .error-actions .secondary-btn {
        width: 100%;
        justify-content: center;
    }
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 2rem 3rem;
    gap: 2rem;
}

.main-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.footer-logo,
.aus-made-logo {
    height: 35px;
    width: auto;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.partner-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.partner-heading {
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-logos {
    background: rgba(27, 27, 47, 0.6);
    border-radius: 8px;
    padding: 1.5rem;
}

.partner-logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    flex: 0 1 auto;
    min-width: 120px;
    max-width: 180px;
}

.partner-logo {
    height: auto;
    width: 100%;
    max-height: 35px;
    max-width: 150px;
    opacity: 0.85;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.partner-logo-link:hover .partner-logo {
    opacity: 1;
}

@media (max-width: 768px) {
    .partner-logos {
        padding: 1.25rem;
    }
    
    .partner-logos-container {
        gap: 2rem;
    }
    
    .partner-logo-link {
        min-width: 100px;
        max-width: 140px;
    }
    
    .partner-logo {
        max-height: 25px;
    }

    .partner-heading {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .partner-logos {
        padding: 1rem;
    }

    .partner-logos-container {
        gap: 1.5rem;
    }

    .partner-logo-link {
        min-width: 80px;
        max-width: 120px;
    }
    
    .partner-logo {
        max-height: 20px;
    }
}

@media (max-width: 768px) {
    .section {
        margin-bottom: 15px;
        padding: 10px 0;
    }

    #intro.section {
        padding-top: 20px;
        scroll-margin-top: 60px;
    }

    .center-section {
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .content-description {
        margin-bottom: 15px;
    }

    .three-column-grid {
        margin: 10px auto;
    }
}

.search-page {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    background: #FFFFFF;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.search-content {
    position: relative;
    z-index: 3;
    padding: 40px 20px;
    background: #FFFFFF;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.search-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}

.search-welcome {
    text-align: center;
    color: #FFFFFF;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeUpIn 0.5s ease-out;
}

.search-welcome h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.search-welcome p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.trending-searches {
    margin-top: 40px;
    text-align: center;
}

.trending-searches h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    color: #4984a7;
    margin-bottom: 20px;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
}

.search-suggestion {
    background: rgba(73, 132, 167, 0.1);
    color: #4984a7;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(73, 132, 167, 0.2);
    cursor: pointer;
}

.search-suggestion:hover {
    background: rgba(73, 132, 167, 0.2);
    transform: translateY(-2px);
    color: #002B3C;
    border-color: rgba(73, 132, 167, 0.3);
}

.search-results {
    position: relative;
    z-index: 4;
    background: transparent;
    width: 100%;
    margin: 0 auto;
}

.results-count {
    color: #FFFFFF;
    margin: 20px 0;
    text-align: center;
}

.did-you-mean {
    width: 100%;
    margin: 20px 0;
    padding: 20px;
    background: rgba(73, 132, 167, 0.05);
    border-radius: 8px;
    box-sizing: border-box;
}

.popular-searches {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.popular-searches h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    color: #4984a7;
    margin-bottom: 20px;
}

.view-all-services {
    width: 100%;
    margin: 30px 0 0;
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    text-align: center;
}

@media (max-width: 768px) {
    .search-page {
        padding-top: 0;
    }
    
    .search-header {
        margin-top: 60px;
        padding: 20px 15px;
    }

    .search-content {
        padding: 20px 15px;
    }
}

.menu__box {
    position: fixed;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: #1B1B2F;
    box-shadow: 1px 0 6px rgba(0, 0, 0, .2);
    transition-duration: .25s;
}

.related-searches {
    margin: 40px auto;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    max-width: 800px;
}

.related-searches h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    color: #4984a7;
    margin-bottom: 20px;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
}

.search-suggestion {
    background: rgba(73, 132, 167, 0.1);
    color: #4984a7;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(73, 132, 167, 0.2);
    cursor: pointer;
}

.search-suggestion:hover {
    background: rgba(73, 132, 167, 0.2);
    transform: translateY(-2px);
    color: #002B3C;
    border-color: rgba(73, 132, 167, 0.3);
}

.welcome-message {
    text-align: center;
    color: #1B1B2F;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-message h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    margin-bottom: 15px;
    color: #002B3C;
}

.welcome-message p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #1B1B2F;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Down Arrow Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.9;
    }
}

/* Partner logos in hero section */
.partner-logos-hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.partner-logos-container-hero {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.resimac-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.partners-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    margin: 0 auto;
}

.partner-logo-hero {
    height: auto;
    width: auto;
    max-height: 35px;
    max-width: 150px;
    opacity: 0.85;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .partners-row {
        gap: 2.5rem;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .partner-logo-hero {
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .partners-row {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .partner-logo-hero {
        max-width: 140px;
        max-height: 40px;
        margin: 0 auto;
        display: block;
    }
}