/* Adding this here in case we want to have theme colors set already, uncomment this if we do and update all color properties
:root {
    --primary-color: #363b42;
    --primary-hover: #0f1549;
    --accent-color: #0f1549;
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --btn hover: #0e1747
}
*/

html {
    scroll-behavior: smooth;
}
/* HERO SECTION */
.hero {
    position: relative;
    background: url('../images/home-image.jpg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    color: #fff;
    max-width: 800px;
    text-align: center;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #7b9fc4;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0e1747;
}

/* Phone Icon */
.header-phone {
    margin-left: auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px; /* space between phone number and icon */
}

.header-phone .phone-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.phone-icon {
    max-width: 25px;  
    height: auto;
    vertical-align: middle;
}

/* Body Section */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Section*/
.header-container {
    display: flex;
    align-items: flex-start;
    background-color: #363b42;
    border-bottom: 1px solid #02030c;
    padding: 20px 40px;
}

.header-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
    margin-right: 0;
}


/* For backgrounds */
.ocean-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/ocean.png') no-repeat center center/cover;
    z-index: -1;
    opacity: 0.5;
}

.blueprint {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/blueprint.webp') no-repeat center center/cover;
    z-index: -1;
    opacity: 0.5;
}

main {
    flex: 1;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #f8ae47
}

/* Logo Styles */
.site-logo {
    max-width: 120px;
    height: auto;
    margin-right: 40px;
    display: block;
}

/* Styling for palm trees */
.palm-tree {
    position: fixed;
    width: 100px;
    height: auto;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

.palm-tree-left {
    left: 0;
}
.palm-tree-right {
    right: 0;
}

.palm-tree img {
    width: 100%;
    height: auto;
    animation: identifier 10s linear infinite alternate;
    opacity: 0.8;
}

@keyframes identifier {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Palm tree mobile optimization */
@media (max-width: 768px) {
    .palm-tree {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .palm-tree {
        width: 60px;
    }
}

/* Responsive Breakpoint*/
@media (max-width: 768px) {
    .header-container {
        padding: 15px 10px;
        flex-direction: column;
        text-align: center;
    }

    .header-center {
        width: 100%;
        order: 2;
    }

    .site-logo {
        max-width: 100px;
        margin: 0 auto 10px auto;
        order: 1;
    }

    .header-phone {
        margin: 10px auto 0 auto;
        order: 3;
        justify-content: center;
    }

    .header-phone .phone-link {
        font-size: 1.1rem;
    }

    .site-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 12px 16px;
        display: block;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        font-size: 1.5rem !important;
        margin: 10px auto;
        min-width: 50px;
        min-height: 50px;
        position: relative;
        z-index: 1001;
        color: white !important;
        cursor: pointer;
    }

    .main-nav {
        width: 100%;
        position: relative;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        border-radius: 8px;
        padding: 15px 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .main-nav.nav-visible ul {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .header-container {
        padding: 12px 8px;
    }

    .site-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .site-logo {
        max-width: 80px;
    }

    .header-phone .phone-link {
        font-size: 1rem;
    }

    .phone-icon {
        max-width: 20px;
    }
}

@media (max-width: 600px) {
    .site-title {
        font-size: 1.8rem;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-overlay {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Homepage Sections */
.home-section {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.home-section .section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.home-section h2 {
    color: #2c5f7c;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.home-section p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Heritage Section */
.heritage-section {
    background-color: rgba(248, 249, 250, 0.4);
}

/* Hurricane Resilience Section */
.hurricane-section {
    background-color: rgba(232, 238, 242, 0.65);
}

/* Why Choose Us Section on Homepage */
.why-choose-section {
    background-color: rgba(248, 249, 250, 0.4);
    text-align: center;
}

.why-choose-section h2 {
    color: #2c5f7c;
    font-size: 2rem;
    margin-bottom: 40px;
}

.why-choose-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #2c5f7c;
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card h3 {
    color: #2c5f7c;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Testimonials Carousel on Homepage */
.testimonials-carousel-section {
    background-color: rgba(232, 238, 242, 0.65);
    padding: 60px 20px;
}

.testimonials-carousel-section h2 {
    color: #2c5f7c;
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-stars {
    color: #f8ae47;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.testimonial-text {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: #2c5f7c;
    font-weight: bold;
    font-size: 1rem;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(123, 159, 196, 0.8);
    color: white;
    border: none;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-arrow:hover {
    background-color: rgba(14, 23, 71, 0.9);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Carousel Dots Navigation */
.carousel-dots {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

.dot.active {
    background-color: #2c5f7c;
}

.dot:hover {
    background-color: #7b9fc4;
}

/* Mobile optimization for home sections */
@media (max-width: 768px) {
    .home-section {
        padding: 40px 15px;
    }

    .home-section h2 {
        font-size: 1.8rem;
    }

    .home-section p {
        font-size: 1rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-section h2 {
        font-size: 1.8rem;
    }

    /* Testimonials carousel mobile */
    .testimonials-carousel {
        padding: 0 40px;
    }

    .testimonial-content {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .testimonials-carousel-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        padding: 0 30px;
    }

    .testimonial-content {
        padding: 25px 15px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }

    .testimonial-stars {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
}

/* Menu toggle button (hamburger) - consolidated styles */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
    z-index: 1000;
    position: relative;
    margin: 10px auto;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}


/* About Section */

/* Section A: Company History */
.about-section {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.about-history {
    background-color: rgba(248, 249, 250, 0.4);
}

.about-history .section-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-history h2 {
    color: #2c5f7c;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-history h3 {
    color: #2c5f7c;
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-history p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.history-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Section B: Why Choose Us */
.about-why-choose {
    background-color: rgba(232, 238, 242, 0.65);
    text-align: center;
}

.about-why-choose h2 {
    color: #2c5f7c;
    font-size: 2rem;
    margin-bottom: 40px;
}

.why-choose-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #2c5f7c;
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card h3 {
    color: #2c5f7c;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Section C: Mission & Values */
.about-mission {
    background-image: url('../images/ocean-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 95, 124, 0.5);
}

.mission-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-box h3,
.values-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.mission-box p {
    line-height: 1.6;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.values-list li strong {
    font-weight: bold;
}

/* About mobile optimization */
@media (max-width: 768px) {
    .about-history .section-content {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 40px 15px;
    }

    .about-history h2,
    .about-why-choose h2,
    .mission-content h2 {
        font-size: 1.8rem;
    }
}

/* Projects Section */
.projects {
    padding: 60px 20px;
    text-align: center;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    opacity: 0;
    transform: translate(-100px);
    transition: all 0.5s ease-out;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    color: #fff;
}

.project-item p {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}

.project-item h4 {
    font-size: 1.8rem;
    margin: 20px 0 15px 0;
    color: #fff;
}

/* Image Slideshow */
.image-slideshow {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.project-item:nth-child(even) {
    transform: translate(100px);
}

.project-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.projects h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Tweak for very small mobile screens */
@media (max-width: 768px) {
    .projects {
        padding: 40px 15px;
    }

    .projects h3 {
        font-size: 1.8rem;
    }
    
    .project-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-item {
        padding: 20px;
        margin: 0;
    }

    .project-item h4 {
        font-size: 1.5rem;
        text-align: center;
    }

    .project-item p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .image-slideshow {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .projects h3 {
        font-size: 1.5rem;
    }
    
    .project-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-item {
        padding: 15px;
    }

    .project-item h4 {
        font-size: 1.3rem;
    }

    .project-item p {
        font-size: 0.95rem;
    }
    
    .image-slideshow {
        height: 200px;
    }

    .slide-label {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 60px 20px;
    text-align: center;
}

.testimonials p {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    font-size: 1.1rem;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    color: #fff;
    line-height: 1.6;
}

.testimonials h1 {
    margin-inline-start: auto;
    margin-inline-end: auto;
    text-align: center;
    max-width: 1000px;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Testimonials mobile optimization */
@media (max-width: 768px) {
    .testimonials {
        padding: 40px 15px;
    }

    .testimonials h1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .testimonials p {
        padding: 30px 20px;
        font-size: 1rem;
        margin: 0 10px;
    }
}

/* Service Section */
.services {
    padding: 60px 20px;
    text-align: center;
}

.services h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    flex-grow: same;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1rem;
    color: #555;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .services {
        padding: 40px 15px;
    }

    .services h3 {
        font-size: 1.8rem;
    }

    .service-list {
        gap: 15px;
        max-width: 100%;
    }

    .service-item {
        flex: 1 1 100%;
        padding: 25px;
        margin: 0;
    }

    .service-item h4 {
        font-size: 1.3rem;
    }

    .service-item p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .service-item {
        padding: 20px;
    }

    .service-item h4 {
        font-size: 1.2rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}

/* Services Page Specific Styles */
.services-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.services-header {
    padding: 80px 20px 40px;
    background-color: rgba(248, 249, 250, 0.4);
}

.services-header h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-area-info {
    margin: 20px 0;
}

.service-area-info p {
    font-size: 1.2rem;
    color: #555;
}

.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.trust-icon {
    width: 30px;
    height: 30px;
    color: #28a745;
}

.services-cards {
    padding: 40px 20px;
    background-color: rgba(232, 238, 242, 0.65);
}

.services-cards .service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-cards .service-item {
    background-color: rgba(44, 95, 124, 0.5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Removed special styling - now have 6 cards in 2x3 grid */

.services-cards .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.services-cards .service-item h4 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.service-list-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.service-list-bullets li {
    padding: 10px 0;
    font-size: 1rem;
    color: #fff;
    position: relative;
    padding-left: 25px;
}

.service-list-bullets li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-service {
    background-color: #7b9fc4;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.btn-service:hover {
    background-color: #0e1747;
}

.services-process {
    padding: 60px 20px;
    background-color: rgba(248, 249, 250, 0.4);
    margin: 40px 0;
}

.process-section {
    max-width: 1200px;
    margin: 0 auto;
}

.process-section h3 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 50px;
    font-weight: bold;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #7b9fc4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 15px;
    font-weight: bold;
}

.process-step p {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
}

.process-connector {
    width: 50px;
    height: 2px;
    background-color: #7b9fc4;
    align-self: center;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .services-cards .service-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 6 cards now display in even 2x3 grid on tablet */
}

@media (max-width: 768px) {
    .services-header h2 {
        font-size: 2.2rem;
    }

    .services-cards .service-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* All service items display full width on mobile */

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 2px;
        height: 50px;
        margin: 20px 0;
    }

    .trust-bar {
        flex-direction: column;
        gap: 15px;
    }
}


/* Contact Section */
.contact-section {
    padding: 60px 20px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: flex-start;
}

.contact-form-area {
    flex: 1.3;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.contact-form-area h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.contact-subtitle {
    text-align: center;
    color: #ddd;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-info-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.contact-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.contact-person {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.contact-details {
    flex: 1;
    text-align: left;
}

.contact-details h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.contact-title {
    color: #ccc;
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-detail-item {
    margin: 10px 0;
    color: #fff;
}

.contact-detail-item strong {
    color: #7b9fc4;
}

.contact-detail-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail-item a:hover {
    color: #7b9fc4;
}

.address-content {
    text-align: center;
}

.address-content h5 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.address-content p {
    color: #ddd;
    line-height: 1.6;
    font-size: 1.1rem;
}

.map-container {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Legacy styles for backward compatibility */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: flex-start;
    color: #f9f9f9;
}

/* Contact mobile optimization */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }

    .contact-wrapper,
    .contact-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px 10px;
    }

    .contact-form-area,
    .contact-info-area {
        flex: 1 1 100%;
        padding: 30px 20px;
        margin: 0;
    }

    .contact-form-area h2,
    .contact-form-area h3,
    .contact-info-area h4 {
        font-size: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 1rem;
    }

    .contact-form button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .contact-person {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-details {
        text-align: center;
    }

    .contact-avatar {
        width: 100px;
        height: 100px;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-form-area,
    .contact-info-area {
        padding: 20px 15px;
    }

    .contact-form-area h2,
    .contact-form-area h3,
    .contact-info-area h4 {
        font-size: 1.3rem;
    }

    .contact-card {
        padding: 25px;
    }

    .contact-avatar {
        width: 80px;
        height: 80px;
    }

    .contact-details h4 {
        font-size: 1.2rem;
    }

    .contact-detail-item {
        font-size: 0.9rem;
    }

    .map-container iframe {
        height: 250px;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #f9f9f9;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d9d7d7;
    border-radius: 4px;
}

.contact-form button {
    background-color: #7b9fc4;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #0e1747;
}

.contact-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* What Happens Next Section */
.what-happens-next {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #7b9fc4;
}

.what-happens-next h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.what-happens-next ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.what-happens-next li {
    color: #f9f9f9;
    font-size: 1rem;
    line-height: 1.8;
    padding: 8px 0 8px 28px;
    position: relative;
}

.what-happens-next li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7b9fc4;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Mobile optimization for What Happens Next */
@media (max-width: 768px) {
    .what-happens-next {
        padding: 18px;
        margin: 18px 0;
    }

    .what-happens-next h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .what-happens-next li {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 6px 0 6px 26px;
    }
}

@media (max-width: 480px) {
    .what-happens-next {
        padding: 16px;
        margin: 16px 0 20px 0;
    }

    .what-happens-next h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .what-happens-next li {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 5px 0 5px 24px;
    }

    .what-happens-next li:before {
        font-size: 1rem;
    }
}

/* Form Messages */
.form-messages {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
    color: #155724;
}

.success-message h4 {
    color: #28a745;
    margin: 0 0 10px 0;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    color: #721c24;
}

.error-message h4 {
    color: #dc3545;
    margin: 0 0 10px 0;
}

.form-messages p {
    margin: 0;
    font-size: 1rem;
}

.contact-info-area h4 {
    margin-top: 0;
}

/* Footer Section */
footer, #footer-placeholder {
    text-align: center;
    width: 100%;
    padding-bottom: 0px; /* ensures space above palm trees */
    background: transparent; /* or your desired background */
    border: none;
    margin-top: auto;
}

/* General Mobile Optimizations */
@media (max-width: 768px) {
    /* Ensure all text is readable on mobile */
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Fix any horizontal scrolling issues */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Improve touch targets */
    .btn, button, a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Better spacing on mobile */
    section {
        margin-bottom: 40px;
    }

    /* Improve form usability on mobile */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

/* Very small screens optimization */
@media (max-width: 320px) {
    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-overlay {
        padding: 20px 15px;
    }

    .contact-form-area,
    .contact-info-area {
        padding: 15px;
    }

    .project-item {
        padding: 15px;
    }

    .service-item {
        padding: 15px;
    }
}