/* Global Styles */
body {
    font-family: 'Roboto', sans-serif; /* A more modern font */
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Light grey background */
    color: #333; /* Dark grey text for readability */
    line-height: 1.6;
}

/* Base button styles to ensure consistency */
button, .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px; /* Slightly more rounded */
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease; /* Smooth transitions for hover effects */
    text-decoration: none; /* For anchor tags acting as buttons */
    display: inline-flex; /* Allows icon and text to align */
    align-items: center;
    justify-content: center;
}

/* Header Styles */
.header {
    background-color: #002244; /* Dark blue */
    color: white;
    padding: 15px 30px; /* Adjust padding */
    display: flex; /* Use flexbox for better alignment */
    justify-content: space-between; /* Space out title and buttons */
    align-items: center;
    position: fixed; /* Fixed header */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Subtle shadow */
    box-sizing: border-box; /* Include padding in width calculation */
}
/* Version Positioning and Coloring */
.header .version {
    position: absolute;   /* Position relative to the nearest positioned ancestor (the header) */
    bottom: 5px;          /* Small space from the bottom edge */
    right: 10px;         /* Small space from the right edge */
    color: #2f8fee;       /* <<< Match the header background color */
    font-size: 0.8em;     /* Optional: Adjust size */
    opacity: 0.5;         /* Optional: Make it slightly visible if needed, or set to 1 for fully hidden by color */
    pointer-events: none; /* Prevents interaction */
}
.header img {
    max-width: 120px; /* Slightly smaller logo */
    height: auto;
}

.header .buttons {
    display: flex;
    gap: 15px; /* Space between buttons */
}

.header .buttons button,
.header .buttons a { /* Apply to anchor tags as well */
    background: #007bff; /* Primary blue for navigation buttons */
    color: white;
    padding: 10px 15px;
    border-radius: 5px; /* Less rounded for header buttons */
}

.header .buttons button:hover,
.header .buttons a:hover {
    background: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Main Content Area */
.main-content {
    padding: 100px 20px 20px; /* Adjust padding-top to clear fixed header */
    max-width: 1200px; /* Max width for content */
    margin: 0 auto; /* Center content */
}

.main-content h1 {
    color: #002244; /* Dark blue for main headings */
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 700;
}

.main-content p {
    font-size: 1.1em; /* Slightly larger text */
    margin-bottom: 20px;
    color: #555;
}

/* Service Boxes (assuming from previous context) */
.services {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 30px; /* Space between service cards */
    margin-top: 40px;
}

.service {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    width: 300px; /* Fixed width for service cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service img {
    max-width: 80px; /* Adjust image size */
    height: auto;
    border-radius: 50%; /* Make images circular if desired */
    margin-bottom: 15px;
    border: 3px solid #007bff; /* Border around image */
}

.service h3 {
    color: #002244;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.service p {
    font-size: 0.95em;
    color: #666;
}

/* Video Container */
.video-container {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    background-color: #e9ecef; /* Light background for video section */
    border-radius: 10px;
}

.video-container iframe {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    min-height: 315px; /* Minimum height for better viewing */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Footer Styles */
.footer {
    background-color: #002244;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
    font-size: 0.9em;
}

.footer a {
    color: #ffdd57; /* Accent color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #e6c943; /* Darker accent on hover */
    text-decoration: underline;
}

/* Specific Button Styles */
.btn-primary {
    background-color: #ffdd57; /* Yellow accent */
    color: #002244; /* Dark blue text */
    box-shadow: 0 4px 10px rgba(255, 221, 87, 0.4);
}

.btn-primary:hover {
    background-color: #e6c943; /* Darker yellow on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 221, 87, 0.6);
}

.btn-whatsapp {
    background-color: #25D366; /* WhatsApp green */
    color: white;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #1DA851; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

    .header .buttons {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .header .buttons button,
    .header .buttons a {
        width: calc(50% - 10px); /* Two buttons per row */
        margin-bottom: 10px;
    }

    .main-content {
        padding-top: 150px; /* More space for stacked header */
    }

    .service {
        width: 90%; /* Make service cards take more width */
        margin-bottom: 20px;
    }

    .video-container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .header .buttons button,
    .header .buttons a {
        width: 100%; /* Stack buttons on very small screens */
    }

    .main-content h1 {
        font-size: 2em;
    }
}