/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #FFFFFF; /* White text for readability */
    background: url('images/PalmSillo.jpg') no-repeat center center; /* Background image */
    background-size: cover; /* Ensure the image covers the entire viewport */
    background-attachment: fixed; /* Keeps the background static while scrolling */
    background-color: #003F87; /* Fallback color */
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    display: flex;
    flex-direction: column; /* Stack logo and nav vertically */
    justify-content: center;
    align-items: center;
    background: rgba(0, 63, 135, 0.8); /* Transparent blue */
    color: #FFFFFF; /* White text */
    padding: 2rem 0;
}

header .logo img {
    width: 150px;
    margin-bottom: 1rem; /* Space between logo and navigation */
}

header nav {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem; /* Space between nav and Contact Us */
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #E66000; /* Orange hover effect */
}

header .cta {
    display: flex;
    justify-content: center;
    width: 100%;
}

.cta-button {
    display: inline-block; /* Ensure it behaves like a link */
    text-align: center; /* Center-align text */
    background: #E66000; /* Button background color */
    color: #FFFFFF; /* Button text color */
    padding: 0.5rem 1.5rem; /* Add padding */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    transition: background 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
    margin-top: 1rem; /* Space between navigation and button */
}

.cta-button:hover {
    background: #FF8F33; /* Lighter orange for hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
    text-decoration: none; /* Keep underline removed */
}

/* Hero Section */
.hero {
    background: rgba(230, 96, 0, 0.8); /* Transparent orange */
    color: #FFFFFF; /* White text */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 80vh;
}

.hero h1 {
    color: #FFFFFF; /* White text */
    font-size: 3rem; /* Current font size for the h1 text */
    text-align: center;
}

.hero p {
    color: #003F87; /* Change this to your desired color */
    font-size: 2rem; /* Example font size (adjust as necessary) */
    text-align: center;
}

/* Section Titles */
section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 2rem 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
}

/* About Section Text */
.about p {
    font-size: 2rem; /* Adjust the size here */
    color: #E66000; /* Ensure the color is correct (if you wish to modify it) */
    line-height: 1.8; /* Adjust the line height for better readability */
    text-align: center; /* Center text if needed */
}

.about h2 {
    font-size: 3rem; /* Adjust the size here */
    color: #003F87; /* Blue color (you can modify this if needed) */
    text-align: center; /* Center the heading (if not already centered) */
}

/* Services Section */
.services {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    color: #E66000;
}

.services h2 {
    color: #003F87; /* Blue for contrast */
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(0, 63, 135, 0.8); /* Transparent blue */
    border: 1px solid #E66000; /* Orange border */
    border-radius: 5px;
    padding: 1.5rem;
    text-align: center;
    color: #FFFFFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: #E66000; /* Orange icon */
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Gallery Section */
.gallery {
    padding: 2rem 0;
    background: rgba(0, 63, 135, 0.8); /* Transparent blue */
    text-align: center;
    color: #FFFFFF;
}

.gallery h2 {
    color: #FFFFFF; /* White for contrast */
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    width: 100%;
    flex-shrink: 0;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel .prev {
    left: 10px;
}

.carousel .next {
    right: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 2rem 0;
    background: rgba(230, 96, 0, 0.8); /* Transparent orange */
    color: #FFFFFF; /* White text */
}

.testimonials h2 {
    color: #FFFFFF; /* White for contrast */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    color: #003F87; /* Blue text */
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card h4 {
    font-weight: bold;
}

.testimonial-card .testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.testimonial-card .testimonial-nav button {
    background-color: transparent;
    border: 1px solid #E66000;
    color: #E66000;
    padding: 0.5rem 1rem;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.testimonial-card .testimonial-nav button:hover {
    background-color: #E66000;
    color: #FFFFFF;
}

/* Contact Section */
.contact {
    padding: 2rem 0;
    text-align: center;
    background: rgba(0, 63, 135, 0.8); /* Transparent blue */
    color: #FFFFFF;
}

.contact h2 {
    color: #FFFFFF; /* White for contrast */
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.contact label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
}

/* Separator above Footer */
.footer-separator {
    content: "";
    display: block;
    width: 100%; /* Span the full width */
    height: 2px;
    background: rgba(255, 255, 255, 0.3); /* Semi-transparent white line */
    margin: 0; /* Remove margins */
}

/* Footer */
footer {
    background: rgba(0, 63, 135, 0.8); /* Transparent blue */
    color: #FFFFFF;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo img {
    width: 150px;
}

.footer-text p {
    margin: 0.5rem 0;
}

.footer-text .social-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

.footer-text .social-links li {
    margin: 0 10px;
}

.footer-text .social-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-text .social-links a:hover {
    color: #E66000; /* Orange hover */
    transform: scale(1.2);
}
