/* ===== CONTACT US PAGE - SUPER PROFESSIONAL DESIGN ===== */

/* Contact Page */
.contact-page {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.1), transparent);
    border-radius: 50%;
    z-index: 0;
}

.contact-page::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 159, 67, 0.1), transparent);
    border-radius: 50%;
    z-index: 0;
}

.contact-page .container {
    position: relative;
    z-index: 1;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff9f43, #27ae60);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.1), transparent);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.contact-info-card:hover::after {
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
}

.contact-info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #27ae60;
}

.contact-icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff9f43, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.contact-icon-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px dashed #ff9f43;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.contact-info-card:hover .contact-icon-box {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.contact-icon-box i {
    font-size: 40px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.contact-info-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    word-break: break-all;
    overflow-wrap: break-word;
}

.contact-info-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Main Contact Grid */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Map Section */
.contact-map-section {
    position: relative;
}

.map-container {
    width: 100%;
    height: 550px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    border: 5px solid var(--white);
    transition: all 0.4s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.company-info-box {
    background: var(--white);
    padding: 30px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #27ae60;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.company-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.1), transparent);
    border-radius: 50%;
}

.company-info-box:hover {
    transform: translateX(5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.company-info-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.company-info-box p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.rating-number {
    font-size: 24px;
    font-weight: 800;
    color: #27ae60;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 8px 16px;
    border-radius: 12px;
}

.stars {
    display: flex;
    gap: 4px;
}

.stars i {
    color: #ffc107;
    font-size: 16px;
    animation: starPulse 2s ease-in-out infinite;
}

.stars i:nth-child(1) { animation-delay: 0s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.4s; }
.stars i:nth-child(4) { animation-delay: 0.6s; }
.stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Contact Form Section */
.contact-form-section {
    background: var(--white);
    padding: 55px 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.4s ease;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.08), transparent);
    border-radius: 50%;
}

.contact-form-section:hover {
    border-color: #27ae60;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.form-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    border: 2px solid #27ae60;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    }
}

.form-header-badge i {
    font-size: 18px;
    color: #27ae60;
    animation: planeFly 2s ease-in-out infinite;
}

@keyframes planeFly {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(5px) rotate(-10deg);
    }
}

.form-header-badge span {
    font-size: 14px;
    font-weight: 700;
    color: #27ae60;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-section h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    line-height: 1.3;
    background: linear-gradient(135deg, #1a1a2e 0%, #27ae60 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-section h2::before {
    content: '✨';
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.2);
    }
}

.contact-form-section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, #ff9f43, #27ae60, #ff9f43);
    background-size: 200% 100%;
    border-radius: 10px;
    margin-top: 18px;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    padding-left: 25px;
    border-left: 4px solid #27ae60;
    font-style: italic;
}

/* Contact Form */
.contact-form {
    width: 100%;
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.form-group.focused label {
    color: #27ae60;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 22px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #27ae60;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.15);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* Input Icons */
.form-group.has-icon {
    position: relative;
}

.form-group.has-icon input {
    padding-left: 50px;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #27ae60;
    font-size: 18px;
    pointer-events: none;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 20px 45px;
    background: linear-gradient(135deg, #27ae60, #229954);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.4);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.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: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(39, 174, 96, 0.5);
    background: linear-gradient(135deg, #229954, #1e8449);
}

.btn-submit i {
    font-size: 16px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-submit:hover i {
    transform: translateX(8px);
}

.btn-submit span {
    position: relative;
    z-index: 2;
}

/* Success Message */
.success-message {
    display: none;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 25px;
    border-radius: 15px;
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
    border: 3px solid #28a745;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.success-message i {
    font-size: 24px;
    margin-right: 10px;
}

.success-message.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .map-container {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 100px 0 80px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 60px;
    }
    
    .contact-form-section {
        padding: 40px 30px;
    }
    
    .contact-form-section h2 {
        font-size: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        padding: 35px 25px;
    }
    
    .contact-icon-box {
        width: 75px;
        height: 75px;
    }
    
    .contact-icon-box i {
        font-size: 35px;
    }
    
    .contact-form-section h2 {
        font-size: 26px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 18px 35px;
        font-size: 16px;
    }
}

/* Page Load Animation */
.contact-page {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}


/* ===== CONTACT PAGE MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {
    /* Contact Info Cards */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-card {
        padding: 25px 20px;
    }

    .contact-info-card h3 {
        font-size: 18px;
    }

    .contact-info-card p {
        font-size: 14px;
    }

    /* Contact Main Grid */
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Map Section */
    .map-container {
        height: 300px;
    }

    .company-info-box {
        padding: 20px;
    }

    .company-info-box h4 {
        font-size: 16px;
    }

    /* Contact Form */
    .contact-form-section {
        padding: 30px 20px;
    }

    .contact-form h3 {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 15px;
        padding: 12px 15px;
    }

    .submit-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 30px 0;
    }

    .contact-info-card {
        padding: 20px 15px;
    }

    .contact-icon-box {
        width: 60px;
        height: 60px;
    }

    .contact-icon-box i {
        font-size: 24px;
    }

    .contact-info-card h3 {
        font-size: 16px;
        word-break: break-all;
    }

    .map-container {
        height: 250px;
    }

    .company-info-box {
        padding: 15px;
    }

    .contact-form-section {
        padding: 25px 15px;
    }

    .contact-form h3 {
        font-size: 20px;
    }
}
