/* =========================
   BASE
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    background: #f6f8fc;
    line-height: 1.6;
    color: #2b2b2b;
}

h1, h2, h3 {
    font-weight: 600;
}

/* =========================
   BRAND HEADER
========================= */
.brand-name {
    font-family: "Playfair Display", serif;
    font-size: 44px;
    display: block;
    line-height: 1.1;
}

.brand-sub {
    font-family: "Dancing Script", cursive;
    font-size: 28px;
    display: block;
    margin-top: 4px;
}

/* =========================
   HEADER
========================= */
header {
    background: linear-gradient(135deg, #8aaad3, #6f92bf);
    color: white;
    height: 170px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.logo {
    height: 135px;
    width: auto;
    object-fit: contain;
}

.logo-link {
    display: inline-block;
}

.header-center {
    flex: 1;
    text-align: center;
}

/* =========================
   NAV
========================= */
nav {
    background: #6f92bf;
    text-align: center;
    padding: 0.9rem 0;
}

nav a {
    color: white;
    margin: 0 16px;
    text-decoration: none;
}

nav a.active {
    color: #ffd700;
}

/* =========================
   HERO
========================= */
.hero {
    max-width: 1100px;
    margin: 25px auto;
}

.slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.hero .slide {
    display: none;
}

.hero .slide img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

/* =========================
   BUTTON
========================= */
.hero-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 22px;
    background: white;
    color: #6f92bf;
    text-decoration: none;
    border-radius: 10px;
}

/* =========================
   HOME SECTION
========================= */
.home-section {
    text-align: center;
    max-width: 1000px;
    margin: 70px auto;
    padding: 0 18px;
}

/* =========================
   CARDS
========================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
    gap: 22px;
}

.card {
    background: white;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.service-home-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* =========================
   TRUST
========================= */
.trust {
    background: #eef3fb;
    padding: 70px 15px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-item {
    background: white;
    padding: 18px;
    border-radius: 12px;
}

/* =========================
   CTA
========================= */
.cta {
    background: #8aaad3;
    color: white;
    text-align: center;
    padding: 70px 15px;
}

/* =========================
   ABOUT PAGE
========================= */
.about-modern {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 18px;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-top {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.about-photo,
.about-photo-secondary {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.about-content {
    flex: 1;
    line-height: 1.75;
}

.about-content p {
    margin-bottom: 14px;
}

.about-bottom {
    display: flex;
    justify-content: flex-end;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-info {
    max-width: 700px;
    margin: 50px auto;
    padding: 0 18px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

.contact-card h3 {
    margin-bottom: 10px;
    color: #6f92bf;
}

.contact-card a {
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: #6f92bf;
}

/* =========================
   FOOTER (ICON VERSION)
========================= */
footer {
    background: #6f92bf;
    color: white;
    text-align: center;
    padding: 25px 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255,255,255,0.15);

    color: white;
    font-size: 18px;

    text-decoration: none;

    transition: 0.2s ease;
}

.social-icon:hover {
    background: white;
    color: #6f92bf;
    transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .logo {
        height: 90px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero .slide img {
        height: 320px;
    }

    .about-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-bottom {
        justify-content: center;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}