/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

/* =========================
    RESET & BASE STYLES
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #4a2c6d 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* =========================
    NAVBAR STYLES
   ========================= */
.navbar {
    background: rgba(26, 11, 46, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-scrolled {
    background: rgba(26, 11, 46, 0.95);
    padding: 0.5rem 0;
}

.logo {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.8rem 1.5rem !important;
    margin: 0 0.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #b857d4 0%, #8b4db8 100%);
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(184, 87, 212, 0.4);
}

/* =========================
    CONTACT SECTION
   ========================= */
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 11, 46, 0.85) 0%, rgba(45, 27, 78, 0.75) 50%, rgba(74, 44, 109, 0.65) 100%);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Contact Card (Left Side) */
.contact-card {
    background: linear-gradient(135deg, rgba(184, 87, 212, 0.9) 0%, rgba(139, 77, 184, 0.9) 100%);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* Contact Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.contact-item i {
    font-size: 1.8rem;
    width: 40px;
    text-align: center;
}

.contact-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Form Card (Right Side) */
.form-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 1s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a0b2e;
    margin-bottom: 2rem;
}

/* Form Styles */
.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #2d1b4e;
    margin-bottom: 0.5rem;
}

.custom-input,
.custom-textarea {
    border: 2px solid rgba(184, 87, 212, 0.3);
    border-radius: 50px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    color: #2d1b4e;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.custom-textarea {
    border-radius: 25px;
    resize: vertical;
}

.custom-input:focus,
.custom-textarea:focus {
    border-color: #b857d4;
    box-shadow: 0 0 0 0.2rem rgba(184, 87, 212, 0.25);
    background: #ffffff;
    outline: none;
}

.custom-input::placeholder,
.custom-textarea::placeholder {
    color: rgba(45, 27, 78, 0.5);
}

/* Send Button */
.btn-send {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 100%);
    color: #ffffff;
    border: none;
    padding: 0.9rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(26, 11, 46, 0.3);
}

.btn-send:hover {
    background: linear-gradient(135deg, #b857d4 0%, #8b4db8 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 87, 212, 0.5);
}

.btn-send:active {
    transform: translateY(-1px);
}

/* Alert Styles */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.alert-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

/* =========================
   FLOATING PARTICLES
   ========================= */
.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(184, 87, 212, 0.6);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(184, 87, 212, 0.8);
    z-index: 1;
}

.particle-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.particle-2 {
    top: 70%;
    left: 90%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
}

.particle-3 {
    top: 40%;
    left: 95%;
    width: 8px;
    height: 8px;
    animation-delay: 4s;
}

.particle-4 {
    top: 85%;
    left: 10%;
    animation-delay: 3s;
}

/* =========================
   FOOTER SECTION
   ========================= */
.footer {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(26, 11, 46, 0.95);
    color: #ffffff;
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.footer .container {
    position: relative;
    z-index: 1001;
}

.copyright {
    font-size: 1rem;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-30px) translateX(5px);
    }
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 991px) {
    .navbar-nav {
        background: rgba(26, 11, 46, 0.95);
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.3rem 0;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .contact-card {
        margin-bottom: 2rem;
    }
    
    .contact-section {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding-top: 100px;
        background-attachment: scroll;
        background-position: center right;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .contact-item {
        padding: 0.8rem 1.2rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        width: 35px;
    }
    
    .contact-item span {
        font-size: 1rem;
    }
    
    .btn-send {
        width: 100%;
        padding: 0.9rem 2rem;
    }
    
    .footer {
        padding: 1rem 0.5rem;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .contact-card,
    .form-card {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .custom-input,
    .custom-textarea {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .contact-section {
        background-size: cover;
        background-position: center;
    }
}