/* =========================================
   CONTACT PAGE - COMBINED CSS
   Includes styles from style.css and responsive.css
   ========================================= */

/* =========================================
   CONTACT SECTION - BASE STYLES (from style.css)
   ========================================= */

.section-contact {
    background: url(../site-images/contact.png) no-repeat center center/cover;
}

/* contact section start */

.contact-details {
    border: 3px solid #007e9b;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details2 {
    background-color: white;
    border: 3px solid #007e9b;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.c-head h3 {
    font-weight: 700;
    padding-top: 32px;
    padding-bottom: 0px !important;
    text-align: center;
    font-size: 30px;
}

.c-head h3 span {
    color: green;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    position: relative;
    display: inline-block;
}

.section-title h1::before {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 2px;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(10px);
    opacity: 0.5;
}

.contact-section {
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.contact-section::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 28px;
    z-index: 1;
}

.row {
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    animation: lineGrow 2s ease forwards;
}

@keyframes lineGrow {
    to {
        width: 100%;
    }
}

.contact-info p {
    color: rgba(0, 0, 0, 0.554);
    margin-bottom: 40px;
    font-size: 1.1rem;
    padding-right: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
    position: relative;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transition: height 0.4s;
}

.contact-item:hover::after {
    height: 70%;
}

.icon-wrapper {
    position: relative;
    padding: 20px;
    /* width: 60px;
    height: 60px; */
    margin-right: 25px;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0020b3, #720cdb);
    opacity: 0.2;
    transition: all 0.4s;
}

.contact-item:hover .icon-wrapper::before {
    transform: scale(1.2);
    opacity: 0.4;
}

.icon-wrapper i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #667eea;
    transition: all 0.4s;
}

.contact-item:hover .icon-wrapper i {
    color: #fff;
    transform: translate(-50%, -50%) rotate(360deg) scale(1.2);
}

.contact-item-content h5 {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-content p {
    margin: 8px 0 0 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #000000;
}

.social-icons {
    margin-top: 50px;
    display: flex;
    gap: 20px;
}

.social-icons a {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    transition: all 0.4s;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0.2;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover::before {
    transform: scale(1);
    opacity: 1;
}

.social-icons a::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    animation: pulse 2s ease infinite;
}

.social-icons a:hover::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.social-icons a i {
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.social-icons a:hover i {
    color: #fff;
    transform: scale(1.2) rotateY(360deg);
}

.contact-form {
    padding: 60px 40px;
    position: relative;
}

.contact-form h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control,
.form-select {
    background: #00000012;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    color: #000000b7;
    transition: all 0.4s;
    position: relative;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.form-group::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.4s;
    border-radius: 2px;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
    outline: none;
}

.form-control:focus~.form-group::before,
.form-group:focus-within::before {
    width: 100%;
}

textarea.form-control {
    resize: none;
    min-height: 77px;
}

.btn-submit {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 400px;
    height: 400px;
}

.btn-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-submit:hover::after {
    opacity: 1;
}

.btn-submit span {
    position: relative;
    z-index: 1;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* =========================================
   CONTACT RESPONSIVE STYLES
   ========================================= */

/* Medium devices (tablets, 992px and up) */
@media (max-width: 992px) {
    .section-title h1 {
        font-size: 2.5rem;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 2rem;
    }

    /* Contact Section */
    .contact-form {
        padding: 20px;
    }
}

/* Small devices (landscape phones, 768px and up) */
@media (max-width: 768px) {
    /* Contact Section */
    .contact {
        padding: 30px 0;
    }

    .contact h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
        text-align: center;
    }

    .contact-form {
        padding: 15px;
    }

    .contact .form-control {
        font-size: 0.9rem;
        padding: 12px;
    }

    .contact textarea {
        min-height: 120px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 480px) {
    .section-title h1 {
        font-size: 2rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 10px;
    }

    .contact .form-control {
        font-size: 0.85rem;
        padding: 10px;
    }

    .contact textarea {
        min-height: 100px;
    }
}
