/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/handshake.gif);
    background-size: cover;  /* Ensures the image covers the entire area */
    background-position: center;  /* Center the background image */
    background-repeat: no-repeat;
    opacity:0.3;
    z-index: 0;
}

.backgroundcont {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/type.gif);
    background-size: cover;  /* Ensures the image covers the entire area */
    background-position: center;  /* Center the background image */
    background-repeat: no-repeat;
    opacity:0.1;
    z-index: 0;
}

.backgroundabt {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 120vh;
    overflow:visible;
    background-image: url(images/business.jpg);
    background-size: cover;  /* Ensures the image covers the entire area */
    background-position: 0px, 40vh, -90vh,0;  /* Center the background image */
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity:0.3;
    z-index: 0;
}

/* Make all headers use Times New Roman */
h1, h2, h3, h4, h5, h6 {
    font-family: "Times New Roman", Times, serif;
}

/* Navbar Styles */
.navbar {
    background-color: #33394b;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 5000;
}

/* Navbar Left Section */
.nav-left {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    margin-right: 15px;
}

.logo {
    font-size: 1.5em;
    font-family: "Times New Roman", Times, serif;
}

/* Navbar Links */
.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

.nav-links a:hover {
    border-bottom: 2px solid white;
}

/* Hide Navigation Links on Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the nav links by default on mobile */
        flex-direction: column;
        background-color: #33394b; /* Ensure the mobile menu has the same background color */
        position: absolute;
        top: 95px;
        padding:20px;
        right: 0;
        width: 100%;
        text-align: center;
        z-index: 5000; /* Make sure it is above other content */
        text-align: center;
        transform: translateY(-100%);  /* Initially hide the menu by moving it above the screen */
        opacity: 0;  /* Initially make it invisible */
        transition: transform 0.5s ease, opacity 0.5s ease;  /* Smooth slide and fade transitions */
    }

    /* Show the nav links when the 'active' class is applied */
    .nav-links.active {
        display: flex; /* Flex layout to show the links */
        transform: translateY(0);  /* Slide it down to its original position */
        opacity: 1;  /* Make it fully visible */
    }

    .nav-links li {
        margin: 15px 0;
    }

    .burger {
        display: flex;
    }
}


/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger .line {
    width: 25px;
    height: 3px;
    background-color: white;
}


/* Section Styles */
.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
   
}


@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .backgroundcont, .background {
        height: 110%;
    }
    .section { 
        height:90vh;
    }
}


.headlogo {
    width:200px;
}

.title {
    flex-basis: 100%;
}

#section1 {
    background: linear-gradient(135deg, white, #5a5a5a);
    background-size: 200% 200%; /* Larger background to allow movement */
    animation: gradientShift 5s linear infinite; /* Animation for moving background */
}

/* Gradient animation */
@keyframes gradientShift {
    0% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}


#section2 {
    background-color: #e9ecef;
    display:none;
    
}

#section3 {
    background-color: #020507;
    display:none;
}

#section4 {
    background-color: #ced4da;
    cursor: url('pound.png'), auto;
    display:none;
}

#section5 {
    background-color: #ced4da;
    display:none;
}

.section h1 {
    font-size: calc(4vw + 4vh + 2vmin);
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2em;
}

/* Footer Styles */
.footer {
    background-color: #626d8f;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 3;
}


/* Fullscreen Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    line-height: 1.8em;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    overflow-y: scroll;
    width: 80%;
    max-width: 1000px;
    height:100%;
}


.popup-content h1 {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .headlogo {
        width: 150px;
        margin-top:70px;
    }
}


/* Question Style */
.question {
    margin-bottom: 50px;
}

/* Main Page Content */
.main-content {
    display: none; /* Hidden until the popup is closed */
}

button {
    background-color: #007bff; /* Official blue color */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    letter-spacing: 1px;
}

/* Hover Effect for Button */
button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Stronger shadow */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Active (Pressed) State */
button:active {
    background-color: #003f7f; /* Even darker blue when pressed */
    transform: translateY(0); /* Reset the lift effect */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}


