:root {
    --dw-blue: #00a0d2;
    --dw-orange: #ffa726;
    --dw-light-gray: #f7f7f7;
    --dw-dark-gray: #333;
    --dw-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="white"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="%230099cc" opacity="0.05"/><path d="M20 70 L70 20 L120 70 L70 120 Z" fill="%23ffa500" opacity="0.05"/><path d="M30 40 L40 30 L50 40 L40 50 Z" fill="%230099cc" opacity="0.03"/><path d="M60 70 L70 60 L80 70 L70 80 Z" fill="%23ffa500" opacity="0.03"/></svg>'),
    linear-gradient(170deg, rgba(0,153,204,0.05) 0%, rgba(255,165,0,0.05) 100%);
    position: relative;
    overflow-x: hidden;
}

.dw-contact-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.dw-contact-heading {
    text-align: center;
    margin-bottom: 40px;
}

.dw-contact-heading h1 {
    font-size: 42px;
    color: var(--dw-dark-gray);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.dw-contact-heading h1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--dw-blue), var(--dw-orange));
}

.dw-contact-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.dw-form-container {
    flex: 1.5;
    background-color: var(--dw-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    border-top: 5px solid var(--dw-blue);
}

.dw-form-container h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--dw-blue);
    position: relative;
    padding-bottom: 12px;
}

.dw-form-container h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--dw-blue), var(--dw-orange));
}

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

.dw-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dw-dark-gray);
}

.dw-form-group input,
.dw-form-group textarea,
.dw-form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.dw-form-group input:focus,
.dw-form-group textarea:focus,
.dw-form-group select:focus {
    outline: none;
    border-color: var(--dw-blue);
    box-shadow: 0 0 0 3px rgba(0, 160, 210, 0.1);
}

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

.dw-submit-btn {
    background: linear-gradient(to right, var(--dw-blue), var(--dw-orange));
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 167, 38, 0.3);
}

.dw-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 160, 210, 0.2);
}

.dw-contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dw-info-card {
    background-color: var(--dw-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dw-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--dw-blue), var(--dw-orange));
    border-radius: 3px 0 0 3px;
}

.dw-info-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 160, 210, 0.05), rgba(255, 167, 38, 0.05));
    z-index: 0;
}

.dw-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dw-info-card.dw-address {
    border-top: 3px solid var(--dw-blue);
}

.dw-info-card.dw-email {
    border-top: 3px solid var(--dw-orange);
}

.dw-info-card.dw-phone {
    border-top: 3px solid var(--dw-blue);
}

.dw-info-card.dw-hours {
    border-top: 3px solid var(--dw-orange);
}

.dw-info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.dw-info-card h3 svg {
    color: var(--dw-blue);
    width: 28px;
    height: 28px;
}

.dw-info-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.dw-info-card a {
    color: var(--dw-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.dw-info-card a:hover {
    color: var(--dw-orange);
}

.dw-map-container {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    height: 400px;
    position: relative;
    border: 5px solid white;
}

.dw-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.dw-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.dw-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dw-blue) 0%, var(--dw-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dw-social-link:hover {
    transform: translateY(-3px) rotate(10deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.dw-social-link svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.dw-shape-decorator {
    position: absolute;
    z-index: 0;
}

.dw-shape-1 {
    top: 100px;
    right: -150px;
    width: 400px;
    height: 400px;
    background-color: rgba(0, 160, 210, 0.05);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: floatAnimation 20s infinite alternate ease-in-out;
}

.dw-shape-2 {
    bottom: 150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 167, 38, 0.05);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: floatAnimation 15s infinite alternate-reverse ease-in-out;
}

.dw-shape-3 {
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 160, 210, 0.03);
    border-radius: 50%;
    animation: pulseAnimation 10s infinite alternate ease-in-out;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(20px, 20px) rotate(5deg);
    }
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0.1;
    }
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .dw-contact-content {
        flex-direction: column;
    }

    .dw-contact-heading h1 {
        font-size: 36px;
    }

    .dw-info-card {
        padding: 25px;
    }

    .dw-map-container {
        height: 350px;
    }

    .dw-shape-1 {
        right: -200px;
    }

    .dw-shape-2 {
        left: -200px;
    }
}

@media screen and (max-width: 768px) {
    .dw-contact-container {
        margin: 30px auto;
    }

    .dw-contact-heading h1 {
        font-size: 32px;
    }

    .dw-form-container {
        padding: 30px;
    }

    .dw-form-group input,
    .dw-form-group textarea,
    .dw-form-group select {
        padding: 14px;
    }

    .dw-submit-btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    .dw-info-card h3 svg {
        width: 24px;
        height: 24px;
    }

    .dw-map-container {
        height: 300px;
        margin-top: 30px;
    }

    .dw-shape-1, .dw-shape-2 {
        opacity: 0.5;
    }
}

@media screen and (max-width: 480px) {
    .dw-contact-heading h1 {
        font-size: 28px;
    }

    .dw-form-container {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .dw-form-container h2 {
        font-size: 24px;
    }

    .dw-form-group {
        margin-bottom: 20px;
    }

    .dw-form-group input,
    .dw-form-group textarea,
    .dw-form-group select {
        padding: 12px;
        font-size: 15px;
        border-radius: 8px;
    }

    .dw-submit-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        border-radius: 8px;
    }

    .dw-info-card {
        padding: 20px;
        border-radius: 12px;
    }

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

    .dw-info-card h3 svg {
        width: 20px;
        height: 20px;
    }

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

    .dw-map-container {
        height: 250px;
        border-radius: 15px;
    }

    .dw-social-link {
        width: 40px;
        height: 40px;
    }

    .dw-social-link svg {
        width: 18px;
        height: 18px;
    }
}