/* ============================================
   CONTACT US PAGE STYLES
   ============================================ */

/* Page Hero */
.page-hero {
    background-color: #0f2b46;
    background-image:
        linear-gradient(135deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.65) 50%,
            rgba(0, 0, 0, 0.65) 100%),
        url('https://images.pexels.com/photos/443383/pexels-photo-443383.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 84, 144, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    color: white;
    line-height: 1.2;
}

.page-hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    opacity: 0.92;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   CONTACT SECTION (cp- prefix)
   ============================================ */

.cp-section {
    background: #ffffff;
    padding: 80px 20px;
    position: relative;
}

.cp-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.cp-divider {
    height: 1px;
    margin-bottom: 60px;
}

.cp-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

/* ============================================
   LEFT CONTENT
   ============================================ */

.cp-left {
    padding: 30px 0;
    position: sticky;
    top: 120px;
}

.cp-title {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #0f2b46;
    line-height: 1.2;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 24px;
    letter-spacing: -0.5px;
}

.cp-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #2196f3, #42a5f5);
    border-radius: 4px;
}

.cp-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 380px;
}

/* Phone CTA Card - Simple Icon and Text */
.cp-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    cursor: default;
}

.cp-phone i {
    font-size: 20px;
    color: #2196f3;
    flex-shrink: 0;
}

.cp-phone span {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
}

.cp-phone strong {
    color: #0f2b46;
    font-weight: 700;
    font-size: 16px;
}

/* ============================================
   RIGHT FORM WRAPPER
   ============================================ */

.cp-form-wrapper {
    background: #ffffff;
    padding: 50px 45px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.cp-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196f3, #42a5f5, #64b5f6);
}

.cp-form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0f2b46;
    margin-bottom: 35px;
    text-align: left;
    letter-spacing: -0.3px;
}

/* ============================================
   FORM STYLES
   ============================================ */

.cp-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cp-form-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.cp-form-row:not(.cp-submit-row):hover {
    background: #fafbfc;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
}

.cp-submit-row {
    grid-template-columns: 1fr;
    border-bottom: none;
    margin-top: 16px;
    padding: 24px 0 0 0;
}

.cp-submit-row label {
    display: none;
}

.cp-form-row label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Inputs */
.cp-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.cp-input:hover {
    border-color: #94a3b8;
    background: #ffffff;
}

.cp-input:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
    background: #ffffff;
}

.cp-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

select.cp-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-color: #f8fafc;
    padding-right: 45px;
}

select.cp-input:hover {
    background-color: #ffffff;
}

.cp-textarea {
    resize: vertical;
    min-height: 110px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.cp-submit-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.35);
    width: 100%;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
}

.cp-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.cp-submit-btn:hover {
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.45);
}

.cp-submit-btn:hover::after {
    left: 100%;
}

.cp-submit-btn:active {
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    transform: scale(0.98);
}

/* ============================================
   RESPONSIVE DESIGN - COMPREHENSIVE BREAKPOINTS
   ============================================ */

/* Large Desktops: 1440px+ */
@media (min-width: 1440px) {
    .cp-container {
        max-width: 1300px;
    }

    .cp-grid {
        gap: 70px;
    }

    .cp-form-wrapper {
        padding: 55px 50px;
    }
}

/* Standard Desktops: 1200px - 1439px */
@media (max-width: 1439px) {
    .page-hero-content h1 {
        font-size: 48px;
    }

    .cp-title {
        font-size: 36px;
    }

    .cp-grid {
        gap: 55px;
    }
}

/* Tablets and Medium Screens: 1024px - 1199px */
@media (max-width: 1199px) {
    .page-hero {
        padding: 90px 20px;
    }

    .page-hero-content h1 {
        font-size: 44px;
    }

    .page-hero-content p {
        font-size: 18px;
    }

    .cp-section {
        padding: 75px 20px;
    }

    .cp-grid {
        gap: 50px;
    }

    .cp-title {
        font-size: 34px;
    }

    .cp-form-wrapper {
        padding: 45px 40px;
    }

    .cp-form-title {
        font-size: 21px;
    }
}

/* Small Tablets: 768px - 1023px */
@media (max-width: 1023px) {
    .page-hero {
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .page-hero-content h1 {
        font-size: 40px;
    }

    .page-hero-content p {
        font-size: 17px;
        max-width: 480px;
    }

    .cp-section {
        padding: 70px 18px;
    }

    .cp-divider {
        margin-bottom: 50px;
    }

    .cp-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cp-left {
        padding: 0;
        position: static;
    }

    .cp-title {
        font-size: 32px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .cp-subtitle {
        font-size: 15.5px;
        margin-bottom: 35px;
        max-width: 100%;
    }

    .cp-phone {
        gap: 10px;
    }

    .cp-phone i {
        font-size: 19px;
    }

    .cp-phone span {
        font-size: 14.5px;
    }

    .cp-phone strong {
        font-size: 15.5px;
    }

    .cp-form-wrapper {
        padding: 42px 38px;
        border-radius: 18px;
    }

    .cp-form-title {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .cp-form-row {
        padding: 15px 0;
    }
}

/* Mobile Landscape and Large Phones: 600px - 767px */
@media (max-width: 767px) {
    .page-hero {
        padding: 70px 18px;
    }

    .page-hero-content h1 {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .page-hero-content p {
        font-size: 16px;
        max-width: 100%;
    }

    .cp-section {
        padding: 60px 16px;
    }

    .cp-divider {
        margin-bottom: 40px;
    }

    .cp-grid {
        gap: 40px;
    }

    .cp-left {
        padding: 0;
    }

    .cp-title {
        font-size: 28px;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .cp-title::after {
        width: 45px;
        height: 3px;
    }

    .cp-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
        line-height: 1.65;
    }

    .cp-phone {
        gap: 10px;
    }

    .cp-phone i {
        font-size: 18px;
    }

    .cp-phone span {
        font-size: 14px;
    }

    .cp-phone strong {
        font-size: 15px;
    }

    .cp-form-wrapper {
        padding: 36px 28px;
        border-radius: 16px;
    }

    .cp-form-wrapper::before {
        height: 3px;
    }

    .cp-form-title {
        font-size: 19px;
        margin-bottom: 28px;
    }

    .cp-form-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0;
    }

    .cp-form-row:not(.cp-submit-row):hover {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        background: transparent;
    }

    .cp-form-row label {
        text-align: left;
        font-size: 13px;
        letter-spacing: 0.3px;
    }

    .cp-input {
        padding: 13px 16px;
        font-size: 14.5px;
        border-radius: 9px;
    }

    select.cp-input {
        background-position: right 14px center;
        padding-right: 42px;
    }

    .cp-textarea {
        min-height: 100px;
    }

    .cp-submit-row {
        padding-top: 20px;
        margin-top: 12px;
    }

    .cp-submit-btn {
        padding: 15px 36px;
        font-size: 15px;
        border-radius: 11px;
    }
}

/* Standard Mobile: 480px - 599px */
@media (max-width: 599px) {
    .page-hero {
        padding: 60px 16px;
    }

    .page-hero-content h1 {
        font-size: 30px;
        letter-spacing: -0.3px;
    }

    .page-hero-content p {
        font-size: 15px;
    }

    .cp-section {
        padding: 50px 15px;
    }

    .cp-divider {
        margin-bottom: 35px;
    }

    .cp-grid {
        gap: 35px;
    }

    .cp-title {
        font-size: 26px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .cp-title::after {
        width: 40px;
    }

    .cp-subtitle {
        font-size: 14.5px;
        margin-bottom: 26px;
    }

    .cp-phone {
        gap: 9px;
    }

    .cp-phone i {
        font-size: 17px;
    }

    .cp-phone span {
        font-size: 13.5px;
    }

    .cp-phone strong {
        font-size: 14.5px;
    }

    .cp-form-wrapper {
        padding: 32px 24px;
        border-radius: 15px;
    }

    .cp-form-title {
        font-size: 18px;
        margin-bottom: 26px;
    }

    .cp-form-row {
        gap: 7px;
        padding: 11px 0;
    }

    .cp-form-row label {
        font-size: 12.5px;
    }

    .cp-input {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 8px;
    }

    select.cp-input {
        background-position: right 13px center;
        padding-right: 40px;
    }

    .cp-textarea {
        min-height: 95px;
    }

    .cp-submit-row {
        padding-top: 18px;
        margin-top: 10px;
    }

    .cp-submit-btn {
        padding: 14px 32px;
        font-size: 14.5px;
        border-radius: 10px;
    }
}

/* Small Mobile: 375px - 479px */
@media (max-width: 479px) {
    .page-hero {
        padding: 50px 14px;
    }

    .page-hero-content h1 {
        font-size: 26px;
    }

    .page-hero-content p {
        font-size: 14px;
    }

    .cp-section {
        padding: 40px 14px;
    }

    .cp-divider {
        margin-bottom: 30px;
    }

    .cp-grid {
        gap: 30px;
    }

    .cp-title {
        font-size: 24px;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .cp-title::after {
        width: 38px;
        height: 3px;
    }

    .cp-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .cp-phone {
        gap: 8px;
    }

    .cp-phone i {
        font-size: 16px;
    }

    .cp-phone span {
        font-size: 13px;
        line-height: 1.4;
    }

    .cp-phone strong {
        font-size: 14px;
    }

    .cp-form-wrapper {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .cp-form-title {
        font-size: 17px;
        margin-bottom: 24px;
    }

    .cp-form-row {
        gap: 6px;
        padding: 10px 0;
    }

    .cp-form-row label {
        font-size: 12px;
        letter-spacing: 0.2px;
    }

    .cp-input {
        padding: 11px 14px;
        font-size: 13.5px;
        border-radius: 8px;
    }

    select.cp-input {
        background-position: right 12px center;
        padding-right: 38px;
    }

    .cp-textarea {
        min-height: 90px;
    }

    .cp-submit-row {
        padding-top: 16px;
        margin-top: 8px;
    }

    .cp-submit-btn {
        padding: 13px 28px;
        font-size: 14px;
        border-radius: 9px;
    }
}

/* Extra Small Mobile: 320px - 374px */
@media (max-width: 374px) {
    .page-hero {
        padding: 45px 12px;
    }

    .page-hero-content h1 {
        font-size: 24px;
    }

    .page-hero-content p {
        font-size: 13px;
    }

    .cp-section {
        padding: 35px 12px;
    }

    .cp-divider {
        margin-bottom: 26px;
    }

    .cp-grid {
        gap: 26px;
    }

    .cp-title {
        font-size: 22px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .cp-title::after {
        width: 35px;
    }

    .cp-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .cp-phone {
        gap: 7px;
    }

    .cp-phone i {
        font-size: 15px;
    }

    .cp-phone span {
        font-size: 12px;
    }

    .cp-phone strong {
        font-size: 13px;
    }

    .cp-form-wrapper {
        padding: 24px 16px;
        border-radius: 13px;
    }

    .cp-form-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .cp-form-row {
        gap: 5px;
        padding: 9px 0;
    }

    .cp-form-row label {
        font-size: 11.5px;
    }

    .cp-input {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 7px;
    }

    select.cp-input {
        background-position: right 11px center;
        padding-right: 36px;
    }

    .cp-textarea {
        min-height: 85px;
    }

    .cp-submit-row {
        padding-top: 14px;
        margin-top: 6px;
    }

    .cp-submit-btn {
        padding: 12px 24px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */

.cp-input:focus-visible {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.cp-submit-btn:focus-visible {
    outline: 3px solid #64b5f6;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}