.hero-section-a {
    background-image: url('../../img/contact.png');
}

/* =========================================================
   NILE CARGO
   CONTACT INFO CARDS
========================================================= */

.contact-info-section {
    width: 100%;
    padding: 35px 0 80px;
    background: #ffffff;
}


.contact-info-container {
    width: 82%;
    max-width: 1300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =========================================================
   CARD
========================================================= */

.contact-info-card {
    position: relative;

    min-height: 240px;

    padding: 40px;

    background: #f7f7f7;

    overflow: hidden;

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


/* =========================================================
   TOP
========================================================= */

.contact-card-top {
    display: flex;
    align-items: center;

    gap: 20px;
}


/* =========================================================
   ICON
========================================================= */

.contact-card-icon {
    width: 70px;
    height: 70px;

    flex-shrink: 0;

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

    background: #ffffff;

    border-radius: 50%;

    color: #d5212a;

    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease;
}


.contact-card-icon svg {
    width: 23px;
    height: 23px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   HEADING
========================================================= */

.contact-card-heading {
    min-width: 0;
}


.contact-card-heading h3 {
    margin: 0 0 8px;

    color: #2c2c36;

    font-size: 21px;

    font-weight: 700;

    line-height: 1.2;

    transition: color 0.35s ease;
}


.contact-card-heading p {
    margin: 0;

    color: #777777;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.5;

    transition: color 0.35s ease;
}


/* =========================================================
   BOTTOM
========================================================= */

.contact-card-bottom {
    display: flex;

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

    gap: 20px;

    margin-top: 35px;
}


/* =========================================================
   DETAILS
========================================================= */

.contact-card-details {
    display: flex;

    flex-direction: column;

    gap: 7px;

    min-width: 0;
}


.contact-card-details a,
.contact-card-details span {
    display: block;

    color: #777777;

    font-size: 14px;

    line-height: 1.45;

    text-decoration: none;

    transition: color 0.35s ease;
}


/* =========================================================
   ARROW
========================================================= */

.contact-card-arrow {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #777777;

    text-decoration: none;

    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease;
}


.contact-card-arrow span {
    font-size: 22px;

    font-weight: 300;

    line-height: 1;

    transition: transform 0.35s ease;
}


/* =========================================================
   HOVER
========================================================= */

.contact-info-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(213, 33, 42, 0.18);
}


/* =========================================================
   HOVER ICON
========================================================= */

.contact-info-card:hover .contact-card-icon {

    transform: scale(1.05);
}


/* =========================================================
   HOVER TEXT
========================================================= */

.contact-info-card:hover .contact-card-heading h3 {
}


.contact-info-card:hover .contact-card-heading p {
}


.contact-info-card:hover .contact-card-details a,
.contact-info-card:hover .contact-card-details span {
}


/* =========================================================
   HOVER ARROW
========================================================= */

.contact-info-card:hover .contact-card-arrow {

    transform: translateX(3px);
}


.contact-info-card:hover .contact-card-arrow span {
    transform: translateX(2px);
}


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

@media (max-width: 1100px) {

    .contact-info-container {
        width: 90%;

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

        gap: 20px;
    }


    .contact-info-card {
        padding: 30px;

        min-height: 230px;
    }


    .contact-card-top {
        gap: 15px;
    }


    .contact-card-icon {
        width: 60px;
        height: 60px;
    }


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


    .contact-card-heading p {
        font-size: 12px;
    }


    .contact-card-bottom {
        margin-top: 28px;
    }


    .contact-card-details a,
    .contact-card-details span {
        font-size: 12px;
    }

}


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

@media (max-width: 800px) {

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

        gap: 18px;
    }


    .contact-info-card {
        min-height: auto;

        padding: 30px;
    }


    .contact-card-bottom {
        margin-top: 30px;
    }

}


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

@media (max-width: 500px) {

    .contact-info-section {
        padding: 20px 0 60px;
    }


    .contact-info-container {
        width: 92%;

        gap: 15px;
    }


    .contact-info-card {
        padding: 25px;

        min-height: 205px;
    }


    .contact-card-top {
        gap: 15px;
    }


    .contact-card-icon {
        width: 58px;
        height: 58px;
    }


    .contact-card-icon svg {
        width: 20px;
        height: 20px;
    }


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


    .contact-card-heading p {
        font-size: 12px;
    }


    .contact-card-bottom {
        margin-top: 27px;

        gap: 15px;
    }


    .contact-card-details {
        gap: 5px;
    }


    .contact-card-details a,
    .contact-card-details span {
        font-size: 12px;
    }


    .contact-card-arrow {
        width: 45px;
        height: 45px;
    }


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

}


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

@media (max-width: 360px) {

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


    .contact-card-icon {
        width: 52px;
        height: 52px;
    }


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


    .contact-card-heading p {
        font-size: 11px;
    }


    .contact-card-details a,
    .contact-card-details span {
        font-size: 11px;
    }

}

/* =========================================================
   NILE CARGO
   CONTACT SECTION
========================================================= */

.nile-contact-section {
    position: relative;

    width: 100%;

    padding: 110px 0 120px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(43, 130, 171, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0e263d 0%,
            #102f49 55%,
            #123b59 100%
        );

    overflow: hidden;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.nile-contact-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -280px;
    right: -180px;

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

    border-radius: 50%;

    box-shadow:
        0 0 0 80px rgba(255,255,255,0.015),
        0 0 0 160px rgba(255,255,255,0.01);

    pointer-events: none;
}


.nile-contact-section::after {
    content: "";

    position: absolute;

    width: 4px;
    height: 120px;

    left: 0;
    bottom: 80px;

    background: #d5212a;

    pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.nile-contact-container {
    position: relative;

    z-index: 2;

    width: 86%;
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(300px, 0.75fr)
        minmax(500px, 1.25fr);

    gap: 90px;

    align-items: center;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.nile-contact-intro {
    max-width: 480px;
}


.nile-contact-label {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    color: #e33a40;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2.5px;
}


.nile-contact-label::before {
    content: "";

    width: 28px;
    height: 2px;

    background: #e33a40;
}


/* =========================================================
   TITLE
========================================================= */

.nile-contact-intro h2 {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(42px, 4.5vw, 65px);

    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -2.5px;
}


.nile-contact-intro h2 span {
    display: block;

    color: #3994c2;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.nile-contact-intro > p {
    max-width: 440px;

    margin: 0;

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

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   RED LINE
========================================================= */

.nile-contact-line {
    width: 55px;
    height: 3px;

    margin: 32px 0;

    background: #d5212a;
}


/* =========================================================
   SUPPORT NOTE
========================================================= */

.nile-contact-note {
    display: flex;

    align-items: center;

    gap: 15px;
}


.nile-contact-note-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

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

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

    color: #3c99c5;

    font-size: 18px;
}


.nile-contact-note strong {
    display: block;

    margin-bottom: 3px;

    color: #ffffff;

    font-size: 14px;
}


.nile-contact-note small {
    display: block;

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

    font-size: 12px;

    line-height: 1.5;
}


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

.nile-contact-form-card {
    position: relative;

    padding: 45px;

    background: #ffffff;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.22);
}


/* RED TOP LINE */

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

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #d5212a;
}


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

.nile-form-header {
    margin-bottom: 32px;
}


.nile-form-header span {
    display: block;

    margin-bottom: 8px;

    color: #d5212a;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.nile-form-header h3 {
    margin: 0 0 8px;

    color: #102a43;

    font-size: 30px;

    font-weight: 800;
}


.nile-form-header p {
    margin: 0;

    color: #7b8790;

    font-size: 13px;
}


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

.nile-contact-form {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.nile-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}


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

.nile-form-group {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.nile-form-group label {
    color: #27394a;

    font-size: 12px;

    font-weight: 700;
}


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

    box-sizing: border-box;

    border: 1px solid #e1e6ea;

    background: #f8fafb;

    color: #102a43;

    font-family: inherit;

    font-size: 14px;

    outline: none;

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


.nile-form-group input {
    height: 56px;

    padding: 0 17px;
}


.nile-form-group textarea {
    min-height: 150px;

    padding: 17px;

    resize: vertical;
}


.nile-form-group input::placeholder,
.nile-form-group textarea::placeholder {
    color: #a1abb2;
}


/* =========================================================
   FOCUS
========================================================= */

.nile-form-group input:focus,
.nile-form-group textarea:focus {
    border-color: #3994c2;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(57,148,194,0.10);
}


/* =========================================================
   ATTACHMENT
========================================================= */

.nile-attachment {
    position: relative;
}

.nile-attachment input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    min-height: 56px;
    padding: 15px 17px;
    border: 1px solid #e1e6ea;
    background: #f8fafb;
    color: #102a43;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.nile-attachment input[type="file"]:hover {
    border-color: #3994c2;
    background: #ffffff;
}

.nile-attachment input[type="file"]:focus {
    border-color: #3994c2;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(57,148,194,0.10);
}

.nile-attachment input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 15px;
    border: none;
    background: #102a43;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nile-attachment input[type="file"]::file-selector-button:hover {
    background: #d5212a;
}

.nile-attachment small {
    display: block;
    margin-top: 7px;
    color: #8a959d;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 650px) {
    .nile-attachment input[type="file"] {
        min-height: 53px;
        padding: 13px 14px;
        font-size: 13px;
    }
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

.nile-submit-button {
    position: relative;

    display: inline-flex;

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

    width: 225px;

    height: 58px;

    padding: 0 8px 0 25px;

    margin-top: 5px;

    border: none;

    background: #d5212a;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.5px;

    cursor: pointer;

    overflow: hidden;

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


.nile-submit-button:hover {
    background: #b91d25;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(213,33,42,0.25);
}


.nile-submit-arrow {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

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

    font-size: 20px;

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


.nile-submit-button:hover .nile-submit-arrow {
    background: #ffffff;

    color: #d5212a;

    transform: translateX(3px);
}


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

@media (max-width: 1050px) {

    .nile-contact-container {
        width: 90%;

        grid-template-columns:
            1fr;

        gap: 55px;
    }


    .nile-contact-intro {
        max-width: 700px;
    }


    .nile-contact-intro h2 {
        font-size: 55px;
    }


    .nile-contact-intro > p {
        max-width: 650px;
    }

}


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

@media (max-width: 650px) {

    .nile-contact-section {
        padding: 75px 0 80px;
    }


    .nile-contact-container {
        width: 92%;

        gap: 40px;
    }


    .nile-contact-intro h2 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }


    .nile-contact-intro > p {
        font-size: 14px;

        line-height: 1.8;
    }


    .nile-contact-form-card {
        padding: 30px 22px;
    }


    .nile-form-header h3 {
        font-size: 26px;
    }


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

        gap: 20px;
    }


    .nile-form-group input {
        height: 53px;
    }


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


    .nile-submit-button {
        width: 100%;
    }

}


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

@media (max-width: 380px) {

    .nile-contact-section {
        padding: 65px 0 70px;
    }


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


    .nile-contact-form-card {
        padding: 27px 18px;
    }


    .nile-form-header h3 {
        font-size: 23px;
    }

}

/* =========================================================
   CONTACT PAGE — RESPONSIVE HARDENING
========================================================= */
.contact-info-container {
  width: min(1300px, calc(100% - 32px));
}

.contact-info-card,
.nile-contact-form-card {
  min-width: 0;
}

.nile-contact-container {
  width: min(1250px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
}

.nile-form-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1050px) {
  .contact-info-container {
    width: min(1100px, calc(100% - 28px));
    gap: 18px;
  }

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

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

@media (max-width: 800px) {
  .contact-info-container {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 650px);
  }

  .contact-info-card {
    min-height: 0;
    padding: 24px;
  }

  .nile-contact-container {
    width: min(100% - 28px, 650px);
  }

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

@media (max-width: 600px) {
  .contact-card-top,
  .contact-card-bottom {
    gap: 12px;
  }

  .contact-card-top {
    align-items: flex-start;
  }

  .contact-card-icon {
    width: 54px;
    height: 54px;
  }

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

  .contact-card-heading p,
  .contact-card-details a,
  .contact-card-details span {
    font-size: 12px;
  }

  .contact-card-bottom {
    align-items: flex-end;
  }

  .nile-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nile-form-header h3 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .nile-contact-form {
    gap: 16px;
  }
}

@media (max-width: 380px) {
  .contact-info-container,
  .nile-contact-container {
    width: calc(100% - 22px);
  }

  .contact-info-card {
    padding: 20px;
  }

  .contact-card-arrow {
    width: 42px;
    height: 42px;
  }
}
