/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    scroll-behavior:smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Menu container */
.menu-container {
    position: fixed;
    top: 20px;
    right: 20px;
}

/* Three dots button */
.menu-button {
    background: #203A72;
    color:#14A0DE;
    height: 48px;
    width:48px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown menu (hidden by default) */
.menu-dropdown {
    display: none;
    position: absolute;
    right: 50px;
    background-color: white;
    border: 1px solid #14A0DE;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 180px;
    z-index: 1000;
    top: 10px;
}

/* Show the menu when active */
.menu-dropdown.show {
    display: block;
}

/* Menu items */
.menu-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
}

.menu-dropdown a:hover {
    background-color: #14A0DE;
}
/* Ensure it doesn’t go off-screen */
@media (max-width: 400px) {
    .menu-dropdown {
        right: 10px; /* Prevents overflow on small screens */
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg-2.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 400px 20px;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block; 
    white-space: nowrap;           
    overflow: hidden;              
    border-right: 3px solid white; 
    animation: blink-caret 0.75s step-end infinite;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.hero .cta {
    background: #ff6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    margin:20px;
}
.hero .cta:hover {
    background: #cc5200;
}

@keyframes blink-caret {
    50% { border-color: transparent; }
}

/* About Section */
.about {
    padding: 50px 20px;
    text-align: center;
}
.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Toolbag Section */
.toolbag {
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.toolbag h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.toolbag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.toolbag-item {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 15px; /* Increased rounding */
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover animation */
}

.toolbag-item:hover {
    transform: scale(1.05); /* Enlarges slightly on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.toolbag-item .icon-container {
    width: 300px;
    height: 180px;
    margin: 0 auto 10px;
    border-radius: 10px;
    overflow: hidden; /* Ensures images stay within rounded corners */
    display: flex;
    align-items: center; /* Centers the image vertically */
    justify-content: center; /* Centers the image horizontally */
}

.toolbag-item .icon-container img {
    max-width: 90%; /* Ensures the image never exceeds the container's width */
    max-height: 90%; /* Ensures the image never exceeds the container's height */
    object-fit: contain; /* Maintains the aspect ratio without cropping */
    transition: transform 0.3s ease; /* Smooth hover animation for image */
}

.toolbag-item:hover .icon-container img {
    transform: scale(1.1); /* Image zoom effect on hover */
}

.toolbag-item p {
    font-size: 1rem;
    margin: 0;
    color: #333; /* Slightly darker text for better visibility */
}


/* Gap Section */
.gap-section {
    height: 500px;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

/* Services Section */
.services {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;

}
.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.service {
    max-width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: white;
}
.service div:hover{
    cursor: pointer;
}
.portfolio-item .icon-container {
    width:300px;
    height: 180px;
    margin: 0 auto 10px;
}
.service .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.service .icon-container img {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Gap 2 Section */
.gap-section-2 {
    height: 500px;
    background: url('RenderFog3-3.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

/*Configure Section*/
.configure {
    padding: 50px 20px;
    text-align: center;
}

.configure h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.config-list {
    display: flex;
    gap: 20px; 
}

.config-list p {
    margin-right:5.2em;
    margin-left:5.2em;
    margin-bottom: 15px;
    text-align:left;
    word-wrap:normal;
    max-width: 30rem;
    white-space: wrap;
}
.config-list h3 {
    margin-bottom:15px;
    margin-left:5.2em;
    text-align:left;
    word-wrap:normal;
    max-width: 30rem;
    white-space: wrap;
}

.config-list a {
    text-align: left;
}

.configure .cta {
    background: #FFAE00;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    margin:10px;
}

.configure .cta:hover{
    background: #cc5200;
}

.hidden-element {
    opacity: 0;
    transform: translateX(-150px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hidden-element.visible {
    opacity: 1;
    transform: translateX(0); /* Slide into its original position */
}

.configure .iframe {
    margin: 15px;
    border: none;
    height: 640px;
    width: 1024px;
}

/* Portfolio Section */
.portfolio {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.portfolio-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.portfolio-btn {
    max-width: 300px;
    padding: 20px;
    border-radius: 15px; /* Increased rounding */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover animation */
}

.portfolio-btn:hover {
    transform: scale(1.05); /* Enlarges slightly on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.portfolio-image {
    width: 300px;
    height: 250px;
    margin: 0 auto 10px;
    border-radius: 10px; /* Enhanced rounding for the image container */
    overflow: hidden; /* Ensures images stay within rounded corners */
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fits well */
    transition: transform 0.3s ease; /* Smooth hover animation for image */
}

.portfolio-btn:hover .portfolio-image img {
    transform: scale(1.1); /* Image zoom effect on hover */
}

.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.portfolio p {
    font-size: 1rem;
    margin: 10px 0 0;
    color: #333; /* Slightly darker text for better visibility */
}

.text-center {
    text-align: center;
    font-size: 100%;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .55rem .9rem;
    font-size: 1rem;
    border-radius: .5rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

a.btn {
    background:  #FFAE00;
    border: none;
    font-family: Arial, sans-serif;
}

a.btn:hover {
    background: #cc5200;
}

.gallery-wrap .text-center a.btn.btn-black {
    margin-top: 55px;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    text-align: center;
}
.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.contact form {
    max-width: 600px;
    margin: 0 auto;
}
.contact label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}
.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.contact button {
    background: #FFAE00;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
}
.contact button:hover {
    background: #cc5200;
}

.oepsclass {
    color: black;
    font-size: 2.5rem;
    font-family: monospace;
    text-align: center;
    margin-top: 20%;
    margin-bottom: auto;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
}
.footer p {
    margin: 0;
}
.footer .socials a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
.footer .socials a:hover {
    text-decoration: underline;
}