/* RESET */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* RESET */

/* VARIABLES */

:root {
    --background: #f2f2f2;
    --main-green: #023e34;
    --light-gray: #e6e6e6;
    --gray: #999;
    --border-radius: 10px;
    --button-color: #023e34;
}

/* VARIABLES */


/* FONTS */

@font-face {
    font-family: "Irina";
    src: url("media/fonts/Inria_Sans/InriaSans-Regular.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "WorkSans";
    src: url("media/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* FONTS */

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

/* INDEX CSS */

nav {
    background-color: #DFF2CE; /* Slightly darker gray for the navigation */
    padding: 2px;
    border-top: 1px solid #333;
}

.centered_nav li {
    margin: 0 15px;
    color: #333;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.centered_nav li:hover {
    color: #666; /* Subtle hover effect with darker shade */
    cursor: pointer;
}


body {
    background-color: var(--background);
    font-family: "WorkSans", sans-serif;
    margin: 0;
    padding: 0;
}


/* General Layout */
.centered_div {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
    padding: 30px 0;
    flex-direction: column; /* Stacks content vertically */
}

.centered_div h1 {
    text-align: center;
    color: var(--main-green);
    font-size: 2.5rem;
    font-family: "Irina", sans-serif;
    margin-bottom: 20px;
}

.icon-container {
    position: absolute;
    right: 0;
    display: flex;
    gap: 10px; /* Adds space between icons */
}

.icon1, .icon2 {
    font-size: 28px; /* Example icon size */
    padding-right: 16px;
}


/* Centered Navigation */
.centered_nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px;
    flex-wrap: wrap; /* Wraps the nav items to fit smaller screens */
}

.centered_nav li {
    margin: 10px 15px;
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.centered_nav li:hover {
    color: #666;
    cursor: pointer;
}

/* SVG Container */
.svg-container {
    margin-top: 2.5%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Wraps images on smaller screens */
    gap: 20px;
}

.svg-container img {
    width: 180px;
    height: auto;
}

/* Photo Grid */
.photo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Wraps items on smaller screens */
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.lightbox {
    max-width: 300px;
    width: 100%;
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Video Styling */

.video-styled {
    width: 100%;
    max-width: 800px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

/* For WebKit-based browsers like Chrome and Safari */
.video-styled::-webkit-media-controls {
    border: none;
    outline: none;
}

.video-styled::-moz-focus-inner {
    border: none;
}

.video-styled:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Add consistent margin to section titles */
/* Section Headings */
.centered_texts {
    text-align: center;
    margin: 40px 0;
}

.centered_texts h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--main-green);
    margin-bottom: 20px;
}

/* Specific heading adjustments */
.centered_texts h3 {
    font-size: 1.8rem; /* Adjust the size of the headings */
    font-weight: 600;
    margin-bottom: 20px; /* Add space between heading and content */
    text-align: center;
    color: var(--main-green);
    font-size: 1.7rem;
    font-family: "WorkSans", sans-serif;   
}

/* Add padding to sections for more space around content */
section, .about-me-section, .faq-section, .photo-grid, .review-section, .container, .contact-section {
    padding: 40px 0; /* Add padding to give breathing room around sections */
}

/* For smaller screen sizes */
@media (max-width: 768px) {
    .centered_texts {
        margin-top: 30px; /* Slightly reduced margin for mobile */
        margin-bottom: 20px;
    }

    /* Adjust padding inside sections */
    section, .about-me-section, .faq-section, .photo-grid, .review-section, .container, .contact-section {
        padding: 30px 0;
    }
}


.review-section {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for the top row */
    grid-template-rows: auto auto;         /* Two rows */
    grid-template-areas: 
        "review1 review2"
        "review3 review3"; /* The third review spans across both columns */
    gap: 30px;  /* Increased spacing between the reviews */
    padding: 30px;
    max-width: 1500px;  /* Constrain the grid width */
    margin: 0 auto;     /* Center the grid */
}

.review:nth-child(1) {
    grid-area: review1;
}

.review:nth-child(2) {
    grid-area: review2;
}

.review:nth-child(3) {
    grid-area: review3;
    max-width: fit-content;
    margin: auto;
}

.review {
    border: 1px solid #ddd;
    padding: 25px;  /* Increased padding for a larger look */
    text-align: center;
    background-color: #f9f9f9;
    font-size: 1.2rem;  /* Increase overall font size */
}

.review h3 {
    color: var(--main-green);
    margin-bottom: 15px;
    font-size: 1.5rem;  /* Increase the heading size */
}

.review p {
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;  /* Increase review text size */
}

.rating {
    color: gold;
    font-size: 1.8rem;  /* Make the star rating larger */
}

/* INDEX CSS */



:root {
    --background: #f2f2f2;
    --main-green: #023e34;
    --light-gray: #e6e6e6;
    --light-green: #DFF2CE;
    --gray: #999;
    --border-radius: 10px;
    --button-color: #023e34;
}

/* Body style */
body {
    font-family: "WorkSans", sans-serif;
    background-color: var(--background);
    margin: 0;
    padding: 0;
}

/* Layout container */

/* Container for the left and right sections */
/* Responsive Container */
.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Wraps items on smaller screens */
    width: 90%;
    margin: 40px auto;
}

.left-section,
.right-section {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.left-section {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.left-section h2 {
    padding-bottom: 20px;
}

/* Ensure the upload box doesn't overlap with the right section */
.upload-box {
    width: 100%;
    height: 400px; /* Adjust height */
    border: 2px dashed var(--gray);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box; /* Ensure the padding and borders are included in the total width */
}

/* Uploaded images container */
#uploadedImages {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    overflow-x: auto;
    white-space: nowrap;
    max-height: 250px;
    width: 100%;
    max-width: 600px; /* Ensure it doesn’t exceed this width */
    box-sizing: border-box;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack the sections on smaller screens */
    }

    .left-section, .right-section {
        max-width: 100%; /* Ensure the sections take full width */
        margin-bottom: 20px; /* Add space between stacked sections */
    }
}

/* Empty image preview div */
#imagePreview {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Uploaded image styling */
#imagePreview img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Image that will fit the upload box */
.upload-box img.uploaded-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image covers the box */
    border-radius: var(--border-radius);
}

.about-me-section {
    max-width: 800px; /* Adjust width as needed */
    margin: 40px auto; /* Center the section */
    padding: 20px;
    background-color: white; /* Match the form section */
    border-radius: var(--border-radius); /* Consistent border radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-me-section h2 {
    text-align: center;
    color: var(--main-green);
    font-size: 1.7rem;
    font-family: "WorkSans", sans-serif;  
}

.about-content {
    display: flex; /* Flexbox for side-by-side layout */
    align-items: center;
    margin-bottom: 20px;
}

.about-photo {
    width: 150px; /* Set a specific width */
    height: 150px; /* Set a specific height */
    border-radius: 50%; /* Circular image */
    margin-right: 20px; /* Space between image and text */
    border: 2px solid var(--main-green); /* Border to match the theme */
}

.about-text {
    flex: 1; /* Allow the text to take the remaining space */
}

.about-text p {
    line-height: 1.6; /* Improve readability */
    color: #555; /* Lighter gray for text */
    padding-bottom: 8px;
}

.key-points {
    margin-top: 20px;
    padding: 10px;
    background-color: var(--main-green); /* Use the main green for background */
    border-radius: var(--border-radius); /* Consistent border radius */
}

.key-points h3 {
    margin-bottom: 10px;
    color: white; /* White text for contrast */
}

.key-points ul {
    list-style-type: disc; /* Bulleted list */
    padding-left: 20px; /* Indent the list */
}

.key-points li {
    margin-bottom: 5px; /* Space between items */
    color: #fff; /* White text for list items */
}

/* FAQ Section */

.faq-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    background-color: var(--main-green);
    color: white;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: var(--border-radius);
    text-align: left;
    font-family: "WorkSans", sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #004d40;
}

/* Answer styling for dropdown */
.faq-answer {
    max-height: 0; /* Initially set to 0 to hide the content */
    overflow: hidden; /* Hide the content when not expanded */
    padding: 0 15px;
    font-size: 1rem;
    color: #333;
    font-family: "WorkSans", sans-serif;
    transition: max-height 0.5s ease, padding 0.3s ease; /* Add smooth transition */
}

.faq-answer p {
    margin: 0;
    padding: 10px 0; /* Padding inside the answers */
}

/* Active FAQ item */
.faq-question.active + .faq-answer {
    padding-top: 10px; /* Add padding when active to give space */
    padding-bottom: 10px;
}

/* Smooth animation for max-height */
.faq-answer {
    transition: max-height 0.5s ease, padding 0.3s ease; /* Adjust the timing here */
}



#uploadIcon {
    cursor: pointer; 
}

.pointer {
    cursor: pointer;
}

.upload-box img {
    max-width: 50px;
}

.upload-box p {
    font-size: 1.2rem;
    color: var(--gray);
}

.thumbnail-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.thumbnail {
    width: 160px;
    height: 160px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}


/* Right section (Customize form) */
.right-section {
    background-color: #DFF2CE;
    padding: 40px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    flex: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.right-section h2 {
    font-size: 1.8rem;
    color: var(--main-green);
    margin-bottom: 20px;
}

/* Form styling */
.form-group {
    width: 100%;
    margin-bottom: 20px;
}


/* Style for all select dropdown elements */
select {
    width: 100%; /* Ensures that all select elements take full width */
    max-width: 300px; /* Optional: Set a maximum width to keep them consistent */
    padding: 10px;
    font-size: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
}


.form-group label {
    font-size: 1rem;
    color: var(--main-green);
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    resize: none;
    width: 100%;
    padding: 10px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
    background-color: white;
    font-size: 1rem;
    color: #333;
}

/* Button */
.upload-button {
    background-color: var(--button-color);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-button:hover {
    background-color: #ddb60c;
}

.upload-box img {
    max-width: 50%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover; /* Ensure the image covers the area neatly */
}

/* Contact Section */
/* Contact Section */
.contact-section {
    background-color: #f2f2f2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.contact-section h2 {
    font-size: 2rem;
    color: var(--main-green);
    font-family: "WorkSans", sans-serif;
    margin-bottom: 20px;
    text-align: center;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 40px; /* Increase padding to give more space inside the form */
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    padding-right: 60px;
}

.contact-form .form-group {
    margin-bottom: 25px; /* Add some margin between form groups */
}

.contact-form label {
    font-size: 1rem;
    color: var(--main-green);
    display: block;
    margin-bottom: 10px; /* Increase space between label and input field */
    font-family: "WorkSans", sans-serif;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px; /* Increase padding inside input fields */
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
    background-color: #fff;
    font-size: 1rem;
    font-family: "WorkSans", sans-serif;
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--main-green);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 62, 52, 0.2);
}

/* Submit Button */
.submit-button {
    background-color: var(--main-green);
    color: white;
    border: none;
    padding: 10px 20px; /* Increase padding for the button */
    font-size: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.submit-button:hover {
    background-color: #004d40;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--main-green);
    transition: transform 0.25s ease-out;
}
  
  .hover-underline-animation:hover::after {
    transform: scaleX(1);
  }
  
  .hover-underline-animation.left::after {
    transform-origin: bottom right;
  }
  
  .hover-underline-animation.left:hover::after {
    transform-origin: bottom left;
  }

/* Footer styles */
.footer {
    background-color: var(--main-green); /* Use the main green color */
    color: white; /* White text for contrast */
    padding: 20px 0; /* Padding for top and bottom */
    text-align: center; /* Center align text */
    display: flex; /* Use flexbox */
    justify-content: space-between; /* Space out the content horizontally */
    align-items: center; /* Vertically center items */
    max-height: 80px; /* Limit the maximum height */
    width: 100%;
}

/* Footer content container */
.footer-content {
    display: flex;
    justify-content: space-between; /* Space between links and social icons */
    gap: 120px;
    align-items: center; /* Center items vertically */
    max-width: 1200px; /* Limit the max width */
    margin: 0 auto; /* Center the content */
    padding: 0 20px; /* Padding for sides */
}

/* Footer links styling */
.footer-links {
    display: flex; /* Flexbox for horizontal layout */
    gap: 20px; /* Space between links */
}

/* Remove any unnecessary margin or padding */
.footer-links, .footer-social, .copyright {
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
}

/* Footer link styling */
.footer-link {
    color: white; /* Link color */
    text-decoration: none; /* Remove underline */
    font-family: "WorkSans", sans-serif; /* Match the font family */
}

/* Ensure no extra spacing is added */
.footer-link:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Social icons styling */
.footer-social {
    display: flex; /* Flexbox for social icons */
    gap: 0; /* Space between icons */
}

/* Social icon styling */
.social-icon {
    color: white; /* Icon color */
    font-size: 1.5rem; /* Size of icons */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

/* Ensure no extra padding or margin */
.social-icon:hover {
    color: #ddd; /* Change color on hover */
}

/* Copyright text container */
.copyright {
    flex-grow: 1; /* Allow this section to take up available space */
    text-align: center; /* Center align the text within the div */
    font-size: 0.9rem; /* Smaller font for copyright */
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove any padding */
    margin-right: 240px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Adjusting container flex direction */
    .container {
        flex-direction: column;
    }

    .left-section,
    .right-section {
        max-width: 100%;
    }

    /* Adjusting header and text sizes */
    .centered_texts h2 {
        font-size: 1.5rem;
    }

    .centered_div h1 {
        font-size: 2rem;
    }

    .svg-container img {
        width: 150px; /* Adjust size for mobile */
    }
}

@media (max-width: 480px) {
    /* Mobile-specific adjustments */
    .centered_nav {
        flex-direction: column; /* Stack nav items */
        gap: 10px;
    }

    .lightbox img {
        width: 100%;
    }

    /* Smaller screen video adjustment */
    .video-styled {
        max-width: 100%;
    }

    .centered_div h1 {
        font-size: 1.8rem;
    }

    .centered_texts h2 {
        font-size: 1.4rem;
    }
}