/* Root Colors */
:root {
    --bg-color: #000;
    --accent-color: #66FF33;
    --text-color: #fff;
    --button-bg-color: #fff;
    --button-text-color: #000;
    --highlight-border-color: #66FF33;
}

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

/* Header Container */
/* Header Container */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px; /* Keeps slimmer layout */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for mirroring */
    color: var(--text-color);
    position: sticky;
    top: 10px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    backdrop-filter: blur(15px); /* Smooth blur effect for background mirroring */
    border-radius: 40px; /* Curved edges for the entire navigation bar */
    width: fit-content; /* Spans only as wide as the nav items */
    margin: 0 auto; /* Centers the nav bar horizontally */
}

/* Centering Navigation Links and Button */
.nav-center {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between nav links and button */
    padding: 8px 20px; /* Slim padding for a compact look */
}

/* Navigation Links */
#nav-menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

#nav-menu ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    padding: 8px 12px;
    border-radius: 12px;
    transition: color 0.4s ease, border 0.4s ease;
    display: flex;
    align-items: center;
}

/* Hover and Active States for Nav Links */
#nav-menu ul li a:hover {
    color: var(--accent-color);
}

#nav-menu ul li a.active {
    border: 1px solid var(--highlight-border-color);
    border-radius: 12px;
}

/* "Book MEETING" Button with Smooth Hover */
.button {
    padding: 8px 20px;
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    border-radius: 20px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
    display: flex;
    align-items: center; /* Align text vertically within the button */
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: scale(1.05); /* Smooth, slow hover effect */
}

/* Hamburger Menu (for mobile) */
.hamburger {
    display: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    #nav-menu {
        display: none; /* Hide the nav menu on mobile */
    }

    .hamburger {
        display: block; /* Show the hamburger on mobile */
    }

    header {
        justify-content: space-between;
        width: 100%; /* Full width on smaller screens */
        border-radius: 0; /* Removes rounded corners */
    }

    .button {
        display: none; /* Hide "Book MEETING" button on mobile */
    }

    .scrolling-text {
        top: 10px; /* Adjust for mobile */
        font-size: 0.7em; /* Reduce size for smaller screens */
    }
}


/* New Section */

/* Smaller Rotating Text and Positioned Below Navigation */
body, .main-content, .main-section {
    height: 100%;
    overflow: visible; /* Allow elements to flow naturally */
    position: relative; /* Ensure no parent conflicts with `fixed` positioning */
}


.scrolling-text {
    position: fixed;
    top: 10px; /* Adjust to your liking */
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    background-color: var(--bg-color);
    padding: 5px 0; /* Slim padding */
    color: var(--text-color);
    font-size: 0.8em;
    z-index: 100; 
}




.scrolling-text p {
    display: inline-block;
    animation: scrollText 40s linear infinite;
}


.scrolling-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 30s linear infinite;
    width: 70%;
    margin: 0 auto;
}

/* Fade effect on edges */
.scrolling-text:before, .scrolling-text:after {
    content: "";
    top: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-color), rgba(0, 0, 0, 0));
    z-index: 1;
}

.scrolling-text:after {
    right: 0;
    transform: rotate(180deg);
}

.scrolling-text:before {
    left: 0;
}

.scrolling-content p {
    display: inline-block;
    font-size: 1em;
    color: var(--text-color);
    /* Remove margin-right */
}

.scrolling-content .star {
    color: var(--accent-color);
    padding: 0 5px;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move only half the width for continuous loop */
}

/* New Section */

body {
    cursor: url('MHP_symbol_green.png'), auto;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.main-section {
    margin-top: 250px; /* Adds space below the scrolling text */
    padding: 20px;
    text-align: center;
    position: relative;
    height: 100vh; /* Full viewport height for centering */
}


.title h1 {
    font-size: 9em; /* Adjust to make the title larger */
    color: var(--text-color);
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* Make it span the entire width */
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
    z-index: 1;
}


.title.dark h1 {
    color: #333; /* Dark gray color when overlapped */
}

/* Centering the entire content area */
.content-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content horizontally */
    position: relative;
    margin: 0 auto; /* Center the container */
}



/* Centered Button Under the Box */
.example-projects-btn {
    position: absolute;
    bottom: -10px; /* Position button below the box */
    padding: 10px 20px;
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    opacity: 1; /* Visible by default */
    transform: translateY(0); /* No transition needed */
}




.left-content, .right-content {
    width: 320px; /* Increase width if needed */
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.44em; /* Increased by 60% from original 0.9em */
    text-align: center;
    position: fixed;
    top: 40%;
}

.left-content {
    left: 2%;
    text-align: left;
}

.right-content {
    right: 2%;
    text-align: right;
}


.box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    position: relative;
    opacity: 1;
    position: relative;
    transition: none; 
}

.box {
    width: 410px; /* Updated size */
    height: 410px;
    transform-style: preserve-3d;
    animation: rotateBox 30s infinite linear;
    position: relative;
}

.side {
    position: absolute;
    width: 410px; 
    height: 410px;
    background: rgba(50, 50, 50, 0.5);
    border: 2px solid var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.5em; 
}


/* Position Each Box Face */
.front  { transform: rotateY(  0deg) translateZ(150px); }
.back   { transform: rotateY(180deg) translateZ(150px); }
.left   { transform: rotateY(-90deg) translateZ(150px); }
.right  { transform: rotateY( 90deg) translateZ(150px); }
.top    { transform: rotateX( 90deg) translateZ(150px); }
.bottom { transform: rotateX(-90deg) translateZ(150px); }

@keyframes rotateBox {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* Button Under the Box */
.example-projects-btn {
    position: absolute;
    bottom: -30px; /* Position the button below the box */
    padding: 15px 30px;
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.4em;
    opacity: 1; /* Make sure the button is visible */
    transform: translateY(0); /* Ensure it's not offset */
    transition: none; /* Remove unnecessary transitions */
}


/* About Us Section */

/* Main Section */
.main-section {
    height: 100vh; /* Full viewport height */
    position: relative;
    z-index: 2; /* Ensures it stacks correctly */
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, transform 0.8s ease; /* Smooth fade-out */
    opacity: 1; /* Default state: visible */
    transform: translateY(0); /* Default state: in position */
}

.main-section.hidden {
    opacity: 0; /* Fade out when hidden */
    transform: translateY(-50px); /* Slide up while fading */
    pointer-events: none; /* Prevent interaction when hidden */
}

/* New Section */

/* About Us Section */
#about-us-reveal {
    height: 130vh; /* Adjust as needed */
    background: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

/* About Us Title */
.about-title {
    font-size: 18.5vw;
    color: white;
    text-align: center;
    opacity: 1; /* Start visible */
    transition: color 0.8s ease, opacity 0.8s ease;
}

/* Interactive Info Section */
#interactive-info {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    position: relative;
    width: 250px;
    height: 350px;
    perspective: 1000px;
    cursor: pointer;
    transition: transform 0.6s;
}

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

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s ease;
}

.card-front {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-color);
    transform: rotateY(0deg);
    text-align: center;
}

.card-back {
    background: rgba(102, 255, 51, 0.9); /* Neon green */
    color: #000;
    transform: rotateY(180deg);
    text-align: center;
}

.card:hover .card-front {
    transform: rotateY(-180deg);
}

.card:hover .card-back {
    transform: rotateY(0deg);
}

/* Front and Back Content Styling */
.card h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.card p {
    font-size: 1.2rem;
    line-height: 1.6;
}




/*New Section*/

/* Key Goals Section */
#key-goals {
    background-color: black;
    padding: 100px 20px;
    display: flex;
    flex-direction: column; /* Stack title and goals vertically */
    align-items: flex-start;
    color: white;
}

.key-goals-header {
    width: 100%; /* Full-width container for title */
}

.section-title {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 30px 0; /* Add spacing below title */
    line-height: 1.2;
    letter-spacing: 2px;
}

/* Goals Container */
.goals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Responsive grid for goals */
    gap: 50px; /* Space between goals */
    width: 100%; /* Ensure goals span full width */
}

/* Goal Item */
.goal {
    text-align: left;
    padding: 20px 0;
    font-size: 1.5rem;
}

/* Percentage Styling */
.goal-percentage {
    font-size: 3rem;
    font-weight: bold;
    color: #66FF33;
    margin-bottom: 10px;
}

/* Title Styling */
.goal-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Description Styling */
.goal-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        text-align: center;
        font-size: 3rem;
    }

    .goals-container {
        grid-template-columns: 1fr; /* Stack goals vertically */
    }

    .goal {
        text-align: center;
    }
}

/* New Section */

#meet-the-team {
    background-color: #000;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.meet-title {
    font-size: 11vw;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.team-card {
    perspective: 1000px;
    width: 300px;
    height: 400px;
}

.card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.5s;
    position: relative;
}

.team-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
}

.card-front {
    background: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.card-info {
    padding: 10px;
    text-align: center;
}

.card-back {
    background: var(--accent-color);
    color: #000;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-back-content {
    text-align: center;
    font-size: 1.2em;
}

.visit-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 2em;
    color: #000;
    text-decoration: none;
}

.visit-link span {
    font-size: 3em;
}

/* Section Styling */
#studies-section {
    background-color: black;
    color: white;
    padding: 20px;
    position: relative;
}

.section-title {
    font-size: 4vw;
    font-weight: bold;
    text-align: right; /* Align to the right */
    position: sticky; /* Sticks while scrolling */
    top: 20px; /* Distance from the top of the viewport */
    background-color: black; /* Avoid artifacts during scroll */
    padding: 10px 0; /* Add padding for better spacing */
    z-index: 10; /* Keeps it above the study content */
    right: 0; /* Aligns it to the right edge */
    margin-right: 20px; /* Adds space from the right */
}

/* Studies Container */
.studies-container {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Adds space between each study */
    margin-top: 20px; /* Space below the sticky title */
}

/* Study Block */
.study {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 0; /* Space inside each study block */
}

.study-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.study-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #aaa; /* Lighter grey for readability */
    margin: 0;
}

.study-author {
    font-size: 0.9rem;
    color: #666; /* Subtle grey for the author's name */
    margin: 0;
}

/* Remove Grey Lining */
.study + .study {
    border: none;
}

/* Section Styling */
#services-section {
    background-color: black;
    color: white;
    padding: 20px;
    position: relative;
    display: flex;
}

.section-title {
    font-size: 4vw;
    font-weight: bold;
    position: sticky;
    top: 20px;
    left: 0; /* Align to the left */
    margin: 0;
    z-index: 10;
    padding: 20px;
}

/* Section Styling */
#services-section {
    background-color: black;
    color: white;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure vertical layout */
}

/* Sticky Title */
.section-title {
    font-size: 4vw;
    font-weight: bold;
    position: sticky;
    top: 20px; /* Stick to 20px from the top of the viewport */
    left: 0;
    margin: 0;
    z-index: 10;
    padding: 20px;
    align-self: flex-start; /* Keep aligned to the left */
}
/* Quote Section */
#quote-section {
    height: 1000px;
    background: black;
    color: #66ff33; /* Neon green text color */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Quote Container */
.quote-container {
    position: relative;
    width: 80%; /* Adjust the width as needed */
    height: 100%; /* Take up full height of the section */
}

/* Individual Quote */
.quote {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    width: 100%;
    padding: 20px;
    border-radius: 15px;
}

/* Active Quote */
.quote.active {
    opacity: 1;
}

/* Quote Text */
.quote-text {
    font-size: 4rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Quote Author */
.quote-author {
    font-size: 1.2rem;
    color: #fff;
}

/* Glow and Expand Keyframes */
@keyframes glowExpand {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 10px #66ff33, 0 0 20px #66ff33, 0 0 30px #66ff33;
    }
    50% {
        transform: scale(1.1); /* Slightly expand */
        text-shadow: 0 0 20px #66ff33, 0 0 40px #66ff33, 0 0 60px #66ff33;
    }
}

/* Fade In and Out Keyframes */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0; /* Fully transparent */
    }
    10%, 90% {
        opacity: 1; /* Fully visible */
    }
}






/* Services Section */
#services-section {
    background-color: black;
    color: white;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    color: white;
}

/* Services Container */
.services-container {
    display: flex;
    flex-direction: column; /* Stack all service items vertically */
    gap: 20px; /* Spacing between service cards */
    align-items: center; /* Center the content horizontally */
}

/* Service Card */
.service {
    display: flex;
    align-items: center; /* Vertically align number and text */
    width: 100%; /* Full width for consistency */
    max-width: 800px; /* Limit the max width for readability */
    padding: 20px;
    box-sizing: border-box;
    text-align: left; /* Align text to the left */
}

/* Service Number */
.service-number {
    font-size: 4rem; /* Large number size */
    font-weight: bold;
    color: #66ff33; /* Neon green */
    flex: 0 0 120px; /* Fixed width for the number column */
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    height: 100%; /* Match height of the text container */
}

/* Services Section */
#services-section {
    background-color: black;
    color: white;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    color: white;
}

/* Services Container */
.services-container {
    display: flex;
    flex-direction: column; /* Stack all service items vertically */
    gap: 20px; /* Spacing between service cards */
    align-items: center; /* Center the content horizontally */
}

/* Service Card */
.service {
    display: flex;
    align-items: center; /* Vertically align number and text */
    width: 100%; /* Full width for consistency */
    max-width: 800px; /* Limit the max width for readability */
    padding: 20px;
    box-sizing: border-box;
    text-align: left; /* Align text to the left */
}

/* Service Number */
.service-number {
    font-size: 7.2rem; /* 80% bigger than before (4rem * 1.8) */
    font-weight: bold;
    color: #66ff33; /* Neon green */
    flex: 0 0 150px; /* Adjust width to fit the larger size */
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    height: 100%; /* Match height of the text container */
}

/* Service Content */
.service-content {
    flex: 1; /* Take the remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Align title and description evenly */
    max-height: 7.2rem; /* Match the height of the number */
    overflow: hidden; /* Prevent overflow if text is too long */
}

/* Service Title */
.service-title {
    font-size: 2.5rem; /* Larger font for title */
    font-weight: bold;
    margin-bottom: 5px; /* Reduce spacing between title and description */
    color: white;
    line-height: 1.2; /* Compact line height */
}

/* Service Description */
.service-description {
    font-size: 1rem;
    line-height: 1.2; /* Compact line height */
    color: #cccccc; /* Light gray for readability */
    margin: 0; /* No extra margins */
    overflow: hidden; /* Prevent overflow */
    text-overflow: ellipsis; /* Add ellipsis if text overflows */
    white-space: nowrap; /* Prevent line breaks */
}

/* Responsive Design */
@media (max-width: 768px) {
    .service {
        flex-direction: column; /* Stack number and text vertically */
        align-items: flex-start;
    }

    .service-number {
        width: auto; /* Allow width to adjust */
        margin-bottom: 10px; /* Add spacing below the number */
    }

    .service-content {
        max-height: auto; /* Remove height constraint on smaller screens */
    }
}

/* Section Styling */
#request-demo {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh; /* Full viewport height */
    font-family: Arial, sans-serif;
}

/* Content Container */
.demo-content {
    max-width: 600px; /* Limit content width */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Space between elements */
}

/* Title */
.demo-title {
    font-size: 3rem; /* Large title size */
    font-weight: bold;
    margin: 0;
}

/* Subtitle */
.demo-subtitle {
    font-size: 1.5rem; /* Medium subtitle size */
    font-weight: 400;
    margin: 0;
    color: #66ff33; /* Neon green for emphasis */
}

/* Description */
.demo-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc; /* Light gray for readability */
    margin: 0;
}

/* Button */
.demo-button {
    background-color: #66ff33; /* Neon green background */
    color: #000; /* Black text */
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.demo-button:hover {
    background-color: #fff; /* White on hover */
    color: #000; /* Black text */
    box-shadow: 0 0 20px #66ff33; /* Glow effect */
}



/* Ensure the Section Contains Everything Properly */
#seamless-box-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
    overflow: hidden;
}

/* Title Styling */
.seamless-box-title {
    position: absolute;
    top: 5%;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 4rem;
    font-weight: bold;
    z-index: 1;
    line-height: 1.5;
    margin: 0 auto;
    padding: 0 20px;
}



/* Rotating Box */
.seamless-box {
    width: 410px;
    height: 410px;
    transform-style: preserve-3d;
    position: absolute;
    animation: seamlessRotateBox 10s linear infinite; /* Smooth, continuous rotation */
}

/* Box Sides */
.seamless-side {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(102, 255, 51, 0.5);
    box-shadow: 0 0 10px rgba(102, 255, 51, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-align: center;
}

/* Positioning Sides */
.seamless-front { transform: rotateY(0deg) translateZ(205px); }
.seamless-back { transform: rotateY(180deg) translateZ(205px); }
.seamless-left { transform: rotateY(-90deg) translateZ(205px); }
.seamless-right { transform: rotateY(90deg) translateZ(205px); }
.seamless-top { transform: rotateX(90deg) translateZ(205px); }
.seamless-bottom { transform: rotateX(-90deg) translateZ(205px); }

/* Rotate Animation */
@keyframes seamlessRotateBox {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Button */
.seamless-btn {
    background: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    position: relative;
    bottom: -190px;
}

.seamless-btn:hover {
    background: #66ff33;
    color: black;
    box-shadow: 0 0 20px #66ff33;
}


/* Contact Section */
#contact-section {
    background: #00b300; /* Bright green background */
    color: black;
    padding: 50px 0;
    font-family: Arial, sans-serif;
    position: relative;
  }
  
  /* Container */
  .contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Contact Information */
  .contact-info h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: bold;
  }
  
  .contact-info p {
    margin: 5px 0;
    font-size: 1rem;
  }
  
  .contact-btn {
    margin-top: 20px;
    background: black;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s ease; /* Smoother transition */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .contact-btn:hover {
    background: white;
    color: black;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  }
  
  /* Menu Links */
  .menu-links {
    display: flex;
    gap: 40px;
  }
  
  .menu-column h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
  }
  
  .menu-column ul {
    list-style: none;
    padding: 0;
  }
  
  .menu-column li {
    margin: 5px 0;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .menu-column li:hover {
    color: black;
    transform: translateX(5px);
  }
  
  /* Footer Bottom Text */
  .footer-text {
    text-align: center;
    margin-top: 50px;
    font-size: 4vw;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
  }
  
  /* Smooth Hover Effects */
  .contact-btn,
  .menu-column li {
    will-change: transform, color;
    transition: all 0.3s ease;
  }

  /*Mobile Responsiveness*/
  /* Responsive Adjustments */
@media (max-width: 768px) {
    /* Main Section */
    .main-section {
        flex-direction: column;
        height: auto; /* Allow the section height to adapt */
        padding: 20px;
        margin-top: 150px; /* Adjust top margin for mobile */
    }

    .title h1 {
        font-size: 4rem; /* Reduce font size for smaller screens */
        top: 5%; /* Adjust placement */
        transform: translateX(0); /* Center text */
        text-align: center;
        padding: 0 20px; /* Add padding to prevent overflow */
    }

    /* Rotating Box Adjustments */
    .box-container {
        position: relative;
        margin: 30px auto; /* Center the box on mobile */
        transform: none; /* Remove fixed positioning */
        top: 0;
        left: 0;
    }

    .box {
        width: 300px; /* Smaller size for mobile */
        height: 300px;
    }

    .side {
        width: 300px;
        height: 300px;
    }

    /* Left and Right Content */
    .left-content,
    .right-content {
        position: relative; /* Remove fixed positioning */
        width: 100%; /* Full width for mobile */
        text-align: center; /* Center-align text */
        margin: 20px 0; /* Add spacing between sections */
        top: 0; /* Reset positioning */
    }

    .left-content {
        text-align: center;
    }

    .right-content {
        text-align: center;
    }
}

/* Responsive Design for Tablets */
@media (max-width: 1024px) {
    .main-section {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center horizontally */
        justify-content: center; /* Center vertically */
        height: 100vh; /* Full viewport height */
        padding: 40px 20px; /* Adjust padding */
    }

    .scrolling-text {
        margin-bottom: 15px; /* Add spacing below scrolling text */
    }

    .title h1 {
        font-size: 4rem; /* Slightly larger for tablets */
        top: 10%; /* Adjust top position */
        transform: translateX(-50%); /* Center the text horizontally */
        text-align: center; /* Align text to the center */
        padding: 0 20px; /* Add padding to prevent text overflow */
    }

    .box-container {
        width: auto; /* Allow flexible sizing */
        margin: 20px auto; /* Center the box */
        transform: none; /* Reset positioning */
    }

    .box {
        width: 350px; /* Adjust size for tablets */
        height: 350px;
    }

    .side {
        width: 350px;
        height: 350px;
    }

    .left-content,
    .right-content {
        text-align: center; /* Center-align text */
        margin: 30px 0; /* Add spacing between sections */
    }

    .left-content p,
    .right-content p {
        font-size: 1.2rem; /* Adjust font size for readability */
    }

    .example-projects-btn {
        margin-top: 15px; /* Add spacing above the button */
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
        overflow-x: hidden; /* Prevent horizontal scroll on smaller screens */
    }
    .main-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Push content to the top */
        height: auto; /* Allow adaptive height */
        padding: 20px;
        margin-top: 100px; /* Adjust spacing from top */
    }

    .scrolling-text {
        margin-bottom: 50px; /* Add spacing below scrolling text */
        font-size: 0.8rem; /* Adjust size for mobile */
    }

    .title h1 {
        margin-top: 30px;
        font-size: 3rem; /* Smaller size for mobile */
        transform: translateX(-50%); /* Center the text horizontally */
        text-align: center; /* Center-align */
    }
    .section-title {
        animation: none; /* Disable any animation */
        position: static; /* Ensure the title doesn't stick or scroll */
        margin: 20px 0; /* Add standard spacing */
        text-align: center; /* Center-align the title */
        font-size: 3rem; /* Adjust font size for mobile */
    }


    .box-container {
        width: auto;
        margin-top: 130px; /* Adjust top margin for mobile */
        
        transform: none; /* Reset positioning */
    }

    .box {
        width: 300px; /* Smaller size for mobile */
        height: 300px;
    }

    .side {
        width: 300px;
        height: 300px;
    }


    .left-content p,
    .right-content p {
        font-size: 1rem; /* Slightly smaller for mobile */
    }


    .quote p {
        font-size: 1rem; /* Reduce font size further for mobile */
        line-height: 1.3; /* Adjust line spacing for smaller screens */
        margin: 5px 0; /* Reduce margin for tighter spacing */
    }

/*Discuss Case*/

#seamless-box-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }


  
  #seamless-box-section .box {
    margin: 200px;
  }

    footer {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center-align all elements */
    }

    .contact-container {
        flex-direction: column; /* Stack columns vertically */
        gap: 20px; /* Reduce spacing for smaller screens */
    }

    .contact-info, .menu-links {
        text-align: left; /* Center-align text */
        margin-top: 30px;
        flex: none; /* Prevent stretching */
        width: 100%; /* Full-width columns */
    }
}
