/* ==========================================
DBS WEBSITE STYLESHEET
Digital Business Solutions
========================================== */

:root {


    --primary: #1F4FFF;
    --primary-dark: #1638b8;

    --secondary: #0B1020;

    --accent: #4DD0FF;

    --white: #ffffff;

    --light-bg: #f7f8fc;

    --text: #2b2b2b;

    --gray: #6b7280;

    --radius: 16px;

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);


}

/* ==========================================
RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: white;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================
CONTAINER
========================================== */

.container {


    width: 90%;
    max-width: 1400px;

    margin: auto;


}

.narrow {
    max-width: 900px;
}

/* ==========================================
NAVBAR
========================================== */

.navbar {


    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 999;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(15px);

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.04);


}

.nav-container {


    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 85px;


}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {


    display: flex;
    gap: 30px;


}

.nav-links a {


    color: var(--secondary);

    font-weight: 600;

    transition: 0.3s;


}

.nav-links a:hover {


    color: var(--primary);


}

.demo-btn {


    background: var(--primary);

    color: white;

    padding: 14px 24px;

    border-radius: 10px;

    font-weight: 600;

    transition: 0.3s;


}

.demo-btn:hover {


    background: var(--primary-dark);


}

.hamburger {


    display: none;

    border: none;

    background: none;

    font-size: 30px;

    cursor: pointer;


}

/* ==========================================
HERO
========================================== */

.hero {


    padding-top: 150px;

    min-height: 100vh;

    background:

        linear-gradient(135deg,
            #08101d,
            #0b1020);

    color: white;


}

.hero-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;

    min-height: 85vh;


}

.hero-badge {


    display: inline-block;

    padding: 10px 18px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 100px;

    margin-bottom: 30px;

    color: var(--accent);

    font-size: 14px;

    letter-spacing: 1px;


}

.hero h1 {


    font-size: 64px;

    line-height: 1.1;

    margin-bottom: 25px;


}

.hero p {


    font-size: 20px;

    color: #d5d5d5;

    margin-bottom: 35px;

    line-height: 1.7;


}

.hero-buttons {


    display: flex;

    gap: 20px;

    flex-wrap: wrap;


}

.primary-btn {


    background: var(--primary);

    color: white;

    padding: 16px 30px;

    border-radius: 12px;

    font-weight: 700;

    transition: 0.3s;


}

.primary-btn:hover {


    background: var(--primary-dark);


}

.secondary-btn {


    border: 1px solid white;

    color: white;

    padding: 16px 30px;

    border-radius: 12px;


}

.hero-image img {


    filter:
        drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));


}

/* ==========================================
GENERAL SECTIONS
========================================== */

.section {


    padding: 120px 0;


}

.gray-bg {


    background: var(--light-bg);


}

.section-header {


    text-align: center;

    margin-bottom: 30px;


}

.section-header h2 {


    font-size: 48px;

    color: var(--secondary);

    margin-bottom: 20px;


}

.section-header p {


    max-width: 800px;

    margin: auto;

    color: var(--text);

    line-height: 1.8;


}

/* ==========================================
TWO COLUMN
========================================== */

.two-column {


    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;


}

.two-column h2 {


    font-size: 48px;

    margin-bottom: 25px;


}

.two-column p {


    color: var(--gray);

    line-height: 1.8;


}

.feature-list {


    margin-top: 30px;


}

.feature-list li {


    margin-bottom: 14px;

    font-weight: 500;


}

/* ==========================================
CARDS
========================================== */

.cards-grid {


    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;


}

.info-card,
.solution-card,
.feature-card,
.tech-card {


    background: white;

    border-radius: var(--radius);

    padding: 30px;

    box-shadow: var(--shadow);

    transition: 0.3s;


}

.info-card:hover,
.solution-card:hover,
.feature-card:hover,
.tech-card:hover {


    transform:
        translateY(-8px);


}

.info-card h3,
.solution-card h3,
.tech-card h3 {


    margin-bottom: 15px;

    color: var(--secondary);


}

.info-card p,
.solution-card p,
.tech-card p {


    color: var(--gray);

    line-height: 1.7;


}

/* ==========================================
FEATURE GRID
========================================== */

.feature-grid {


    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    margin-top: 40px;


}

/* ==========================================
TECH GRID
========================================== */

.tech-grid {


    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;


}

.tech-card img {


    height: 180px;

    object-fit: contain;

    margin-bottom: 20px;


}

/* ==========================================
DASHBOARD
========================================== */

.dashboard-grid {


    display: grid;

    grid-template-columns:
        2fr 1fr;

    gap: 40px;

    align-items: center;


}

.dashboard-grid img {


    border-radius: 20px;

    box-shadow: var(--shadow);


}

/* ==========================================
CONTACT
========================================== */

.contact-section {


    background:
        url("../assets/contact/contact-background.webp");

    background-size: cover;

    background-position: center;


}

.contact-overlay {


    background:
        rgba(11, 16, 32, 0.9);

    padding: 120px 0;


}

.contact-section h2 {


    color: white;

    text-align: center;

    margin-bottom: 40px;

    font-size: 48px;


}

.contact-form {


    max-width: 700px;

    margin: auto;

    display: flex;

    flex-direction: column;

    gap: 18px;


}

.contact-form input,
.contact-form textarea {


    padding: 18px;

    border: none;

    border-radius: 12px;

    font-family: inherit;


}

/* ==========================================
FOOTER
========================================== */

.footer {


    background: #0B1020;

    color: white;

    padding-top: 80px;


}

.footer-grid {


    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 40px;


}

.footer-logo {


    max-width: 220px;


}

.footer h4 {


    margin-bottom: 20px;


}

.footer a {


    display: block;

    margin-bottom: 12px;

    color: #d5d5d5;


}

.footer p {


    color: #d5d5d5;

    margin-bottom: 12px;


}

.copyright {


    text-align: center;

    padding: 30px;

    margin-top: 60px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);


}

/* ==========================================
TABLET
========================================== */

@media(max-width:1024px) {


    .hero-grid,
    .two-column,
    .dashboard-grid {

        grid-template-columns: 1fr;
    }

    .cards-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .tech-grid {

        grid-template-columns: 1fr;
    }

    .hero h1 {

        font-size: 48px;
    }

}

/* ==========================================
MOBILE
========================================== */

@media(max-width:768px) {

    .nav-links {

        display: none;

        position: absolute;

        top: 85px;

        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        padding: 25px;
    }

    .nav-links.active {

        display: flex;
    }

    .hamburger {

        display: block;
    }

    .demo-btn {

        display: none;
    }

    .cards-grid {

        grid-template-columns: 1fr;
    }

    .feature-grid {

        grid-template-columns: 1fr;
    }

    .footer-grid {

        grid-template-columns: 1fr;
    }

    .hero h1 {

        font-size: 38px;
    }

    .section-header h2,
    .two-column h2 {

        font-size: 34px;
    }

    .contact-section h2 {

        font-size: 36px;
    }

    .hero-buttons {

        flex-direction: column;
    }


}

/* ==========================
   ACTIVE NAV LINK
   ========================== */

.active-link {
    color: var(--primary) !important;
}

/* ==========================
   REVEAL ANIMATION
   ========================== */

.info-card,
.solution-card,
.feature-card,
.tech-card,
.section-header,
.two-column {

    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.revealed {

    opacity: 1;
    transform: translateY(0);
}