/* =================================================================
   // TABLE OF CONTENTS
   
   1. Contact Form Section
   2. TEAMWORK SECTION
================================================================= */

/* ========== 1. Contact Form Section  ========== */
.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

/* --- Left Column: Info Cards --- */
.ct-info-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.ct-info-card {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    padding: var(--space-m);
    border-radius: var(--border-radius-medium);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.ct-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ct-card-icon svg {
    width: 24px;
    height: 24px;
}

.ct-card-content h3 {
    font-size: var(--fs-400);
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--space-xxs);
}

.ct-card-content p {
    font-size: var(--fs-300);
    color: #555;
    line-height: 1.6;
}

/* --- Right Column: Form --- */
.ct-form-col h4 {
    font-size: var(--fs-300);
    font-family: var(--font-primary);
    font-weight: 500;
    color: #555;
    margin-bottom: var(--space-xs);
}

.ct-form-col h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-family: var(--font-primary);
    margin-bottom: var(--space-xs);
    font-weight: 800;
    color: #1a202c;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.ct-form-col p {
    font-size: var(--fs-300);
    color: #555;
    margin-bottom: var(--space-l);
    max-width: 500px;
}

.ct-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-s);
    margin-bottom: var(--space-s);
}

.ct-input-group {
    position: relative;
}

.ct-input-group input,
.ct-input-group textarea {
    width: 100%;
    padding: 14px 40px 14px 16px;
    font-size: var(--fs-300);
    font-family: inherit;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fcfcfc;
    transition: all 0.2s ease;
}

.ct-input-group input:focus,
.ct-input-group textarea:focus {
    outline: none;
    border-color: #333;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.ct-input-group textarea {
    resize: vertical;
    padding: 14px 16px;
}

.ct-input-group i {
    position: absolute !important;
    right: var(--space-s);
    top: 50%;
    transform: translateY(-110%);
    color: #aaa;
}

.ct-error {
    color: red;
    font-size: var(--fs-200);
    margin-top: 4px;
    min-height: 1.2em;
}

.ct-submit-btn {
    width: 100%;
    padding: var(--space-s);
    margin-top: var(--space-s);
    border: none;
    border-radius: 12px;
    background-color: #1a1a1a;
    color: white;
    font-size: var(--fs-400);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ct-submit-btn:hover:not(:disabled) {
    background-color: #333;
    transform: translateY(-2px);
}

.ct-submit-btn:disabled {
    background-color: #555;
    cursor: not-allowed;
    transform: none;
}

/* --- Modal Styles --- */
.ct-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.ct-modal.show {
    visibility: visible;
    opacity: 1;
}

.ct-modal-content {
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.ct-modal-content h3 {
    font-family: var(--font-primary);
    font-size: var(--fs-600);
    margin-bottom: 15px;
}

.ct-modal-content p {
    color: #555;
    line-height: 1.6;
}

/* --- Responsive Styles --- */
@media (max-width: 960px) {
    .ct-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .ct-form-col {
        text-align: center;
    }

    .ct-form-col p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .ct-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 2. TEAMWORK SECTION ========== */
.teamwork-hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-secondary);
    color: #1a1a1a;
    overflow: hidden;
}

.th-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: var(--space-l);
}

/* --- Left Column: SVG Illustration --- */
.th-visual-col {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.th-svg-wrapper {
    width: 100%;
    max-width: 550px;
    position: relative;
}

.th-illustration {
    width: 100%;
    height: auto;
    overflow: visible !important;
}

/* --- Right Column: Text Content --- */
.th-content-col {
    position: relative;
    z-index: 1;
    padding-left: var(--space-l);
}

.th-main-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-m);
}

.th-heading-line {
    display: block;
    overflow: hidden;
}

.th-heading-line>span {
    transform: translateY(110%);
    display: inline-block;
}

.th-subheading {
    font-size: var(--fs-400);
    color: #555;
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: var(--space-l);
}

.th-form {
    display: flex;
    gap: var(--space-s);
    margin-bottom: var(--space-m);
}

.th-form input {
    flex-grow: 1;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background-color: white;
    font-family: var(--font-secondary);
    font-size: var(--fs-300);
    transition: box-shadow 0.2s;
}

.th-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.th-form button {
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    background-color: #1a1a1a;
    color: white;
    font-family: var(--font-primary);
    font-size: var(--fs-300);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.th-form button:hover {
    background-color: #333;
}

.th-footer-text {
    font-size: var(--fs-200);
    color: #888;
}

/* --- Responsive Styles --- */
@media (max-width: 960px) {
    .th-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .th-visual-col {
        order: 1;
        margin-bottom: var(--space-l);
    }

    .th-content-col {
        order: 2;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .th-subheading {
        max-width: 500px;
    }

    .th-form {
        width: 100%;
        max-width: 450px;
        margin: 1rem auto;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .th-form {
        flex-direction: column;
    }
}


/* =========================== END of Contact Page =========================== */