/* --- Color Variables --- */
:root {
    --primary-color: #005c91;
    --secondary-color: #2f9728;
}

/* --- General Styling (style.css) --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #444;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 15px;
}

.text-naples-primary {
    color: var(--primary-color) !important;
}

.text-naples-secondary {
    color: var(--secondary-color) !important;
}

/* --- Header & Navigation (Modern Look) --- */
header {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.navbar-nav li{
    margin-left: 20px;
}

.logo {
    color: #000 !important;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li a {
    color: #000 !important;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background: #cce5ff !important;
    color: #005c91 !important;
}

/* --- Main Content Layout --- */
.main-content {
    padding-top: 0px;
    padding-bottom: 0px;
}


section:hover {
    transform: translateY(-3px);
}

h1,
h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2em;
    padding-bottom: 10px;
}

h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 15px;
}

/* --- Feature Grid --- */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-box {
    background: #e9f5ff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #cce5ff;
}

/* List Styling */
.list-group {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 40px;
}

.list-group li {
    background: #f9f9f9;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 0px;
}

footer .container {
    padding: 10px 0;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 0;
}

.footer-info a,
.footer-info address {
    color: white;
    text-decoration: none;
    font-style: normal;
    font-weight: 300;
}

.copyright {    
    font-size: 0.8em;
}


/* --- Banner Section --- */
.banner-section {
    width: 99vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -49.5vw;
    margin-right: -49.5vw;
    overflow: hidden;
}

/* Banner overlay for text on image */
.banner-section {
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 92, 145, 0.45);
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.text-shadow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
    .banner-overlay {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (max-width: 900px) {
    .banner-section img {
        height: 1100px;
    }
}

/* --- Button Primary & Secondary --- */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .footer-info {
        flex-direction: column;
        gap: 10px;
    }

    .grid-3-col {
        grid-template-columns: 1fr;
    }

    .list-group {
        columns: 1;
    }
}

#why-choose-us .card {
    border-radius: 1rem;
    min-height: 170px;
}
#why-choose-us .card.bg-primary {
    background: linear-gradient(135deg, #005c91 80%, #2f9728 100%) !important;
}
#why-choose-us .why-bg {
    pointer-events: none;
}