/* 
* About us page CSS with responsive design
* This stylesheet controls the appearance of the about page
*/

/* Reset default styles and set basic properties for all elements */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #fff; /* White text color for better contrast on dark backgrounds */
}

/* Main wrapper for full-page layout that uses flexbox to ensure footer stays at bottom */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

/* Background image only applies to content area, not footer */
.main-content {
    flex: 1; /* Takes up all available space, pushing footer down */
    background-image: url('../images/main.png');
    background-size: cover; /* Image covers entire area */
    background-position: center; /* Centers the background image */
    background-attachment: fixed; /* Fixed background for parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px; /* Vertical and horizontal padding */
}

/* Centered content container with semi-transparent background */
.container {
    width: 100%;
    max-width: 700px; /* Limits width on large screens */
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.85); /* Dark background with 85% opacity */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Drop shadow effect */
    text-align: center;
    color: white;
    line-height: 1.6; /* Improves text readability */
}

/* Main heading style */
h1 {
    color: #4CAF50; /* Green color for brand consistency */
    font-size: 28px;
    margin-bottom: 10px;
}

/* Secondary heading style */
h2 {
    color: #4CAF50; /* Green color for brand consistency */
    font-size: 22px;
    margin-top: 10px;
    display: inline-block;
    padding-bottom: 5px;
}

/* "Get Started" button styles */
.get-started-btn {
    color: #4CAF50; /* Green text color */
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px; /* Add padding for better touch target */
    display: inline-block; /* Allows padding to be applied */
    border-radius: 14px; /* Rounded corners */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}
		
/* Hover effect for "Get Started" button */
.get-started-btn:hover {
    background-color: #45a049; /* Darker green on hover */
    color: white; /* White text on hover */
    border-radius: 14px;
}

/* Paragraph styling for better readability */
p {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 15px;
}

/* Removing default list styles and setting custom styling */
ul {
    list-style: none; /* Removes default bullets */
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

/* List item styling */
ul li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 30px; /* Space for the checkmark */
    position: relative; /* For absolute positioning of pseudo-element */
}

/* Custom checkmark symbol before each list item */
ul li::before {
    content: "✅"; /* Checkmark emoji */
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* Mobile hamburger menu button (hidden by default) */
.menu-toggle {
    display: none; /* Hidden on desktop */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #4CAF50;
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Navigation bar styling */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

/* Navigation links container */
.nav-links {
    display: flex;
    gap: 30px;
}

/* Individual navigation links */
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    transition: background-color 0.3s;
}

/* Hover effect for navigation links */
.nav-links a:hover {
    background-color: #45a049;
    border-radius: 4px;
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
    /* Adjust container width for tablets */
    .container {
        width: 90%;
        max-width: 600px;
    }
    
    /* Slightly reduce heading sizes */
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    /* Add padding to account for fixed nav */
    .main-content {
        padding-top: 80px;
    }
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
    /* Further adjust container */
    .container {
        width: 95%;
        padding: 20px;
    }

    /* Smaller text for mobile */
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    p, ul li {
        font-size: 14px;
    }
    
    /* Show hamburger menu */
    .menu-toggle {
        display: block;
    }
    
    /* Adjust navigation for mobile */
    nav {
        padding: 10px 0;
    }
    
    /* Mobile menu styling */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%; /* Hide off-screen by default */
        width: 70%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: 0.3s ease-in-out;
        z-index: 9998;
    }
    
    /* Style for open mobile menu */
    .nav-links.active {
        left: 0; /* Show when active */
    }
    
    /* Larger touch targets for mobile */
    .nav-links a {
        font-size: 16px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    
    /* Adjust login button position */
    .login-btn {
        top: 15px;
        right: 70px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Footer styling */
footer {
    background: #000; /* Black background */
    color: #fff; /* White text */
    text-align: center;
    padding: 20px 10px;
}

/* Container for footer content */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Social media icons container */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

/* Individual social icon styling */
.social-icons a {
    color: #fff;
    font-size: 22px;
    transition: 0.3s; /* Smooth transition for hover effect */
}

/* Hover effect for social icons */
.social-icons a:hover {
    color: #4CAF50; /* Green color on hover */
    transform: scale(1.2); /* Slightly increase size on hover */
}

/* Footer credits text styling */
.footer-credits {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8; /* Slightly transparent */
}

/* Copyright text styling */
.copyright {
    font-size: 14px;
    font-weight: bold;
}

/* Very small screens additional adjustments */
@media (max-width: 480px) {
    /* Further reduce text sizes */
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    p, ul li {
        font-size: 13px;
    }
    
    /* Smaller social icons for very small screens */
    .social-icons a {
        font-size: 18px;
    }
    
    .footer-credits, .copyright {
        font-size: 12px;
    }
}