/* =========================================================
   US-IDMS â€” PROFESSIONAL WEBSITE DESIGN
   Integration Data Management Services
   ========================================================= */


/* =========================================================
   1. DESIGN SYSTEM
   ========================================================= */

:root {

    --navy: #071a2b;
    --navy-light: #0d2942;

    --blue: #1677c8;
    --blue-light: #2b9be8;

    --teal: #18a6a6;

    --white: #ffffff;
    --off-white: #f7f9fc;

    --text: #1c2b39;
    --text-light: #607080;

    --border: #dfe6ed;

    --shadow: 0 12px 35px rgba(7, 26, 43, 0.08);

    --max-width: 1180px;

}


/* =========================================================
   2. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;

    color: var(--text);

    background: var(--white);

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   3. GLOBAL CONTAINER
   ========================================================= */

.section-container,
.footer-container {

    width: 90%;

    max-width: var(--max-width);

    margin: 0 auto;
}


/* =========================================================
   4. NAVIGATION
   ========================================================= */

/* =========================================================
   IDMS LOGO
========================================================= */

.logo img {
    display: block;
    width: 190px;
    height: auto;
}

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.navbar {

    width: 90%;

    max-width: var(--max-width);

    margin: auto;

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {

    text-decoration: none;

    display: flex;

    flex-direction: column;
}

.logo-main {

    font-size: 27px;

    font-weight: 800;

    letter-spacing: 1px;

    color: var(--navy);
}

.logo-sub {

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: var(--text-light);

    margin-top: -2px;
}

.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-links a {

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    color: var(--text);

    transition: color 0.25s ease;
}

.nav-links a:hover {

    color: var(--blue);
}

.nav-button {

    padding: 10px 20px;

    border-radius: 6px;

    background: var(--navy);

    color: var(--white) !important;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nav-button:hover {

    background: var(--blue);

    transform: translateY(-2px);
}


/* =========================================================
   5. HERO
   ========================================================= */

.hero {

    position: relative;

    min-height: 720px;

    padding: 110px 5% 100px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(22, 119, 200, 0.20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071a2b 0%,
            #0b2942 55%,
            #0d3b5d 100%
        );

    color: white;
}

.hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    right: -150px;

    top: -150px;
}

.hero::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 50%;

    right: 80px;

    bottom: -200px;
}

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 680px;

    margin-left: max(5%, calc((100vw - var(--max-width)) / 2));
}

.eyebrow {

    display: inline-block;

    margin-bottom: 20px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--blue-light);
}

.hero h1 {

    font-size: clamp(46px, 5vw, 72px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 28px;

    font-weight: 800;
}

.hero h1 span {

    display: block;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #7fd3ff
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero-text {

    max-width: 620px;

    font-size: 20px;

    line-height: 1.7;

    color: rgba(255,255,255,0.78);

    margin-bottom: 38px;
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.hero-buttons {

    display: flex;

    gap: 16px;

    flex-wrap: wrap;
}

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 12px 25px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button:hover {

    transform: translateY(-3px);
}

.button.primary {

    background: var(--blue);

    color: white;

    box-shadow:
        0 8px 25px rgba(22,119,200,0.25);
}

.button.primary:hover {

    background: var(--blue-light);

    box-shadow:
        0 12px 30px rgba(22,119,200,0.35);
}

.button.secondary {

    background: transparent;

    color: white;

    border: 1px solid rgba(255,255,255,0.35);
}

.button.secondary:hover {

    background: rgba(255,255,255,0.08);

    border-color: rgba(255,255,255,0.6);
}


/* =========================================================
   7. HERO ARCHITECTURE VISUAL
   ========================================================= */

.hero-visual {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: center;
}

.architecture-card {

    width: 100%;

    max-width: 520px;

    padding: 38px 30px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.035)
        );

    border: 1px solid rgba(255,255,255,0.16);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.25);

    backdrop-filter: blur(12px);

    animation: floatingCard 6s ease-in-out infinite;
}

.architecture-title {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: rgba(255,255,255,0.65);

    margin-bottom: 30px;
}

.architecture-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;
}

.architecture-node {

    min-width: 90px;

    padding: 18px 10px;

    text-align: center;

    border-radius: 9px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.14);
}

.architecture-node strong {

    display: block;

    font-size: 12px;

    letter-spacing: 0.5px;
}

.architecture-node small {

    display: block;

    margin-top: 5px;

    font-size: 10px;

    color: rgba(255,255,255,0.55);
}

.flow-arrow {

    color: var(--blue-light);

    font-size: 22px;
}


/* =========================================================
   8. VALUE SECTION
   ========================================================= */

.value-section {

    padding: 110px 0;

    background: var(--white);
}

.section-intro {

    max-width: 760px;

    margin-bottom: 65px;
}

.section-intro h2 {

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 20px;
}

.section-intro h2 span {

    color: var(--blue);
}

.section-intro p {

    font-size: 18px;

    color: var(--text-light);

    max-width: 650px;
}

.value-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

.value-item {

    padding-top: 25px;

    border-top: 2px solid var(--border);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.value-item:hover {

    transform: translateY(-5px);

    border-color: var(--blue);
}

.value-number {

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    color: var(--blue);

    margin-bottom: 18px;
}

.value-item h3 {

    font-size: 21px;

    margin-bottom: 10px;
}

.value-item p {

    color: var(--text-light);

    font-size: 15px;
}


/* =========================================================
   9. SERVICES
   ========================================================= */

.section {

    padding: 110px 0;
}

.services-section {

    background: var(--off-white);
}

.section-heading {

    max-width: 720px;

    margin-bottom: 60px;
}

.section-heading h2 {

    font-size: clamp(35px, 4vw, 50px);

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 18px;
}

.section-heading h2 span {

    color: var(--blue);
}

.section-heading p {

    color: var(--text-light);

    font-size: 18px;
}

.service-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.service-card {

    position: relative;

    padding: 35px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    min-height: 280px;

    display: flex;

    flex-direction: column;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {

    transform: translateY(-7px);

    border-color: rgba(22,119,200,0.35);

    box-shadow: var(--shadow);
}

.service-card.featured {

    background:
        linear-gradient(
            145deg,
            #071a2b,
            #0d3554
        );

    color: white;

    border-color: transparent;

    box-shadow:
        0 18px 45px rgba(7,26,43,0.18);
}

.service-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    margin-bottom: 24px;

    background: #eaf5fd;

    color: var(--blue);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;
}

.featured .service-icon {

    background: rgba(255,255,255,0.10);

    color: #7fd3ff;
}

.service-card h3 {

    font-size: 21px;

    margin-bottom: 12px;
}

.service-card p {

    color: var(--text-light);

    font-size: 15px;

    margin-bottom: 25px;
}

.featured p {

    color: rgba(255,255,255,0.70);
}

.service-card a {

    margin-top: auto;

    text-decoration: none;

    color: var(--blue);

    font-size: 14px;

    font-weight: 700;
}

.featured a {

    color: #7fd3ff;
}


/* =========================================================
   10. METHODOLOGY
   ========================================================= */

.methodology-section {

    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #071a2b,
            #0c304b
        );

    color: white;
}

.section-heading.light p {

    color: rgba(255,255,255,0.65);
}

.methodology-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1px;

    background: rgba(255,255,255,0.10);

    border: 1px solid rgba(255,255,255,0.10);
}

.method-step {

    min-height: 220px;

    padding: 32px;

    background: rgba(255,255,255,0.025);

    transition:
        background 0.3s ease;
}

.method-step:hover {

    background: rgba(255,255,255,0.07);
}

.method-step span {

    display: block;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--blue-light);

    margin-bottom: 22px;
}

.method-step h3 {

    font-size: 23px;

    margin-bottom: 12px;
}

.method-step p {

    color: rgba(255,255,255,0.65);

    font-size: 15px;
}


/* =========================================================
   11. KNOWLEDGE CENTER
   ========================================================= */

.knowledge-section {

    background: white;
}

.knowledge-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.knowledge-card {

    padding: 34px;

    text-decoration: none;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: white;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.knowledge-card:hover {

    transform: translateY(-5px);

    border-color: rgba(22,119,200,0.35);

    box-shadow: var(--shadow);
}

.knowledge-card span {

    display: block;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--blue);

    margin-bottom: 16px;
}

.knowledge-card h3 {

    font-size: 23px;

    line-height: 1.3;

    margin-bottom: 12px;
}

.knowledge-card p {

    color: var(--text-light);

    font-size: 15px;

    margin-bottom: 20px;
}

.knowledge-card strong {

    font-size: 14px;

    color: var(--blue);
}

.center-button {

    text-align: center;

    margin-top: 45px;
}

.center-button .button.secondary {

    color: var(--navy);

    border-color: var(--navy);
}

.center-button .button.secondary:hover {

    background: var(--navy);

    color: white;
}


/* =========================================================
   12. ABOUT
   ========================================================= */

.about-section {

    padding: 110px 0;

    background: var(--off-white);
}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: start;
}

.about-grid h2 {

    font-size: clamp(35px, 4vw, 50px);

    line-height: 1.15;

    letter-spacing: -1px;
}

.about-grid h2 span {

    color: var(--blue);
}

.about-grid p {

    color: var(--text-light);

    font-size: 17px;

    margin-bottom: 22px;
}


/* =========================================================
   13. CTA
   ========================================================= */

.cta-section {

    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #0b3b5d,
            #1677c8
        );

    color: white;

    text-align: center;
}

.cta-content {

    max-width: 720px;

    margin: auto;
}

.cta-content .eyebrow {

    color: #9cddff;
}

.cta-content h2 {

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.cta-content p {

    max-width: 600px;

    margin: 0 auto 35px;

    color: rgba(255,255,255,0.78);

    font-size: 18px;
}


/* =========================================================
   14. FOOTER
   ========================================================= */

.site-footer {

    background: #04111d;

    color: white;

    padding-top: 55px;
}

.footer-container {

    display: flex;

    justify-content: space-between;

    gap: 40px;

    padding-bottom: 45px;
}

.footer-logo {

    font-size: 25px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 6px;
}

.footer-container p {

    color: rgba(255,255,255,0.50);

    font-size: 13px;
}

.footer-links {

    display: flex;

    gap: 25px;

    flex-wrap: wrap;

    align-items: center;
}

.footer-links a {

    text-decoration: none;

    color: rgba(255,255,255,0.65);

    font-size: 13px;

    transition: color 0.25s ease;
}

.footer-links a:hover {

    color: white;
}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 22px 5%;

    text-align: center;
}

.footer-bottom p {

    font-size: 12px;

    color: rgba(255,255,255,0.35);
}


/* =========================================================
   15. ANIMATION
   ========================================================= */

@keyframes floatingCard {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

}


/* =========================================================
   16. RESPONSIVE â€” TABLET
   ========================================================= */

@media (max-width: 950px) {

    .navbar {

        min-height: 75px;
    }

    .nav-links {

        gap: 16px;
    }

    .nav-links a {

        font-size: 13px;
    }

    .hero {

        grid-template-columns: 1fr;

        padding-top: 90px;

        padding-bottom: 90px;
    }

    .hero-content {

        margin-left: 0;

        max-width: 760px;
    }

    .hero-visual {

        justify-content: flex-start;
    }

    .value-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .service-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .methodology-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}

/* =========================================================
   17. CONTACT FORM
   Customer inquiry form layout, controls, and status messages
   ========================================================= */

.contact-form-container {
    max-width: 850px;
    margin: 45px auto 0;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;

    font-family: inherit;
    font-size: 1rem;

    color: var(--text);
    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 8px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(22, 119, 200, 0.12);
}

.contact-form .button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.form-status {
    display: none;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1.5;
}

/* Message is being sent */
.form-status.sending {
    display: block;
    background: #f3f7fb;
    border: 1px solid #d5e3ef;
    color: var(--navy);
}

/* Message sent successfully */
.form-status.success {
    display: block;
    background: #eaf7ef;
    border: 1px solid #b7dfc5;
    color: #176b37;
}

/* Message could not be sent */
.form-status.error {
    display: block;
    background: #fff1f1;
    border: 1px solid #e8bcbc;
    color: #9b2525;
}


/* =========================================================
   18. CONTACT FORM â€” MOBILE
   Responsive form layout for smaller screens
   ========================================================= */

@media (max-width: 700px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 28px 22px;
    }

}


/* =========================================================
   19. RESPONSIVE â€” MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .navbar {

        width: 92%;

        padding: 15px 0;

        flex-direction: column;

        gap: 15px;

        align-items: flex-start;
    }

    .nav-links {

        width: 100%;

        gap: 15px;

        flex-wrap: wrap;
    }

    .nav-links a {

        font-size: 12px;
    }

    .nav-button {

        padding: 8px 14px;
    }

    .hero {

        min-height: auto;

        padding:
            75px 5%
            80px;
    }

    .hero h1 {

        font-size: 43px;

        letter-spacing: -1.5px;
    }

    .hero-text {

        font-size: 17px;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }

    .button {

        width: 100%;
    }

    .architecture-card {

        padding: 25px 15px;
    }

    .architecture-flow {

        flex-direction: column;
    }

    .flow-arrow {

        transform: rotate(90deg);
    }

    .value-section,
    .section,
    .methodology-section,
    .about-section,
    .cta-section {

        padding: 75px 0;
    }

    .value-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .service-grid {

        grid-template-columns: 1fr;
    }

    .methodology-grid {

        grid-template-columns: 1fr;
    }

    .knowledge-grid {

        grid-template-columns: 1fr;
    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-container {

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-links {

        flex-direction: column;

        align-items: flex-start;
    }

}

/* =========================================================
   20. SCROLL REVEAL
   ========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   21. HEADER SCROLL EFFECT
   ========================================================= */

.site-header.scrolled {

    box-shadow:
        0 5px 25px rgba(7, 26, 43, 0.08);
}
