/* =========================================
   ITDGNX - MAIN STYLESHEET
   ========================================= */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0b1120;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


/* ---------- GLOBAL ---------- */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

section {
    scroll-margin-top: 100px;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    background-color: rgba(15, 23, 42, 0.96);
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    color: #38bdf8;
    text-decoration: none;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.main-nav a:hover {
    color: #38bdf8;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.language-switch a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.language-switch a:hover,
.language-switch a.active {
    color: #38bdf8;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    padding: 32px 0 55px;
}

.hero-banner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    border: 1px solid #1e293b;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* =========================================
   SECTION HEADING
   ========================================= */

.section-heading {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-label {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading h2,
.about-content h2 {
    color: #f8fafc;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-heading > p:last-child {
    color: #94a3b8;
    font-size: 17px;
}


/* =========================================
   SERVICES
   ========================================= */

.services {
    padding: 90px 0;
    background-color: #0b1120;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.98),
            rgba(17, 28, 51, 0.98)
        );
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 32px;
    min-height: 250px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #38bdf8;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.service-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-size: 27px;
    margin-bottom: 24px;
}

.service-card h3 {
    color: #f8fafc;
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    color: #94a3b8;
    font-size: 15px;
}


/* =========================================
   SOLUTIONS
   ========================================= */

.solutions {
    padding: 90px 0;
    background-color: #0f172a;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-box {
    background-color: #111c33;
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 34px;
    position: relative;
    overflow: hidden;
}

.solution-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #38bdf8;
}

.solution-box h3 {
    color: #f8fafc;
    font-size: 22px;
    margin-bottom: 14px;
}

.solution-box p {
    color: #94a3b8;
    font-size: 15px;
}


/* =========================================
   ABOUT
   ========================================= */

.about {
    padding: 95px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-content .section-label {
    margin-bottom: 12px;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 18px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-value {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 24px;
}

.about-value strong {
    display: block;
    color: #38bdf8;
    font-size: 18px;
    margin-bottom: 7px;
}

.about-value span {
    color: #94a3b8;
    font-size: 15px;
}


/* =========================================
   CONTACT
   ========================================= */

.contact {
    padding: 95px 0;
    background-color: #0f172a;
    border-top: 1px solid #1e293b;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info,
.contact-form {
    background-color: #111c33;
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 34px;
}

.contact-info h3 {
    color: #f8fafc;
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-info > p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.contact-item {
    padding: 18px 0;
    border-bottom: 1px solid #1e293b;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item span {
    display: block;
    color: #64748b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-item a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    color: #e2e8f0;
}


/* ---------- CONTACT FORM ---------- */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #334155;
    border-radius: 10px;
    background-color: #0b1120;
    color: #ffffff;
    padding: 14px 15px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-button {
    border: none;
    border-radius: 10px;
    background-color: #38bdf8;
    color: #07111f;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background-color: #070d18;
    border-top: 1px solid #1e293b;
    padding: 55px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    color: #38bdf8;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
}

.footer-brand p {
    color: #64748b;
    margin-top: 8px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #38bdf8;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid #1e293b;
}

.footer-bottom p {
    color: #64748b;
    font-size: 13px;
    text-align: center;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 950px) {

    .nav-container {
        flex-wrap: wrap;
        padding: 18px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 650px) {

    .container {
        width: 92%;
    }

    .site-header {
        position: relative;
    }

    .nav-container {
        flex-direction: column;
        gap: 18px;
    }

    .main-nav {
        flex-direction: column;
        gap: 12px;
    }

    .language-switch {
        margin-bottom: 5px;
    }

    .hero {
        padding-top: 20px;
        padding-bottom: 45px;
    }

    .hero-banner {
        width: 94%;
    }

    .hero-banner img {
        border-radius: 12px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 30px;
    }

    .services,
    .solutions,
    .about,
    .contact {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .solution-box,
    .contact-info,
    .contact-form {
        padding: 26px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}