/* ==============================
COMPLETE RESPONSIVE CSS - 1024px and below
============================== */

@media (max-width: 1024px) {
    /* General adjustments */
    body {
        font-size: 15px !important;
        line-height: 1.6;
    }

    html {
        scroll-behavior: smooth;
    }

    /* ===== NAVBAR TABLET - EXACT COPY FROM MAIN_1024px.css ===== */
    .navbar {
        padding: 0.7rem 0 !important;
    background: rgba(0, 2, 19, 0.604);
        backdrop-filter: blur(22px) !important;
        border-bottom: 0.5px solid #3498db;
    }

    .nav-container {
        max-width: 100% !important;
        padding: 0 1.5rem !important;
        gap: 0.6rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .logo-profile-container {
        gap: 0.8rem !important;
        cursor: pointer;
        z-index: 1001;
    }

    .logo-profile-img {
        width: 42px !important;
        height: 42px !important;
        border-width: 2px !important;
        transition: transform 0.3s;
    }

    .logo-profile-img:hover {
        border-color: #5dade2;
        box-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
        transform: scale(1.05);
    }

    .profile-name {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #E6ECF5;
    }

    .profile-name:hover {
        color: #3498db;
    }

    .nav-links {
        display: flex;
        gap: 0.8rem !important;
        align-items: center;
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
        border-radius: 7px !important;
        color: #B9C6D5;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
        border: 1px solid transparent;
    }

    .nav-link:hover {
        color: #3498db;
        background: rgba(52, 152, 219, 0.1);
        border-color: rgba(52, 152, 219, 0.3);
        transform: translateY(-1px);
    }

    /* ===== PROFILE CARD TABLET - EXACT COPY FROM MAIN_1024px.css ===== */
    .profile-card {
        position: absolute;
        top: 50px;
        left: 50%;
        width: 320px;
        background: rgba(11, 18, 32, 0.95);
        color: #E6ECF5;
        border-radius: 12px;
        border: 1px solid rgba(52, 152, 219, 0.3);
        box-shadow: 0 15px 35px rgba(0,0,0,.3);
        padding: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transition: all .25s;
        pointer-events: none;
        z-index: 9999;
        transform: translateX(-50%) translateY(-10px);
        backdrop-filter: blur(10px);
        max-width: calc(100vw - 2rem) !important;
    }

    .logo-profile-container:hover .profile-card {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
        pointer-events: auto !important;
    }

    .profile-card-header {
        display: flex !important;
        align-items: center !important;
        gap: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        padding-bottom: 0.8rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .profile-card-img {
        width: 48px !important;
        height: 48px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        border: 2px solid #3498db !important;
    }

    .profile-card-info {
        text-align: left !important;
    }

    .profile-card-info h3 {
        margin: 0 !important;
        font-size: 15px !important;
        color: #E6ECF5 !important;
    }

    .job-title {
        color: #3498db !important;
        font-size: 12px !important;
        margin: 0 !important;
    }

    .profile-card-details {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .profile-detail {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.2rem 0 !important;
    }

    .detail-label {
        font-weight: 600;
        color: #4da3ff;
        font-size: 0.85rem;
        min-width: 70px;
        text-align: left;
    }

    .detail-value {
        color: #E6ECF5;
        font-size: 0.85rem;
        text-align: right;
        flex: 1;
        margin-left: 1rem;
    }

    .detail-value-avl {
        color: #27ae60 !important;
        font-size: 0.85rem;
        text-align: right;
        flex: 1;
        margin-left: 1rem;
    }

    /* CONTACT SPECIFIC STYLES */
    .contact-hero {
        margin-top: 75px !important;
        height: 91.7vh !important;
        padding-bottom: 2rem !important;
    }

    .contact-hero-title {
        font-size: clamp(2.8rem, 5vw, 3.8rem) !important;
        margin-bottom: 1.8rem !important;
    }

    .contact-hero-description {
        font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
        padding: 0 2rem !important;
    }

    .contact-section {
        padding: 1rem 2rem 2rem!important;
    }

    .contact-form {
        padding: 2rem !important;
        border-radius: 15px !important;
    }

    .contact-form h3 {
        font-size: 1.6rem !important;
        margin-bottom: 1.8rem !important;
    }

    .form-group {
        margin-bottom: 1.4rem !important;
    }

    .form-group label {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem !important;
        font-size: 1rem !important;
        border-radius: 7px !important;
    }

    .submit-btn {
        padding: 0.95rem 1.9rem !important;
        font-size: 1rem !important;
        border-radius: 7px !important;
    }

    .contact-social {
        flex-direction: row !important;
        gap: 1.3rem !important;
        margin: 2rem 0 !important;
        justify-content: center !important;
    }

    .contact-btn {
        padding: 0.8rem 1.2rem !important;
        font-size: 1rem !important;
        min-width: 115px !important;
    }
    
}
