/* Ensure your main style.css for the menu is linked first */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
  background: black url('/images/2.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
}

/* --- Navigation Bar (Re-use your existing .main-nav styles from style.css) --- */
.main-nav {
    background-color: #fffdfd;
    box-shadow: none; /* Remove shadow if preferred on dark background */
    
    
}

.main-nav .nav-links li a {
    color: #0a0a0a; /* White links for the dark menu */
    
}

.main-nav .nav-links li a:hover,
.main-nav .nav-links li a.active { /* Style for the active 'Contacts' link */
    color: #e60000; /* Red color for active/hover state, matching the image */
    
}

/* --- Main Content Section --- */
.contact-page-content {
   .contact-page-content {
    min-height: 100vh;
    position: relative;
    /* background: black url('/images/2.png') no-repeat center center; */
    background-size: cover;
}

}

.contact-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 40px; /* Space between the image and info sections */
    max-width: 1200px;
    width: 100%;
    z-index: 10; /* Ensure content is above background elements */
    position: relative; /* For proper z-indexing */
     background: black url('/images/2.png') no-repeat center center;
}

/* --- Background Elements --- */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Hide anything spilling out */
    z-index: 1; /* Place behind the main content */
    
}

.red-blob-left {
    position: absolute;
    bottom: -150px; /* Adjust to move it up/down */
    left: -100px; /* Adjust to move it left/right */
    width: 600px; /* Size of the red blob */
    height: 400px;
    /* background-color: #e60000; Red color */
    border-radius: 50% 50% 0 50%; /* Creates a organic blob shape */
    transform: rotate(20deg); /* Tilt it */
    filter: blur(80px); /* Soften the edges */
    opacity: 0.7; /* Make it slightly transparent */
    z-index: 2; /* Ensure it's behind content but above overall background */
    
}

/* REMOVED: .wavy-pattern-bottom styles */


/* --- Image Section --- */
.image-section {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align image to the bottom of its container */
    padding-bottom: 50px; /* Space for the monitor stand */
}

.image-section img {
    max-width: 100%;
    height: 300px;
    display: block;
    border-radius: 10px; /* Slightly rounded corners for the image */
    box-shadow: 0 10px 20px rgb(7, 7, 7); /* Shadow for the image */
    position: relative;
    z-index: 10; /* Ensure image is above monitor frame */
}

.monitor-frame {
    position: absolute;
    width: 90%; /* Width relative to image section */
    max-width: 600px; /* Max width for the monitor base */
    height: 80px; /* Height of the base */
    background-color: #333; 
    border-radius: 0 0 20px 20px; /* Rounded bottom corners */
    bottom: 0; /* Aligns to the bottom of .image-section */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5; /* Behind the image, but above background elements */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
     

    /* Stand for the monitor */
    &::before {
        content: '';
        position: absolute;
        width: 10px;
        height: 50px; /* Height of the stand */
        background-color: #f3f1f1;
        top: -50px; /* Position it above the base */
        left: 50%;
        transform: translateX(-50%);
        border-radius: 5px 5px 0 0;
   
    }
}


/* --- Info Section --- */
.info-section {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: flex-start; /* Align text to the left */
   
}

.contact-heading {
    font-size: 2.5em; /* Large font size for "CONTACT US" */
    color: #fffdfd;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px; /* Space for the underline */
     
}

.contact-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px; /* Length of the red underline */
    height: 4px;
    background-color: #e60000;
}

.contact-details {
    margin-top: 30px;
    width: 100%;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.detail-item .icon {
    color: #e60000;
    font-size: 1.5em;
    margin-right: 15px;
    width: 30px; /* Fixed width for icon to align text */
    text-align: center;
}

.detail-item span {
    color: #fffbfb; /* Slightly off-white for text */
}

.highlight {
    color: #e60000;
    font-weight: bold;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack sections vertically on smaller screens */
        align-items: center; /* Center items when stacked */
        text-align: center;
    }

    .info-section {
        align-items: center; /* Center text on smaller screens */
    }

    .contact-heading::after {
        left: 50%;
        transform: translateX(-50%); /* Center the underline */
    }

    .red-blob-left {
        width: 400px;
        height: 300px;
        bottom: -100px;
        left: -50px;
    }

    /* REMOVED: .wavy-pattern-bottom responsive styles */
}

@media (max-width: 480px) {
    .contact-heading {
        font-size: 2em;
    }

    .detail-item {
        font-size: 1em;
    }
}