/* ==========================================================
   CONTACT US PAGE - SMART COMPACT DESIGN
   ========================================================== */

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== CONNECT SECTION ===== */
.connect {
    padding: 60px 0 40px; /* Reduced padding */
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Background decoration - subtler */
.connect::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: #FBC333;
    border-radius: 50%;
    z-index: 0;
}

.connect::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: #0F2A40;
    border-radius: 50%;
    z-index: 0;
}

.connect .main {
    position: relative;
    z-index: 1;
}

.connect .heading {
    text-align: center;
    margin-bottom: 40px; /* Reduced from 60px */
}

.connect .heading h2 {
    font-size: 36px; /* Slightly smaller */
    font-weight: 700;
    color: #1C3F60;
    margin-bottom: 10px; /* Reduced */
    position: relative;
    display: inline-block;
}

.connect .heading h2::after {
    content: '';
    display: block;
    width: 50px; /* Smaller underline */
    height: 3px;
    background: #FBC333;
    margin: 10px auto 0; /* Reduced margin */
    border-radius: 2px;
}

.connect .heading p {
    font-size: 16px; /* Smaller */
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Connect Grid - TIGHTER */
.connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Reduced from 30px */
    max-width: 1200px;
    margin: 0 auto;
}

.connect-col {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced from 25px */
}

/* Contact Cards - COMPACT */
.connect-col > div {
    background: #ffffff;
    border-radius: 16px; /* Slightly smaller */
    padding: 20px; /* Reduced from 30px */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03); /* Lighter shadow */
    transition: all 0.3s ease;
    border: 1px solid #eaeef2;
}

.connect-col > div:hover {
    transform: translateY(-5px); /* Smaller lift */
    box-shadow: 0 15px 30px rgba(251, 195, 51, 0.1);
    border-color: #FBC333;
}

.connect-col .email,
.connect-col .office,
.connect-col .careers,
.connect-col .phone {
    display: flex;
    align-items: center; /* Centered vertically */
    gap: 15px; /* Reduced from 20px */
}

.connect-col .svg {
    width: 48px; /* Smaller from 60px */
    height: 48px; /* Smaller from 60px */
    background: #f8fafd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* Smaller */
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.connect-col > div:hover .svg {
    background: #FBC333;
    transform: scale(1.05) rotate(360deg); /* Subtler animation */
    transition: transform 0.5s ease, background 0.3s ease;
}

.connect-col .content {
    flex: 1;
}

.connect-col .content h3 {
    font-size: 16px; /* Smaller */
    font-weight: 700;
    color: #1C3F60;
    margin-bottom: 2px; /* Reduced */
}

.connect-col .content span {
    display: block;
    font-size: 13px; /* Smaller */
    color: #666;
    margin-bottom: 5px; /* Reduced */
}

.connect-col .content a {
    display: inline-block;
    color: #FBC333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px; /* Smaller */
    transition: all 0.3s ease;
    position: relative;
}

.connect-col .content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px; /* Thinner */
    background: #FBC333;
    transition: width 0.3s ease;
}

.connect-col .content a:hover {
    color: #1C3F60;
}

.connect-col .content a:hover::after {
    width: 100%;
    background: #1C3F60;
}

/* Socials Column - COMPACT */
.connect-col.socials {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px; /* Reduced from 30px */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeef2;
}

.connect-col.socials:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(251, 195, 51, 0.1);
    border-color: #FBC333;
}

.connect-col.socials h3 {
    font-size: 20px; /* Smaller */
    font-weight: 700;
    color: #1C3F60;
    margin-bottom: 15px; /* Reduced */
    position: relative;
    padding-bottom: 10px; /* Reduced */
}

.connect-col.socials h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px; /* Smaller */
    height: 3px;
    background: #FBC333;
    border-radius: 2px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reduced from 15px */
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced */
    padding: 10px 15px; /* Reduced */
    background: #f8fafd;
    border-radius: 10px; /* Slightly smaller */
    text-decoration: none;
    color: #1C3F60;
    font-weight: 500;
    font-size: 14px; /* Smaller */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-icons a:hover {
    transform: translateX(5px); /* Smaller movement */
    background: #ffffff;
    border-color: #FBC333;
    box-shadow: 0 5px 15px rgba(251, 195, 51, 0.1);
}

.social-icons a i {
    font-size: 18px; /* Smaller */
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: scale(1.1); /* Subtler */
}

/* ===== TOUCH SECTION ===== */
.touch {
    padding: 40px 0 60px; /* Reduced top padding */
    background: #ffffff;
    position: relative;
}

.touch .main {
    max-width: 700px; /* Smaller from 800px */
    margin: 0 auto;
}

.touch h2 {
    font-size: 30px; /* Smaller */
    font-weight: 700;
    color: #1C3F60;
    text-align: center;
    margin-bottom: 30px; /* Reduced */
    position: relative;
}

.touch h2 span {
    color: #FBC333;
    display: inline-block;
    animation: wave 2s infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

/* Contact Form 7 Styling - COMPACT */
.touch .wpcf7-form {
    background: #f8fafd;
    padding: 30px; /* Reduced from 40px */
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeef2;
}

.touch .wpcf7-form p {
    margin-bottom: 15px; /* Reduced from 20px */
}

.touch .wpcf7-form label {
    display: block;
    margin-bottom: 5px; /* Reduced */
    font-weight: 600;
    color: #1C3F60;
    font-size: 13px; /* Smaller */
}

.touch .wpcf7-form input,
.touch .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px; /* Reduced from 15px 18px */
    border: 2px solid #e0e7ef;
    border-radius: 10px; /* Slightly smaller */
    font-size: 14px; /* Smaller */
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.touch .wpcf7-form input:focus,
.touch .wpcf7-form textarea:focus {
    outline: none;
    border-color: #FBC333;
    box-shadow: 0 0 0 3px rgba(251, 195, 51, 0.1); /* Smaller focus */
    transform: translateY(-1px); /* Subtler */
}

.touch .wpcf7-form textarea {
    height: 120px; /* Smaller from 150px */
    resize: vertical;
}

.touch .wpcf7-form input[type="submit"] {
    background: #FBC333;
    color: #1C3F60;
    font-weight: 700;
    font-size: 15px; /* Smaller */
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 14px; /* Adjusted */
    transition: all 0.3s ease;
}

.touch .wpcf7-form input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #1C3F60;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease; /* Faster */
    z-index: -1;
}

.touch .wpcf7-form input[type="submit"]:hover {
    color: #ffffff;
    transform: translateY(-2px); /* Subtler */
    box-shadow: 0 8px 20px rgba(251, 195, 51, 0.25); /* Lighter */
}

.touch .wpcf7-form input[type="submit"]:hover::before {
    width: 250px; /* Smaller */
    height: 250px; /* Smaller */
}

.touch .wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px; /* Smaller */
    margin-top: 3px; /* Reduced */
}

.touch .wpcf7-form .wpcf7-response-output {
    margin: 15px 0 0; /* Reduced */
    padding: 12px 15px; /* Reduced */
    border-radius: 10px;
    font-size: 13px; /* Smaller */
    border: 2px solid #dc3545 !important;
    background: #fff;
}

/* Responsive - Tighter on mobile */
@media (max-width: 1024px) {
    .connect-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .connect-col.socials {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .connect {
        padding: 40px 0 30px;
    }
    
    .connect .heading h2 {
        font-size: 28px;
    }
    
    .connect .heading p {
        font-size: 15px;
    }
    
    .connect-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .connect-col.socials {
        grid-column: auto;
    }
    
    .touch h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .touch .wpcf7-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .connect .heading h2 {
        font-size: 24px;
    }
    
    .connect-col > div {
        padding: 15px;
    }
    
    .connect-col .email,
    .connect-col .office,
    .connect-col .careers,
    .connect-col .phone {
        gap: 12px;
    }
    
    .connect-col .svg {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .touch .wpcf7-form {
        padding: 20px;
    }
    
    .touch .wpcf7-form input,
    .touch .wpcf7-form textarea {
        padding: 10px 12px;
    }
}






/*******************************************************************************************/



/* ===== CONTACT FORM 7 - COMPREHENSIVE STYLING ===== */
.touch .wpcf7 {
    max-width: 100%;
    margin: 0 auto;
}

/* Form container */
.touch .wpcf7-form {
    background: #f8fafd;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeef2;
}

/* Form paragraphs */
.touch .wpcf7-form p {
    margin-bottom: 20px;
    position: relative;
}

/* Labels */
.touch .wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1C3F60;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

/* Input fields */
.touch .wpcf7-form input[type="text"],
.touch .wpcf7-form input[type="email"],
.touch .wpcf7-form input[type="tel"],
.touch .wpcf7-form input[type="url"],
.touch .wpcf7-form input[type="number"],
.touch .wpcf7-form textarea,
.touch .wpcf7-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e7ef;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Textarea specific */
.touch .wpcf7-form textarea {
    height: 140px;
    resize: vertical;
}

/* Focus state */
.touch .wpcf7-form input:focus,
.touch .wpcf7-form textarea:focus,
.touch .wpcf7-form select:focus {
    outline: none;
    border-color: #FBC333;
    box-shadow: 0 0 0 3px rgba(251, 195, 51, 0.1);
}

/* Submit button - Target all possible variations */
.touch .wpcf7-form input[type="submit"],
.touch .wpcf7-form .wpcf7-submit,
.touch .wpcf7-form button[type="submit"],
.touch .wpcf7-form button.wpcf7-submit {
    background: #FBC333 !important;
    color: #1C3F60 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    cursor: pointer !important;
    padding: 16px 30px !important;
    width: 100% !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(251, 195, 51, 0.3) !important;
    margin-top: 20px !important;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.5 !important;
    text-align: center !important;
    display: inline-block !important;
    min-height: 55px !important;
}

/* Hover state */
.touch .wpcf7-form input[type="submit"]:hover,
.touch .wpcf7-form .wpcf7-submit:hover,
.touch .wpcf7-form button[type="submit"]:hover,
.touch .wpcf7-form button.wpcf7-submit:hover {
    background: #1C3F60 !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(28, 63, 96, 0.3) !important;
}

/* Error messages */
.touch .wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Response messages */
.touch .wpcf7-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #dc3545 !important;
    background: #fff;
}

.touch .wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    border-color: #28a745 !important;
    color: #28a745;
}

/* Placeholder styling */
.touch .wpcf7-form input::placeholder,
.touch .wpcf7-form textarea::placeholder,
.touch .wpcf7-form select::placeholder {
    color: #aaa;
    opacity: 1;
    font-size: 14px;
}

/* Required field indicator */
.touch .wpcf7-form label .required,
.touch .wpcf7-form abbr[title="required"] {
    color: #dc3545;
    text-decoration: none;
    margin-left: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .touch .wpcf7-form {
        padding: 25px;
    }
    
    .touch .wpcf7-form input[type="text"],
    .touch .wpcf7-form input[type="email"],
    .touch .wpcf7-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .touch .wpcf7-form input[type="submit"],
    .touch .wpcf7-form .wpcf7-submit {
        padding: 14px 25px !important;
        font-size: 15px !important;
        min-height: 50px !important;
    }
}

@media (max-width: 480px) {
    .touch .wpcf7-form {
        padding: 20px;
    }
    
    .touch .wpcf7-form input[type="text"],
    .touch .wpcf7-form input[type="email"],
    .touch .wpcf7-form textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .touch .wpcf7-form input[type="submit"],
    .touch .wpcf7-form .wpcf7-submit {
        padding: 12px 20px !important;
        font-size: 14px !important;
        min-height: 45px !important;
    }
}