/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background: #fff;
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://img.freepik.com/free-photo/businessman-using-digital-tablet-modern-office-with-email-icon-pop-up_53876-125133.jpg');
    background-size: cover;
    background-position: right center;
    padding: 100px 30px;
    color: #fff;
    text-align: left;
    border-radius: 0 0 50px 50px;
    animation: fadeInBanner 1.2s ease-in;
}

@keyframes fadeInBanner {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.85;
    letter-spacing: 1px;
    animation: typing 2s steps(20, end), blink 0.5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #fff;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 600px;
    animation: fadeInText 2s ease-in;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 30px;
    justify-content: space-between;
    animation: fadeUp 1.2s ease-in-out;
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 30px;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-details,
.contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: zoomIn 0.8s ease-in-out;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-details h2,
.contact-form h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 4px solid #f7931e;
    padding-left: 10px;
    color: #222;
}

.contact-details p {
    font-size: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInDetail 1s ease-in forwards;
    animation-delay: calc(var(--i, 1) * 0.2s);
}

@keyframes fadeInDetail {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.contact-details p:nth-child(2) {
    --i: 1;
}

.contact-details p:nth-child(3) {
    --i: 2;
}

.contact-details p:nth-child(4) {
    --i: 3;
}

.contact-details p:nth-child(5) {
    --i: 4;
}

.contact-details .highlight {
    color: #f7931e;
    font-weight: 600;
}

.contact-details i {
    margin-right: 12px;
    color: #f7931e;
    font-size: 18px;
    margin-top: 4px;
}

.sub {
    color: #999;
    font-size: 14px;
    margin-top: -8px;
    margin-bottom: 12px;
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f7931e;
    outline: none;
    box-shadow: 0 0 8px rgba(247, 147, 30, 0.3);
}

.contact-form button {
    background-color: #f7931e;
    color: white;
    padding: 14px;
    border: none;
    font-size: 16px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.contact-form button:hover {
    background-color: #dd6d00;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        text-align: center;
        padding: 60px 20px;
        background-position: center;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .contact-section {
        flex-direction: column;
        padding: 40px 20px;
    }
}