/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 80px 20px;
}

h1, h2, h3, h4, h5 {
    margin-bottom: 20px;
    color: #1a73e8;
}

p {
    margin-bottom: 15px;
}


/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo / Heading */
nav .logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
}

/* Menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin-left: 20px;
}

/* Menu links */
nav ul li a {
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #0b52d6;
}

/* Phone Button (desktop only) */
.phone-btn {
    background-color: #1a73e8;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
}

.phone-btn:hover {
    background-color: #0b52d6;
}

/* Hamburger toggle - hidden on desktop */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
    /* Hamburger visible */
    .menu-toggle {
        display: block;
    } 
 
    /* Hide phone button on mobile */
    .phone-btn {
        display: none;
    }

    /* Menu becomes vertical and hidden initially */
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: -100%;
        background-color: #fff;
        padding: 20px 0;
        gap: 20px;
        text-align: center;
        transition: 0.3s;
    }

    nav ul.show {
        left: 0;
    }

    nav ul li {
        margin: 0;
    }
}


/* Home Section */
.home {
    height: 100vh;
    background: url(images/hero-bg.jpg) no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.home h1 {
    font-size: 60px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.home p {
    font-size: 24px;
    margin-top: 20px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #1a73e8;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    background-color: #0b52d6;
}

/* New Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    padding: 100px 20px;
}

.why-choose-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.why-text h2 {
    font-size: 36px;
    color: #0077b6;
    margin-bottom: 20px;
}

.why-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

/* Features layout */
.why-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature .icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.feature .icon img {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-size: 22px;
    color: #0077b6;
    margin-bottom: 8px;
}

.feature p {
    color: #555;
    line-height: 1.6;
}

/* Responsive: show icon + heading, hide description */
@media (max-width: 992px) {
    /* Hide only the paragraph description inside each feature */
    .why-features .feature p {
        display: none;
    }

    /* Keep heading and icon visible */
    .why-features .feature h3 {
        display: block;
        text-align: center;
        margin-top: 10px;
    }

    /* Make features aligned vertically and centered */
    .why-features {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .feature {
        background: transparent; /* remove card background */
        box-shadow: none;        /* remove shadow */
        padding: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature .icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    /* Hide the left-side text block on mobile */
    .why-text {
        display: none;
    }

    /* Center container */
    .why-choose-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}




/* About Us Section - Updated Layout */
.about {
    padding: 100px 20px;
    position: relative;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 36px;
    color: #0077b6;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-about {
    display: inline-block;
    padding: 12px 28px;
    background-color: #1a73e8;
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
}

.btn-about:hover {
    background-color: #0b52d6;
}

/* Image Section */
.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    transform: translateX(20px);
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: translateX(0);
}

/* Optional overlay for modern look */
.image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 119, 182, 0.2), transparent);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-image img {
        max-width: 100%;
        transform: translateX(0);
    }

    .image-overlay {
        display: none;
    }

    .btn-about {
        margin-top: 20px;
    }
}

/* Services Section */
.services {
    padding: 100px 20px;
}

.services-container {
    max-width: 1200px;
    margin: auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 36px;
    color: #0077b6;
    margin-bottom: 15px;
}

.services-header p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

/* Each Row */
.services-row {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Individual Service Item */
.service-item {
    flex: 1;
    min-width: 250px;
    background: #f5f9fc;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
}

.service-item h3 {
    font-size: 22px;
    color: #0077b6;
    margin-bottom: 12px;
}

.service-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Responsive – stack top-to-bottom */
@media (max-width: 992px) {
    .services-header h2 {
        font-size: 28px;
    }

    .services-header p {
        font-size: 16px;
    }

    .services-row {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 30px;
    }

    .service-item {
        padding: 25px 15px;
    }

    .service-item h3 {
        font-size: 20px;
    }

    .service-item p {
        font-size: 15px;
    }
}




/* FAQ Section */
.faq-section {
    padding: 100px 20px;
}

.faq-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 50px;
    align-items: flex-start;
}

/* Left Intro */
.faq-intro h2 {
    font-size: 36px;
    color: #0077b6;
    margin-bottom: 20px;
}

.faq-intro p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}

/* Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-box {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

/* Question Button */
.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: #f8fafc;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Active State */
.faq-box.active .faq-answer {
    max-height: 200px;
}

.faq-box.active .faq-question .icon {
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 992px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-intro h2 {
        font-size: 28px;
    }

    .faq-question {
        font-size: 16px;
    }
}


/* Contact Section – Base */
.contact-section {
    padding: 100px 20px;
    background: #f5f9fc;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
}

/* Header */
.contact-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.contact-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 18px;
    line-height: 1.8;
}

/* Contact Details */
.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Contact Box */
.contact-box {
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
}

/* ========================= */
/* Responsive Fixes */
/* ========================= */

@media (max-width: 1024px) {
    .contact-section {
        padding: 70px 16px;
    }

    .contact-details {
        gap: 25px;
    }

    .contact-box {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 15px;
    }

    .contact-header {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .contact-header h2 {
        font-size: 28px;
    }

    .contact-header p {
        font-size: 16px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-box {
        padding: 25px 18px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 50px 12px;
    }

    .contact-box {
        padding: 22px 15px;
    }

    .contact-header h2 {
        font-size: 24px;
    }

    .contact-header p {
        font-size: 15px;
        line-height: 1.6;
    }
}



/* Footer */
footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 30px 20px;
}

/* Responsive */
@media(max-width: 992px){
    nav ul {
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 80px;
        left: -100%;
        transition: 0.3s;
        text-align: center;
    }

    nav ul.show {
        left: 0;
    }

    nav ul li {
        margin: 20px 0;
    }

    .about {
        flex-direction: column;
    }

    .home h1 {
        font-size: 40px;
    }

    .home p {
        font-size: 20px;
    }
}
