/* Basic Reset & Body Style */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica', sans-serif;
}

.animated-bg {
    background: linear-gradient(270deg, #e0f2f7, #e0f7f2, #f2f7e0);
    background-size: 600% 600%;
    animation: gradientAnimation 30s ease-in-out infinite;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Header Styling */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem 0; /* Increased padding to increase header size */
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible; /* Allow content to extend beyond header bounds */
    border-bottom: 1px solid #e0e0e0; /* Light grey border */
}

.navbar {
    display: flex;
    justify-content: center; /* Center the items */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* For positioning the logo */
}

.nav-left, .nav-right {
    display: flex;
    gap: 50px; /* Increased gap for buttons */
}

.nav-left a {
    opacity: 0;
    transform: translateX(-50px); /* Slide from further left */
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 3.5s; /* Delay to appear after splash screen */
}

.nav-right a {
    opacity: 0;
    transform: translateX(50px); /* Slide from further right */
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 3.5s; /* Delay to appear after splash screen */
}

.nav-center {
    margin: 0 80px; /* Increased space between logo and buttons */
}

.header-logo {
    height: 100px; /* Make logo bigger */
    position: absolute; /* Position absolutely within navbar */
    top: -30px; /* Moved up by 10px */
    left: calc(50% - 10px); /* Moved left by 10px */
    transform: translateX(-50%); /* Center horizontally */
    z-index: 101; /* Ensure it's above other elements */
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #007bff; /* Example hover color */
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeOut 1s ease-out 2.5s forwards; /* Starts fading out after 2.5s */
}

#splash-logo {
    width: 250px; /* Adjust size as needed */
    animation: pulse 1.5s infinite ease-in-out;
}

/* Main Content Area */
#main-content {
    opacity: 0;
    padding: 2rem;
    animation: fadeIn 1s ease-in 3s forwards; /* Starts fading in after splash screen */
}

/* Irregular Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 150px; /* Sets a base row height */
    grid-auto-flow: dense; /* Helps fill in gaps */
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

/* Grid Item Styling */
.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: rgba(224, 224, 224, 0.7); /* Semi-transparent light grey */
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Spanning classes for irregular look */
.grid-item.wide {
    grid-column: span 2;
}
.grid-item.tall {
    grid-row: span 2;
}
.grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Video and Image inside Grid Item */
.grid-item img, .grid-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item video {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.grid-item:hover video {
    opacity: 1;
}

/* Text Box Styling */
.text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    position: relative; /* Added for positioning children */
    overflow: hidden; /* Hide content that overflows during animation */
}

.text-box:nth-of-type(7) { /* Assuming the 7th grid item is the first text box */
    background-color: rgba(224, 242, 247, 0.7); /* Semi-transparent Cyan-Blue */
}

.text-box:nth-of-type(8) { /* Assuming the 8th grid item is the second text box */
    background-color: rgba(224, 247, 242, 0.7); /* Semi-transparent Bluish Cyan */
}

.text-box:nth-of-type(9) { /* Assuming the 9th grid item is the third text box */
    background-color: rgba(224, 242, 247, 0.7); /* Semi-transparent Cyan-Blue (matching first box) */
}

.text-box h3 {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

.vision-box h3 {
    color: #00008b;
}

.text-box:nth-of-type(8) h3 {
    color: #00BCD4; /* Cyan-Blue for Mission */
}

.text-box:nth-of-type(9) h3 {
    color: #ADFF2F; /* Greenish Yellow for Values */
}

/* Typewriter Text Box Styling */
.typewriter-box {
    grid-column: 1 / -1; /* Span the full width of the grid */
    background: linear-gradient(270deg, #e0f2f7, #e0f7f2, #f2f7e0);
    color: #000;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    padding: 40px;
    text-align: center;
}

.typewriter-box h3 {
    /* Removed conflicting color property */
}

.typewriter-container {
    display: inline-block;
    text-align: center; /* Center the text within the container */
    width: 100%; /* Take full width to allow centering */
}

.typewriter-box h3 {
    /* Removed conflicting color property */
}

.typewriter-container {
    display: inline-block;
    text-align: center; /* Center the text within the container */
    width: 100%; /* Take full width to allow centering */
}

.typewriter {
    overflow: hidden; /* Ensures the text is not visible until the animation */
    border-right: .15em solid #00BCD4; /* The typewriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    display: inline-block; /* Allows width animation */
    letter-spacing: .15em; /* Adjust as needed */
    animation: blink-caret .75s step-end infinite; /* Only blink-caret here */
    
    /* For color cycling */
    background: linear-gradient(to right, #00008B, #00BCD4, #ADFF2F, #00008B); /* Dark Blue, Cyan-Blue, Greenish Yellow */
    background-size: 300% 100%; /* Make it wider than 100% to allow shifting */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.typewriter.color-cycle {
    animation: color-shift 3s linear forwards; /* Apply color shift animation */
}

/* The typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00BCD4; }
}

/* Color shift animation */
@keyframes color-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Clickable Text Box Styling */
.clickable-text-box {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clickable-text-box:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Expanded Overlay Styling */
#expanded-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background, now brighter */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Above everything else */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#expanded-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Applications Page Styling */
#applications-page {
    width: 100%;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: transparent; /* Changed to transparent */
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto; /* Center the grid */
    justify-content: center;
}

.application-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px; /* Softer corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease; /* Smooth transitions */
}

.application-card:hover {
    background: linear-gradient(to right, #00BCD4, #00ACC1, #CDDC39); /* Gradient on hover */
    color: #fff; /* White text on hover */
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.application-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px; /* Softer corners for images */
}

.application-card h3 {
    font-size: 1.6em; /* Slightly larger font */
    margin-bottom: 10px;
    color: #333; /* Darker text for better contrast */
}

.application-card:hover h3 {
    color: #fff; /* White text on hover */
}

.more-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.more-btn:hover {
    background-color: #0056b3;
}

.demarcation-line {
    width: 100%;
    height: 10px; /* Height of the line */
    background: linear-gradient(to right, #00008B 33%, #00BCD4 33%, #00BCD4 66%, #ADFF2F 66%);
    box-shadow: 0 0 15px 5px rgba(0, 0, 139, 0.07), /* Dark Blue */
                0 0 15px 5px rgba(0, 188, 212, 0.07), /* Cyan-Blue */
                0 0 15px 5px rgba(173, 255, 47, 0.07); /* Greenish Yellow */
}

/* Application Industries Page Styling */
.application-industries-page {
    width: 100%;
    min-height: 50vh; /* Reverted to original height */
    padding: 50px 0; /* Reverted to original padding */
    text-align: center;
    background: linear-gradient(270deg, #e0f2f7, #e0f7f2, #f2f7e0);
    background-size: 600% 600%;
    animation: gradientAnimation 30s ease-in-out infinite; /* Slower and smoother */
}

.application-industries-page h2 {
    font-size: 3em;
    color: #333;
    margin-bottom: 30px;
}

/* Keyframe Animations */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

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

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    33% { background-position: 50% 50%; }
    66% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .grid-template-columns {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .grid-auto-rows {
        grid-auto-rows: 120px;
    }
    .header-logo {
        height: 80px;
        top: -20px;
    }
    .nav-left, .nav-right {
        gap: 20px;
    }
    .nav-center {
        margin: 0 40px;
    }
    #expanded-content {
        width: 90%;
        padding: 20px;
    }
    #expanded-title {
        font-size: 2em;
    }
    #expanded-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-center {
        order: -1; /* Move logo to the top */
        margin-bottom: 20px;
    }
    .header-logo {
        position: static; /* Reset positioning */
        transform: none;
        height: 70px;
    }
    .nav-left, .nav-right {
        width: 100%;
        justify-content: space-around;
    }
    .grid-item.wide, .grid-item.tall, .grid-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Product Center Carousel Styling */
#product-center-page {
    padding: 50px 0;
    text-align: center;
    background: linear-gradient(270deg, #e0f2f7, #e0f7f2, #f2f7e0);
    background-size: 600% 600%;
    animation: gradientAnimation 30s ease-in-out infinite;
}

#product-center-page h2 {
    font-size: 3em;
    color: #333;
    margin-bottom: 50px;
}

.carousel-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
    overflow: hidden;
    position: relative;
    height: 450px;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card {
    min-width: 350px; /* Increased width */
    height: 350px; /* Decreased height */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    text-align: center;
    margin: 0 15px;
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.3s ease;
    opacity: 0.7;
    cursor: pointer;
}

.product-card.active {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
    background: linear-gradient(45deg, #00BCD4, #00ACC1, #CDDC39);
}

.product-card h3 {
    font-size: 1.4em; /* Adjusted font size */
    margin-bottom: 10px;
    color: #333;
    height: 3em; /* Adjusted height for text */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card.active h3 {
    color: #fff;
}

.product-card img {
    width: 200px; /* Adjusted image width */
    height: 150px; /* Adjusted image height */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* New Keyframe for Product Card Gradient Animation */
@keyframes cardGradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Carousel Wrapper Styling */
.carousel-wrapper {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    margin: 50px auto;
    max-width: 1200px;
    box-shadow: 0 0 0 5px transparent; /* Initial transparent border for glow */
    animation: glowingBorder 3s linear infinite;
    position: relative;
    overflow: hidden; /* Ensure glow stays within bounds */
}

/* Glowing Border Animation */
@keyframes glowingBorder {
    0% {
        box-shadow: 0 0 0 5px rgba(0, 188, 212, 0.7); /* Cyan-Blue */
    }
    33% {
        box-shadow: 0 0 0 5px rgba(0, 172, 193, 0.7); /* Bluish Cyan */
    }
    66% {
        box-shadow: 0 0 0 5px rgba(173, 255, 47, 0.7); /* Greenish Yellow */
    }
    100% {
        box-shadow: 0 0 0 5px rgba(0, 188, 212, 0.7); /* Cyan-Blue */
    }
}

.carousel-container {
    width: 100%; /* Take full width of wrapper */
    overflow: hidden; /* Hide overflowing cards */
}

.carousel {
    display: flex;
    transition: transform 0.8s ease-in-out; /* Smooth transition for movement */
    justify-content: flex-start; /* Align items to start for proper scrolling */
}

.product-card {
    flex: 0 0 auto; /* Prevent cards from shrinking */
    margin: 0 15px; /* Space between cards */
    /* Existing styles */
}

/* About Us Page Styling */
.about-us-intro {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto 40px auto;
    color: #555;
}

.team-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 50px;
}

.team-card {
    width: 250px; /* Width of the card */
    height: 350px; /* Height of the card */
    perspective: 1000px; /* For 3D flip effect */
    cursor: pointer;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s; /* Smooth flip transition */
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Hide back of the card during flip */
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.card-front {
    background-color: #fff;
    color: #333;
}

.card-front img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 15px; /* Match card border-radius */
}

.card-back {
    background: linear-gradient(45deg, #00BCD4, #00ACC1, #ADFF2F); /* Gradient for back */
    color: #fff;
    transform: rotateY(180deg);
}

.card-back h4 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.card-back p {
    font-size: 1em;
    line-height: 1.5;
    padding: 0 10px;
}

/* Our Customers Page Styling */
#our-customers-page {
    padding: 50px 0;
    text-align: center;
    background: linear-gradient(270deg, #e0f2f7, #e0f7f2, #f2f7e0);
    background-size: 600% 600%;
    animation: gradientAnimation 30s ease-in-out infinite;
    overflow: hidden; /* Prevent scrollbars from appearing */
}

#our-customers-page h2 {
    font-size: 3em;
    color: #333;
    margin-bottom: 50px;
}

.customer-scroller {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.scroller-inner {
    display: flex;
    animation: scroll 30s linear infinite;
}

.logo-scroller .scroller-inner {
    animation-direction: normal; /* Right to left */
}

.testimonial-scroller .scroller-inner {
    animation-direction: reverse; /* Left to right */
}

.logo-scroller img {
    height: 80px;
    margin: 0 40px;
    transition: filter 0.3s ease;
}

.logo-scroller img:hover {
    filter: grayscale(0%);
}

.subtle-line {
    width: 80%;
    height: 1px;
    background-color: #ccc;
    margin: 40px auto;
}

.testimonial-card {
    width: 300px;
    height: 200px;
    perspective: 1000px;
    margin: 0 20px;
    flex-shrink: 0; /* Prevent cards from shrinking */
}

.testimonial-card .card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.testimonial-card .card-front,
.testimonial-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial-card .card-front {
    background-color: #fff;
    color: #333;
}

.testimonial-card .card-back {
    background: linear-gradient(45deg, #00BCD4, #00ACC1, #ADFF2F);
    color: #fff;
    transform: rotateY(180deg);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Contact Us Page Styling */
#contact-us-page {
    padding: 50px 0;
    text-align: center;
    background: linear-gradient(270deg, #e0f2f7, #e0f7f2, #f2f7e0);
    background-size: 600% 600%;
    animation: gradientAnimation 30s ease-in-out infinite;
    min-height: 80vh; /* Adjust as needed */
}

#contact-us-page h2 {
    font-size: 3em;
    color: #333;
    margin-bottom: 50px;
}

.contact-content-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.contact-details {
    flex: 1;
    min-width: 300px;
    text-align: left;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the start */
    min-height: 300px; /* Increased height to ensure button visibility */
}

.contact-item {
    margin-bottom: 20px;
    /* Removed flex properties from contact-item to rely on parent contact-details for layout */
    /* display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%; */
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }
.contact-item:nth-child(5) { animation-delay: 0.5s; }

.contact-item h3 {
    font-size: 1.5em;
    color: #00BCD4; /* Cyan-Blue */
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 1.1em;
    color: #555;
}

.social-links a img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.social-links a img:hover {
    transform: scale(1.1);
}

.contact-map {
    flex: 1;
    min-width: 400px;
    height: 450px;
    background-color: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Styling */
footer {
    background: linear-gradient(270deg, #00008B, #00BCD4, #ADFF2F);
    background-size: 600% 600%;
    animation: gradientAnimation 30s ease-in-out infinite;
    padding: 40px 0;
    text-align: center;
    color: #fff;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.footer-content a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-content a:hover {
    color: #000;
    transform: scale(1.1);
}

@keyframes panUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form Page Styling */
.contact-form-container {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(270deg, #e0f2f7, #e0f7f2, #f2f7e0);
    background-size: 600% 600%;
    animation: gradientAnimation 30s ease-in-out infinite;
}

.contact-form-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-header h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.product-name-display {
    font-size: 1.2em;
    color: #555;
}

#inquiry-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

#inquiry-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#inquiry-form label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

#inquiry-form input,
#inquiry-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

#inquiry-form textarea {
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(to right, #00BCD4, #00ACC1, #CDDC39);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.success-message {
    text-align: center;
}

.success-message h2 {
    font-size: 2.5em;
    color: #00BCD4;
    margin-bottom: 20px;
}

.success-message p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.home-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, #00BCD4, #00ACC1, #CDDC39);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Styles for the new contact form button */
.contact-form-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(to right, #00BCD4, #00ACC1, #CDDC39); /* Cyan-Blue to Greenish Yellow gradient */
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: auto; /* Pushes the button to the bottom */
    align-self: flex-end; /* Aligns the button to the right within the flex container */
}

.contact-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

