/* ============================================
   CONTACT PAGE — Modern UI (matches home/services/about)
   Al Majd Refrigeration
   ============================================ */

.contact-page {
    --ctc-blue: #1565c0;
    --ctc-blue-dark: #0d47a1;
    --ctc-blue-light: #42a5f5;
    --ctc-ice: #e3f2fd;
    --ctc-slate: #1e293b;
    --ctc-muted: #64748b;
    --ctc-success: #059669;
    --ctc-accent: #25d366;
    --ctc-danger: #dc2626;
    --ctc-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ctc-glow: rgba(21, 101, 192, 0.12);
    --ctc-shadow: 0 8px 30px rgba(21, 101, 192, 0.08);
    --ctc-shadow-hover: 0 20px 50px rgba(21, 101, 192, 0.14);
}

/* ---------- Hero ---------- */
.ctc-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: clamp(6rem, 14vw, 9rem) 0 clamp(3rem, 6vw, 4.5rem);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(13, 71, 161, 0.92) 0%, rgba(21, 101, 192, 0.82) 50%, rgba(30, 41, 59, 0.88) 100%),
        url(/images/About%20Us.webp) center 38% / cover no-repeat;
    overflow: hidden;
}

.ctc-hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(66, 165, 245, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.ctc-hero__float {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 0;
    animation: ctcFloat 7s ease-in-out infinite;
}

.ctc-hero__float--1 {
    top: 14%;
    right: 10%;
    font-size: 3.5rem;
}

.ctc-hero__float--2 {
    bottom: 22%;
    right: 24%;
    font-size: 2.5rem;
    animation-delay: 1s;
}

.ctc-hero__float--3 {
    top: 32%;
    left: 7%;
    font-size: 2rem;
    animation-delay: 0.5s;
}

@keyframes ctcFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

.ctc-hero__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
    margin: 0 auto;
}

.ctc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.ctc-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.ctc-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: #fff;
    opacity: 0.92;
    margin-bottom: 2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.ctc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ctc-hero__actions .btn-primary {
    background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%);
    color: var(--ctc-blue-dark);
    border: none;
    padding: 0.9rem 1.75rem;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.ctc-hero__actions .btn-primary:hover {
    transform: translateY(-3px);
    background: #fff;
    color: var(--ctc-blue-dark);
}

.ctc-hero__actions .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    padding: 0.9rem 1.75rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ctc-hero__actions .btn-outline:hover {
    background: #fff;
    color: var(--ctc-blue);
    transform: translateY(-3px);
}

.ctc-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ctc-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
}

.ctc-hero__trust-item i {
    color: #93c5fd;
}

/* ---------- Intro ---------- */
.ctc-intro {
    background: linear-gradient(180deg, #fff 0%, var(--ctc-ice) 100%);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.ctc-intro__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}

/* ---------- Quick Nav ---------- */
.ctc-quicknav {
    background: #fff;
    padding: clamp(2rem, 4vw, 3rem) 0;
    border-bottom: 1px solid rgba(21, 101, 192, 0.08);
}

.ctc-quicknav__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(21, 101, 192, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.ctc-quicknav__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: var(--ctc-slate);
    background: #fff;
    border-right: 1px solid rgba(21, 101, 192, 0.08);
    transition: background 0.35s var(--ctc-ease), transform 0.35s var(--ctc-ease);
}

.ctc-quicknav__tile:last-child {
    border-right: none;
}

.ctc-quicknav__tile:hover {
    background: linear-gradient(160deg, #eff6ff 0%, #fff 100%);
    transform: translateY(-4px);
    color: var(--ctc-blue-dark);
}

.ctc-quicknav__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--ctc-blue);
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    margin-bottom: 0.75rem;
    transition: transform 0.4s var(--ctc-ease);
}

.ctc-quicknav__tile:hover .ctc-quicknav__icon {
    transform: scale(1.12) rotate(-6deg);
}

.ctc-quicknav__label {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ---------- AEO Cards ---------- */
.ctc-aeo {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.04) 0%, rgba(66, 165, 245, 0.06) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--ctc-blue);
    margin-bottom: 1.25rem;
}

.ctc-aeo h2,
.ctc-aeo h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ctc-slate);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ctc-aeo h2 i,
.ctc-aeo h3 i {
    color: var(--ctc-blue);
}

.ctc-aeo p {
    margin: 0;
    color: var(--ctc-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ---------- GEO ---------- */
.ctc-geo {
    background: #fff;
}

.ctc-geo__identity {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    border-radius: 16px;
    border: 1px solid rgba(21, 101, 192, 0.1);
}

.ctc-geo__identity h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ctc-slate);
    margin-bottom: 1rem;
}

.ctc-geo__row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    color: var(--ctc-muted);
    font-size: 0.95rem;
}

.ctc-geo__row i {
    color: var(--ctc-blue);
    width: 18px;
    text-align: center;
}

.ctc-geo__lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ctc-muted);
}

.ctc-geo__services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.ctc-geo__service {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(21, 101, 192, 0.08);
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.05);
    transition: transform 0.35s var(--ctc-ease);
}

.ctc-geo__service:hover {
    transform: translateY(-4px);
}

.ctc-geo__service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    font-size: 1.15rem;
    color: var(--ctc-blue);
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.ctc-geo__service h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ctc-slate);
    margin-bottom: 0.5rem;
}

.ctc-geo__service p {
    font-size: 0.85rem;
    color: var(--ctc-muted);
    margin: 0;
    line-height: 1.5;
}

.ctc-geo__trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    text-align: center;
}

.ctc-geo__trust-item i {
    font-size: 1.75rem;
    color: var(--ctc-blue);
    margin-bottom: 0.65rem;
}

.ctc-geo__trust-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ctc-slate);
}

/* ---------- Service Areas ---------- */
.ctc-areas {
    background: #f8fafc;
}

.ctc-areas__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.ctc-areas__badge {
    padding: 0.55rem 1.15rem;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    color: var(--ctc-blue);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(21, 101, 192, 0.12);
    transition: all 0.35s var(--ctc-ease);
}

.ctc-areas__badge:hover {
    background: var(--ctc-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Contact Cards ---------- */
.ctc-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.ctc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(21, 101, 192, 0.08);
    padding: 2rem 1.5rem;
    box-shadow: var(--ctc-shadow);
    transition: transform 0.35s var(--ctc-ease), box-shadow 0.35s var(--ctc-ease);
    height: 100%;
}

.ctc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ctc-shadow-hover);
}

.ctc-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--ctc-blue);
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    margin-bottom: 1rem;
    transition: all 0.35s var(--ctc-ease);
}

.ctc-card:hover .ctc-card__icon {
    background: var(--ctc-blue);
    color: #fff;
    transform: scale(1.08) rotate(4deg);
}

.ctc-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ctc-slate);
    margin-bottom: 0.35rem;
}

.ctc-card__desc {
    color: var(--ctc-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.ctc-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.ctc-card__btn {
    display: block;
    background: var(--ctc-blue);
    color: #fff !important;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.35s var(--ctc-ease);
    border: none;
}

.ctc-card__btn:hover {
    background: var(--ctc-blue-dark);
    transform: translateX(4px);
    color: #fff !important;
}

.ctc-card__social {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.ctc-card__note {
    color: var(--ctc-muted);
    font-size: 0.82rem;
    text-align: center;
    margin: 0.5rem 0 0;
}

/* ---------- Form & Map ---------- */
.ctc-form-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    scroll-margin-top: 100px;
}

.ctc-form-wrap {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(21, 101, 192, 0.08);
    box-shadow: var(--ctc-shadow);
    padding: clamp(2rem, 4vw, 3rem);
    transition: box-shadow 0.35s var(--ctc-ease);
}

.ctc-form-wrap:hover {
    box-shadow: var(--ctc-shadow-hover);
}

.ctc-form-wrap .form-label {
    font-weight: 600;
    color: var(--ctc-slate);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.ctc-form-wrap .input-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: visible;
    transition: all 0.35s var(--ctc-ease);
}

.ctc-form-wrap .input-group:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.ctc-form-wrap .input-group:focus-within {
    border-color: var(--ctc-blue);
    background: #fff;
    box-shadow: 0 0 0 4px var(--ctc-glow);
}

.ctc-form-wrap .form-control,
.ctc-form-wrap select.form-control,
.ctc-form-wrap textarea.form-control {
    border: none;
    background: transparent;
    color: var(--ctc-slate);
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: none;
    outline: none;
}

.ctc-form-wrap .input-group-text {
    background: transparent;
    border: none;
    color: var(--ctc-muted);
    padding-left: 18px;
    padding-right: 6px;
}

.ctc-form-wrap .input-group:focus-within .input-group-text {
    color: var(--ctc-blue);
}

.ctc-form-wrap .dropdown-menu {
    border-radius: 16px;
    box-shadow: var(--ctc-shadow-hover);
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    margin-top: 8px;
}

.ctc-form-wrap .dropdown-item {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--ctc-slate);
    transition: all 0.3s var(--ctc-ease);
}

.ctc-form-wrap .dropdown-item:hover {
    background: #eff6ff;
    color: var(--ctc-blue);
    transform: translateX(4px);
}

.btn-submit-modern {
    background: var(--ctc-blue) !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 16px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    border: none !important;
    transition: all 0.35s var(--ctc-ease) !important;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.2) !important;
}

.btn-submit-modern:hover {
    background: var(--ctc-blue-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.3) !important;
}

.ctc-map-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ctc-shadow);
    border: 1px solid rgba(21, 101, 192, 0.08);
    height: 350px;
    transition: all 0.35s var(--ctc-ease);
}

.ctc-map-wrap:hover {
    box-shadow: var(--ctc-shadow-hover);
    transform: translateY(-4px);
}

.ctc-map-wrap iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.ctc-hours {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(21, 101, 192, 0.08);
    box-shadow: var(--ctc-shadow);
    padding: 2rem;
    margin-top: 1.25rem;
    transition: all 0.35s var(--ctc-ease);
}

.ctc-hours:hover {
    box-shadow: var(--ctc-shadow-hover);
    transform: translateY(-4px);
}

.ctc-hours__inner {
    border: 1px solid rgba(21, 101, 192, 0.12);
    border-radius: 12px;
    padding: 1.25rem;
    background: #f8fafc;
    text-align: center;
}

.ctc-hours__days {
    color: var(--ctc-muted);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.ctc-hours__time {
    font-size: 1.5rem;
    color: var(--ctc-blue);
    font-weight: 700;
    letter-spacing: 0.5px;
}



/* ---------- Modals ---------- */
#mapSelectionModal .modal-content,
#validationModal .modal-content {
    border-radius: 20px;
    border: 1px solid rgba(21, 101, 192, 0.1);
    box-shadow: var(--ctc-shadow-hover);
}

#mapSelectionModal .modal-title {
    color: var(--ctc-slate);
    font-weight: 700;
}

#mapSelectionContainer {
    height: 350px;
    width: 100%;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

#validationModal h5 {
    color: var(--ctc-slate);
    font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .ctc-hero {
        min-height: 100vh;
    }

    .ctc-intro__grid {
        grid-template-columns: 1fr;
    }

    .ctc-quicknav__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ctc-quicknav__tile {
        border-bottom: 1px solid rgba(21, 101, 192, 0.08);
    }

    .ctc-quicknav__tile:nth-child(odd) {
        border-right: 1px solid rgba(21, 101, 192, 0.08);
    }

    .ctc-quicknav__tile:nth-child(2),
    .ctc-quicknav__tile:nth-child(4) {
        border-right: none;
    }

    .ctc-geo__services,
    .ctc-geo__trust,
    .ctc-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ctc-hero__float {
        display: none;
    }

    .ctc-quicknav__grid,
    .ctc-geo__services,
    .ctc-geo__trust,
    .ctc-cards__grid {
        grid-template-columns: 1fr;
    }

    .ctc-quicknav__tile {
        border-right: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ctc-hero__float,
    .ctc-card {
        animation: none;
        transition: none;
    }
}