/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #1A1A1A;
    background-color: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100% !important;
    min-height: 95vh;
    background: url('../img/landing_image.png') no-repeat center center / 100% 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 5% 6rem 5%;
}

/* Navigation Bar */
.navbar {
    width: 100%;
    margin-bottom: 2.5rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 48px;
    object-fit: contain;
}

.login-btn {
    background-color: #0C8DD1;
    color: #FFFFFF;
    padding: 9px 48px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #0a79b4;
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

/* Hero Content Area */
.hero-content-container {
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.hero-text-block {
    max-width: 550px;
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
}

/* GovCubes Badge */
.govcubes-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.cube-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.badge-text {
    /* font-family: 'Outfit', sans-serif; */
    color: #0A81D1;
    font-weight: 600;
    font-size: 2rem;
    /* letter-spacing: 0.5px; */
}

/* .subtitle {
    font-size: 1.1rem;
    color: #666666;
    font-weight: 500;
} */

.main-title {
    /* font-family: 'Outfit', sans-serif; */
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 59px;
    color: #22292B;
    /* margin-top: 0.25rem; */
}

/* Features Section */
.features-outer {
    position: relative;
    background-color: #ffffff;
    /* margin-top: -50px; */
    padding-top: 50px;
    z-index: 2;
}

.features-section {
    padding: 4rem 5% 4rem 5%;
    margin: 0 auto;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;

    background: linear-gradient(90deg,
            #2CAAED 0%,
            #0374BC 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-tag .dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(180deg, #2CAAED 0%, #0374BC 100%);
    border-radius: 50%;
}

.section-title {
    /* font-family: 'Outfit', sans-serif; */
    font-size: 2.375rem;
    font-weight: 500;
    color: #000000;
    max-width: 750px;
    margin: 0 auto 2rem auto;
    line-height: 1.3;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 868px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:nth-child(2) {
        border-right: none !important;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        border-right: none !important;
        border-bottom: 1px solid #EBF1FA;
    }

    .feature-card:last-child {
        border-bottom: none;
    }
}

.feature-card {
    background: transparent;
    border: none;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Custom right border with smaller height */
.feature-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1.5px;
    background-color: #EFF2F7;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Outer wrapper for white background space & shadow around icon */
.icon-outer-wrapper {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 1px;
    /* box-shadow: 0 10px 25px rgba(164, 185, 218, 0.25); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0px 4px 8px 0px #00000026;
    border: 3px solid #FFFFFF
        /* border: 1px solid rgba(220, 233, 253, 0.4); */
}

.icon-container {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Specific background colors from request */
.cloud-bg {
    background-color: #DAEDFB;
}

.settings-bg {
    background-color: #DDE2FC;
}

.chart-bg {
    background-color: #DCE9FD;
}

.users-bg {
    background-color: #CEE8F9;
}

.feature-card .feature-heading {
    /* font-family: 'Outfit', sans-serif; */
    font-size: 1.375rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    white-space: nowrap;

}

.feature-card p {
    font-size: 1rem;
    color: #686767;
    /* line-height: 1.5; */
    max-width: 220px;


    /* font-family: DM Sans; */
    font-weight: 400;
    /* font-style: Regular; */


    line-height: 25px;
    letter-spacing: -2%;
    text-align: center;

}

/* Footer Section */
.main-footer {
    padding: 0 1% 1rem 1%;
    /* max-width: 1400px; */
    margin: 0 auto;
}

.footer-banner-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
    /* Prevents tiny line gap under image */
}

.footer-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.footer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background: linear-gradient(to top, rgba(12, 17, 34, 0.8) 0%, rgba(12, 17, 34, 0) 100%); */
    padding: 0 2.5% 1% 2.5%;
    display: flex;
    align-items: flex-end;
}

.footer-bottom-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.5;
}

.copyright {
    font-weight: 400;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .main-title {
        font-size: 2.4rem;
    }

    .hero-section {
        background-position: center right 30%;
    }
}

@media (max-width: 768px) {
    .navbar {
        margin-bottom: 3rem;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 5rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }

    .features-section {
        padding: 0rem 5% 4rem 5%;
    }

    .footer-banner-container {
        min-height: 120px;
    }

    .footer-overlay {
        position: absolute;
        bottom: -22px;
        left: 0;
        width: 100%;
        /* background: linear-gradient(to top, rgba(2, 11, 36, 0.92) 0%, rgba(2, 11, 36, 0.3) 100%); */
        padding: 1.5rem 1rem;
    }

    .footer-bottom-bar {
        flex-direction: row;
        gap: 1.5rem;
        text-align: center;
    }

    .social-icons {
        gap: 8px;
    }
}

@media (max-width: 510px) {
    .copyright {
        font-size: 0.35rem;
    }
}