/* Body setup */
.wrapper-main {
    width: 1300px;
}

body {
    background-color: rgba(40,3,57,255); /* Set the entire page background to yellow */
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Hamburger menu (3 lines) */
.hamburger {
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Sidebar styling */
.sidebar {
    height: 100vh; /* Full height */
    width: 250px; /* Sidebar width */
    position: fixed; /* Fix to the left side */
    top: 0;
    left: -250px; /* Initially hidden (to the left of the screen) */
    background-color: White; /* Dark background for sidebar */
    overflow-x: hidden; /* Prevent horizontal scroll */
    transition: 0.3s ease; /* Smooth sliding effect */
    padding-top: 20px;
}

.sidebar a {
    display: block; /* Stack the links */
    color: white; /* White text color */
    padding: 15px;
    text-decoration: none; /* Remove underlines */
    font-size: 1.2rem;
}

.sidebar a:hover {
    background-color: red; /* Darken the link on hover */
}

/* Main content area */
.container {
    margin-left: 0;
    padding: 20px;
}

/* Header text style */
.header-text {
    font-size: 3rem;
    color: #333;
}

/* Show the sidebar when it's active (when open) */
.sidebar.open {
    left: 0; /* Moves the sidebar to the left */
}


.header-image {
    width: 300px; /* Make sure image fits in container */
    height: 120px;    /* Maintain aspect ratio */
    display: block; /* Make image a block element */
    /*background: rgba(40,3,57,255);*/
    margin: 20px auto;  /* Center the image horizontally */
    padding: 5px;
    border: none;
    background: none;
    position: center;
}

/* Style for the divider line */
.divider, .custom-divider {
    width: 100%;       /* Adjust width as desired */
    margin: 10px auto; /* Center the line and add some spacing */
    border: none;
    border-top: 5px solid white; /* Adjust thickness and color */
}

/* Basic resets */
body, html {
    margin: 0;
    padding: 0;
}

/* Center container */
.container {
    text-align: center;
}

/* Header image styling */
.header-image {
    max-width: 100%;
    height: 120px;
    margin: none;
}

/* Divider line */
.custom-divider {
    width: 1200px;
    margin-left: 85px;
    padding: none;
    border-top: 2px solid white;
}

/* Main menu styling */
.main-menu ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    background-color: rgba(40,3,57,255);
    padding: none;
    margin-left: 100px;
}

.main-menu ul li {
    margin: 0 20px;
}

.main-menu ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
}

/* Hide content sections by default */
.content-section {
    display: none;
    margin: 20px;
    text-align: left;
}

/* Visible content section */
.content-section.active {
    display: block;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 1300px;
    margin-left: 85px;
    overflow: hidden;
}

/* Slides */
.slide {
    display: none;
    position: relative;
}

/* Image styling */
.slide img {
    width: 1300px;
    height: 700px;
}

/* Gradient overlay on top of each slide */
.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Adjust height to control the size of the fade */
    background: linear-gradient(to bottom, rgba(242, 242, 242, 0.3), rgba(242, 242, 242, 0));
    pointer-events: none; /* Allows clicks to go through the overlay */
    z-index: 1; /* Places the overlay above the image but below the text */
}

/* Text overlay */
.text {
    font-family: 'Roboto', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 50px;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 2px;
    /*background-color: rgba(0, 0, 0, 0.5);  semi-transparent background */
    padding: 0;
    margin:0;
    text-align: center;
    z-index:10;
}

/* Fade effect*/
.fade {
    animation: fade 10.0s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: none;
    overflow: hidden;
}

.image-text-container {
    display: flex;        /* Use flexbox to arrange items horizontally */
    align-items: center;  /* Vertically align the items (image and text) */
    justify-content: center;  /* Center the items horizontally (optional) */
    margin-top: 20px;     /* Space between the slideshow and the image-text container */
}
/* Circular image styling */
.circle-image-container {
    text-align: left; /* Center the image horizontally */
    margin-top: 30px;  /* Space between the slides and the circular image */
    margin-right: 90px;
    padding-bottom:30px;

}

.circle-image {
    width: 400px;  /* Set the size of the circular image */
    height: 400px; /* Set the height equal to the width to make it circular */
    border-radius: 50%; /* Make the image circular */
    object-fit: cover; /* Ensure the image covers the entire circle */
    border: 5px solid #fff; /* Optional: Add a border around the circle */


}

/* Text container styling */
.text-container {
    max-width: 500px;      /* Optional: Set the max width of the text */
    text-align: left;      /* Align text to the left */
    font-family: cursive;
}

/* Optional text styling */
.text-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: pink;
    text-align: center;
}

/* Optional text styling */
.text-container h1 {
    font-size: 28px;
    font-weight: bold;
    letter-spacing:2px;
    margin: 0;
    color: white;
    text-align:center;
}

.text-container p {
    font-size: 16px;
    color: white;  /* Optional text color */
}

/* Style for the button */
.my-button {
    padding: 10px 20px;           /* Space inside the button */
    font-size: 16px;              /* Font size */
    background-color: #4CAF50;   /* Green background */
    color: white;                /* White text color */
    border: none;                /* Remove default border */
    border-radius: 5px;          /* Rounded corners */
    cursor: pointer;             /* Show pointer cursor on hover */
    transition: background-color 0.3s ease;  /* Smooth transition for background color */
}

/* Button hover effect */
.my-button:hover {
    background-color: #45a049;   /* Darker green when hovered */
}

.img-container2 {
    width: 1300px; /* Ensure the container spans the full width */
    height: 80px; /* Set the desired height */
    background-image: url('AboutUs/img_1.png'); /* Replace with your image URL */
    background-size: cover; /* Ensure the image covers the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    margin-left: 85px; /* Remove any default margins */
    overflow: hidden; /* Prevent content overflow */
    text-align:center;
    color: white;
}

.img-container3 {
    width: 1300px; /* Ensure the container spans the full width */
    height: 400px; /* Set the desired height */
    background-image: url('img.png'); /* Replace with your image URL */
    background-size: cover; /* Ensure the image covers the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    margin-left: 85px; /* Remove any default margins */
    overflow: hidden; /* Prevent content overflow */
}

.img_text {
    margin-top: 120px;
    text-align: center;
    color: white;
    font-size: 50px;
    letter-spacing:3px;
    font-weight: bold;
    font-family: cursive;
}

.img_text2 {
    text-align: center;
    color: white;
    font-size: 40px;
    letter-spacing:3px;
    font-family: cursive;
}

/* Style for the button */
.my-button2 {
    padding: 10px 20px;           /* Space inside the button */
    font-size: 16px;              /* Font size */
    background-color:  #45a049;   /* Green background */
    color: white;                /* White text color */
    border: none;                /* Remove default border */
    border-radius: 5px;          /* Rounded corners */
    cursor: pointer;             /* Show pointer cursor on hover */
    transition: background-color 0.3s ease;  /* Smooth transition for background color */
    margin-left:46%;
    margin-top:25px;
}

/* Button hover effect */
.my-button2:hover {
    background-color: #45a049;   /* Darker green when hovered */
}

/* MOBILE VERSION */

/* Mobile CSS */

@media only screen and (max-width: 768px) {
    /* Body setup */
    .wrapper-main {
        width: 100%; /* Ensure full width on smaller screens */
        margin: 0;
    }

    /* Body and background */
    body {
        background-color: rgba(40,3,57,255);
        margin: 0;
        font-family: Arial, sans-serif;
    }

    /* Hamburger menu */
    .hamburger {
        font-size: 30px; /* Reduce size */
        position: absolute;
        top: 15px;
        right: 15px;
    }

    /* Sidebar styling */
    .sidebar {
        width: 100%; /* Sidebar should take full width */
        height: 100vh;
        position: fixed;
        top: 0;
        left: -100%; /* Initially hidden off-screen */
        background-color: White;
        transition: 0.3s ease;
        padding-top: 20px;
    }

    /* Adjust Sidebar links */
    .sidebar a {
        padding: 12px 20px;
        font-size: 1.1rem;
    }

    /* Open sidebar */
    .sidebar.open {
        left: 0; /* Show sidebar */
    }

    /* Main content area */
    .container {
        margin-left: 0;
        padding: 10px; /* Reduce padding for mobile */
        text-align: center;
    }

    /* Header text style */
    .header-text {
        font-size: 2rem; /* Smaller font size */
        color: #333;
    }

    /* Header image */
    .header-image {
        width: 100%;
        height: auto; /* Make the image responsive */
        margin: 20px 0;
    }

    /* Divider line */
    .divider, .custom-divider {
        width: 90%; /* Reduce width for mobile */
        margin: 10px auto;
        border-top: 5px solid white;
    }

    /* Main menu styling */
    .main-menu ul {
        display: block; /* Stack the items vertically */
        padding: 0;
        margin: 0;
    }

    .main-menu ul li {
        margin: 10px 0;
        text-align: center;
    }

    .main-menu ul li a {
        padding: 15px 20px;
        font-size: 1rem;
    }

    /* Slideshow styling */
    .slideshow-container {
        max-width: 100%;
        margin: 0;
        overflow: hidden;
    }

    /* Slide image */
    .slide img {
        width: 100%;
        height: auto;
    }

    /* Image-text container */
    .image-text-container {
        display: block; /* Stack vertically */
        text-align: center;
    }

    /* Circular image */
    .circle-image-container {
        text-align: center; /* Center the image */
        margin-top: 20px;
        margin-right: 0;
        padding-bottom: 20px;
    }

    .circle-image {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        border: 5px solid #fff;
    }

    /* Text container */
    .text-container {
        max-width: 90%; /* Allow text to take full width */
        margin: 0 auto; /* Center text */
        font-family: cursive;
        text-align: center;
    }

    .text-container h2 {
        font-size: 18px;
        color: pink;
    }

    .text-container h1 {
        font-size: 24px;
        color: white;
    }

    .text-container p {
        font-size: 20px;
        color: white;
    }

    /* Button styling */
    .my-button, .my-button2 {
        padding: 12px 20px;
        font-size: 14px;
        background-color: #45a049;
        color: white;
        border: none;
       
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin: 10px auto;
        display: block;

    }

    /* Button hover effect */
    .my-button:hover, .my-button2:hover {
        background-color: #387a39;
    }

    /* Image containers */
    .img-container2, .img-container3 {
        width: 100%; /* Make containers full width */
        height: 200px; /* Adjust height for mobile */
        background-size: cover;
        background-position: center;
        margin: 0;
    }

    .img_text, .img_text2 {
        font-size: 24px; /* Reduce font size */
        text-align: center;
        color: white;
        letter-spacing: 2px;
        font-weight: bold;
        font-family: cursive;
        margin-top: 30px;
    }

    /* Content section */
    .content-section {
        margin: 10px;
    }

    /* Ensure images take full width */
    .slide img, .circle-image {
        width: 100%;
        height: auto;
    }
}
