/* Scoped Styles for Contact Page */
.contact-main-section {
    background-color: #0a0a0a;
    width: 100%;
}

.banner,
.main-content {
    font-family: 'Mukta', sans-serif;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    padding: 100px 5%;
    align-items: start;
}

.contact-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

/* Redirection Link Styling */
.banner {
    position: relative;
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://wallpaperaccess.com/full/3255381.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner h1 {
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 1;
}

.section-subtitle {
    color: #cc0000;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 25px;
    color: #fff;
    line-height: 1.1;
}

.section-desc {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 50px;
    font-size: 17px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(12px);
    border-color: rgba(204, 0, 0, 0.3);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #cc0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-item:hover .icon-circle {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 30px rgba(204, 0, 0, 0.4);
}

.info h3 {
    font-size: 20px;
    margin: 0 0 5px 0;
    color: #fff;
    transition: color 0.3s;
}

.contact-item:hover h3 {
    color: #cc0000;
}

.info p {
    margin: 0;
    color: #aaa;
    font-size: 16px;
}

/* Social Media Icons */
.social-media-section {
    margin-top: 60px;
}

.social-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
}

.social-icons-large {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(204, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #cc0000;
    font-size: 20px;
    transition: all 0.4s ease;
}

.social-link:hover {
    background-color: #cc0000;
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.3);
}

/* Right Section - Form */
.right-section {
    background-color: #121212;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 15px;
    color: #eee;
    font-size: 15px;
    font-weight: 600;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox-group label {
    font-size: 14px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 400;
    transition: color 0.3s;
}

.checkbox-group label:hover {
    color: #fff;
}

.checkbox-group input[type="checkbox"] {
    accent-color: #cc0000;
    width: 16px;
    height: 16px;
}

/* Star Marks for Specific Services - Robust Fix */
.star-group label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer;
    margin-bottom: 12px !important;
    color: #aaa;
    position: relative;
    padding-left: 0 !important;
    line-height: normal !important;
}

.star-group label input[type="checkbox"] {
    display: block !important;
    -webkit-appearance: checkbox !important;
    /* Force standard checkbox look on iOS */
    appearance: checkbox !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #cc0000;
}

.star-icon {
    font-size: 16px;
    color: #555;
    /* Solid grey for better visibility */
    transition: all 0.3s ease;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    display: inline-block !important;
}

.invisible-star {
    visibility: hidden;
    display: inline-block !important;
}

.star-group label:hover .star-icon {
    color: #cc0000;
}

.star-group label input[type="checkbox"]:checked+.star-icon {
    color: #cc0000 !important;
    text-shadow: 0 0 10px rgba(204, 0, 0, 0.4);
}

/* Fallback for mobile devices that might struggle with :has() or specific checked selectors */
.star-group label input:checked~span,
.star-group label:has(input:checked) {
    color: #fff !important;
}

/* Specific fix for smaller mobile screens like iPhone SE */
@media (max-width: 480px) {
    .star-group label {
        gap: 8px !important;
        font-size: 13px !important;
    }

    .star-icon {
        font-size: 14px;
        width: 16px;
    }
}

.text-input {
    width: 100%;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.text-input:focus {
    outline: none;
    border-color: #cc0000;
    background-color: #222;
}

textarea.text-input {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #cc0000;
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.4s;
    justify-self: end;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #ff0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.3);
}

/* Responsive Design Refinements */
@media (max-width: 1100px) {
    .main-content {
        gap: 50px;
        padding: 80px 4%;
    }
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        padding: 60px 4%;
        gap: 60px;
    }

    .banner h1 {
        font-size: 48px;
    }

    .right-section {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 250px;
    }

    .banner h1 {
        font-size: 38px;
    }

    .section-title {
        font-size: 34px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .right-section {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .submit-btn {
        width: 100%;
        justify-self: center;
    }

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

@media (max-width: 480px) {
    .banner h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-item {
        padding: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Map Section */
.map-section {
    background-color: #0a0a0a;
    padding: 0 0 80px 0;
}

.map-container {
    width: 100%;
    height: 450px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}