/* styles.css */

/* Default styles (for larger screens) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 10px;
}

/* Header and Navigation - Restored Visual Elements */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* Adjusted padding */
    background: #222; /* Darker background */
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

header .logo {
    font-size: 28px; /* Larger logo */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px; /* Increased spacing */
}
/* Navigation Link Styles - Modified for Button Appearance */
nav ul li a {
    color: #eee;
    text-decoration: none;
    padding: 10px 18px; /* Adjusted padding */
    border: 2px solid transparent; /* Added border */
    border-radius: 8px; /* Rounded corners */
    background-color: rgba(255, 255, 255, 0.05); /* Slight background */
    transition: all 0.3s ease; /* Smooth transition for all properties */
    display: inline-block; /* Important for padding and border to work correctly */
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Lighter background on hover */
    border-color: #0080FF; /* Blue border on hover */
    color: white; /* Ensure text is white on hover */
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add a shadow */
}


/* Button Styles - Inspired by previous code */
.news-button { /* Added class to the button */
    background: #0080FF; /* Brighter blue */
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.news-button:hover {
    background-color: #0066CC;
}

/* Hamburger Styles - Kept Functionality */
.hamburger {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Hero Section Styles */
/* styles.css */

/* ... (All the existing CSS from the previous response) ... */

/* Hero Section Styles - Modified for Text Over Image */
.hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Image is behind */
}

.hero-content {
    position: absolute; /* Absolute positioning */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Correct centering */
    z-index: 2; /* Text is in front */
    padding: 20px;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0); /* Optional semi-transparent background */
    width: 100%; /* Added width to allow horizontal centering */
}

.hero-content h1 {
    font-size: 3em; /* Increased font size */
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 2.5em; /* Increased font size */
}

/* ... (Rest of the CSS remains the same) ... */

/* Features Section Styles */
.features {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
}

.features h2 {
    margin-bottom: 30px;
}

.features .feature {
    display: inline-block;
    width: 30%;
    margin: 10px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: transform 0.3s ease; /* Added animation */
}

.features .feature:hover {
    transform: translateY(-5px); /* Added a small hover effect */
}

.features .feature i {
    font-size: 50px;
    color: #0080FF;
}

/* About and Contact Sections Styles */
.about,
.contact {
    padding: 40px 20px;
    text-align: center;
}

.about h2,
.contact h2 {
    margin-bottom: 20px;
}

/* Contact Form Styles */
.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px; /* Increased padding */
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Contact Button Styles */
.contact button {
    background: #0080FF;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #0066CC;
}

/* Footer Styles */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
}

/* Media Queries for smaller screens - Kept Mobile Functionality */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    header .logo {
        margin-bottom: 10px;
    }

    .hamburger {
        display: block;

    }

    nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .features .feature {
        width: 90%;
        display: block;
        margin: 20px auto;
    }
}