/*Remove default spacing */
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* General website styling */
body {
    font-family: Arial, sans-serif;
    color: #222;
    line-height: 1.6;
}


/* Navigation bar */
header {
    background-color: #123b6d;
    padding: 20px 8%;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


nav h2 {
    color: white;
    font-size: 24px;
    letter-spacing: 1px;
}


nav ul {
    display: flex;
    list-style: none;
}


nav ul li {
    margin-left: 25px;
}


nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #f0c76a;
}


/* Home section */
#home {
   background-image:
    linear-gradient(rgba(18, 59, 109, 0.75), rgba(18, 59, 109, 0.75)),
    url("hero.jpg");

background-size: cover;
background-position: center;
    );

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 10%;

    color: white;
}


#home h1 {
    font-size: 50px;
    color: #123b6d;
}


#home h2 {
    margin-top: 15px;
    color: #d49b27;
}


#home p {
    max-width: 700px;
    margin: 20px auto;
}


/* Button */
button {
    background-color: #d49b27;
    color: white;

    border: none;

    padding: 14px 30px;

    font-size: 16px;

    cursor: pointer;

    border-radius: 5px;
}


/* All sections */
section {
    padding: 80px 10%;
}


/* Section headings */
section h2 {
    color: #123b6d;
    margin-bottom: 20px;
}


/* Lists */
ul {
    margin-top: 15px;
    padding-left: 20px;
}


li {
    margin-bottom: 8px;
}


/* Contact section */
#contact {
    background-color: #f5f7fa;
}/* =========================
   SERVICE CARDS
========================= */

.service-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 30px;
}


.service-card {
    background-color: white;
    padding: 32px;
    border-radius: 10px;
    border-top: 5px solid #123b6d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}


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


.service-card h3 {
    color: #123b6d;
    margin-bottom: 15px;
    font-size: 21px;
}
.service-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}


/* Mobile phones */

@media (max-width: 800px) {

    .service-container {
        grid-template-columns: 1fr;
    }

}/* Insurance section titles */

.insurance-title {
    margin-top: 40px;
    margin-bottom: 20px;

    color: #d49b27;

    font-size: 26px;
}/* =========================
   HERO SECTION
========================= */

.hero-content {
    max-width: 800px;
}


.welcome {
    color: #f0c76a;

    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 15px;
}


#home h1 {
    font-size: 55px;

    color: white;

    margin-bottom: 15px;
}


#home h2 {
    color: #f0c76a;

    font-size: 28px;

    margin-bottom: 20px;
}


.hero-text {
    font-size: 18px;

    margin-bottom: 30px;
}


.quote-button {
    display: inline-block;

    background-color: #d49b27;

    color: white;

    padding: 15px 35px;

    border-radius: 5px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}


.quote-button:hover {
    background-color: #b77f12;

    transform: translateY(-3px);
}/* =========================
   MOBILE NAVIGATION
========================= */

.menu-toggle {
    display: none;

    color: white;

    font-size: 30px;

    cursor: pointer;
}


/* Mobile screens */

@media (max-width: 768px) {

    nav {
        position: relative;
    }
    nav h2 {
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
    }


    nav ul {
        display: none;

        flex-direction: column;

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        background-color: #123b6d;

        text-align: center;

        padding: 20px 0;
    }


    nav ul.active {
        display: flex;
    }


    nav ul li {
        margin: 15px 0;
    }


    #home h1 {
        font-size: 38px;
    }


    #home h2 {
        font-size: 22px;
    }

}.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info,
.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3,
.contact-form h3 {
    color: #123b6d;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background-color: #d49b27;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #b77f12;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}footer {
    background-color: #123b6d;
    color: white;
    padding: 50px 10% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

footer h3 {
    margin-bottom: 18px;
    color: white;
}

footer p {
    margin-bottom: 10px;
}

.footer-about p:first-of-type {
    color: #f0c76a;
    font-weight: bold;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: white;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #f0c76a;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    padding-top: 18px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}.about-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.about-text,
.about-highlight {
    background-color: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h3,
.about-highlight h3 {
    color: #123b6d;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-highlight {
    background-color: #f5f7fa;
}

.about-highlight ul {
    list-style: none;
}

.about-highlight li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}/* CONTACT SECTION IMPROVEMENT */

#contact h2 {
    text-align: center;
    font-size: 36px;
}

#contact > p {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info {
    border-top: 5px solid #d49b27;
}

.contact-form {
    border-top: 5px solid #123b6d;
}/* QUOTE FORM IMPROVEMENT */

.contact-form button {
    transition: 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #123b6d;
    box-shadow: 0 0 5px rgba(18, 59, 109, 0.2);
}/* WHATSAPP BUTTON */

.whatsapp-button {
    display: inline-block;
    margin-top: 10px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}/* WHY CHOOSE DULEX */

#why-us {
    background-color: #f5f7fa;
    text-align: center;
}

.why-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.why-card {
    background-color: white;
    padding: 32px;
    border-radius: 10px;
    border-top: 4px solid #d49b27;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-card h3 {
    color: #123b6d;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .why-container {
        grid-template-columns: 1fr;
    }
}/* BACK TO TOP BUTTON */

#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: #123b6d;
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

#back-to-top:hover {
    background-color: #d49b27;
}/* HEADER LOGO */

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    width: 80px;
height: 80px;
    object-fit: contain;
    border-radius: 5px;
}/* COMPANY NAME AND TAGLINE */

.company-name {
    display: flex;
    flex-direction: column;
}

.company-name h2 {
    margin: 0;
}

.company-name p {
    margin: 2px 0 0;
    color: #f0c76a;
    font-size: 13px;
    font-weight: bold;
}/* HERO CONTENT IMPROVEMENT */

.hero-content {
    max-width: 800px;
    background-color: rgba(18, 59, 109, 0.78);
    padding: 40px;
    border-radius: 12px;
}/* SMALL PHONE IMPROVEMENTS */

@media (max-width: 480px) {
    section {
        padding: 60px 6%;
    }

   #home {
    min-height: 600px;
    padding: 50px 6%;
    background-position: center;
}

    #home h1 {
        font-size: 32px;
    }

    #home h2 {
        font-size: 20px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-content {
        padding: 25px 18px;
    }

    .logo-area img {
        width: 45px;
        height: 45px;
    }

    .company-name h2 {
        font-size: 17px;
    }

    .company-name p {
        font-size: 11px;
    }
}/* SERVICES INTRO */

.services-intro {
    max-width: 750px;
    margin: 0 auto 30px;
    text-align: center;
}

.services-intro p {
    font-size: 17px;
    color: #555;
}/* NAVIGATION QUOTE BUTTON */

.nav-quote {
    background-color: #d49b27;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-quote:hover {
    background-color: #b77f12;
}/* OUR SERVICES SECTION */

#our-services {
    background-color: #f5f7fa;
    text-align: center;
    padding-top: 90px;
    padding-bottom: 90px;
}

#our-services h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

#our-services .service-card {
    text-align: left;
    border-top: 5px solid #d49b27;
}/* STICKY HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 999;
}/* MOBILE HEADER */

@media (max-width: 480px) {
    header {
        padding: 12px 5%;
    }

    .logo-area {
        gap: 8px;
    }

    .logo-area img {
        width: 60px;
        height: 60px;
    }

    .company-name h2 {
        font-size: 16px;
    }

    .company-name p {
        font-size: 10px;
    }

    .menu-toggle {
        font-size: 26px;
    }
}/* FLOATING WHATSAPP */

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 80px;
    background-color: #25D366;
    color: white;
    padding: 13px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
}/* HOME BUTTON ANIMATION */

.quote-button {
    transition: 0.3s ease;
}

.quote-button:hover {
    transform: scale(1.05);
}/* NAV QUOTE BUTTON */

.nav-quote {
    transition: 0.3s ease;
}

.nav-quote:hover {
    transform: translateY(-2px);
}/* FOOTER BRANDING */

.footer-about h3 {
    font-size: 22px;
    letter-spacing: 1px;
}

.footer-about p:first-of-type {
    font-size: 16px;
    margin-bottom: 15px;
#guarantees > h2 {
    text-align: center !important;
    font-size: 36px;
    width: 100%;

.service-icon {
    font-size: 34px;
    color: #d49b27;
    margin-bottom: 15px;
    text-align: center;
}#about {
    background-color: #ffffff;
}

#about > h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}
}