/*
 * TRCIT by NetPear — site.css
 * Consolidated and formatted from the supplied stylesheet.
 * Preserves the existing page sections, navigation, hero and reveal effects.
 * Contact / footer rules are consolidated into one canonical section.
 */

/* === Base, typography, navigation, and section layouts === */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Raleway:wght@300;400;600;700;800&family=Noto+Kufi+Arabic:wght@300;400;600;700&display=swap");

:root {
    --mint: #b3f66c;
    --blue: #6dcff6;
    --max: 1170px;
    --text: #333;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 79px;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Open Sans",Arial,sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
}

body.lang-ar {
    font-family: "Noto Kufi Arabic",Tahoma,sans-serif;
}

button,input,textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
}

.container,.header-container {
    width: min(calc(100% - 42px),var(--max));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -100px;
    background: #fff;
    color: #000;
    padding: 12px;
    z-index: 99;
}

.skip-link:focus {
    top: 10px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(0,0,0,.13);
    color: #fff;
    transition: background .2s,box-shadow .2s;
}

.site-header.is-fixed {
    position: fixed;
    background: rgba(21,27,31,.97);
    box-shadow: 0 2px 12px #0003;
}

.header-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    min-width: 128px;
}

.site-logo img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 0 15px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s;
}

.primary-nav a:hover,.primary-nav a.is-active {
    color: var(--mint);
}

.primary-nav .language-switch {
    color: var(--mint);
    gap: 9px;
}

.language-switch img {
    width: 23px;
    height: 15px;
    object-fit: cover;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 610px;
    max-height: 1080px;
    overflow: hidden;
    background: #172a36;
    color: #fff;
}

.hero-slides,.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s,visibility .9s;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-inner {
    text-align: center;
    padding-top: 50px;
}

.hero h1 {
    max-width: 990px;
    margin: 0 auto 14px;
    font-family: Raleway,"Open Sans",sans-serif;
    font-size: clamp(35px,4.1vw,59px);
    font-weight: 800;
    line-height: 1.16;
    text-shadow: 0 2px 8px #0007;
}

.lang-ar .hero h1 {
    font-family: "Noto Kufi Arabic",sans-serif;
    font-size: clamp(28px,3.2vw,48px);
}

.hero p {
    font-size: clamp(16px,1.45vw,21px);
    max-width: 900px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    padding: 10px 25px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .5px;
    font-weight: 600;
    transition: background .2s,color .2s;
}

.hero-button:hover {
    background: #fff;
    color: #222;
}

.slider-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    border: 0;
    background: #0004;
    font-size: 25px;
    padding: 10px 16px;
    transition: background .2s;
}

.slider-arrow:hover {
    background: #000b;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    z-index: 3;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #ffffff80;
    padding: 0;
}

.slider-dot.is-active {
    background: #fff;
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    bottom: 12px;
    left: 50%;
    font-size: 28px;
    transform: translateX(-50%);
    line-height: 1;
}

.section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 55px;
}

.section-head h2 {
    margin: 0 0 10px;
    font-family: Raleway,"Open Sans",sans-serif;
    font-weight: 300;
    font-size: clamp(32px,4.2vw,60px);
    line-height: 1.16;
}

.lang-ar .section-head h2 {
    font-family: "Noto Kufi Arabic",sans-serif;
    font-size: clamp(29px,3.8vw,47px);
}

.section-head p {
    font-size: 23px;
    line-height: 1.5;
    margin: 0;
    font-weight: 300;
}

.lang-ar .section-head p {
    font-size: 19px;
}

.about-section {
    padding-bottom: 45px;
}

.about-intro {
    text-align: center;
    margin: auto;
    max-width: 1060px;
    font-size: 16px;
    line-height: 2;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
}

.about-cards {
    padding: 20px 0 100px;
}

.about-card {
    text-align: center;
    background: #fbf7f7;
    padding: 35px 23px 30px;
}

.about-card:nth-child(2) {
    background: #e5f5ff;
}

.about-card:nth-child(3) {
    background: #eff9ff;
}

.card-icon {
    font-size: 70px;
    line-height: 1.2;
    color: #6dcff6;
    font-family: Arial;
}

.about-card h3 {
    font-size: 22px;
    margin: 12px 0 13px;
    font-weight: 400;
}

.about-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
}

.services-section {
    color: #fff;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 65px;
    row-gap: 32px;
}

.service-card {
    text-align: center;
    background: #ffffff0c;
    padding: 18px 20px;
    min-height: 225px;
}

.service-icon {
    font-size: 55px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.service-card h3 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 300;
    margin: 0 0 12px;
}

.service-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 22px;
    align-items: center;
}

.partners-grid img {
    display: block;
    margin: auto;
    max-height: 115px;
    object-fit: contain;
}

.partners-text {
    max-width: 890px;
    margin: 48px auto 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.9;
}

@media (max-width:900px) {
    .menu-toggle {
        display: block;
    }

    .header-container {
        min-height: 68px;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background: #192025;
        padding: 6px 21px 17px;
        max-height: calc(100vh - 68px);
        overflow: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        justify-content: flex-start;
        min-height: 44px;
        padding: 4px 12px;
    }

    .lang-ar .primary-nav a {
        justify-content: flex-start;
    }

    .hero {
        min-height: 540px;
        height: 82vh;
    }

    .services-section {
        background-attachment: scroll;
    }

    .slider-arrow {
        font-size: 17px;
        padding: 7px 10px;
    }

    .slider-prev {
        left: 6px;
    }

    .slider-next {
        right: 6px;
    }

    .hero-inner {
        width: calc(100% - 86px);
    }

    .hero h1 {
        font-size: clamp(28px,5vw,42px);
    }

    .section {
        padding: 70px 0;
    }

    .about-cards {
        padding: 10px 0 70px;
    }

    .card-grid {
        gap: 12px;
    }

    .partners-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width:620px) {
    .container,.header-container {
        width: min(calc(100% - 30px),var(--max));
    }

    .hero h1,.lang-ar .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-button {
        font-size: 12px;
    }

    .section-head h2 {
        font-size: 36px;
    }

    .section-head p {
        font-size: 16px;
    }

    .about-card {
        padding: 28px 20px;
    }

    .service-card {
        min-height: 0;
    }

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

    .partners-grid img {
        max-height: 85px;
    }
}

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

    .hero-slide {
        transition: none;
    }
}

.trcit-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.trcit-menu li {
    margin: 0;
    padding: 0;
}

.primary-nav .trcit-menu a {
    display: inline-flex;
}

.services-section:not([style*="background-image"]) {
    background: #172a36;
}

@media (max-width:900px) {
    .trcit-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .primary-nav .trcit-menu a {
        min-height: 44px;
    }
}

body.admin-bar .site-header {
    top: 32px;
}

body.admin-bar .site-header.is-fixed {
    top: 32px;
}

@media (max-width:782px) {
    body.admin-bar .site-header,body.admin-bar .site-header.is-fixed {
        top: 46px;
    }
}

@media (max-width:600px) {
    body.admin-bar .site-header:not(.is-fixed) {
        top: 46px;
    }

    body.admin-bar .site-header.is-fixed {
        top: 0;
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-scroll {
    font-family: Arial,sans-serif;
    font-size: 36px;
    color: #fff;
    text-shadow: 0 1px 3px #0007;
}

.site-header {
    background: rgba(0,0,0,.18);
}

.site-header.is-fixed {
    background: rgba(17,22,26,.94);
}

.service-icon,.card-icon {
    min-height: 1.2em;
}

@media (max-width:900px) {
    .trcit-menu {
        width: 100%;
    }

    .primary-nav .language-switch {
        padding-inline: 12px;
    }
}

/* === Fullscreen hero and animated scroll indicator === */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 610px;
    max-height: none;
    overflow: hidden;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slider-dots {
    bottom: 62px;
}

.hero-scroll {
    position: absolute;
    z-index: 5;
    bottom: 12px;
    left: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    text-decoration: none;
    transform: translateX(-50%);
    animation: trcit-scroll-bounce 1.8s ease-in-out infinite;
}

.hero-scroll svg {
    display: block;
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
    color: #fff;
}

.hero-scroll:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@keyframes trcit-scroll-bounce {
    0%, 100% {
        transform: translate(-50%, -5px);
    }

    50% {
        transform: translate(-50%, 6px);
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 79px;
}

@media (max-width: 900px) {
    .hero {
        height: 100vh;
        height: 100svh;
        min-height: 540px;
        max-height: none;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: 480px;
    }

    .slider-dots {
        bottom: 68px;
        gap: 9px;
    }

    .hero-scroll {
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll {
        animation: none;
        transform: translateX(-50%);
    }

    html {
        scroll-behavior: auto;
    }
}

/* === Contact map, form, social menu, and footer === */
/* Contact section — original Joomla-style composition */
.contact-section.section {
    padding: 0;
    background: #000;
    color: #fff;
}

.contact-section > .container:first-child {
    padding-top: 62px;
    padding-bottom: 35px;
}

.contact-section .section-head {
    margin: 0;
    text-align: center;
}

.contact-section .section-head h2 {
    margin: 0 0 4px;
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 300;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-section .section-head p {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 300;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Map is behind the form. Maintain pointer events on the form. */
.contact-map-area {
    position: relative;
    min-height: 415px;
    overflow: hidden;
    isolation: isolate;
    background: #111;
}

.contact-map-area .map-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-map-area .map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) brightness(.23) contrast(1.25);
}

.contact-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .25);
    pointer-events: none;
}

.contact-map-area .contact-form-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 30px 20px 35px;
    pointer-events: none;
}

.contact-form-inner {
    width: 340px;
    max-width: 100%;
    pointer-events: auto;
}

.contact-form-inner .wpcf7 {
    width: 100%;
    max-width: none;
    margin: 0;
}

.contact-form-inner .wpcf7-form {
    display: block;
    color: #fff;
}

.contact-form-inner .wpcf7-form p {
    margin: 0 0 12px;
}

.contact-form-inner .wpcf7-form label {
    display: block;
    font-size: 12px;
    line-height: 1.4;
}

.contact-form-inner .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-inner .wpcf7 input:not([type="submit"]),
.contact-form-inner .wpcf7 textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #dedede;
    border-radius: 1px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    box-shadow: none;
}

.contact-form-inner .wpcf7 input:not([type="submit"]) {
    height: 32px;
}

.contact-form-inner .wpcf7 textarea {
    height: 86px;
    min-height: 86px;
    resize: vertical;
}

.contact-form-inner .wpcf7 input::placeholder,
.contact-form-inner .wpcf7 textarea::placeholder {
    color: #999;
    opacity: 1;
}

.contact-form-inner .wpcf7 input[type="submit"] {
    display: inline-block;
    width: auto;
    min-height: 34px;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 0;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.contact-form-inner .wpcf7 input[type="submit"]:hover {
    border-color: #fff;
    background: #fff;
    color: #111;
}

.contact-form-inner .wpcf7-not-valid-tip {
    color: #ffb3b3;
    font-size: 11px;
}

.contact-form-inner .wpcf7-response-output {
    color: #fff;
}

/* Visually hidden form labels remain accessible to assistive technology. */
.trcit-contact-form .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Three-column footer contact details */
.contact-section .contact-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 25px;
    padding: 32px 0 30px;
    text-align: center;
}

.contact-detail {
    min-width: 0;
    font-size: 12px;
    line-height: 1.25;
}

.contact-detail .detail-icon {
    margin-bottom: 12px;
    color: #6dcff6;
    line-height: 1;
}

.contact-detail .detail-icon svg {
    display: inline-block;
}

.contact-detail a,
.contact-detail p {
    margin: 0;
    color: #ddd;
    font-weight: 400;
}

.contact-detail a:hover {
    color: #6dcff6;
}

.trcit-social-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.trcit-social-menu li {
    margin: 0;
    padding: 0;
}

.trcit-social-menu a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.site-footer {
    padding: 10px 0 25px;
    background: #000;
    color: #ddd;
    text-align: center;
    font-size: 10px;
    line-height: 1.8;
}

.site-footer a {
    color: #6dcff6;
}

/* RTL adjustments */
.lang-ar .contact-form-inner {
    direction: rtl;
    text-align: right;
}

.lang-ar .contact-form-inner input,
.lang-ar .contact-form-inner textarea {
    text-align: right;
}

.lang-ar .contact-details {
    direction: rtl;
}

/* Desktop: offset form slightly left, matching original Joomla positioning. */
@media (min-width: 901px) {
    .contact-map-area .contact-form-wrap {
        transform: translateX(-70px);
    }

    .lang-ar .contact-map-area .contact-form-wrap {
        
    }
}

@media (max-width: 767px) {
    .contact-section > .container:first-child {
        padding-top: 50px;
        padding-bottom: 25px;
    }

    .contact-map-area {
        min-height: 0;
    }

    .contact-map-area .contact-form-wrap {
        padding: 32px 15px;
    }

    .contact-form-inner {
        width: min(100%, 380px);
    }

    .contact-section .contact-details {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 35px 15px;
    }

    .trcit-social-menu {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-form-inner .wpcf7 input[type="submit"] {
        transition: none;
    }
}

/* === Scroll-triggered reveal animations === */
.trcit-reveal-ready .trcit-reveal {
    opacity: 0;
    transform: translate3d(0,32px,0);
    transition: opacity .78s ease,transform .78s cubic-bezier(.2,.65,.2,1);
    transition-delay: var(--trcit-reveal-delay,0ms);
    will-change: opacity,transform;
}

.trcit-reveal-ready .trcit-reveal.trcit-reveal-from-left {
    transform: translate3d(-38px,0,0);
}

.trcit-reveal-ready .trcit-reveal.trcit-reveal-from-right {
    transform: translate3d(38px,0,0);
}

.trcit-reveal-ready .trcit-reveal.is-revealed {
    opacity: 1;
    transform: translate3d(0,0,0);
    will-change: auto;
}

@media (prefers-reduced-motion:reduce) {
    .trcit-reveal-ready .trcit-reveal,.trcit-reveal-ready .trcit-reveal.is-revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================
   TRCIT CONTACT FORM — FINAL SPACING & MAP ADJUSTMENTS
   ========================================================== */

/* Wider form */
.contact-form-inner {
    width: 70%;
    max-width: 100%;
}

/* Reduce gaps between fields */
.contact-form-inner .wpcf7-form {
    display: block;
}

.contact-form-inner .wpcf7-form p {
    margin: 0 0 9px;
    padding: 0;
    line-height: 1;
}

/* Remove extra spacing from Contact Form 7 wrappers */
.contact-form-inner .trcit-contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-inner .trcit-contact-form p {
    margin: 0;
}

/* Wider and slightly taller inputs */
.contact-form-inner .wpcf7 input:not([type="submit"]) {
    width: 100%;
    height: 50px;
    padding: 9px 12px;
    box-sizing: border-box;
}

/* Message area */
.contact-form-inner .wpcf7 textarea {
    width: 100%;
    height: 105px;
    min-height: 105px;
    padding: 10px 12px;
    box-sizing: border-box;
}

/* Submit button spacing */
.contact-form-inner .wpcf7 input[type="submit"] {
    margin-top: 3px;
    padding: 9px 17px;
}

/* Lighter map, closer to original */
.contact-map-area .map-embed iframe {
    filter: grayscale(1) brightness(.47) contrast(1.1);
}

.contact-map-overlay {
    background: rgba(0, 0, 0, .18);
}

/* Adjust map area to fit the improved form */
.contact-map-area {
    min-height: 430px;
}

.contact-map-area .contact-form-wrap {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Mobile */
@media (max-width: 767px) {
    .contact-form-inner {
        width: 100%;
        max-width: 400px;
    }

    .contact-map-area {
        min-height: 0;
    }

    .contact-map-area .contact-form-wrap {
        padding: 30px 15px;
    }
}


.trcit-contact-form br{display:none!important;}