/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navigation */
nav {
    background-color: #004080;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

nav .nav-links {
    list-style: none;
    display: flex;
}

nav .nav-links li {
    margin-left: 20px;
}

nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav .nav-links a:hover {
    color: #ffcc00;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin-bottom: 4px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.cta-button {
    background-color: #ffcc00;
    color: #004080;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #e6b800;
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 10px auto;
    text-align: left;
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 60px 0;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #004080;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 300px;
    margin: 15px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #004080;
}

.service-item p {
    font-size: 1rem;
    color: #555;
    text-align: left;
    line-height: 1.6;
}

/* Why Dexa Scan Section */
.why-dexa {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.why-dexa h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
}

.why-dexa p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 10px auto;
    text-align: left;
    line-height: 1.8;
}

.why-dexa ul {
    list-style: disc inside;
    text-align: left;
    max-width: 900px;
    margin: 20px auto;
    font-size: 1.1rem;
}

.why-dexa ul li {
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #004080;
}

.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 350px;
    margin: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-item h4 {
    font-size: 1.1rem;
    color: #004080;
    text-align: right;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
}

.contact p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 10px auto 30px;
    text-align: left;
    line-height: 1.8;
}

#contact-form {
    max-width: 600px;
    margin: auto;
    text-align: left;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group label span {
    color: red;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

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

#contact-form button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #004080;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#contact-form button:hover {
    background-color: #003366;
    transform: scale(1.02);
}

.note {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
    text-align: left;
}

/* Footer */
footer {
    background-color: #004080;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer .social-links a {
    margin: 0 10px;
    display: inline-block;
}

footer .social-links img {
    width: 24px;
    height: 24px;
    filter: invert(100%);
    transition: filter 0.3s ease;
}

footer .social-links a:hover img {
    filter: invert(75%) sepia(100%) saturate(500%) hue-rotate(180deg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .service-list,
    .testimonial-list {
        flex-direction: column;
        align-items: center;
    }

    .service-item,
    .testimonial-item {
        width: 80%;
    }
}

@media (max-width: 768px) {
    nav .nav-links {
        position: absolute;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #004080;
        flex-direction: column;
        align-items: center;
        transition: left 0.3s ease;
    }

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

    nav .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }
}