/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: #222;
    background: linear-gradient(90deg, #ffde59, #ff914d); /* Light bluish background */
    line-height: 1.6;
}
/* styles.css */

/* Preloader styles */
#preloader {
    position: fixed; /* Keep it fixed on the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);  /* Light background for contrast */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it stays on top */
}

#preloader img {
    width: 150px; /* Adjust as necessary for your logo */
    height: auto; /* Maintain aspect ratio */
}

.loading {
    margin-top: 20px;
    font-size: 24px; /* Font size for loading text */
    font-weight: bold;
    color: #0097b2;
}

/* Hide preloader after page load */
body.loaded #preloader {
    display: none; /* Hide preloader once page is loaded */
}


/* Header Styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 30px;
    background-color: #0097b2; /* Semi-transparent */
    color: white;
    top: 0;
    width: 100%; /* Ensures it covers the full width */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative; /* Ensure header is positioned correctly */
    z-index: 1000; /* Ensure the header is above other content */
}
.signup-container {
    padding: 0px; /* Padding for the sign-up container */
    max-width: 4400px; /* Optional: to control the width */
    margin: 0 auto; /* Centering the container */
    border: 1px solid #ddd; /* Optional: border around the container */
    border-radius: 5px; /* Optional: rounded corners */
    background-color: #f9f9f9; /* Optional: background color */
}

.logo img {
    height: 50px; /* Adjust as needed */
}

header {
    background-color: #333; /* Example background color */
    padding: 10px; /* Add some padding */
}

nav ul {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

nav ul li {
    display: inline; /* Display items in a row */
    margin-right: 20px; /* Space between links */
}

nav ul li a {
    color: #ffde59;
    text-decoration: none; /* Remove underline */
}

nav ul li a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Add active class style if needed */
nav ul li a.active {
    font-weight: bold; /* Bold for active link */
    color: rgb(255, 255, 255); /* Change color for active link */
}


/* Hero Section */
.hero {
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    color: #222;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    margin-top: 70px; /* Adjust based on header height */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}
.hero-logo {
    width: 510px; /* Set a default size for the logo */
    max-width: 100%; /* Logo will not exceed the screen width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px;
    transition: width 0.3s ease; /* Smooth resizing */
}

/* Responsive adjustments for mobile screens */
@media (max-width: 600px) {
    .hero-logo {
        width: 100px; /* Smaller size for mobile */
    }

    .hero h1 {
        font-size: 1.8em; /* Adjust font size for better readability */
    }

    .hero p {
        font-size: 1em; /* Adjust font size for better readability */
    }
}

.hero-content h1 {
    font-size: 2.5rem;
}

.hero-content p {
    margin: 1rem 0;
}

.cta-btn {
    background: #333; 
    color: rgb(255, 255, 255);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s, border-bottom 0.3s;
    padding: 0.5em;
}

.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    color: #ffde59;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

/* Sections */
/* General section styling */
section {
    padding: 4rem 2rem;
    text-align: center;
}

/* How It Works */
.steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.step {
    background: linear-gradient(360deg, #fb6202, #f7e499); 
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 150px;
}

.step span {
    font-size: 2rem;
    color: #ff914d;
}

/* Features Section */
.feature-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.feature {
    background: linear-gradient(18deg, #fb6202, #f7e499); 
    color: rgb(0, 0, 0);
    padding: 1rem;
    border-radius: 15px;
    width: 150px;
}

/* Benefits Section */
.benefits-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.benefits-grid div {
    background: linear-gradient(360deg, #fb6202, #f7e499); 
    padding: 1rem;
    border-radius: 8px;
    width: 250px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* General section padding adjustment for mobile */
    section {
        padding: 2rem 1rem;
    }

    /* How It Works - Stack steps vertically */
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .step {
        width: 100%; /* Full-width on mobile */
        max-width: 200px;
    }

    /* Features Section - Stack features vertically */
    .feature-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .feature {
        width: 100%;
        max-width: 300px;
    }

    /* Benefits Section - Stack benefits vertically */
    .benefits-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .benefits-grid div {
        width: 100%;
        max-width: 250px;
    }
}


/* CTA Banner */
.cta-banner {
    background: #ff914d;
    color: rgb(101, 61, 61);
    padding: 2rem;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #0097b2; 
    color: #e8eaf6;
    padding: 20px;
    text-align: center;
}

.footer a {
    color: #5ce1e6;
    margin: 0 0.5rem;
    text-decoration: none;
}

/* Dark Theme */
.dark-theme {
    background-color: #121212;
    color: #f5f5f5;
}

.dark-theme .hero {
    background-color: #1c1c1c;
}

.dark-theme .cta-btn,
.dark-theme .feature,
.dark-theme .cta-banner {
    background-color: #ff5757;
}
.signup-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    background: linear-gradient(180deg, #f48d4d, #ffdc4f);
}

.signup-container h1 {
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#signup-btn {
    width: 100%;
    padding: 10px;
    background-color: #333; /* Main button background color */
    color: #ffde59; 
    font-weight: bold;

    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#signup-btn:hover {
    background-color: #ff914d; /* Darker shade for hover effect */
    color: #ffffff; /* Light text for contrast on hover */
    border-bottom: 2px solid #ff914d; /* Underline for hover effect */
}

.message {
    margin-top: 10px;
    text-align: center;
    color: red; /* Error messages in red */
}
.join-us-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333; /* Bootstrap primary color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 15px; /* Adjust spacing */
    transition: background-color 0.3s;
}

.join-us-btn:hover {
    background-color: #ff914d; /* Darker blue on hover */
}

.social-links {
    margin-bottom: 10px;
    text-align: center; /* Center the social links in the footer */
}

.social-links a {
    margin: 0 10px;
    display: inline-block;
}

.social-links img {
    width: 32px; /* Set icon width */
    height: 32px; /* Set icon height */
    transition: transform 0.3s; /* Add transition for scaling */
}

.social-links a:hover img {
    transform: scale(1.2); /* Scale up on hover */
}

.footer {
    background-color: #333; /* Set footer background color */
    padding: 20px; /* Add padding to footer */
    text-align: center; /* Center the text in the footer */
}
/* Hover and Active Styles to Match Other Links */
.cta-btn:hover {
    color: #ff914d; /* Matches hover color for other nav links */
    border-bottom: 2px solid #ff914d; /* Underline for hover effect */
}

.cta-btn.active {
    color: #ff5757; /* Matches active link color */
    border-bottom: 2px solid #ff5757;
}
/* Universal Button Style */
.button {
    background-color: #333; /* Main button background color */
    color: #ffde59; /* Text color consistent with other links */
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-bottom 0.3s;
    text-decoration: none; /* Ensure text-decoration is removed */
    display: inline-block; /* Ensures buttons don’t collapse in flex layouts */
}

/* Hover and Active States */
.button:hover {
    background-color: #ff914d; /* Darker shade for hover effect */
    color: #ffffff; /* Light text for contrast on hover */
    border-bottom: 2px solid #ff914d; /* Underline for hover effect */
}

.button:active, .button.active {
    background-color: #ff5757; /* Active color for consistent styling */
    border-bottom: 2px solid #ff5757; /* Darker underline on active state */
    color: #ffffff;
}

/* Specific Overrides for Pre-existing Button Classes */
.cta-btn,
.join-us-btn,
#signup-btn,
.button-link {
    @extend .button; /* Apply base .button styles */
}

/* Ensure Sign-Up Button Matches Styling */
#signup-btn {
    width: 100%; /* Full-width for form button */
}
/* Responsive Embed Container */
.pdf-container {
    position: relative;
    width: 100%;
    padding-top: 80%; /* Adjusts the aspect ratio */
  }
  
  .pdf-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  /* Media Query for Small Screens */
  @media (max-width: 600px) {
    .pdf-container {
      padding-top: 150%; /* Taller aspect ratio for better readability on small screens */
    }
  }
  
