body {
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 0;
    background: #f8fafc;
    color: #333;
}

img {
    -webkit-user-drag: none;
    pointer-events: none;
}


header {
    background: #ebecf0;
    color: #fff;
    text-align: center;
     padding: 30px 20px;

}

nav {
    background: #211f60;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    padding: 15px 0;
    font-size: 1.1em;
    /* font-family is now inherited from body */
    font-weight: bold;
    position: relative;
}
.nav-menu {
    display: flex;
    gap: 30px;
    justify-content: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

nav a:hover {
    color: #d1eaf9;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: #d1eaf9;
}

.hero-text {
    flex: 1 1 300px;
    max-width: 500px;
    margin-right: 30px;
}

.hero-text h1 {
    font-size: 2.4em;
    margin-bottom: 15px;
    color: #2d98da;
}

.hero-text p {
    font-size: 1.15em;
    margin-bottom: 20px;
}

.hero-img {
    flex: 1 1 200px;
    max-width: 300px;
    text-align: center;
}

.hero-text iframe{
    margin: center;
}


.about-img {
    flex: 1 1 200px;
    max-width: 500px;
    text-align: center;
}

.about-img img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    margin-top: 10%;
}

.hero-img img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}

section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 25px;
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 320px;
    text-align: center;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.3s;
    height: 220px;
    overflow: visible;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-card {
    max-width: 500px;
    min-width: 320px;
    width: 95vw;
    min-height: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 24px rgba(45,152,218,0.18);
    padding: 40px 32px;
    position: relative;
}



.feature-card h3 {
    color: #2d98da;
    margin-bottom: 10px;
}

.card-front, .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-sizing: border-box;
}
.card-front {
    z-index: 2;
    opacity: 1;
}
.card-back {
    transform: rotateY(180deg);
    z-index: 1;
    opacity: 0;
}
.feature-card.flipped .card-front {
    opacity: 0;
}
.feature-card.flipped .card-back {
    opacity: 1;
}
.feature-card {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.feature-card.flipped {
    transform: rotateY(180deg);
    box-shadow: 0 4px 16px rgba(45,152,218,0.15);
}


.cta {
    align-items: center;
    align-content: space-around;
    background: #d1eaf9;
    padding: 30px 10px;
    text-align: center;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}


.cta a {
    display: inline-block;
    background: hsl(301, 86%, 75%);
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 12px 28px;
    border-radius: 6px;
    margin-top: 18px;
    transition: background 0.2s;
}

.cta a:hover {
    background: hsl(301, 88%, 87%);
}

.reviews-section {
    align-items: center;
    align-content: space-around;
    background: #e0f7fa;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.reviews-section h2 {
    color: #2d98da;
    text-align: center;
}

.reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 20px;
}

.review-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 20px;
    flex: 1 1 250px;
    min-width: 220px;
    max-width: 320px;
    text-align: left;
    position: relative;
}

.review-card::before {
    color: #ffb347;
    font-size: 1.4em;
    position: absolute;
    top: 15px;
    left: 15px;
}

.review-author {
    margin-top: 15px;
    font-weight: bold;
    color: #2d98da;
    font-size: 1em;
}

.review-rating {
    color: #ffb347;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.google-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: #2d98da;
    font-weight: bold;
    text-decoration: none;
    padding: 10px;
    min-height: 44px;
    box-sizing: border-box;
}

.google-link img {
    vertical-align: middle;
    width: 28px;
    margin-right: 8px;
}

/* Blog styles */
.blog-section {
    background: #e6f2fb;
    border-radius: 12px;
    padding: 30px 20px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-section h2 {
    color: #2d98da;
    text-align: center;
    margin-bottom: 25px;
}

.blog-entries {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.blog-entry {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 22px;
    flex: 1 1 260px;
    min-width: 260px;
    max-width: 340px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-entry h3 {
    color: #2d98da;
    margin-bottom: 10px;
}

.blog-entry p {
    margin-bottom: 12px;
}

.blog-entry a {
    color: #ffb347;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    transition: color 0.2s;
}

.blog-entry a:hover {
    color: #ff8c42;
}

footer {
    background: #3e3e3e;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    font-size: 0.95em;
    margin-top: 30px;
}

#contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;
    
}

#contact h2 {
    color: #2d98da;
    text-align: center;
}

#map {
    border: 0;
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float {
    margin-top: 16px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Header adjustments for mobile - full width image */
    header {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
    }
    
    header h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    
    .header-content {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .header-image {
        width: 100%;
        justify-content: center;
    }
    
    .header-image img {
        max-width: 100%;
        max-height: none;
        height: auto;
        border-radius: 15px;
    }
    
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #211f60;;
        flex-direction: column;
        gap: 0;
        padding: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        text-align: center;
        border-radius: 0;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    /* Hero section adjustments */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    .hero-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .hero-text h1 {
        font-size: 1.8em;
    }
    
    .hero-text p {
        font-size: 1em;
    }
    /* Center hero image on mobile */
    .hero-img {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .hero-img img {
        margin-top: 0;
        max-width: 80%;
    }
    /* Button improvements for mobile */
    .hero-text a,
    .cta a {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
        padding: 15px 20px;
        font-size: 1.1em;
        text-align: center;
        box-sizing: border-box;
        min-height: 50px;
    }
    /* Contact section mobile */
    #contact {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    #contact .hero-text {
        width: 100%;
    }
    
    #contact iframe {
        width: 100%;
        height: 250px;
        margin: 20px 0;
    }
    /* Feature cards mobile */
    .features,
    .reviews,
    .blog-entries {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .feature-card,
    .review-card,
    .blog-entry {
        min-width: 280px;
        max-width: 100%;
        margin: 0 10px;
    }
    /* CTA section mobile */
    .cta {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .cta h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    .cta p {
        margin: 10px 0 !important;
        font-size: 1em;
    }
    /* Reviews section mobile */
    .reviews-section {
        padding: 20px 15px;
    }
    /* Footer mobile */
    footer {
        padding: 20px 15px;
        font-size: 0.9em;
    }
    
    /* Float button adjustment for mobile */
    .float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    /* Section padding adjustments */
    section {
        margin: 20px auto;
        padding: 0 15px;
    }
}
/* iPhone specific adjustments */
@media (max-width: 414px) {
    .hero-text h1 {
        font-size: 1.6em;
    }
    
    .feature-card,
    .review-card,
    .blog-entry {
        min-width: 260px;
        padding: 20px;
    }
    
    .cta h2 {
        font-size: 1.3em;
    }
    
    #contact h1 {
        font-size: 1.6em;
    }
}
/* Very small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-text h1 {
        font-size: 1.4em;
    }
    
    .feature-card,
    .review-card,
    .blog-entry {
        min-width: 240px;
        margin: 0 5px;
    }
}