/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Header ===== */
.site-header {
    background: #fff;
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #555;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #0077b6;
}

/* ===== Hero Carousel ===== */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
}

.hero-content h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 300;
    margin-top: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    border-radius: 50px;
    padding: 12px 35px;
}

.btn-outline:hover {
    background: #fff;
    color: #333;
}

/* ===== About Section ===== */
.about {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.about-card {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 900px;
    width: 100%;
}

/* Background layer behind the text card */
.about-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 58%;
    height: calc(100% + 30px);
    background: #ededed;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 0;
}

.about-text {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 50px 40px;
    width: 55%;
    min-height: 320px;
    border-radius: 4px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

.about-image {
    position: relative;
    z-index: 2;
    width: 45%;
    max-height: 250px;
    margin-left: -3%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    align-self: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Page Banner ===== */
.page-banner {
    background: #0077b6;
    padding: 5px 20px;
    text-align: center;
}

.page-banner h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 300;
}

/* ===== Team Section ===== */
.team-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-intro {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
}

.team-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.team-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 250px;
    min-height: 400px;
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 180px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.team-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.team-phone {
    font-size: 0.85rem;
    color: #0077b6;
}

.team-cta {
    margin-top: 20px;
}

a.team-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* ===== Services Section ===== */
.services-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-intro {
    text-align: center;
    margin-bottom: 50px;
}

.services-intro p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    background: #fff;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.service-item {
    padding: 10px;
}

.service-icon {
    width: 55px;
    height: 55px;
    border: 2px solid #e8a838;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #e8a838;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-icon i {
    font-size: 24px;
}

.service-item h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c5f7c;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.service-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
}

/* ===== Market Area Section ===== */
.market-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.market-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.market-map {
    margin-bottom: 40px;
}

.market-map img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.market-footer {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* ===== Contact Page ===== */
.contact-intro {
    text-align: center;
    padding: 50px 20px;
}

.contact-intro h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #0077b6;
    margin-bottom: 15px;
}

.contact-intro p {
    font-size: 0.9rem;
    color: #666;
}

.contact-section {
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    position: relative;
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 0;
}

.contact-info {
    background: #00aaee;
    color: #fff;
    padding: 40px 30px;
    width: 35%;
    border-radius: 4px 0 0 4px;
}

.contact-group {
    margin-bottom: 30px;
}

.contact-group h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.contact-group .contact-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-group p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-group a {
    color: #fff;
    text-decoration: underline;
}

.contact-form {
    background: #fff;
    padding: 40px 30px;
    width: 65%;
    border-radius: 0 4px 4px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 0.85rem;
    font-family: inherit;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #0077b6;
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    text-align: right;
    margin-top: 20px;
}

.btn-submit {
    background: #00aaee;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #0088cc;
}

.form-status {
    margin-top: 15px;
    font-size: 0.85rem;
}

.form-status.success {
    color: #28a745;
}

.form-status.error {
    color: #dc3545;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c5f7c;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

/* ===== Bio Page ===== */
.bio-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.bio-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.bio-image {
    width: 40%;
    flex-shrink: 0;
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
}

.bio-text {
    flex: 1;
}

.bio-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.9;
}

.btn-primary {
    background: #0077b6;
    color: #fff;
    border: 2px solid #0077b6;
}

.btn-primary:hover {
    background: #005f8a;
    border-color: #005f8a;
}

/* ===== Footer ===== */
.site-footer {
    background: #0077b6;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    /* Header */
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .logo img {
        height: 40px;
    }

    .main-nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav a {
        font-size: 0.75rem;
    }

    /* Hero */
    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.3rem;
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-outline {
        padding: 10px 25px;
        font-size: 0.7rem;
    }

    /* About */
    .about {
        padding: 50px 15px;
    }

    .about-card {
        flex-direction: column;
    }

    .about-card::before {
        display: none;
    }

    .about-text {
        width: 100%;
        min-height: auto;
        padding: 30px 25px;
    }

    .about-image {
        width: 100%;
        max-height: none;
        margin-left: 0;
        margin-top: 20px;
    }

    /* Page Banner */
    .page-banner h1 {
        font-size: 1.6rem;
    }

    /* Team */
    .team-section {
        padding: 40px 15px;
    }

    .team-cards {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .team-card {
        width: 100%;
        max-width: 280px;
        min-height: auto;
    }

    /* Services */
    .services-section {
        padding: 40px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }

    /* FAQ */
    .faq-section {
        padding: 40px 15px;
    }

    /* Bio */
    .bio-section {
        padding: 40px 15px;
    }

    .bio-content {
        flex-direction: column;
        gap: 25px;
    }

    .bio-image {
        width: 60%;
        margin: 0 auto;
    }

    /* Contact */
    .contact-intro {
        padding: 30px 15px;
    }

    .contact-section {
        padding: 30px 15px;
    }

    .contact-inner {
        flex-direction: column;
    }

    .contact-info {
        width: 100%;
        border-radius: 4px 4px 0 0;
        padding: 30px 25px;
    }

    .contact-form {
        width: 100%;
        border-radius: 0 0 4px 4px;
        padding: 30px 25px;
    }

    /* Market Area */
    .market-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 8px;
    }

    .main-nav a {
        font-size: 0.7rem;
    }

    .hero {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

    .services-grid {
        padding: 15px;
    }

    .team-card {
        padding: 20px;
    }

    .bio-image {
        width: 80%;
    }
}
