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

body,
html {
    cursor: none;
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    /* Smooth scroll between sections */
    background-color: #f4f4f4;
}

/* Hide default cursor on interactive elements */
a,
button,
.interactive {
    cursor: none;
}

/* Custom Cursor Styles */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    /* Half of width */
    margin-top: -5px;
    /* Half of height */
    pointer-events: none;
    border-radius: 50%;
    background-color: rgb(0, 0, 0);
    opacity: 0;
    transform: translate(0, 0) scale(1);
    /* Initial transform */
    transition: opacity 250ms ease-in-out;
    z-index: 1000;
}

/* When the cursor is initialized */
.custom-cursor.custom-cursor--init {
    opacity: 1;
}

/* Dots Container Styles */
.dots-container {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0; /* Start hidden */
}

/* Individual Dot Styles */
.dot {
    width: 7px;
    height: 7px;
    background-color: black;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border 0.3s ease;
    opacity: 0;
}

/* Active state with a black outline */
.dot.active {
    border-color: black;
    transform: scale(1.5);
}

/* Remove duplicate @keyframes */
@keyframes bounce-dot {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Remove fade-in-dots keyframes if not used */

/* Media Query to Hide Dots on Small Screens */
@media (max-width: 430px) {
    .dots-container {
        display: none;
    }
}

/* Logo Container */
.logo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Adjust based on your logo size */
    background-color: #f4f4f4;
    z-index: 100;
    overflow: hidden;
    /* Ensure content doesn't overflow */
}

/* Logo */
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    /* Place it above the text */
    opacity: 1;
    transition: opacity 0.5s ease;
    /* Smooth fade-out */
}

/* Logo Text */
.logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    /* Adjusted for better readability */
    font-weight: 300;
    font-family: 'Raleway', sans-serif;
    /* Changed font to Raleway */
    color: #222;
    letter-spacing: 0.3em;
    /* Increased letter spacing */
    z-index: 1;
    /* Place it behind the logo initially */
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.5s ease;
    /* Smooth fade-in */
}

/* When Scrolled - Fade out logo, fade in text */
.logo-container.scrolled .logo {
    opacity: 0;
    /* Logo fades out */
}

.logo-container.scrolled .logo-text {
    opacity: 1;
    /* Text fades in */
}

@keyframes fade-in-logo-container {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.logo {
    position: relative;
    /* Important for layering M and V */
    display: inline-block;
    margin-bottom: 10px;
    /* Same as before */
}

/* First layer: M.png - fades in after 3 seconds */
.logo-m {
    width: 60px;
    /* Adjust the size here */
    height: auto;
    position: relative;
    /* Position in normal flow */
    opacity: 0;
    /* Start fully hidden */
    animation: fade-in-logo 1.5s forwards ease-out 3.5s;
    /* Fade in after 3 seconds */
}

/* Second layer: V.png - typewriter effect revealing from left to right */
.logo-v {
    width: 60px;
    /* Same size as M.png */
    height: auto;
    position: absolute;
    /* Layer V on top of M */
    top: 7px;
    /* Adjust this value to fine-tune the position */
    left: 0;
    /* Start at the same position as M */
    opacity: 0;
    /* Start fully hidden */
    clip-path: inset(0 100% 0 0);
    /* Initially hide the entire V by clipping it */
    animation: typewriter-effect 1.5s forwards ease-out 4s;
    /* Typewriter effect starts after M fades in */
}

/* Keyframes for sliding in V.png */
@keyframes typewriter-effect {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 0);
        /* V is fully revealed */
        opacity: 1;
        /* Fully visible at the end */
    }
}

/* Fade-in for M.png */
@keyframes fade-in-logo {
    0% {
        opacity: 0;
        /* Start fully hidden */
    }

    100% {
        opacity: 1;
        /* Fully visible at the end */
    }
}

/* Scroll Snapping */
section {
    width: 100%;
    scroll-snap-align: start;
    /* Ensure sections snap into place */
    scroll-snap-stop: always;
    /* Ensures the scroll stops at each section */
}

.container {
    scroll-snap-type: y mandatory;
    /* Enable snap scrolling in the Y direction */
    overflow-y: scroll;
    /* Allow vertical scrolling */
    height: 100vh;
    /* Full height to cover the viewport */
}

/* Landing Section */
.landing {
    background-color: #f4f4f4;
    height: 100vh;
    /* Ensures the landing section occupies the full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers vertically */
    align-items: center;
    position: relative;
    overflow-x: hidden;
    /* Prevent horizontal overflow */
}

/* Title and Motto delayed animations */
.title {
    font-family: 'Raleway', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    color: #222;
    letter-spacing: 0.3em;
    /* Adjust this value to increase/decrease spacing */
    opacity: 0;
    animation: fade-in-title 3s forwards ease-out 2s;
    /* Simple fade-in with a slight delay */
    z-index: 10;
    margin-bottom: 40px;
    /* Adjust the space below the title */
    max-width: 100%;
    /* Prevents the title from exceeding viewport width */
    overflow-wrap: break-word;
    /* Breaks long words to prevent overflow */
    text-align: center;
    /* Centers the text */
}

.motto {
    font-size: 1.5rem;
    font-weight: 300;
    color: #555;
    position: relative;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 10px;
    z-index: 1;
    animation: fade-in-motto 3s forwards ease-out 4s;
    max-width: 100%;
    overflow-wrap: break-word;
    text-align: center;
    /* Potential fix: overflow: hidden; */
}

/* Hide the custom cursor on screens smaller than 768px */
@media (max-width: 430px) {
    

    /* Hide the custom cursor element */
    .custom-cursor {
        display: none;
    }
}
/* Keyframe for simple fade-in effect */
@keyframes fade-in-title {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in-motto {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.motto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #f4f4f4;
    animation: reveal 2s forwards ease-out;
    animation-delay: 4s; /* Same delay as motto fade-in */
    z-index: 1;
    /* Potential fix: transform-origin: left; */
}

@keyframes reveal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}



/* Who Are We button styles */
.who-are-we {
    /* No margin-top needed, adjust space via motto */
}

/* Who Are We button styles */
.who-are-we {
    margin-top: 40px;
    /* Adds space between the motto and the button */
    text-align: center;
    /* Centers the button */
}

/* "Who We Are" Button Styles */
.who-we-are-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    opacity: 0; /* Start hidden */
    animation: fade-in-button 1.5s forwards ease-out;
    animation-delay: 6s; /* Adjust delay as needed */
    cursor: pointer;
    gap: 5px; /* Space between text and arrow */
}

.who-we-are-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #222;
    transition: font-size 0.3s ease; /* Smooth transition for font size */
}

.who-we-are-btn:hover .who-we-are-text {
    font-size: 1rem;
    /* Other hover styles */
}

.arrow-down {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* No animation by default */
}

.who-we-are-btn:hover .arrow-down {
    animation: bounce-arrow 1.5s infinite;
}

a,
button,
.interactive {
    cursor: none !important;
}


/* Bouncing arrow keyframes */
@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(1rem);
    }
}

/* Fade-in animation for the button */
@keyframes fade-in-button {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Fade-in animation for the button */
@keyframes fade-in-button {
    0% {
        opacity: 0;
        /* Start fully hidden */
    }

    100% {
        opacity: 1;
        /* Fully visible */
    }
}

/* Arrow that appears on hover */
.who-we-are-btn::after {
    content: '';
    position: absolute;
    right: -30px;
    /* Position it to the right of the text */
    top: 50%;
    transform: translateY(-50%);
    /* Center vertically */
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid black;
    /* Minimal black arrow */
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover effect for the text and arrow */
.who-we-are-btn:hover {
    opacity: 6;
    /* Lower opacity for the text on hover */
}

.who-we-are-btn:hover::after {
    opacity: 7;
    /* Arrow appears */
    transform: translateY(-50%) translateX(-5px);
    /* Slight movement into place */
}

/* Media query for mobile devices (max-width: 430px) */
@media (max-width: 430px) {
    .title {
        font-size: 3rem;
        /* Adjusted font size for mobile */
        letter-spacing: 0.1em;
        /* Reduce letter spacing for better readability */
        margin-bottom: 20px;
        /* Adjust spacing */
    }

    .motto {
        font-size: 1.2rem;
        /* Adjusted font size for mobile */
        margin-bottom: 20px;
        /* Adjust spacing */
        margin-top: 55px;
    }

    /* Media query for mobile devices (max-width: 430px) */
@media (max-width: 430px) {
    .who-we-are-text {
        font-size: 0.8rem; /* Adjust font size for mobile */
    }

    .who-we-are-btn:hover .who-we-are-text {
        font-size: 0.9rem; /* Slightly smaller enlargement on hover */
    }

    .arrow-down {
        width: 20px;
        height: 20px;
    }

    .who-we-are-btn:hover .arrow-down {
        /* Adjust animation if needed */
    }
}

    /* Adjust margins and paddings if necessary */
    .landing {
        padding: 20px;
        /* Add padding to the landing section */
    }
}

/* Media query for very small devices (max-width: 350px) */
@media (max-width: 390px) {
    .title {
        font-size: 1rem; /* Further reduce font size */
        letter-spacing: 0.05em; /* Reduce letter spacing more */
        margin-bottom: 15px; /* Adjust spacing */
    }

    .motto {
        font-size: 1rem; /* Adjust font size */
        margin-top: 45px;
        margin-bottom: 15px; /* Adjust spacing */
    }

    .who-we-are-text {
        font-size: 0.7rem; /* Further reduce font size */
    }

    .who-we-are-btn:hover .who-we-are-text {
        font-size: 0.8rem; /* Slightly smaller enlargement on hover */
    }

    .arrow-down {
        width: 18px;
        height: 18px;
    }

    .landing {
        padding: 15px; /* Reduce padding to maximize space */
    }
}
.title, .motto {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}
/* Media query for mobile devices (max-width: 430px) */
@media (max-width: 430px) {
    .title {
        font-size: 2rem; /* Adjusted font size for mobile */
        letter-spacing: 0.1em; /* Reduce letter spacing for better readability */
        margin-bottom: 20px; /* Adjust spacing */
    }

    .motto {
        font-size: 1.2rem; /* Adjusted font size for mobile */
        margin-top: 45px;
        margin-bottom: 20px; /* Adjust spacing */
    }

    .who-we-are-text {
        font-size: 0.8rem; /* Adjust font size for mobile */
    }

    .who-we-are-btn:hover .who-we-are-text {
        font-size: 0.9rem; /* Slightly smaller enlargement on hover */
    }

    .arrow-down {
        width: 20px;
        height: 20px;
    }

    .landing {
        padding: 20px; /* Add padding to the landing section */
    }
}

/* Existing styles from your code */

/* Us Section Styles */
#us {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #222;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Removed opacity and transform from here */
}

/* Us Title */
.us-title {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    position: absolute;
    top: 20%;
    color: #222;
    opacity: 0;
    transform: translateY(50px);
    /* Start shifted down */
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    transition: opacity 1s ease-out, transform 1s ease-out, clip-path 1s ease-out;
}

#us.visible .us-title {
    opacity: 1;
    transform: translateY(0);
    /* Move to original position */
    clip-path: inset(0 0 0 0);
}

/* Us Section Content */
.us-content {
    font-size: 1.2rem;
    font-weight: 200;
    color: #333;
    max-width: 800px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    /* Start shifted down */
    margin-top: 70px;
    line-height: 1.6;
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    transition-delay: 0.5s;
}

#us.visible .us-content {
    opacity: 1;
    transform: translateY(0);
}

/* Us Closing */
.us-closing {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #222;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(50px);
    /* Start shifted down */
    clip-path: inset(0 100% 0 0);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out, clip-path 3s ease-out;
    transition-delay: 2s;
}

#us.visible .us-closing {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
}

/* Paragraph Spacing */
.us-content p {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    /* Ensure it doesn't exceed container width */
    overflow-wrap: break-word;
    /* Break long words */
}

/* Scroll Button Styling */
.main__action {
    opacity: 0;  /* Start hidden */
    transform: translateY(20px);  /* Start slightly below */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    transition-delay: 3.5s;  /* Start after the .us-closing animation */
    margin-top: 40px;  /* Increased margin to 40px */
    display: flex;
    justify-content: center;  /* Center the button horizontally */
    align-items: center;
}

#us.visible .main__action {
    opacity: 1;
    transform: translateY(0);  /* Move into position */
}

/* Scroll Button Styling */
.main__action {
    opacity: 0;  /* Start hidden */
    transform: translateY(20px);  /* Start slightly below */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    transition-delay: 3.5s;  /* Start after the .us-closing animation */
    margin-top: 40px;  /* Increased margin to 40px */
    display: flex;
    justify-content: center;  /* Center the button horizontally */
    align-items: center;
}

#us.visible .main__action {
    opacity: 1;
    transform: translateY(0);  /* Move into position */
}

/* Styling for the link and its content */
.main__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;  /* Remove underline */
}

.main__scroll-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(28,28,30,1);
    transition: font-size 0.3s ease;  /* Smooth transition for font size */
    text-decoration: none;  /* Remove underline */
}

/* Enlarge text on hover */
.main__scroll:hover .main__scroll-text {
    font-size: 1.2rem;  /* Increase font size when hovered */
}

/* Arrow styling */
.main__scroll-box {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* No animation by default */
}

/* Arrow bounces on hover */
.main__scroll:hover .main__scroll-box {
    animation: bounce-arrow 1.5s infinite;
}

/* Bouncing arrow keyframes */
@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(1rem);
    }
}
/* Animate scroll icon */
@keyframes scroll-down {

    0%,
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }

    35% {
        transform: translateY(1rem);
        opacity: 0;
    }

    70% {
        transform: translateY(-1rem);
        opacity: 0;
    }
}

/* Animation for revealing the Us title (same as the motto animation) */
@keyframes reveal-us-title {
    0% {
        clip-path: inset(0 100% 0 0);
        /* Fully clipped, hidden */
        opacity: 1;
        /* Visible but clipped */
    }

    100% {
        clip-path: inset(0 0 0 0);
        /* Fully revealed */
        opacity: 1;
        /* Fully visible */
    }
}

/* Fade-in animation for the content */
@keyframes fade-in-content {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Keyframes for the closing sentence (same as motto) */
@keyframes reveal-closing {
    0% {
        clip-path: inset(0 100% 0 0);
        /* Fully clipped, hidden */
        opacity: 1;
        /* Visible but clipped */
    }

    100% {
        clip-path: inset(0 0 0 0);
        /* Fully revealed */
        opacity: 1;
        /* Fully visible */
    }
}


/* Media Query for Mobile Devices (max-width: 430px) */
@media (max-width: 430px) {

    /* Adjust the Us Title */
    .us-title {
        font-size: 2.5rem; /* Smaller font size */
        margin-bottom: 50px; /* Reduce spacing below the title */
        padding: 0 20px; /* Add side padding */
    }

    /* Adjust the Us Content */
    .us-content {
        font-size: 1rem; /* Smaller font size */
        line-height: 1.6; /* Reduce line height for tighter text */
        padding: 0 30px; /* Add side padding */
        margin-top: 200px; /* Increase margin-top to move content down */
    }

    /* Adjust Paragraphs */
    .us-content p {
        margin-bottom: 15px; /* Increase space between paragraphs */
    }

    /* Adjust the Us Closing */
    .us-closing {
        font-size: 1.2rem; /* Make the text smaller */
        margin-top: 30px; /* Reduce margin-top to bring it closer to content */
        padding: 0 20px; /* Add side padding if needed */
        line-height: 1.2; /* Reduce line spacing */
        letter-spacing: 0.02em; /* Reduce letter spacing */
    }
}

/* Industries Section Styling */
.industries-section {
    background-color: #f4f4f4;
    color: #222;
    width: 100%;
    min-height: 100vh;
    /* Use min-height to accommodate content overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 170px;
    /* Increased from 100px to 150px */
    box-sizing: border-box;
}

.industries-title {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    color: #222;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    margin-bottom: 100px;
    /* Added margin-bottom for spacing below the title */
}

.industries-section.visible .industries-title {
    opacity: 1;
    transform: translateY(0);
}

/* Industries Content Grid */
.industries-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    margin: 0 50px 50px;
    /* Adjusted top margin from 60px to 0 */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    transition-delay: 0.5s;
}

.industries-section.visible .industries-content {
    opacity: 1;
    transform: translateY(0);
}

/* Industry Group Styling */
.industry-group {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    text-align: center;
}

.industries-section.visible .industry-group {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animations */
.industry-group:nth-child(n) {
    transition-delay: calc(0.3s * var(--i));
}

.industry-group {
    --i: 1;
}

.industry-group:nth-child(2) {
    --i: 2;
}

.industry-group:nth-child(3) {
    --i: 3;
}

.industry-group:nth-child(4) {
    --i: 4;
}

.industry-group:nth-child(5) {
    --i: 5;
}

.industry-group:nth-child(6) {
    --i: 6;
}

/* Industry Title */
.industry-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-top: 5px;
    text-align: center;
}

/* Industry List */
.industry-list {
    font-family: 'Cormorant Garamond', serif;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.industry-list li {
    margin-bottom: 5px;
    font-weight: 400;
}

/* Scroll Button Styling for Industries Section */
.industries__action {
    opacity: 0;  /* Start hidden */
    transform: translateY(20px);  /* Start slightly below */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    margin-top: 2px;  /* Adjust margin as needed */
    display: flex;
    justify-content: center;  /* Center the button horizontally */
    align-items: center;
    position: relative;  /* To control z-index */
    z-index: 10; /* Bring to the top layer */
}

#industries.visible .industries__action {
    opacity: 1;
    transform: translateY(0);  /* Move into position */
}

.industries__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;  /* Remove underline */
    cursor: none !important;  /* Hide default cursor */
}

.industries__scroll-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(28,28,30,1);
    transition: font-size 0.3s ease;  /* Smooth transition for font size */
    text-decoration: none;  /* Remove underline */
}

/* Enlarge text on hover */
.industries__scroll:hover .industries__scroll-text {
    font-size: 1.2rem;  /* Increase font size when hovered */
}

.industries__scroll:hover {
    cursor: none !important;  /* Hide default cursor on hover */
}

/* Arrow styling */
.industries__scroll-box {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Arrow bounces on hover */
.industries__scroll:hover .industries__scroll-box {
    animation: bounce-arrow 1.5s infinite;
}

/* Bouncing arrow keyframes */
@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(1rem);
    }
}

/* Responsive Design for screens up to 768px */
@media (max-width: 768px) {
    .industries-content {
        grid-template-columns: 1fr;
        margin: 40px 20px;
    }
}

/* Responsive Design for screens up to 430px */
@media (max-width: 430px) {

    /* Adjust the Industries Title */
    .industries-title {
        font-size: 2.5rem;
        padding: 0 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    /* Adjust the Industries Content */
    .industries-content {
        margin: 0 20px 30px;
        grid-gap: 20px;
    }

    /* Adjust Industry Group */
    .industry-group {
        padding: 0 10px;
    }

    /* Adjust Industry Title within each group */
    .industry-title {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    /* Adjust Industry List */
    .industry-list {
        font-size: 1rem;
    }

    /* Adjust the spacing to bring content further up */
    .industries-section {
        padding-top: 150px; /* Decrease padding-top to move content up */
    }

    /* Adjust the industries__action (contact button container) */
    .industries__action {
        margin-top: 5px; /* Reduce margin-top to move the button up */
        margin-bottom: 50px; /* Adjust if needed */
    }
}

/* Contact Section */
.contact-section {
    background-color: #f4f4f4;
    color: #222;
    width: 100%;
    height: 100vh; /* Full page height */
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center vertically */
    text-align: center;
    position: relative;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
@media (max-width: 768px) {
    .contact-section {
        height: auto; /* Allow the section to adjust height based on content */
        justify-content: flex-start; /* Align items at the top */
        padding: 20px 0; /* Adjust padding as needed */
    }

    /* Additional adjustments if necessary */
    .contact-title {
        margin-top: 20px; /* Adjust spacing at the top */
    }

    .footer-text {
        margin-bottom: 20px; /* Add space at the bottom */
    }
}

.contact-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Title */
.contact-title {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    color: #222;
    opacity: 0;
    /* Start invisible */
    transform: translateY(20px);
    /* Start with a slight downward shift */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    margin-bottom: 30px;
    /* Space below title */
}

.contact-section.visible .contact-title {
    opacity: 1;
    /* Fade in */
    transform: translateY(0);
    /* Move to original position */
}

/* Contact Details */
.contact-details p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.4;
    /* Maintain compact spacing */
    opacity: 0;
    /* Initially hidden */
    transform: translateY(20px);
    /* Start with a slight downward shift */
    transition: opacity 1s ease-out, transform 1s ease-out;
    margin-bottom: 10px;
}

/* Stagger the animations for the paragraphs */
.contact-details p:nth-child(n) {
    transition-delay: calc(0.1s * var(--i));
}

.contact-details p.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Assign custom properties to paragraphs for delay calculation */
.contact-details p {
    --i: 1;
}

.contact-details p:nth-child(2) {
    --i: 2;
}

.contact-details p:nth-child(3) {
    --i: 3;
}

.contact-details p:nth-child(4) {
    --i: 4;
}

.contact-details p:nth-child(5) {
    --i: 5;
}

.contact-details p:nth-child(6) {
    --i: 6;
}

.contact-details p:nth-child(7) {
    --i: 7;
}

.contact-details p:nth-child(8) {
    --i: 8;
}

.contact-details p:nth-child(9) {
    --i: 9;
}

.contact-details p:nth-child(10) {
    --i: 10;
}

.contact-section.visible .contact-details p {
    opacity: 1;
    transform: translateY(0);
}

/* Motto styles */
/* Motto styles */
.contact-motto {
    font-size: 1.5rem;
    font-weight: 500;
    color: #555;
    position: relative;
    opacity: 0;
    /* Initially hidden */
    transform: translateY(20px);
    /* Start with downward shift */
    transition: opacity 1s ease-out, transform 1s ease-out;
    margin-top: 10px;
}

.contact-motto.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Assign the total number of items for delay calculation */
.contact-section {
    --total-items: 11;
    /* Total number of paragraphs + 1 */
}

.contact-section.visible .contact-motto {
    opacity: 1;
    transform: translateY(0);
}

/* Bold styling for locations */
.contact-details strong {
    font-weight: bold;
}

/* Simple styling for phone numbers and emails */
.phone-number,
.contact-details a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: black;
    /* Set text color to black */
    text-decoration: none;
    /* Remove underline */
}

/* Hover effect for emails and phone numbers */
.contact-details a:hover {
    text-decoration: none;
    color: #555;
    /* Slight color change on hover */
}

/* Footer Text Styling */
.footer-text {
    font-family: 'Cormorant Garamond', serif;
    /* Same as your content */
    font-size: 0.8rem;
    /* Small text size */
    color: #666;
    /* Slightly lighter color for subtlety */
    text-align: center;
    /* Center the text */
    margin-top: 40px;
    /* Space above the footer text */
    line-height: 1.4;
    /* Adjust line height for readability */
}

.footer-text p {
    margin-bottom: 5px;
    /* Space between paragraphs */
}

.footer-text a {
    color: #666;
    /* Match the color of the text */
    text-decoration: none;
    /* Remove underline */
}

.footer-text a:hover {
    text-decoration: underline;
    /* Underline on hover */
    color: #333;
    /* Darken color on hover */
}


@media (max-width: 430px) {
    .contact-section {
        padding: 40px;
        justify-content: flex-start;
        /* Align items to the top */
    }

    .contact-title {
        font-size: 3rem;
        /* Reduced font size for mobile */
        margin-top: 100px;
        /* Increased margin-top to move it lower */
        margin-bottom: 10px;
    }

    .contact-details {
        max-width: 100%;
        /* Allow full width */
        margin-top: 50px;
        /* Increased margin-top to move it further down */
        margin-bottom: 10px;
        /* Space below contact details */
        padding: 0 20px;
        /* Side padding for better readability */
    }

    .contact-details p {
        font-size: 0.9rem;
        /* Slightly smaller font */
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .phone-number {
        display: block;
        margin-top: 5px;
    }

    .contact-motto {
        font-size: 1.2rem;
        margin-top: auto;
        /* Keep the motto near the footer */
        margin-bottom: 20px;
        padding: 0 30px;
    }

    .footer-text {
        font-size: 0.7rem;
        margin-top: 10px;
        /* Ensure footer is at the bottom */
    }
}