:root {
    --primary-color: #0A1F44; /* Midnight Blue */
    --secondary-color: #00FFFF; /* Electric Cyan */
    --accent-color: #8A2BE2; /* Neon Purple */
    --text-color: #FFFFFF; /* Soft White Glow */
    --text-color-dark: #212121;
    --container-bg: #0F2A5F;
    --footer-bg: #0A1F44;
    --link-hover-color: #8A2BE2; /* Neon Purple for hover */
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.5em;
}

h3 {
    font-size: 2em;
}

p {
    margin-bottom: 10px;
}

main > section {
    padding: 60px 0;
    margin-bottom: 40px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

/* Header */
header {
    background-color: var(--container-bg);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Adjust as needed */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fixed background */
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 31, 68, 0.7); /* Dark overlay for readability */
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Specific Hero Backgrounds */
.hero-home {
    background-image: url('../images/hero-home.jpg');
}

.hero-about {
    background-image: url('../images/hero-about.jpg');
}

.hero-services {
    background-image: url('../images/hero-services.jpg');
}

.hero-contact {
    background-image: url('../images/hero-contact.jpg');
}

.hero-careers {
    background-image: url('../images/hero-careers.jpg');
}

.hero-faq {
    background-image: url('../images/hero-faq.jpg');
}

.hero-privacy-policy {
    background-image: url('../images/hero-privacy-policy.jpg');
}

.hero-refund-policy {
    background-image: url('../images/hero-refund-policy.jpg');
}

.hero-terms-of-service {
    background-image: url('../images/hero-terms-of-service.jpg');
}

/* Main Content Sections */
.home-content, .about-content, .services-list, .careers-content, .faq-content, .privacy-policy-content, .refund-policy-content, .terms-of-service-content {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.content-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Features Section (index.html) */
.features {
    background-color: var(--container-bg);
    padding: 60px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 30px;
    padding: 40px 0;
    text-align: center;
}

.feature-item {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 255, 255, 0.2);
}

.feature-item i {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-item p {
    font-size: 0.95em;
    color: var(--text-color);
}

/* About Content */
.about-content ul, .services-list ul, .careers-content ul, .faq-content ul, .privacy-policy-content ul, .refund-policy-content ul, .terms-of-service-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-content li, .services-list li, .careers-content li, .faq-content li, .privacy-policy-content li, .refund-policy-content li, .terms-of-service-content li {
    margin-bottom: 10px;
}

/* Contact Page Layout */
.contact-form {
    padding: 60px 0;
}

.contact-wrapper {
    display: flex;
    gap: 50px; /* Increased gap */
    align-items: flex-start;
}

.contact-info, .contact-form-container {
    flex: 1;
}

.contact-form-container {
    background-color: var(--container-bg);
    padding: 40px;
    border-radius: 8px;
}

.contact-form-container h2 {
    margin-top: 0; /* Remove extra margin */
}

/* Social Icons on Contact Page */
.contact-info .social-icons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.contact-info .social-icons ul {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
}

.contact-info .social-icons a {
    color: var(--secondary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info .social-icons a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--secondary-color);
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="submit"] {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-group input[type="submit"]:hover {
    background-color: var(--link-hover-color);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 40px 0 20px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    margin-bottom: 30px;
}

.footer-logo,
.footer-links,
.footer-social {
    flex: 1;
    flex-basis: 30%;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9em;
    color: var(--text-color);
}

.footer-links h3,
.footer-social h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5em; /* Increased font size */
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-social li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-social .social-icons {
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.footer-social .social-icons li {
    margin-bottom: 15px; /* Space between icons */
}

.footer-social .social-icons a {
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.copyright {
    width: 100%;
    border-top: 1px solid var(--secondary-color);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.85em;
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        margin-top: 15px;
    }

    nav ul {
        flex-direction: column;
        display: none; /* Hidden by default on mobile */
        width: 100%;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

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

    .contact-wrapper {
        flex-direction: column;
    }

    .grid-container {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo,
    .footer-links,
    .footer-social {
        min-width: unset;
        width: 100%;
    }

    .footer-social .social-icons {
        justify-content: center; /* Center on mobile */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .form-group input[type="submit"] {
        width: 100%;
    }
}

#form-messages {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.success-message {
    background-color: #28a745;
    color: white;
}

.error-message {
    background-color: #dc3545;
    color: white;
}