@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500&family=Outfit:wght@300;400;500;600&family=Sacramento&display=swap');

#contact-header{
    background-image: url('../assets/images/banner.png');
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 14px;
}

#contact-header h2,
#contact-header p{
    color: #fff;
}

#contact-details{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contact-details .details{
    width: 40%;
}

#contact-details .details span,
#form-details form span{
    font-size: 12px;
}

#contact-details .details h2,
#form-details form h2{
    font-size: 26px;
    line-height: 35px;
    padding: 20px 0;
}

#contact-details .details h3{
    font-size: 16px;
    padding-bottom: 15px;
}

#contact-details .details li{
    list-style: none;
    display: flex;
    padding: 10px 0;
}

#contact-details .details li i{
    font-size: 14px;
    padding-right: 22px;
}

#contact-details .details li p{
    margin: 0;
    font-size: 14px;
}

#contact-details .map{
    width: 55%;
    height: 400px;
}

#contact-details .map iframe{
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

#form-details{
    display: flex;
    justify-content: center;
    margin: 30px;
    padding: 80px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
}

#form-details form{
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form-details form input,
#form-details form textarea{
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
}

#form-details form button{
    background-color: #088178;
    color: #fff;
}

@media (max-width: 1024px){

    #contact-details{
        flex-direction: column;
    }

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

    #contact-details .map{
        width: 100%;
    }

    #form-details{
        margin: 10px;
        padding: 30px 10px;
    }

    #form-details form{
        width: 100%;
    }

}

/* ── DARK MODE ── */
body.dark-theme #contact-header h2,
body.dark-theme #contact-header p {
    color: #ffffff !important;
}

body.dark-theme #contact-details .details h2,
body.dark-theme #contact-details .details h3,
body.dark-theme #contact-details .details span {
    color: #f0f0f0 !important;
}

body.dark-theme #contact-details .details li p,
body.dark-theme #contact-details .details li i {
    color: #c0c0c0 !important;
}

body.dark-theme #form-details {
    border-color: #3a3a3a;
    background-color: #1e1e1e;
}

/* Changed this block to only affect span tags */
body.dark-theme #form-details form span {
    color: #f0f0f0 !important;
}

body.dark-theme #form-details form input,
body.dark-theme #form-details form textarea {
    background-color: #2a2a2a !important;
    border-color: #3a3a3a !important;
    color: #f0f0f0 !important;
}

body.dark-theme #form-details form input::placeholder,
body.dark-theme #form-details form textarea::placeholder {
    color: #888888 !important;
}
/* Missing dark mode fixes */
body.dark-theme #contact-details {
    background-color: #121212;
}

body.dark-theme #form-details form button {
    background-color: #088178;
    color: #ffffff;
}

/* Light mode explicit */
body.light-theme #form-details {
    border: 1px solid #e1e1e1;
    background-color: #ffffff;
}

body.light-theme #form-details form input,
body.light-theme #form-details form textarea {
    background-color: #ffffff;
    border-color: #e1e1e1;
    color: #222;
}

/* Layout container to split left and right sides - Widened to 100% width space */
#form-details {
    padding: 60px 40px; 
    width: 100%;
    box-sizing: border-box;
}

/* ========================================================
   FEEDBACK CARD BALANCED & SPACED OUT OVERRIDE
======================================================== */

.feedback-container, 
section.feedback-container,
div[class*="feedback"] {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important; 
    align-items: flex-start !important;
    
    max-width: 1050px !important;       
    width: 94% !important;             
    margin: 50px auto !important;      
    
    background: linear-gradient(145deg, #fbfbfd, #eeeef2) !important;
    background-color: #fbfbfd !important;
    border: 1px solid #dcd0f0 !important; /* Soft purple border to catch the light */
    border-radius: 20px !important;     
    
    /* VIBRANT PURPLE GLOW: Clean outer depth mixed with a radiant purple bloom aura */
    box-shadow: 0 15px 35px rgba(8, 129, 120, 0.08),
            0 0 25px rgba(8, 129, 120, 0.45),
            0 0 50px rgba(8, 129, 120, 0.2) !important;
    
    padding: 50px 60px !important; 
    box-sizing: border-box !important;
}
/* LEFT SIDE: Feedback Form Box */
.form-left {
    flex: 0 1 420px !important;        
    width: 100% !important;
}

/* RIGHT SIDE: Ratings Panel Box */
.ratings-right {
    flex: 0 1 440px !important;        
    width: 100% !important;
}

/* Responsive breakdown for mobile views */
@media (max-width: 820px) {
    .feedback-container, 
    section.feedback-container,
    div[class*="feedback"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 45px !important;
        padding: 35px 25px !important;
        
        /* Retain the premium grey metallic gradient on mobile stacks */
        background: linear-gradient(145deg, #fbfbfd, #eeeef2) !important;
        background-color: #fbfbfd !important;
        border-color: #e2e2e7 !important;
    }
    
    .form-left, .ratings-right {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

/* ========================================================
   HEADINGS: Locked Black for Both Themes (Outfit Font)
======================================================== */

/* Left Side Heading: "Got feedback? We're all ears." */
.form-left h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;   
    font-weight: 500 !important;  
    color: #000000 !important;          /* Solid Black */
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    -webkit-text-stroke: 0px transparent !important;
    margin-top: 2px !important;
    padding: 4px 0 20px 0 !important;
}

/* Right Side Heading: "Rate your vibe with us!" */
.ratings-heading,
.ratings-right h2 {
    font-family: 'Outfit', sans-serif !important; 
    font-weight: 500 !important;       
    font-size: 24px !important;        
    color: #000000 !important;          /* Solid Black */
    letter-spacing: 0.3px !important;  
    text-transform: none !important;
    -webkit-text-stroke: 0px transparent !important;
    margin-bottom: 25px !important;
    display: block !important;
}

/* This highly detailed path completely cuts through and forces black color on dark mode frames */
body.dark-theme #form-details form h2.form-left-heading,
body.dark-theme .form-left h2,
body.dark-theme .ratings-heading,
body.dark-theme .ratings-right h2 {
    color: #000000 !important;
}

/* Matching clean subtitle labels */
.form-left span, .ratings-right .rating-title {
    font-family: "Century Gothic", "Avant Garde", Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #a0a0a0; 
    letter-spacing: 3px; 
}

.form-left input, .form-left textarea {
    width: 100%;
    padding: 14px 18px;
    outline: none;
    margin-bottom: 24px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-size: 15px;
    background-color: #fcfcfc;
}

/* RIGHT SIDE: Keeps its original size but glides over to fill the right side */
.ratings-right {
    flex: 0 1 380px !important;    
    width: 100% !important;
    margin-left: auto;             
}
.rating-metrics {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.metric-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 0 !important;
    gap: 14px !important; 
}

/* Metric labels text aligned directly above stars */
.metric-question,
.metric-row span {
    margin-left: 45px !important;   
    display: inline-block !important;
    font-family: 'Outfit', sans-serif !important; 
    font-weight: 500 !important;      
    font-size: 15px !important;       
    color: #2d3748 !important;        
    letter-spacing: 0.3px !important; 
}

.metric-controls {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important; 
    width: 100% !important;
}

/* Space for logo icons */
.metric-controls i.fal,
.metric-controls i[class*="fa-"] {
    font-size: 20px !important;    
    width: 32px !important;        
    text-align: left !important;
    display: inline-block !important;
}

/* Star layout alignment */
.stars {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 13px;
}

.stars i {
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
    display: inline-block;
}

.stars i:hover {
    transform: scale(1.15);
}

/* Button Styling matches clean E-commerce specs */
.form-left button.normal {
    background-color: #088178;
    color: #fff;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    width: fit-content;
    transition: background-color 0.2s ease;
}

.form-left button.normal:hover {
    background-color: #06655e;
}

/* Smooth adjustments for mobile tablets */
@media (max-width: 991px) {
    .feedback-container {
        flex-direction: column;
        gap: 50px;
        padding: 30px;
    }
    .form-left, .ratings-right {
        width: 100%;
    }
}


/* LIGHT MODE Inputs & Textareas */
.form-left input,
.form-left textarea,
.form-left .form-control,
.form-left .input-field {
    background: #f0fcfb !important;
    /* Very light teal background */
    background-color: #f0fcfb !important;
    border: 1px solid #b2dfdb !important;
    /* Soft teal border */
    color: #222222 !important;
}

.form-left input:focus,
.form-left textarea:focus {
    background: #e0f2f1 !important;
    /* Slightly darker teal on focus */
    background-color: #e0f2f1 !important;
    border-color: #80cbc4 !important;
    /* Darker teal border on focus */
}

/* Update the Submit Feedback Button to match Teal theme */
.form-left button,
.form-left input[type="submit"],
.form-left .btn,
#submit-feedback,
.form-left button[type="submit"] {
    background-color: #088178 !important;
    /* Updated to website's primary teal */
    color: #ffffff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.form-left button:hover,
.form-left input[type="submit"]:hover,
.form-left .btn:hover,
.form-left button[type="submit"]:hover {
    background-color: #06655e !important;
    /* Darker teal on hover */
    transform: translateY(-1px) !important;
}

body.dark-theme .form-left input,
body.dark-theme .form-left textarea {
    background: #1a2e2c !important;
    /* Very dark teal background */
    background-color: #1a2e2c !important;
    border-color: #2f5d58 !important;
    /* Dark teal border */
    color: #f0f0f0 !important;
}

body.dark-theme .form-left input::placeholder,
body.dark-theme .form-left textarea::placeholder {
    color: #8aa8a5 !important;
}

body.dark-theme .form-left input:focus,
body.dark-theme .form-left textarea:focus {
    background: #24403d !important;
    /* Slightly lighter dark teal on focus */
    border-color: #429188 !important;
}
/* ========================================================
   LIGHT THEME STYLES (Default / Standard Page View)
======================================================== */

/* Empty / Standard state for stars only */
/* Empty stars — light theme */
.stars i {
    color: #cccccc;
    transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

/* Filled stars — light theme: golden orange */
.stars i.fas {
    color: #f5a623;
}

/* Empty stars — dark theme */
body.dark-theme .stars i {
    color: #555555;
}

/* Filled stars — dark theme: bright gold */
body.dark-theme .stars i.fas {
    color: #ffd700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.8), 0 0 12px rgba(255, 165, 0, 0.5);
}

/* ========================================================
   ISOLATED METRIC LOGO COLORS (Independent From Stars)
======================================================== */

.metric-controls > i.fal,
.metric-controls > i[class*="fa-"],
body.dark-theme .metric-controls > i.fal,
body.dark-theme .metric-controls > i[class*="fa-"] {
    color: #000000 !important; /* Forces logos to stay black in both light and dark themes */
    transition: color 0.3s ease !important;
}
/* Forces the card gradient frame to stay, but shifts the outer glow to bright neon white */
body.dark-theme .feedback-container,
body.dark-theme div[class*="feedback"] {
    background: linear-gradient(145deg, #fbfbfd, #eeeef2) !important;
    background-color: #fbfbfd !important;
    border-color: #ffffff !important; /* Crisp white border ring */
    
    /* NEON WHITE GLOW: Deep structural shadows mixed with a multi-layered high-intensity white aura */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
            0 0 25px rgba(8, 129, 120, 0.2) !important;
}


#contact-details .details {
    width: 40%;
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    box-sizing: border-box;
}

#contact-details .details span,
#form-details form span {
    font-size: 12px;
}

#contact-details .details h2,
#form-details form h2 {
    font-size: 26px;
    line-height: 35px;
    padding: 20px 0;
}

#contact-details .details h3 {
    font-size: 16px;
    padding-bottom: 15px;
}

#contact-details .details li {
    list-style: none;
    display: flex;
    padding: 10px 0;
}

#contact-details .details li i {
    font-size: 14px;
    padding-right: 22px;
}

#contact-details .details li p {
    margin: 0;
    font-size: 14px;
}

/* ── Update DARK MODE for the Contact Card ── */
body.dark-theme #contact-details .details {
    background: #1e1e1e;
    border: 1px solid #333333;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Ensure text and icons inside the card are perfectly visible in Dark Mode */
body.dark-theme #contact-details .details h2,
body.dark-theme #contact-details .details h3,
body.dark-theme #contact-details .details span {
    color: #f0f0f0 !important;
}

body.dark-theme #contact-details .details li p,
body.dark-theme #contact-details .details li i {
    color: #c0c0c0 !important;
}
/* ── DARK MODE MISSING FIXES ── */
body.dark-theme #contact-details {
    background: #121212 !important;
}

/* feedback-container ka hardcoded white override */
body.dark-theme .feedback-container,
body.dark-theme section.feedback-container,
body.dark-theme div[class*="feedback"] {
    background: linear-gradient(145deg, #1a1a2e, #16162a) !important;
    background-color: #1a1a2e !important;
    border-color: #3a3a5a !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4),
                0 0 25px rgba(168,85,247,0.2) !important;
}

body.dark-theme .form-left h2,
body.dark-theme .ratings-heading,
body.dark-theme .ratings-right h2 {
    color: #ffffff !important;
}

body.dark-theme .metric-question,
body.dark-theme .metric-row span {
    color: #cccccc !important;
}

body.dark-theme .metric-controls > i.fal,
body.dark-theme .metric-controls > i[class*="fa-"] {
    color: #aaaaaa !important;
}

body.dark-theme .form-left input,
body.dark-theme .form-left textarea {
    background: #2a2a3e !important;
    background-color: #2a2a3e !important;
    border-color: #444 !important;
    color: #f0f0f0 !important;
}

body.dark-theme .form-left input::placeholder,
body.dark-theme .form-left textarea::placeholder {
    color: #888 !important;
}

body.dark-theme #form-details {
    background: #0d0d0d !important;
    border-color: #2a2a2a !important;
}}