/* =========================================================
   SD STUDIO — CONTACT PAGE
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: #0B1020;

    color: #F8FAFC;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: 100%;

    padding: 20px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #0B1020;

    border-bottom: 1px solid #263247;

    position: relative;
    z-index: 100;
}

.navbar h1 {
    color: #F8FAFC;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: -1px;

    cursor: pointer;

    transition: color 0.25s ease;
}

.navbar h1:hover {
    color: #60A5FA;
}

.navbar nav ul {
    display: flex;
    align-items: center;

    gap: 32px;

    list-style: none;
}

.navbar nav ul li a {
    color: #94A3B8;

    font-size: 15px;
    font-weight: 500;

    transition: color 0.25s ease;
}

.navbar nav ul li a:hover {
    color: #60A5FA;
}

.navbar nav ul li a.active {
    color: #3B82F6;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    padding: 90px 7%;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(59, 130, 246, 0.12),
            transparent 35%
        );
}


/* =========================================================
   CONTACT HEADER
========================================================= */

.contact-header {
    max-width: 800px;

    margin: 0 auto 65px;

    text-align: center;
}

.contact-header > p:first-child {
    margin-bottom: 15px;

    color: #22D3EE;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 3px;
}

.contact-header h2 {
    margin-bottom: 20px;

    color: #F8FAFC;

    font-size: clamp(42px, 6vw, 64px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.contact-header h2 span {
    color: #3B82F6;
}

.contact-header p:last-child {
    max-width: 650px;

    margin: 0 auto;

    color: #94A3B8;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   CONTACT CARDS
========================================================= */

.contact-container {
    max-width: 1050px;

    margin: 0 auto 70px;

    display: grid;

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

    gap: 24px;
}

.contact-card {
    position: relative;

    padding: 35px;

    background-color: #172033;

    border: 1px solid #263247;

    border-radius: 12px;

    overflow: hidden;

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

.contact-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background-color: #3B82F6;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-7px);

    border-color: #3B82F6;

    box-shadow:
        0 15px 40px rgba(59, 130, 246, 0.15);
}

.contact-card:hover::before {
    transform: scaleX(1);
}


/* Contact number */

.contact-number {
    display: block;

    margin-bottom: 25px;

    color: #3B82F6;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* Contact name */

.contact-card h3 {
    margin-bottom: 8px;

    color: #F8FAFC;

    font-size: 23px;
}


/* Role */

.contact-role {
    margin-bottom: 18px;

    color: #60A5FA !important;

    font-size: 14px !important;

    font-weight: 600;
}


/* Description */

.contact-card > p:not(.contact-role) {
    margin-bottom: 25px;

    color: #94A3B8;

    font-size: 15px;

    line-height: 1.7;
}


/* Contact links */

.contact-links {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;
}

.contact-links a {
    color: #60A5FA;

    font-size: 14px;

    font-weight: 600;

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

.contact-links a:hover {
    color: #F8FAFC;

    transform: translateX(4px);
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-section {
    max-width: 900px;

    margin: 0 auto 70px;

    padding: 45px;

    background-color: #111827;

    border: 1px solid #263247;

    border-radius: 14px;
}

.contact-form-section h3 {
    margin-bottom: 12px;

    color: #F8FAFC;

    font-size: 30px;
}

.contact-form-section > p {
    margin-bottom: 35px;

    color: #94A3B8;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   FORM
========================================================= */

.form-row {
    display: grid;

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

    gap: 20px;
}

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

.form-group label {
    display: block;

    margin-bottom: 9px;

    color: #F8FAFC;

    font-size: 14px;

    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    background-color: #172033;

    color: #F8FAFC;

    border: 1px solid #263247;

    border-radius: 7px;

    outline: none;

    font-size: 14px;

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;

    min-height: 140px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3B82F6;

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.10);
}


/* =========================================================
   FORM BUTTON
========================================================= */

.contact-button {
    padding: 14px 28px;

    background-color: #3B82F6;

    color: #F8FAFC;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-size: 15px;

    font-weight: 600;

    box-shadow:
        0 8px 25px rgba(59, 130, 246, 0.20);

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

.contact-button:hover {
    background-color: #60A5FA;

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(59, 130, 246, 0.30);
}


/* =========================================================
   QUICK CONTACT
========================================================= */

.quick-contact {
    max-width: 900px;

    margin: 0 auto;

    padding: 55px 30px;

    text-align: center;

    background-color: #172033;

    border: 1px solid #263247;

    border-radius: 14px;
}

.quick-contact p {
    margin-bottom: 10px;

    color: #22D3EE;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2px;
}

.quick-contact h3 {
    margin-bottom: 25px;

    color: #F8FAFC;

    font-size: 30px;
}


/* Quick buttons */

.quick-contact-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}

.quick-contact-buttons a {
    display: inline-block;

    padding: 12px 22px;

    background-color: #3B82F6;

    color: #F8FAFC;

    border-radius: 7px;

    font-size: 14px;

    font-weight: 600;

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

.quick-contact-buttons a:hover {
    background-color: #60A5FA;

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 20px 7%;

    text-align: center;

    background-color: #111827;

    border-top: 1px solid #263247;

    color: #94A3B8;

    font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 75px 5%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .navbar {
        padding: 18px 5%;

        flex-direction: column;

        gap: 18px;
    }

    .navbar h1 {
        font-size: 25px;
    }

    .navbar nav ul {
        gap: 20px;
    }

    .navbar nav ul li a {
        font-size: 14px;
    }


    .contact-header h2 {
        font-size: 46px;
    }

    .contact-header p:last-child {
        font-size: 15px;
    }


    .contact-form-section {
        padding: 35px 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-section {
        padding: 55px 20px;
    }

    .contact-header {
        margin-bottom: 45px;
    }

    .contact-header h2 {
        font-size: 38px;
    }

    .contact-card {
        padding: 30px 25px;
    }

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

        gap: 0;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .contact-form-section h3 {
        font-size: 26px;
    }

    .quick-contact {
        padding: 45px 20px;
    }

    .quick-contact h3 {
        font-size: 26px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .navbar {
        padding: 18px 4%;
    }

    .navbar nav ul {
        gap: 14px;
    }

    .navbar nav ul li a {
        font-size: 13px;
    }

    .contact-header h2 {
        font-size: 34px;
    }

    .contact-card h3 {
        font-size: 20px;
    }

    .contact-links {
        flex-direction: column;

        gap: 12px;
    }

    .contact-button {
        width: 100%;
    }

    .quick-contact-buttons {
        flex-direction: column;
    }

    .quick-contact-buttons a {
        width: 100%;
    }

}

/* =========================================================
   SD STUDIO — POLISHED RESPONSIVE LAYER
   Keeps the existing palette and design language.
========================================================= */

:root {
    --sd-bg: #0B1020;
    --sd-surface: #111827;
    --sd-card: #172033;
    --sd-blue: #3B82F6;
    --sd-blue-hover: #60A5FA;
    --sd-text: #F8FAFC;
    --sd-muted: #94A3B8;
    --sd-border: #263247;
    --sd-cyan: #22D3EE;
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    gap: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--sd-text);
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    width: 46px;
    height: 46px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--sd-border);
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.brand:hover img {
    transform: rotate(-3deg) scale(1.04);
    border-color: var(--sd-blue);
}

.brand span {
    color: var(--sd-text);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.7px;
    white-space: nowrap;
}

.navbar nav ul li a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 0;
    position: relative;
}

.navbar nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--sd-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.navbar nav ul li a:hover::after,
.navbar nav ul li a.active::after {
    transform: scaleX(1);
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sd-cyan);
    outline-offset: 3px;
}

img {
    max-width: 100%;
}

@media (max-width: 768px) {
    .navbar {
        min-height: auto;
        padding: 14px 5%;
        flex-direction: column;
        gap: 12px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand span {
        font-size: 21px;
    }

    .navbar nav {
        width: 100%;
    }

    .navbar nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 20px;
    }

    .navbar nav ul li a {
        font-size: 13px;
        min-height: 38px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 4% 10px;
        gap: 8px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .brand span {
        font-size: 19px;
    }

    .navbar nav ul {
        gap: 2px 13px;
    }

    .navbar nav ul li a {
        font-size: 12px;
        min-height: 34px;
    }

    footer {
        padding: 18px 5%;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Contact — touch-friendly form controls */
.form-group input,
.form-group select,
.form-group textarea {
    min-height: 48px;
}

.form-group textarea {
    min-height: 145px;
}

.contact-button,
.quick-contact-buttons a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 65px 5%;
    }

    .contact-header h2 {
        font-size: clamp(38px, 10vw, 52px);
        letter-spacing: -1.5px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-form-section {
        padding: 32px 24px;
    }

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

@media (max-width: 480px) {
    .contact-section {
        padding: 50px 20px;
    }

    .contact-card {
        padding: 27px 22px;
    }

    .contact-form-section {
        padding: 27px 20px;
    }

    .contact-header h2 {
        font-size: 36px;
    }

    .contact-button {
        width: 100%;
    }

    .quick-contact-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .quick-contact-buttons a {
        width: 100%;
    }
}
