/* ============================================
   Contact Page Styles - Global SEO Theme
   ============================================ */

/* Section Container */
.gseo-contact-section {
    padding: 120px 0 60px;
    background: linear-gradient(170deg, #f0f9ff 0%, #ecfdf5 40%, #f8fafc 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.gseo-contact-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(12, 74, 110, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gseo-contact-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 78, 59, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gseo-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.gseo-contact-header {
    text-align: center;
    margin-bottom: 50px;
    animation: gseo-fadeDown 0.8s ease;
}

@keyframes gseo-fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gseo-contact-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.1) 0%, rgba(6, 78, 59, 0.1) 100%);
    color: var(--gseo-primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(12, 74, 110, 0.15);
}

.gseo-contact-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--gseo-dark);
    margin-bottom: 16px;
    line-height: 1.2;
    background: var(--gseo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gseo-contact-subtitle {
    font-size: 17px;
    color: var(--gseo-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact Wrapper - Two Column Layout */
.gseo-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    animation: gseo-fadeUp 0.8s ease 0.2s both;
}

@keyframes gseo-fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Left Card - Contact Form
   ============================================ */
.gseo-contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gseo-contact-form-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 20px 40px -10px rgba(0, 0, 0, 0.06);
}

.gseo-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.gseo-form-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gseo-gradient);
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(12, 74, 110, 0.25);
}

.gseo-form-icon-wrap i {
    font-size: 24px;
    color: #ffffff;
}

.gseo-form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gseo-dark);
    margin-bottom: 8px;
}

.gseo-form-desc {
    font-size: 14px;
    color: var(--gseo-gray);
    margin: 0;
}

/* Form Rows */
.gseo-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

/* Form Group */
.gseo-form-group {
    position: relative;
    margin-bottom: 24px;
}

.gseo-form-group-full {
    margin-bottom: 28px;
}

.gseo-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gseo-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gseo-form-label i {
    font-size: 12px;
    color: var(--gseo-primary);
}

.gseo-form-input,
.gseo-form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gseo-border);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--gseo-dark);
    background: #fafbfc;
    transition: all 0.3s ease;
    outline: none;
}

.gseo-form-input::placeholder,
.gseo-form-textarea::placeholder {
    color: #a0aec0;
    font-size: 14px;
}

.gseo-form-input:focus,
.gseo-form-textarea:focus {
    border-color: var(--gseo-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(12, 74, 110, 0.08);
}

.gseo-form-input:hover,
.gseo-form-textarea:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.gseo-form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.gseo-form-line {
    display: block;
    width: 0;
    height: 2px;
    background: var(--gseo-gradient);
    transition: width 0.4s ease;
    border-radius: 2px;
    margin-top: 2px;
}

.gseo-form-input:focus ~ .gseo-form-line,
.gseo-form-textarea:focus ~ .gseo-form-line {
    width: 100%;
}

/* Form Actions */
.gseo-form-actions {
    text-align: center;
    margin-top: 10px;
}

.gseo-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gseo-gradient);
    color: #ffffff;
    border: none;
    padding: 16px 48px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(12, 74, 110, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    min-width: 220px;
}

.gseo-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.gseo-submit-btn:hover::before {
    left: 100%;
}

.gseo-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(12, 74, 110, 0.4);
}

.gseo-submit-btn:active {
    transform: translateY(-1px);
}

.gseo-btn-icon {
    transition: transform 0.3s ease;
}

.gseo-submit-btn:hover .gseo-btn-icon {
    transform: translateX(4px);
}

.gseo-btn-loading i {
    margin-right: 6px;
}

.gseo-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gseo-gray);
    margin-top: 16px;
    opacity: 0.8;
}

.gseo-form-note i {
    color: var(--gseo-secondary);
    font-size: 13px;
}

/* ============================================
   Right Card - Contact Info
   ============================================ */
.gseo-contact-info-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 600px;
    box-shadow: 0 10px 40px rgba(12, 74, 110, 0.2);
}

.gseo-info-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gseo-gradient);
    z-index: 0;
}

.gseo-info-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.gseo-info-gradient-bg::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.gseo-info-content {
    position: relative;
    z-index: 1;
    padding: 40px 35px;
    color: #ffffff;
}

/* Logo in Info Card */
.gseo-info-logo {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.gseo-info-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.gseo-info-logo img:hover {
    transform: scale(1.05);
}

.gseo-info-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gseo-info-text {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Contact Items */
.gseo-contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.gseo-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gseo-contact-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(6px);
    border-color: rgba(255, 255, 255, 0.2);
}

.gseo-contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.gseo-contact-item:hover .gseo-contact-item-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.gseo-whatsapp-icon {
    background: rgba(37, 211, 102, 0.25) !important;
}

.gseo-contact-item-content h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    margin-bottom: 4px;
}

.gseo-contact-item-content p,
.gseo-contact-item-content a {
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.4;
    transition: opacity 0.3s ease;
}

.gseo-contact-item-content a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* Social Links */
.gseo-info-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gseo-social-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gseo-social-links {
    display: flex;
    gap: 10px;
}

.gseo-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gseo-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.gseo-social-link:hover::before {
    width: 120%;
    height: 120%;
}

.gseo-social-link:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Business Hours */
.gseo-business-hours {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.gseo-hours-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gseo-hours-header i {
    font-size: 16px;
}

.gseo-hours-body {
    padding: 8px 0;
}

.gseo-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.gseo-hours-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.gseo-hours-row span:first-child {
    opacity: 0.8;
}

.gseo-hours-row span:last-child {
    font-weight: 600;
}

.gseo-hours-closed span:last-child {
    opacity: 0.5;
    font-weight: 500;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* iPad Landscape */
@media (min-width: 768px) and (max-width: 992px) {
    .gseo-contact-section {
        padding: 110px 0 50px;
    }

    .gseo-contact-title {
        font-size: 36px;
    }

    .gseo-contact-wrapper {
        gap: 30px;
    }

    .gseo-contact-form-card {
        padding: 32px;
    }

    .gseo-info-content {
        padding: 32px 28px;
    }

    .gseo-submit-btn {
        padding: 14px 40px;
        font-size: 15px;
    }
}

/* Tablet & Mobile */
@media (max-width: 768px) {
    .gseo-contact-section {
        padding: 100px 0 40px;
    }

    .gseo-contact-header {
        margin-bottom: 35px;
    }

    .gseo-contact-title {
        font-size: 30px;
    }

    .gseo-contact-subtitle {
        font-size: 15px;
    }

    .gseo-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gseo-contact-form-card {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .gseo-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gseo-contact-info-card {
        min-height: auto;
        border-radius: 20px;
    }

    .gseo-info-content {
        padding: 32px 24px;
    }

    .gseo-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .gseo-contact-section {
        padding: 90px 0 30px;
    }

    .gseo-contact-container {
        padding: 0 15px;
    }

    .gseo-contact-badge {
        font-size: 12px;
        padding: 6px 18px;
    }

    .gseo-contact-title {
        font-size: 26px;
    }

    .gseo-contact-subtitle {
        font-size: 14px;
    }

    .gseo-contact-form-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .gseo-form-title {
        font-size: 20px;
    }

    .gseo-form-input,
    .gseo-form-textarea {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    .gseo-form-label {
        font-size: 12px;
    }

    .gseo-submit-btn {
        padding: 14px 32px;
        font-size: 15px;
    }

    .gseo-contact-info-card {
        border-radius: 16px;
    }

    .gseo-info-content {
        padding: 28px 20px;
    }

    .gseo-info-heading {
        font-size: 20px;
    }

    .gseo-contact-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .gseo-contact-item-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
        border-radius: 10px;
    }

    .gseo-contact-item-content h4 {
        font-size: 12px;
    }

    .gseo-contact-item-content p,
    .gseo-contact-item-content a {
        font-size: 14px;
    }

    .gseo-social-link {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 8px;
    }

    .gseo-hours-row {
        padding: 8px 14px;
        font-size: 13px;
    }

    .gseo-info-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Extra Small */
@media (max-width: 375px) {
    .gseo-contact-title {
        font-size: 22px;
    }

    .gseo-contact-form-card {
        padding: 20px 14px;
    }

    .gseo-info-content {
        padding: 24px 16px;
    }

    .gseo-form-icon-wrap {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .gseo-form-icon-wrap i {
        font-size: 20px;
    }
}

/* ============================================
   Form Input Animations (Subtle)
   ============================================ */
@keyframes gseo-inputShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

.gseo-form-input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: #e74c3c;
    animation: gseo-inputShake 0.4s ease;
}

.gseo-form-input:invalid:not(:placeholder-shown):not(:focus) ~ .gseo-form-line {
    background: #e74c3c;
    width: 100%;
}