@charset "UTF-8";
/* Global Reset */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
}

/* 1. Fixed Logo Container - Keeping the position you liked */
#logo {
    position: fixed;
    top: 0;      
    left: 30px;
    z-index: 1001; 
    height: 80px;   /* Keeping the height at 80 for positioning */
    display: flex;
    align-items: center;
	pointer-events: none;
}

/* 2. The actual Logo Image - Reducing the graphic size inside the container */
#logo img {
    height: 80px;    /* Match container height for Chrome stability */
    padding-top: 20px;
	width: auto;
    display: block;
	pointer-events:auto;
	/*filter: drop-shadow(0 5px 10px rgba(0,0,0,0.15));*/
	transition: 0.3s ease;
}
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* 2. Sticky Navbar */
#navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 3px solid #800020;
    padding-right: 50px;
}

.nav-links {
    order: 1; /* Navigation links appear first on desktop */
}

.nav-links a {
    color: #800020;
    text-decoration: none;
    font-size: 17px;
    padding: 0 15px;
}

.nav-links a i {
    display: none; /* Hide icons on desktop for a cleaner top nav */
}

.nav-links a:hover {
    color: black;

}

/* 3. Hamburger Logic */
#menu-toggle {
    display: none;
}

.hamburger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    flex-direction: column;
    gap: 8px;
    order: 2;
}

.hamburger span {
    width: 35px;
    height: 3px;
    background-color: #800020;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsive: Hamburger appears no matter how small the screen gets */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        right: 0;
        background-color: white;
        width: max-content;
        min-width: 250px;
        border-bottom: 3px solid #800020;
		border-left: 1px solid #eee;
		align-items: flex-start;
		box-shadow: -5px 5px 15px rgba(0,0,0,0.1);
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 15px 20px;
        text-align: left; /* Align text to the left */
        width: 100%;
        border-bottom: 1px solid #eee;
        white-space: nowrap;
    }

    .nav-links a i {
        display: inline-block; /* Show icons only in hamburger menu */
        margin-right: 12px;
        width: 20px;
        text-align: center;
    }

    /* Animate Hamburger to X */
    #menu-toggle:checked + .hamburger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    #menu-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked + .hamburger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}

/* 4. Sectors & Panels */
.mycompany {
    height: 750px;
    display: flex;
    align-items: center;
	justify-content: flex-end;
    font-size: 18px;
	color: #fff;
    position: relative;
    background-image: url('img/gemini002webbg.png'); /* Replace with your actual path */
    background-size: cover;          /* Scales the image to fill the container */
    background-position: top left;     /* Keeps the image centered */
    background-repeat: no-repeat;    /* Prevents the image from tiling */
}

.mycompany article{
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}

@media (max-width: 1024px){
	.mycompany::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
}
}
.text-right{
	justify-content: flex-end !important;
	align-items: flex-end !important;
	text-align: right;
}

.sector {
    scroll-margin-top: 100px;
    display: flex;
	flex-wrap: wrap;
    min-height: auto;
    padding: 50px 50px;
    border-top: 1px solid #800020;
    position: relative; /* Necessary for Employee Link */
	overflow: hidden;
}

.sector-sidebar {
    flex: 0 0 250px;
    border-right: none;
    margin-right: 40px;
	height: fit-content;
	padding-top: 15px;
	
}

.sector-sidebar h2 {
    color: #800020;
    margin: 0;
}

.sector-content {
    flex: 1;
	min-width: 300px;
	display: flex;
	flex-direction: column;
}

/* The Intro Paragraph (Top Row) */
.sector-content > p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* 5. Employee Link - Bottom Right of Sector */
.employee-link {
    position: absolute;
    bottom: 20px;
    right: 40px;
    color: #800020;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* 6. Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: solid 2px #800020;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    border-bottom: 2px solid #800020;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #800020;
}

/* The Grid for the 8 sub-sectors */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 25px;
	align-items: start;
}

.service-item {
    background-color: #fdfdfd;
    padding: 20px;
    border-left: 5px solid #800020;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.service-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #ffffff;
}

.service-item h3 {
    margin: 0 0 10px 0;
    font-size: 17px;
    color: #800020;
}

/* Responsive: Collapse to 1 column on mobile */
@media (max-width: 1024px) {
    .services-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Contact Sector Layout */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: #800020;
    margin-top: 0;
}

.contact-info p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-info a {
    color: #800020;
    text-decoration: underline;
}

.contact-map {
    flex: 1.5;
    min-width: 300px;
    
    /* This makes the container square */
    aspect-ratio: 1 / 1; 
    
    /* This ensures no border is interfering with the fit */
    border: none; 
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%; /* Fill the aspect-ratio container responsively */
    border: none;
}

@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
    }
	.contact-map iframe{
		width: 100%;
		height: 100%;
	}
}

.details-link {
    font-size: 12px;
    color: #800020; /* Matching your primary color */
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.details-link:hover {
    color: #333;
}

/* If you are using a library like Tippy.js or Bootstrap Tooltips, 
   the "title" attribute in the HTML above will automatically 
   pop up when the user hovers over the link. */
   
   /* Hide the details by default */
#plant-details-popup {
    display: none;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #800020; /* Your brand color */
    margin-top: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

/* Show the details when hovering over the service-item box */
.service-item:hover #plant-details-popup {
    display: block;
}

/* Style for the "More Details" text */
.details-trigger {
    font-size: 11px;
    color: #800020;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Container for the 2x2 grid */
.product-gallery-static {
    display: grid;
	grid-template-columns: repeat(2, 1fr); /* Default 2x2 grid */
    gap: 15px; /* Adjust spacing between images as needed */
    margin-top: 15px;
}

/* Force images to be square */
.product-gallery-static img {
    display: block;
	width: 100%;             /* Fills the grid cell width */
	height: 100%;
    aspect-ratio: 1 / 1;     /* Forces the square shape (1:1 ratio) */
    object-fit: cover;       /* Ensures the image fills the square without distortion */
    border-radius: 4px;
    /*transition: transform 0.3s ease;*/
}
/*
.product-gallery-static img:hover {
	overflow: hidden;
	
    border-color: #800020;
   	justify-content: center;
	align-content: center;
	z-index: 999;
}*/

/* Switch to 1x4 grid on screens smaller than 1020px */
@media (max-width: 1024px) {
    .product-gallery-static {
        grid-template-columns: 1fr; /* Switch to 1 column */
    }

}
.project-gallery-static{
	overflow: block;
    display: grid;
	padding-left: 50px;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Adjust spacing between images as needed */
    margin-top: 15px;
}

/* Force images to be square */
.project-gallery-static img {
    width: 100%;            /* Fills the grid cell width */
	height: auto;
    aspect-ratio: 1 / 1;     /* Forces the square shape (1:1 ratio) */
    object-fit: cover;       /* Ensures the image fills the square without distortion */
    border-radius: 4px;
    /*transition: transform 0.3s ease;*/
}

/* Subtle zoom effect on hover *//*
.project-gallery-static img:hover {
    overflow: hidden;
    top: 50%;
    left: 50%;
    z-index: 999;  
    max-width: 90vw;
    max-height: 90vh;
}*/

/* Switch to 1x4 grid on screens smaller than 1020px */
@media (max-width: 1024px) {
    .project-gallery-static {
        grid-template-columns: 1fr; /* Switch to 1 column */
    }
}
/* Adjustments for the Project Item box */
.project-item {
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-top: 5px solid #800020;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}


.project-item {
    border-top: 4px solid #800020;
    padding: 20px;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.details-content {
    margin-top: 15px;
    /* You can add a subtle fade-in animation here if desired */
}

.details-trigger {
    display: inline-block;
    margin-top: 10px;
    color: #800020;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.details-trigger:hover {
color: #333;
}

.media-category {
    display: none; /* Hide all by default */
}
.media-category.active {
    display: block; /* Show only when active */
}

/* Removes underline from sidebar media switcher buttons */
.media-switcher .details-trigger {
    text-decoration: none !important;
    display: block;
    padding: 10px 0;
    transition: 0.3s;
}

/* Adds a hover effect to show they are clickable */
.media-switcher .details-trigger:hover {
    color: #333;
    padding-left: 5px;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background: #111;
    border-radius: 12px;
}

.image-slider {
    width: 100%;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.image-slider img {
    max-width: 100%;
    max-height: 500px;

    object-fit: contain;

    display: block;
    margin: auto;
}

/* Side arrows */
.prev,
.next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.6);
    color: white;

    font-size: 28px;
    cursor: pointer;

    z-index: 999;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover,
.next:hover {
    background: rgba(128,0,32,0.9);
}


.social-float-menu {
    position: fixed;
    left: 20px;       /* Distance from the left edge */
    bottom: 20px;     /* Distance from the bottom edge */
    display: flex;
    flex-direction: row; /* Change this from column to row */
    gap: 12px;           /* Increased gap slightly for a cleaner horizontal look */
    z-index: 9999;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border-radius: 50%; /* Circular icons look great in the corner */
    transition: transform 0.2s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Adds depth */
}

/* Hover Animation: Scale up slightly instead of widening */
.social-icon:hover {
    transform: scale(1.15);
}

/* Brand Colors */
.facebook { background-color: #3b5998; }
.line { background-color: #00c300; }
.linkedin { background-color: #0077b5; }
.email { background-color: #800020; }  /* Burgundy */

/* Language Switcher Styling */
.lang-switcher {
    display: inline-flex;
    gap: 5px;
    margin-left: 15px;
    align-items: center;
    order: 2; /* Default: Switcher at the end on desktop */
}

.lang-btn {
    padding: 3px 8px;
    border: 1px solid #800020;
    background: white;
    color: #800020;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}
.lang-btn.active {
    background-color: #800020;
    color: white;
}
@media (max-width: 1024px) {
    .lang-switcher {
        margin-left: auto;
        margin-right: 30px; /* Generous space between switcher and hamburger */
        order: 0; /* Move switcher before hamburger in mobile flex flow */
    }
    .hamburger { order: 1; }
}

.image-slider {
    position: relative;
    width: 100%;
    text-align: center;
}

.gallery-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.gallery-wrapper img {
    border-radius: 10px;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Career Layout */
.career-layout {
    display: flex;
    gap: 40px;
    align-items: start;
    flex-wrap: wrap;
    margin-top: 20px;
}

.career-info {
    flex: 1;
    min-width: 250px;
}

.career-info h3 {
    color: #800020;
    margin-top: 0;
}

/* Career Form Styles */
.career-form {
    flex: 1.5;
    min-width: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.career-form div {
    display: flex;
    flex-direction: column;
}
.career-form .full-width {
    grid-column: 1 / -1;
}
.career-form label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
.career-form input, .career-form select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}
.career-form select {
    padding-right: 40px; /* Space for the custom arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23800020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* Global Form Normalization */
button, input, select, textarea {
    font-family: inherit;
}

/* Chrome-specific Date Picker fix */
input[type="date"] {
    min-height: 38px;
}
.btn-submit {
    background-color: #800020;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-submit:hover { background-color: #a00028; }
.btn-clear {
    background-color: #f4f4f4;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
@media (max-width: 600px) {
    .career-form { grid-template-columns: 1fr; }
}