:root {
    --brapona-blue: #003CFF;
    --dark-blue: #002aa3; /* A slightly darker shade for accents/hover */
    --white: #FFFFFF;
    --dark-grey: #1a1a1a;
    --light-grey: #f0f0f0;
    --text-color: #e0e0e0; /* Lighter grey for text on dark backgrounds */
    --border-color: rgba(0, 60, 255, 0.3); /* Transparent blue for borders */
}

/* Base Styles & Fonts */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif; /* Modern, clean font */
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--dark-grey);
    overflow-x: hidden; /* Prevent horizontal scroll */
    background-image: url(stuffs/Gemini_Generated_Image_gtp9u7gtp9u7gtp9.png);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif; /* Stronger, condensed font for titles */
    color: var(--white);
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.8em; }
h3 { font-size: 1.8em; }

a {
    color: var(--brapona-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-blue);
}

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

/* Utility Classes for Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.left-slide {
    transform: translateX(-50px);
}
.animate-on-scroll.left-slide.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.right-slide {
    transform: translateX(50px);
}
.animate-on-scroll.right-slide.is-visible {
    transform: translateX(0);
}

/* Delay for sequential animations */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Global Buttons */
.btn-explore, .btn-register, .btn-submit {
    display: inline-block;
    background-color: var(--brapona-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    /* Ensure no extra padding/margin is pushing it out */
    white-space: nowrap; /* Prevent text from wrapping */
}

.btn-explore:hover, .btn-register:hover, .btn-submit:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

.btn-explore i, .btn-submit i {
    margin-left: 10px;
}

/* Header & Navigation */
.main-header {
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
    padding: 20px 20px; /* Adjusted padding: reduced from 40px to 20px on sides */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); /* Subtle blur effect */
    box-sizing: border-box; /* Ensures padding is included in width */
}

.logo {
    color: var(--brapona-blue);
    font-size: 2em;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; /* Align items vertically in nav */
}

.main-nav li {
    margin-left: 20px; /* Adjusted: Reduced from 30px to 20px */
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: var(--brapona-blue);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active-nav::after {
    width: 100%;
}

.menu-toggle {
    color: var(--white);
    font-size: 1.8em;
    cursor: pointer;
    display: none; /* Hidden on desktop */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* Account for fixed header */
    overflow: hidden;
}

.cinematic-bg {
    background-image: url('https://via.placeholder.com/1920x1080/0d0d0d/003CFF?text=Brapona+Hero+Background'); /* Darker, grittier background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)); /* Dark gradient overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(0, 60, 255, 0.6); /* Subtle glow */
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

/* Keyframe animations for hero section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0; /* Hidden by default until animation runs */
}

.fade-in-up.delay-1 { animation-delay: 0.5s; }
.fade-in-up.delay-2 { animation-delay: 1s; }

/* Sections General Styling */
section {
    padding: 100px 0;
    min-height: 70vh; /* Ensure sections have some minimum height */
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 3em;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--brapona-blue);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}


/* Services Overview Section */
.services-overview {
    background-color: #0d0d0d; /* Very dark background */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background-color: #222;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 60, 255, 0.2);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7) grayscale(0.2); /* Darken and desaturate image */
    transition: filter 0.3s ease;
}

.service-card:hover img {
    filter: brightness(1) grayscale(0); /* Bring back color on hover */
}

.service-card h3 {
    color: var(--brapona-blue);
    margin: 20px 0 10px;
    font-size: 1.6em;
}

.service-card p {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: var(--text-color);
}

/* About Us Section (similar to hero, for cinematic feel) */
.about-us-section {
    padding-top: 100px; /* Adjust if needed */
    padding-bottom: 100px;
    text-align: center;
    min-height: 80vh; /* Can be shorter than hero */
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.about-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.about-content .social-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-content .social-links a {
    color: var(--white);
    font-size: 2.5em;
    transition: color 0.3s ease, transform 0.2s ease;
}

.about-content .social-links a:hover {
    color: var(--brapona-blue);
    transform: translateY(-5px);
}

/* Contact Section */
.contact-section {
    background-color: #0d0d0d;
    padding-bottom: 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    background-color: #222;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.contact-info h3 {
    color: var(--brapona-blue);
    margin-bottom: 30px;
    font-size: 1.8em;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-color);
}

.contact-info p i {
    margin-right: 15px;
    color: var(--brapona-blue);
    font-size: 1.3em;
    margin-top: 3px;
}

.contact-info a {
    font-weight: 600;
}

.contact-form {
    background-color: #222;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.contact-form h3 {
    color: var(--brapona-blue);
    margin-bottom: 30px;
    font-size: 1.8em;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--white);
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brapona-blue);
    box-shadow: 0 0 0 2px rgba(0, 60, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Footer */
.site-footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--text-color);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
    border-top: 1px solid rgba(0, 60, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-footer p {
    margin: 0;
}

.footer-social-links {
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.footer-social-links a:hover {
    color: var(--brapona-blue);
}


/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 3.5em; }
    h2 { font-size: 2.2em; }

    .main-header {
        padding: 15px 20px;
    }

    .main-nav {
        display: none; /* Hide nav by default on smaller screens */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Below header */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
        padding: 20px 0;
        z-index: 999;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .main-nav li {
        /* Corrected: Reset margin-left for vertical stacking */
        margin-left: 0;
        margin-bottom: 15px; /* Add space between menu items */
    }

    /* Ensure the register button retains its button-like padding and sizing */
    .main-nav .btn-register {
        margin-top: 10px; /* Add some space above the button */
        padding: 12px 25px; /* Ensure consistent button padding */
        width: fit-content; /* Make button width fit its content */
        margin-left: auto; /* Center the button if using flexbox on parent */
        margin-right: auto;
        display: block; /* Make it a block element to take up full width for centering */
    }


    .main-nav a {
        padding: 10px 0; /* Increase padding for touch targets */
    }


    .menu-toggle {
        display: block; /* Show menu toggle button */
    }

    .hero-content h1 {
        font-size: 3.5em;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info, .contact-form {
        padding: 30px;
    }

    .site-footer {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    .hero-content p { font-size: 1.1em; }
    .btn-explore, .btn-register, .btn-submit { padding: 10px 20px; font-size: 0.9em; }

    .hero-section {
        min-height: 80vh;
    }

    .service-card {
        margin-bottom: 30px; /* Add space between cards on single column layout */
    }

    .about-content p {
        font-size: 1em;
    }

    .about-content .social-links a {
        font-size: 2em;
    }

    section {
        padding: 80px 0;
    }
    .section-header {
        margin-bottom: 40px;
    }
}

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

    .main-header {
        padding: 10px 15px;
    }
    .logo {
        font-size: 1.5em;
    }
    .menu-toggle {
        font-size: 1.5em;
    }

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

    .service-card {
        padding-bottom: 20px;
    }
    .service-card h3 {
        font-size: 1.4em;
    }
    .service-card p {
        font-size: 0.9em;
    }

    .about-content p {
        font-size: 0.9em;
    }
    .contact-info, .contact-form {
        padding: 25px;
    }
    .contact-info p {
        font-size: 0.95em;
    }
}