* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
}

html {
    width: 100%;
    height: 100%; /* Ensures that the body takes the full height of the viewport */
    max-width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

body {
   /* Replace with your image path */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow-x: hidden; /* Prevents horizontal scrolling */
    flex-direction: column;
    min-height: 100vh; 
    display: flex;
    position: relative;
    background-color: #000000;
}

header img {
    width: 120px;
    z-index: 100000;
}

header {
    display: flex;
    justify-content: space-between; /* This will place space between the logo and the menu icon */
    align-items: center; /* Vertically align images in the center */
    position: relative;
    width: 100%; /* Ensures header takes full width of the screen */
    z-index: 10000000000; /* Ensure header stays on top */
    margin-top: -40px;
}

.aboutriotgirl {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 130px;
    height: auto;
    margin-top: 10px;
}

.menuToggle {
    width: 110px;
    height: 130px;
    transform: translateX(-30px);
    cursor: grab;
    z-index: 100000000000;
}

.logo {
    width: 250px; /* Adjust the size of the logo */
    height: auto;
    margin-left: auto; /* Keep it aligned to the right */
}

/* Add the overlay background */
header .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background: rgb(0, 0, 0); /* Adjust transparency as needed */
    opacity: 0;
    visibility: hidden;
    z-index: -1; /* Below navigation but above all other content */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* When header has the open class */
header.open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

header .navigation {
    pointer-events: none; /* Disable interaction when hidden */
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 20vh;
    right: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 80px;
    list-style: none;
    z-index: 10000;
}

header.open .navigation {
    pointer-events: auto; /* Enable interaction when visible */
    opacity: 1;
    visibility: visible;
}


header.open .navigation img {
    transform: scale(1.2);
}

body.menu-open {
    overflow: hidden;
}

/* Disable scrolling */
.no-scroll {
    overflow: hidden;
    height: 100vh; /* Prevent scrolling by fixing the height */
}


.navigation li {
    position: relative;
    display: inline-block; /* Makes sure each item takes only as much space as the text/image */
    margin-right: 30px; /* Adds some spacing between items */
}

.navigation li a::before {
    content: '';
    position: absolute;
    left: -50px; /* Adjust this distance as needed */
    top: 50%;
    transform: translateY(-50%);
    width: 40px; /* Size of the dot */
    height: 40px;
    background-image: url('../images/circledotthing.png'); /* Path to your dot image */
    background-size: contain;
    background-repeat: no-repeat;
    display: none; /* Hidden by default */
    overflow: visible;
    cursor: grab;
}

.navigation li a:hover::before {
    display: block; /* Shows the dot on hover */
    cursor: grab;
}

.homename {
    margin-left: -1px;
}

.aboutname {
    width: 130px;
    margin-left: -4px;
    margin-top: -15px;
}

.galleryname {
    width: 150px;
    margin-top: 2px;
    margin-left: 2px;
    position: relative;
}

.contactname {
    width: 160px;    
    margin-top: -12px; /* Adjust this value to move it up or down */
    margin-left: -2px;
    position: relative;
}

.main-container {
    margin: 40px auto;
    text-align: center;
    margin-bottom: 100px;
    position: relative; /* Keep relative for flex container */
    z-index: 1000000;
}

.main-container h1 img {
    width: 600px;
    margin-top: -80px;
}

.main-container h1 {
    align-items: center;
}

.hero {
    position: relative;
    height: 100vh; /* Ensures the hero section takes up full viewport height */
    width: 100vw; /* Takes up the full viewport width */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents overflow of the image */
    margin-top: -213px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire section while maintaining aspect ratio */
    z-index: -1; /* Pushes the image behind the content */
}

.hero-content {
    z-index: 1; /* Ensures content is above the background image */
    text-align: center;
    color: #fff;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 5px; /* Set to a small value like 20px from the bottom */
    right: 10px; /* Place it 20px from the right side */
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.hero h1 img {
    width: 400px;
}

/* Main Content Styling */
.main-content {
    max-width: 90%;
    margin: 3rem auto;
    color: white;
}

.main-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.main-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.main-content p {
    font-size: 16px;
    line-height: 1.8;
    color: white;
}

/* About Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-text {
    animation: slideInLeft 1.5s ease;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Founder Section */
.founder-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 19vw;
    margin-top: 100px;
}

.founder-info {
    animation: slideInRight 1.5s ease;
}

.founder-info img {
    width: 200px;
}

.founder-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Mission Section */
.mission-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
  
    border-radius: 8px;
/*     box-shadow: 0 5px 8px rgba(0, 0, 0, 0.7); */
    animation: fadeIn 1.5s ease;
}

.new-section {
    text-align: center; /* Center aligns the content */
    margin-bottom: 4rem; /* Spacing below the section */
}

.new-section h2 {
    text-align: start;
    font-size: 40px; /* Adjust font size as needed */
    margin-bottom: 10px; /* Space between heading and line */
    font-weight: bold;
}

.new-section img {
    width: 160px;
}

.section-line {
    width: 100%; /* Adjust the width of the line */
    height: 2px; /* Thickness of the line */
    background-color: white; /* Color of the line */
    margin: 0 auto; /* Center the line */
    margin-bottom: 100px; /* Space between line and paragraph */
}

.new-section p {
    font-size: 16px; /* Font size for the paragraph */
    line-height: 1.6; /* Line height for readability */
    color: white; /* Text color */
    width: 80%;
    text-align: justify;
    margin: 0 auto;
    margin-bottom: 120px;
}

.flex-list {
    display: flex;                  
    justify-content: center;        
    list-style-type: none;          
    padding: 0;                     
    margin: 1rem 0;                 
    flex-wrap: wrap;    
    margin-bottom: 100px;    
    transform: scale(0.8);       
}

.flex-list li {
    flex: 0 0 100%;                 /* Ensures each li takes up the full width */
    text-align: center;             /* Centers the text and the image */
    margin: 0;                      
    margin-bottom: 30px;            
    font-size: 1.5rem;              
    display: flex;                  /* Use flexbox to align items within li */
    justify-content: center;        /* Ensures the content inside li is centered */
    align-items: center;            /* Vertically centers the content */
}

.flex-list li img {
    width: 40px;                    
    height: auto;                   
    display: block;                 /* Makes sure the image stays block-level */
    margin: 0 auto;                 /* Ensures image is horizontally centered */
}


@media (min-width: 1200px) { 
    .flex-list li {
        flex: 1 1 auto;            
        text-align: left;          
        margin: 0 1rem;           
    }
}

.expandable-header h3 {
    margin: 0; /* Remove default margin */
    position: relative; /* Position for the line */
}

.expandable-header img {
    width: 200px;
}

.what h3 img {
    width: 250px;
}

.line {
    position: absolute; /* Position the line underneath */
    left: 0; /* Align to the left */
    right: 0; /* Stretch to the right */
    height: 1px; /* Thickness of the line */
    background-color: #ffffff; /* Color of the line */
    top: 100%; /* Position below the heading */
    margin-top: 0.5rem; /* Space between heading and line */
}

.toggle-button {
    font-weight: bold; /* Make the toggle bold */
    font-size: 1.2rem; /* Larger font for visibility */
}

.toggle-button.expanded {
    color: rgb(255, 255, 255); /* Change color when expanded */
}

/* Flexbox layout for side-by-side sections */
.expandable-items {
    display: flex;
    gap: 20px;               /* Adds space between the two sections */
    justify-content: space-between;
    flex-wrap: wrap;         /* Enables automatic wrapping on smaller screens */
}

/* Equal width for expandable sections */
.expandable-section {
    flex: 1;
    min-width: 300px;        /* Sets a minimum width for sections */
    max-width: 40%;          /* Ensures sections take up 48% of the width when side by side */
    box-sizing: border-box;
    margin-bottom: 20px;     /* Adds margin when wrapping occurs */
}

/* Header styling to ensure alignment and layout */
.expandable-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
    position: relative;
    word-wrap: break-word;   /* Ensures header text breaks and wraps when needed */
}

/* Toggle button styling */
.toggle-button {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 24px;
    cursor: pointer;
}

/* Expandable content styling */
.expandable-content {
    display: none;           /* Initially hidden */
    padding-top: 10px;
    margin-top: 20px;
}

/* When section is active (expanded) */
.expandable-section.active .expandable-content {
    display: block;
}

/* Responsive flexibility without media queries */
.expandable-section {
    flex-grow: 1;            /* Allow sections to grow equally */
}

.expandable-items .section-line {
    margin-top: 50px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll-down-indicator img {
    width: 120px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-to-top i {
    font-size: 20px;
}

.animated-section {
    opacity: 0;
    transform: translateY(50px); /* Adjust this if necessary */
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
    overflow: hidden; /* Prevent overflow causing the line */
    background-color: transparent; /* Match the background color */
    backface-visibility: hidden; /* Fix potential rendering issues */
    margin: 0; /* Ensure no extra space */
    padding: 0; /* Reset padding */
}

.animated-section.in-view {
    opacity: 1;
    transform: translateY(0);
}


/* Scroll-down arrow */
.scroll-down-indicator img {
    animation: bounce 2s infinite;
}

main .mission-section,
main .services-section,
main .founder-section {
    position: relative;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

main .mission-section.in-view,
main .services-section.in-view,
main .founder-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

main .mission-section,
main .services-section,
main .founder-section {
    opacity: 0;
    transform: translateY(50px);
}

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #000;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
}

.scroll-to-top i {
    font-size: 20px;
}

ul {
    list-style: none;
}

.footer {
    /* background: linear-gradient(#222, #eee, #222); */
    background: white;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    height: auto; /* Allow height to be dynamic based on content */
    position: relative; /* Makes the footer relative to the document flow */
    bottom: 0;
}


.footer-col {
    width: 100%;
    padding: 0 15px;
    align-items: center;
}

.footer-col h4 {
    font-size: 18px;
    color: #250d68;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
    text-align: center;
}


.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #000;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #fff;
    background-color: #250d68;
}

.footer p {
    font-size: 16px;
    text-decoration: none;
    font-weight: 300;
    color: #000000;
    display: block;
    margin-top: 50px;
    text-align: center;
}

@media (max-width: 768px) {

    .about-section,
    .founder-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image,
    .founder-image {
        order: -1;
    }

    .aboutriotgirl {
        width: 180px; /* Adjust size for smaller screens */
    }

    .menuToggle {
        width: 70px;
        height: 90px;
    }

    .logo {
        width: 120px; /* Adjust size for smaller screens */
    }

    header {
        margin-top: 0px;
    }

    .hero h1 img {
        width: 300px;
    }

    .hero {
        height: 115vh;
    }

    .scroll-down-indicator {
        bottom: 150px;
    }

    .new-section p {
        font-size: 14px
    }
}

@media screen and (max-width: 1024px) and (max-height: 600px) {
    .scroll-down-indicator {
        bottom: 90px;
    }

    .scroll-down-indicator img {
        width: 120px;
    }
}

@media (max-width: 768px) {

    .scroll-down-indicator img {
        width: 120px;
    }
}

@media (max-width: 540px) {
    header {
        margin-top: 0px;
    }

    header.open .navigation {
        left: 10%;
        transform: scale(0.8);
    }
}

@media (max-width: 539px) {
    header {
        margin-top: 0px;
    }

    header.open .navigation {
        transform: scale(0.8);
    }

}

@media (max-width: 375px) {
    header.open .navigation {
        transform: scale(0.6);
        left: 18%;
    }

    .aboutriotgirl {
        width: 160px; /* Adjust size for smaller screens */
    }

    .menuToggle {
        width: 60px;
        height: 80px;
    }

    .logo {
        width: 110px; /* Adjust size for smaller screens */
    }
}

@media screen and (max-width: 375px) and (max-height: 667px) {
    .scroll-down-indicator {
        bottom: 50px;
    }

    .scroll-down-indicator img {
        width: 120px;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    header.open .navigation {
        transform: scale(0.6);
        gap: 80px; /* Reduce spacing between items */
        left: 150px;
    }
    
    header.open .navigation img {
        transform: scale(2); /* Reset the 1.2 scale */
    }
}

@media only screen and (max-width: 932px) and (orientation: landscape) {
    header.open .navigation {
        transform: scale(0.6);
        gap: 40px; /* Reduce spacing between items */
        left: 150px;
    }
    
    header.open .navigation img {
        transform: scale(1.4); /* Reset the 1.2 scale */
    }

    .scroll-down-indicator {
        bottom: 20px;
    }

    .hero h1 img {
        margin-top: 50px;
    }
}

@media only screen and (max-width: 768px) and (orientation: landscape) {
    header.open .navigation {
        transform: scale(0.5);
        top: 5vh;
        gap: 30px;
    }
}

@media only screen and (max-width: 740px) and (orientation: landscape) {
    header.open .navigation {
        transform: scale(0.6);
        gap: 40px; /* Reduce spacing between items */
        left: 120px;
        top: 40px;
    }
    
    header.open .navigation img {
        transform: scale(1.4); /* Reset the 1.2 scale */
    }

    .scroll-down-indicator {
        bottom: 10px;
    }

    .hero {
        position: relative;
        height: 130vh;
    }

    .hero h1 img {
        margin-top: 100px;
    }
}