/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Body and main container */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/hero-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}
.logo-img {
    height: 160px;
    position: absolute;
    left: 10px;
    top: 50%; /* Adjust from 50% to move it down */
    transform: translateY(-50%);
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: translateY(-50%) scale(1.05); /* Optional: slight zoom on hover */
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    /* Removed background color */
    /* Added very subtle text shadow for better readability */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}



.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1rem 2rem 1rem 200px;
    min-height: 120px;
}

.company-title {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 600;
}


.navbar {
    position: static; /* Change from absolute */
    right: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}



/* Optional: Add animation for navigation links */
.nav-links a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
color: #90EE90; /* Light green */
text-shadow: 0 0 10px rgba(144, 238, 144, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #90EE90;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Add hamburger menu for mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
    z-index: 1001;
}

/* Hero Section - adjust height to account for header and footer */
/* Update hero section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 92px); /* Account for header and footer exactly */
    margin: 0;
    padding: 2rem;
    position: relative;
    overflow: hidden; /* Prevent scrolling */
}

/* Add these animation styles */
/* Update content section */
.content-section {
    display: none;
    opacity: 0;
    width: 100%;
    position: relative;
    margin: 0 auto;
    transition: opacity 0.5s ease;
    height: 100%; /* Take full height of parent 
    /*display: none;
    opacity: 0;
    width: 100%; /* Change to 100% 
    position: relative;
    display: flex;     /* Add these three lines 
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
    height: 100%;*/
}
.content-section.active {
    display: block;
    opacity: 1;
    
}
/* Special home content styling */
#home-content.content-section {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
}

#home-content.content-section.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* Box styling for other content sections */
.hero-content {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    padding: 2rem 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    width: 100%;
    max-height: calc(100vh - 120px); /* Prevent overflow */
    overflow-y: auto; /* Allow scrolling if content is too long */
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative; /* Change to absolute */
    left: 50%;
    /*top: 50%;  Add this */
       /*transform: translate(-50%, -50%);
    transform: translateX(-50%); */
}

.hero-content.show {
    opacity: 1;
}



.hero-content h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero-content h3 {
    color: #444;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: #333;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-content ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.hero-content li {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.case-study {
    margin-bottom: 2rem;
}

.case-study:last-child {
    margin-bottom: 0;
}

/* Footer Styles */
.footer {
    background: #000; /* Changed to solid black */
    padding: 0.5rem 0;
    width: 100%;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    color: #fff;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    height: 100%;
}



.hero-title {
    font-size: 5rem;
    line-height: 1.2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    width: auto;
    position: static; /* Remove absolute positioning */
    transform: none; /* Remove transform */
}

.ampersand {
    font-size: 8rem;
    font-weight: 300;
    font-family: 'Times New Roman', serif;
    opacity: 0.9;
}

.deliver-text {
    font-weight: 300;
    letter-spacing: 2px;
}
/* Contact Button Styles */
.contact-button {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    padding: 20px 10px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.contact-button i {
    font-size: 20px;
    margin-bottom: 5px;
}
.contact-button.active {
    right: 400px;
    background-color: #90EE90;
}

.contact-button:hover {
    background-color: #90EE90;
}

.contact-form {
    position: fixed;
    right: -400px;
    top: 50%; /* Change from fixed top */
    transform: translateY(-50%); /* Add this for vertical centering */
    width: 400px;
    background: #fff;
    padding: 1.2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-radius: 8px; /* Optional: add rounded corners */
    max-height: 90vh; /* Prevent form from being too tall */
    overflow-y: auto; /* Add scroll if content is too tall */

}

.contact-form.active {
    right: 1rem;
}
.contact-button.active {
    right: 420px; /* Adjust based on form width + right margin */
}

.contact-header {
    margin-bottom: 0.5rem;
}
.contact-header h2 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    margin: 0; 
}

.form-group {
    margin-bottom: 0.8rem;
}
.form-group:last-child {
    margin-bottom: 0; /* Remove margin from last form group */
}
.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    color: #333;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    height: 32px; 
}

.form-group textarea {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    height: 60px; /* Reduce textarea height */
    resize: none;
}

.submit-button {
    background: #90EE90;
    color: #333;
    padding: 0.6rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
}

.submit-button:hover {
    background-color: #7BC47B;
}

/* Update case studies specific styles */
#case-studies-content {
    
    padding: 2rem;
    
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#case-studies-content h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Optional: adds readability */
}

/* Update carousel container */
.carousel-container {
    position: relative;
    width: 100%;
    padding: 20px 40px; /* Remove side padding */
    margin-bottom: 50px; /* Add space for arrows */
    height: 100%; /* Change to 100% to allow vertical centering */
    display: flex;
    align-items: center; /* Center vertically */

    /*flex: 1;
    display: flex; 
    flex-direction: column;
    justify-content: center;*/
}

/* Ensure the background shows through */
.carousel-wrapper {
    overflow: visible;
    height: 450px;
}

.carousel {
    display: flex;
    justify-content: space-between;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    height: 450px
}
/* Adjust carousel item spacing and width */
.carousel-item {
    opacity: 0.7;
    flex: 0 0 calc(50% - 20px);
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.5) 100%
    ); /* Subtle gradient overlay for text readability */
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1.02);
}
.expand-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease;
}

.expand-icon i {
    color: #333;
    font-size: 1rem;
}

.expand-icon:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.carousel-text {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    padding: 0;
    background: none;
    color: #fff;
    z-index: 2;
}

.carousel-text h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Add a gradient overlay to the entire item */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    border-radius: 15px;
}

.carousel-item:hover .carousel-text {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.read-more {
    color: #98FF98;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(152, 255, 152, 0.1);
    transition: background 0.3s ease;
}
.read-more:hover {
    background: rgba(152, 255, 152, 0.2);
}

.carousel-arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: transparent; /* Completely transparent background */
    border: 2px solid rgba(152, 255, 178, 0.6); /* Mint green border */
    border-radius: 50%;
    cursor: pointer;
    color: rgba(152, 255, 178, 0.8); /* Mint green color for the arrow icon */
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    border-color: rgba(152, 255, 178, 1); /* Solid mint green border on hover */
    color: rgba(152, 255, 178, 1); /* Solid mint green color on hover */
}

/* Remove any text shadow if you want it completely clean */
.carousel-arrow {
    text-shadow: none;
}

/* Create a container for arrows */
.carousel-arrows {
    position: absolute;
    bottom: -50px; /* Position below the carousel */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex; /* Add this */
    gap: 10px; /* Space between arrows */
}

/* Update arrow positions */
.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}


/* Show arrows when there's overflow */
.carousel-container.has-overflow .carousel-arrow {
    display: block;
}

/* Play button styles */
.play-button {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(152, 255, 178, 0.2);
    border: 2px solid rgba(152, 255, 178, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button i {
    color: rgba(152, 255, 178, 0.8);
    font-size: 1.2rem;
}

.play-button:hover {
    background: rgba(152, 255, 178, 0.3);
    border-color: rgba(152, 255, 178, 1);
}

/* Video styles */
.carousel-video {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Fullscreen video container */
.fullscreen-video-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.fullscreen-video-container.active {
    display: flex;
}

/* Update fullscreen video styles */
.fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This will maintain aspect ratio */
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}


.fullscreen-ppt {
    width: 90%;
    height: 90%;
    border: none;
}

.carousel-ppt {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    z-index: 2; /* Ensure it's above the image */
}

/* When the PPT is displayed */
.carousel-item.ppt-active {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.carousel-item.ppt-active img,
.carousel-item.ppt-active .carousel-text {
    display: none;
}

/* Header responsive styles */
/* Responsive styles */
@media (max-width: 1024px) {
    .header-content {
        min-height: 110px;
        padding-left: 160px;
    }
    .logo-img {
        height: 120px; /* Slightly smaller on medium screens */
    }
    .menu-toggle {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 60px;
        right: -200px; /* Reduce width */
        width: auto; /* Change from 100% to auto */
        height: auto; /* Change from calc(100vh - 60px) to auto */
        background: rgba(0, 0, 0, 0.9);
        transition: 0.3s ease-in-out;
        padding: 1rem;
        border-radius: 8px; /* Add rounded corners */
        min-width: 180px; /* Minimum width for the menu */
    }

    .navbar.active {
        right: 1rem; /* Add some margin from the right edge */
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start; /* Align items to the left */
        gap: 1rem; /* Reduce gap between items */
        padding: 0; /* Remove padding */
    }

    .nav-links a {
        font-size: 1rem;
        width: 100%;
        padding: 0.5rem 1rem;
        transition: background-color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: rgba(144, 238, 144, 0.1); /* Slight highlight on hover */
    }

    .company-title {
        font-size: 1.2rem;
        max-width: 60%; /* Prevent overlap with menu toggle */
        text-align: center;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 100px; /* Further reduced for mobile */
        left: 15px; /* Adjust position */
    }
    .header-content {
        min-height: 90px;
        padding-left: 120px;
    }

    .company-title {
        font-size: 1rem;
    }

    .menu-toggle {
        right: 1rem;
    }
    .contact-form {
        width: 300px; /* Smaller width for mobile */
        padding: 1rem;
    }
    .contact-form.active {
        right: 0.5rem; /* Smaller margin on mobile */
    }
    
    .contact-button.active {
        right: 320px; /* Match the form width */
    }
}
/* Adjust company title spacing */
.company-title {
    margin-left: 20px; /* Add some space from the logo */
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        height: -webkit-fill-available;
    }
}