:root {
    --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
        "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
        "Source Han Sans CN", sans-serif;
    --primary-color: #2a3c4e;
    --accent-color: #d7a76d;
    --text-light: #f2f6f9;
    --text-dark: #000000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: DM Sans, var(--default-font-family);
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

/* Example: style the scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b88a4a;
}

a {
    text-decoration: none;
    color: inherit;
}

input,
select,
textarea,
button {
    outline: none;
}


.main-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Top Bar Styles */
.top-bar {
    position: relative;
    width: 100%;
    height: 45px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    gap: 10px;
    justify-content: center;
}

.contact-item span{
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
}

.contact-item svg{
    width: 18px;
    height: 18px;
}

.contact-label {
    font-size: 14px;
    font-weight: 700;
    margin-right: 10px;
}

.contact-value {
    font-size: 14px;
    font-weight: 700;
}

.social-icons {
    margin-left: auto;
    width: 108px;
    height: 16px;
    display: flex;
    justify-content: space-between;
    width: 150px;
}

.icon {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.phone-icon {
   
}


.social-icons a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    padding: 0 5px;
}

.social-icons a:hover i{
    color: var(--accent-color);
}

.social-icons i {
    color: #fff;
    font-size: 16px;
}

/* Navigation Styles */
.main-header {
    width: 100%;
    height: 90px;
    background: #ffffff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    font-family: var(--font-heading);
}

.logo {
    color: var(--text-dark);
    font-size: 31px;
    font-weight: 700;
    text-transform: capitalize;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mobile_navbar,
.bottom-navbar {
    display: none !important;
}


.nav_logo_img {
    width: 60px;
    height: 100%;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-item {
    padding: 8px 15px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary-color);
    background: transparent;
    transition:
        color 0.25s cubic-bezier(0.77, 0, 0.175, 1),
        background 0.25s cubic-bezier(0.77, 0, 0.175, 1),
        border-color 0.25s cubic-bezier(0.77, 0, 0.175, 1),
        padding 0.25s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-item.active {
    background: var(--accent-color);
    color: var(--primary-color);
    /* No padding or border-radius here! */
}

.nav-item-animate {
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 60px;
    padding: 8px 20px;
    transition:
        background 0.18s cubic-bezier(0.77, 0, 0.175, 1),
        color 0.18s cubic-bezier(0.77, 0, 0.175, 1),
        padding 0.18s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

/* Hero Section Styles */
.hero-section {
    width: 100%;
    position: relative;
    display: flex;
    height: 100vh;
}

.hero-content {
    width: 50%;
    padding: 100px 5% 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    color: var(--text-dark);
    font-size: 51px;
    font-weight: 800;
    line-height: 60px;
    margin-bottom: 40px;
    max-width: 737px;
    opacity: 1;
    transition:
        opacity 0.9s cubic-bezier(0.77, 0, 0.175, 1),
        transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(-30px);
}

.hero-subtitle {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 705px;
    opacity: 1;
    transition:
        opacity 0.9s cubic-bezier(0.77, 0, 0.175, 1),
        transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(-30px);
}


.hero-image {
    width: 50%;
    background: url('/img/classy_banner.png') no-repeat center;
    background-size: cover;
    border-radius: 0 0 0 100px;
    position: relative;
}

.social-links {
    position: absolute;
    bottom: 30px;
    left: 100px;
    display: flex;
    gap: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.social-icon {
    width: 14px;
    height: 14px;
    margin-right: 10px;
    background-size: cover;
}

.facebook-icon {
    background-image: url(/img/Clog.png);
}

.instagram-icon {
    background-image: url(/img/Clog.png);
}

/* Hero Section Animations - Improved */
.slide-in-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.slide-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Services Styles */



.cta-button {
    padding: 10px 0px;
    font-family: DM Sans, var(--default-font-family);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.5s ease-in-out;
    cursor: pointer;
    width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 28px;

}


.cta-button:hover,
.cta-button:focus {
    background: #fff;



    color: var(--accent-color);
    box-shadow: 0 8px 32px 0 rgba(215, 167, 109, 0.18),
        0 2px 8px 0 rgba(44, 62, 80, 0.10);
    transform: translateY(-2px) scale(1.03);
}


.our-services__container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 5% 0%;
    overflow: hidden;
    padding-right: 5%;
    padding-left: 5%;
    opacity: 1;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.77, 0, 0.175, 1),
}

.our-services__container.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- header ---------- */
.our-services__header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 0.5rem;
}

.our-services__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url(/img/Clog.png) no-repeat center / cover;
}

.our-services__label {
    color: #2a3c4e;
    font-family: DM Sans, var(--default-font-family);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---------- intro ---------- */
.our-services__intro {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    width: 100%;
    margin-top: 26.44px;
    /* original vertical rhythm */
}


.our-services__headline {
    max-width: 556.43px;
    /* original fixed width */
    color: #2a3c4e;
    font-family: DM Sans, var(--default-font-family);
    font-size: 35px;
    /* original size */
    font-weight: 800;
    line-height: 34px;
    /* original line‑height */
    font-family: var(--font-heading);
}

.our-services__description {
    flex: 1 1 0;
    color: #000;
    font-family: DM Sans, var(--default-font-family);
    font-size: 18px;
    font-weight: 500;
    line-height: 26.08px;
}

/* ---------- card grid ---------- */
.our-services__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    margin-top: 47.121px;
    /* match original spacing */
}

.our-services__card {
    position: relative;
    flex: 1 1 calc(33.333% - 24px);
    /* 3‑up desktop */
    max-width: calc(33.333% - 24px);
    border-radius: 20px 20px 60px 20px;
    font-size: 0;
    overflow: hidden;
    padding: 30px 20px;

    opacity: 1;
    transform: translateY(40px) scale(0.98);
    transition:
        opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1),
        transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: opacity, transform;
}

.our-services__card.card-animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* variant backgrounds */
.our-services__card--ai {
    background: #9CBED7;
}

.our-services__card--workflow {
    background: #D7A76D;
}

.our-services__card--marketing {
    background: #9CBED7;
}

/* card copy */
.our-services__card-title {
    display: block;
    color: #fff;
    font-family: DM Sans, var(--default-font-family);
    font-size: 26px;
    font-weight: 600;
    line-height: 31.98px;
    margin: 10px 0px;
}

.our-services__card-text {
    display: block;
    max-width: 339px;
    color: #fff;
    font-family: DM Sans, var(--default-font-family);
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0px;
}

/* card images – restored to exact original size */
.our-services__card-image {
    width: 100%;
    height: 259.99px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 20px 20px 60px 20px;
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}



/* individual artwork */
.our-services__card-image--ai {
    background-image: url('/img/schedule.png');
}

.our-services__card-image--workflow {
    background-image: url('/img/billing.jpg');
}

.our-services__card-image--marketing {
    background-image: url('/img/custom.png');
}

/* Card hover effect */
.our-services__card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow: 0 12px 32px 0 rgba(44, 62, 80, 0.13), 0 2px 8px 0 rgba(44, 62, 80, 0.08);
    z-index: 2;
}

/* stack section ( Blue Zone ) */

.blue_zone {
    width: 100%;
    background: #9CBED7;
    height: auto;
    border-radius: 80px;
    overflow: hidden;
    color: #FFFFFF;
    margin-bottom: 10%;
    
}

.navy_blue_zone {
    width: 100%;
    background: #003A5A;
    height: 72vh;
    padding: 50px 0;
    border-radius: 80px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.navy_blue_zone_layer1 {
    display: flex;
    justify-content: center;
}

.navy_blue_zone_layer1 h3 {
    position: relative;
    max-width: 862px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    color: #fff;
    font-weight: 700;
    line-height: normal;
    z-index: 49;
    font-size: 51px;
    font-family: var(--font-heading);

}

.navy_blue_zone_layer2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 20px;
}

.metrics_card {
    width: auto;
    height: 150px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-align: center;
}

.metrics_card h4 {
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
}

.light_blue_zone {
    margin: 5% 10%;
}

.light_blue_row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;

}

.text_block {
    display: grid;
    gap: 15px;
}

.text_block p {
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.who-we-are {
    display: flex;
    gap: 30px;
}

.light_blue_row .col-md-6 img {
    width: 250px;
    height: 250px;
}

.flex-row-reverse {
    display: flex;
    flex-direction: row-reverse;
}

.floatY_da {
    animation: floatY 3.5s ease-in-out infinite alternate;
}

.floatY_db {
    animation: floatY 3.5s ease-in-out infinite alternate;
    animation-delay: 1.2s;
}

@keyframes floatY {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-28px);
    }
}

.svg {
    width: 22px;
    height: 22px;
    top: 50%;
    left: 510px;
    background: url(/img/Clog.png) no-repeat center/cover;
    transform-origin: 50% 50%;
}


/* footer section */

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 5rem;
    margin-left: 5rem;
}

.col-md-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 5%;
}

footer {
    padding: 40px 0;
    background-color: #003A5A;
    color: #FFFFFF;
}

footer .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer_logo {
    display: flex;
}

.footer_logo img {
    width: 40px;
    height: 30px;
    margin-right: 10px;
}

footer .col-md-3 {
    flex: 1 1 0;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

footer .col-md-3 h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 32px;
    /* Ensures all h3s have the same height */
    display: flex;
    align-items: center;
}

footer .col-md-3>*:not(h3) {
    margin-left: 0;
    padding-left: 0;
}

footer .col-md-3 a,
footer .col-md-3 p {
    margin: 0 0 8px 0;
    text-decoration: none;
    display: block;
    padding-left: 0;
}

.footer_social_icons {
    margin-top: 8px;
    display: flex;
    gap: 19px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    font-size: 16px;
    font-weight: 500;

}

.footer_social_icons a:hover {
    color: var(--accent-color);
}

.col-md-3 a:hover {
    color: var(--accent-color);
}