@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --blue: #079ED0;
    --cyan: #16C5E8;
    --green: #5C9E36;
    --dark: #202A34;
    --light: #F6F9FB;
    --white: #FFFFFF;
    --text: #344451;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* HEADER */

.header {
    width: 100%;
    padding: 22px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.brand-name,
.footer-brand {
    color: var(--blue);
    font-weight: 800;
    font-size: 23px;
    letter-spacing: 2px;
    text-decoration: none;
}

.contact-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.contact-link span {
    color: var(--blue);
    margin-left: 5px;
}

/* HERO */

.hero {
    min-height: 760px;
    padding: 0 7% 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 15%, rgba(22,197,232,0.13), transparent 34%),
        var(--light);
}

/* SMALLER LOGO ARCH */

.logo-circle {
    width: clamp(270px, 37vw, 430px);
    height: clamp(180px, 25vw, 260px);
    background: var(--white);
    border-radius: 0 0 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-shadow: 0 20px 65px rgba(7,158,208,0.12);
    overflow: hidden;
}

.logo-circle img {
    width: 88%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* HERO TEXT */

.hero-text {
    margin-top: 65px;
    max-width: 1100px;
}

.tagline {
    display: inline-block;
    color: var(--blue);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5.5vw, 68px);
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-text p {
    color: var(--text);
    font-size: 17px;
    margin-bottom: 30px;
}

.explore-button,
.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 14px 23px;
    border-radius: 40px;
    background: linear-gradient(110deg, var(--blue), var(--cyan));
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.explore-button:hover,
.contact-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(7,158,208,0.25);
}

/* SERVICES */

.services {
    padding: 95px 7%;
    background: var(--white);
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading > span {
    color: var(--green);
    letter-spacing: 4px;
    font-weight: 800;
    font-size: 12px;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 43px);
    margin: 12px 0;
}

.section-heading p {
    color: #71808C;
    font-size: 15px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1250px;
    margin: auto;
}

.service-card {
    position: relative;
    padding: 35px 30px 28px;
    border: 2px solid transparent;
    border-radius: 24px;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(145deg, var(--cyan), var(--blue), var(--green)) border-box;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    opacity: 0;
    transform: translateY(35px);
}

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 18px 40px rgba(7,158,208,0.13);
}

.card-number {
    position: absolute;
    top: 23px;
    right: 25px;
    font-size: 13px;
    font-weight: 800;
    color: #A8B8C2;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(7,158,208,0.1);
    color: var(--blue);
    font-size: 25px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: #667681;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    margin-bottom: 28px;
}

.service-card li {
    color: var(--text);
    font-size: 14px;
    margin: 11px 0;
}

.service-card li::before {
    content: "✓";
    color: var(--green);
    font-weight: 800;
    margin-right: 10px;
}

.know-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    color: var(--dark);
    border: 1px solid #DCEAF0;
    border-radius: 50px;
    padding: 9px 10px 9px 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    margin-top: auto;
    transition: 0.3s ease;
}

.know-more:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: var(--white);
    font-size: 17px;
}

/* CONTACT */

.contact-section {
    text-align: center;
    padding: 100px 7%;
    background:
        radial-gradient(circle at 50% 100%, rgba(22,197,232,0.12), transparent 45%),
        var(--light);
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 43px);
    margin-bottom: 17px;
}

.contact-section p {
    color: #667681;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* FOOTER */

.footer {
    background: var(--dark);
    padding: 30px 7%;
}

.footer-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--white), var(--cyan), var(--green));
    border-radius: 5px;
    margin-bottom: 25px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    color: var(--white);
}

.footer-bottom p {
    color: #E1E9ED;
    font-size: 13px;
    text-align: right;
}

/* TABLET */

@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 690px;
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .header {
        padding: 18px 6%;
    }

    .brand-name {
        font-size: 19px;
    }

    .hero {
        min-height: auto;
        padding: 0 6% 75px;
    }

    .logo-circle {
        width: 260px;
        height: 170px;
        padding: 20px;
    }

    .hero-text {
        margin-top: 55px;
    }

    .tagline {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .services {
        padding: 70px 6%;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .service-card {
        min-height: 0;
        padding: 30px 25px 25px;
    }

    .service-card h3 {
        font-size: 25px;
    }

    .contact-section {
        padding: 75px 6%;
    }

    .footer {
        padding: 25px 6%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom p {
        text-align: center;
        line-height: 1.8;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}



/* FLOATING CONTACT BUTTONS */

.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-contact a {
    width: 58px;
    height: 58px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    text-decoration: none;

    box-shadow: 0 6px 22px rgba(0,0,0,0.18);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-contact a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.floating-contact svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

.floating-contact span {
    display: none;
}

/* CALL BUTTON */

.floating-call {
    background: linear-gradient(135deg, #079ED0, #16C5E8);
}

/* WHATSAPP BUTTON */

.floating-whatsapp {
    background: #25D366;
}


/* MOBILE OPTIMIZATION */

@media (max-width: 600px) {

    .floating-contact {
        left: 12px;
        right: 12px;
        bottom: 12px;

        flex-direction: row;
        gap: 10px;

        padding: 9px;
        border-radius: 18px;

        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(12px);

        box-shadow: 0 5px 25px rgba(32,42,52,0.15);
    }

    .floating-contact a {
        flex: 1;
        height: 53px;
        width: auto;

        border-radius: 12px;

        display: flex;
        flex-direction: row;
        gap: 9px;

        font-size: 14px;
        font-weight: 800;
    }

    .floating-contact svg {
        width: 21px;
        height: 21px;
    }

    .floating-contact span {
        display: inline;
    }

    /* Prevent contact bar from covering footer content */

    body {
        padding-bottom: 85px;
    }

}


/* MOBILE FLOATING CONTACT BUTTONS */
@media (max-width: 600px) {

    .floating-contact {
        position: fixed;
        right: 14px;
        left: auto;
        bottom: 20px;
        z-index: 99999;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;

        padding: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border-radius: 0;
    }

    .floating-contact a {
        width: 54px;
        height: 54px;
        min-width: 54px;
        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;
        flex: none;

        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
    }

    .floating-contact svg {
        width: 25px;
        height: 25px;
    }

    .floating-contact span {
        display: none;
    }

}