* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #f0f0f0;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.w3-bar {
    padding: 12px 5%;
}

.w3-bar-item {
    margin: 0 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.w3-bar-item:hover {
    background: #e94560 !important;
    transform: translateY(-2px);
}

/* Hero Section */
.contact-hero {
    height: 50vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') 
                no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
}

.contact-hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ff6b6b, #ffa502, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% 300%;
    animation: gradient 8s ease infinite;
}

.contact-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 50px 5%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #1a1a2e, #e94560, #1a1a2e);
    border-radius: 2px;
}

.info-card {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #e94560;
    margin-right: 30px;
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffa502;
}

.info-item {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.info-item i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #ffa502;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #e94560;
    transform: translateY(-5px);
}

.form-container {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffa502;
}

.form-control {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.5);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #e94560;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
}

.submit-btn:hover {
    background: #ff6b6b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* Footer */
footer {
    background: rgba(10, 10, 20, 0.95);
    padding: 50px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.social-icons {
    margin: 30px 0;
}

.social-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
}

.social-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #fff;
}

.social-icon:hover {
    background: #e94560;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .w3-bar-item {
        padding: 10px 15px;
        margin: 5px;
    }
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    .contact-hero p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    .profile-img {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        height: 40vh;
    }
}