
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-dark: rgb(18, 46, 92);
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bs-body-font-family: "Montserrat", sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
    color: var(--text-dark);
    padding-top: 81px;
    background: var(--bg-light);
    display: flex;
  flex-direction: column;
}

html, body {
  height: 100%;
  margin: 0;
}



main {
  flex: 1; 
}


/* Header Fisso */
.navbar {
    background: #00a3b4;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.logo_header {
    height: 55px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-custom {
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s ease;
}

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

/* Sezioni */
.section {
    padding: 30px 0px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Card Servizi */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Form Contatti */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control, .form-select {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-control:focus, .form-select:focus {
    border-color: none;
    box-shadow: none;
}

.form-control.on {
    background: #FC0;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--secondary-color);
}

.btn-info.btn-round {
    min-width: 230px;
    border-radius: 22px;
    background: #00A9B4;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    box-shadow: inset -1px 2px 3px #fff, inset 2px -2px 2px rgba(0,0,0,.5);
    color: #FFF;
    border: 0px;
    font-size: 13px;
}


/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 1.5rem 0 1.5rem;
    font-size: 13px;
}

.logo_footer {
    width: 140px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

footer .row {
    align-items: center;
}

.social-icons {
    margin-top: 0px;
}

.social-icons a {
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 3px;
    transition: background 0.3s ease;
    font-size: 30px;
}


.bg-light-custom {
    background: var(--bg-light);
}



@media (max-width: 992px) {

    .social-icons {
        margin-top: 20px;
        margin-bottom: 0px;
    }
}

@media (max-width: 768px) {

    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 50px 0;
    }

    .social-icons {
        margin-top: 20px;
        margin-bottom: 0px;
    }
}



@media (max-width: 640px) {

    .social-icons {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .logo_footer {
        margin-bottom: 20px;
    }

    footer div {
        text-align: center;
    }
}

.uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center !important;
}

.mb20 {
    margin-bottom: 20px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.bb {
    border-bottom: 1px solid #AAA;
    height: 200px;
}


.form-control.sel, 
.form-select.sel {
  background: #FC0;
}
