/* ============================================== */
/* GLOBAL STYLES & RESET */
/* ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Body Styles (Light Theme: Soft Off-White) */
body {
    background-color: #F8F8F8; /* Soft Off-White for a light background */
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
    color: #1A1A1A; /* Dark charcoal text color */
}

/* Base Typography */
h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 3em; 
    letter-spacing: 1px;
    color: #FFFFFF; /* White on the dark video overlay */
}

h2 {
    /* Main section headings */
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #FF7F50; /* Coral Orange accent */
}

h3 {
    font-family: 'Roboto Condensed', sans-serif;
    color: #1A1A1A; /* Dark text */
}

p {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    color: #444444; /* Dark grey paragraph text (default for main content) */
}

/* Base Link/Anchor Styles (used by 'Explore Products') */
a:not(.social-icons a, .forgot-password, .footer-links ul li a) {
    display: inline-block;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    background-color: #FF7F50; /* Coral Orange button background */
    color: #1A1A1A; /* Dark text on button */
    border: none;
    transition: background-color 0.3s;
}

a:hover {
    background-color: #FF9466; /* Lighter Coral Orange hover state */
}

/* ============================================== */
/* HERO SECTION & LOGIN BUTTON POSITIONING */
/* ============================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding-top: 50px; 
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Partner Login Trigger Button (Top Left Position) */
.login-trigger-button {
    position: absolute; 
    top: 20px; 
    left: 20px;
    z-index: 10; 
    
    /* Button appearance */
    padding: 10px 20px;
    background-color: #FF7F50; /* Coral Orange */
    color: #1A1A1A; 
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.login-trigger-button:hover {
    background-color: #FF9466; /* Lighter Coral Orange hover state */
}

.login-trigger-button i {
    margin-right: 8px;
}

.hero-content {
    z-index: 2;
    background: rgba(0, 0, 0, 0.6); 
    padding: 40px 20px;
    border-radius: 12px;
    max-width: 800px;
    animation: fadeIn 2s ease-in-out;
}

/* ⭐ TARGETED CHANGE: Make text inside the hero content white ⭐ */
.hero-content p {
    color: #FFFFFF; 
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.logo-wires {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-actions {
    justify-content: center;
    margin-top: 30px;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* ============================================== */
/* MAIN CONTENT SECTIONS (Products, About, Contact) */
/* ============================================== */

.products, .about, .contact {
    background-color: #F8F8F8; 
    padding: 80px 20px;
    color: #1A1A1A;
}

/* Product Section Card Background */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.product {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.product-icon i {
    font-size: 3rem;
    color: #FF7F50; 
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.product h3 {
    color: #1A1A1A; 
}

.product p {
    color: #444444;
}

/* About Section */
.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-text p {
    color: #444444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.commitment-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.commitment-box {
    background: #FFFFFF; 
    border-left: 5px solid #FF7F50; 
    border-radius: 8px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commitment-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 127, 80, 0.4);
}

.commitment-box i {
    color: #FF7F50; 
}

.commitment-box h3 {
    color: #1A1A1A;
}

.commitment-box p {
    color: #444444;
}


/* Contact Section */
.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    text-align: left;
}

.contact-info-block {
    background: #FFFFFF; 
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-block h3 {
    color: #FF7F50; 
    border-bottom: 2px solid #DDDDDD;
}

.contact-detail {
    color: #444444;
}

.contact-detail i {
    color: #FF7F50; 
}

.contact-form {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #1A1A1A;
}

/* WhatsApp Button (Kept green for branding) */
.whatsapp-button {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: #25D366; 
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-button:hover {
    background: #1DA851;
    transform: translateY(-2px);
}

/* ============================================== */
/* FOOTER */
/* ============================================== */

.footer {
    background-color: #1A1A1A;
    color: #e0e0e0;
    padding: 60px 20px 30px;
    font-family: 'Roboto Condensed', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.footer-logo h3 {
    color: #FF7F50; 
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0; 
    background: none; 
}

.footer-links ul li a:hover {
    color: #FF7F50; 
    background: none;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact i {
    margin-right: 8px;
    color: #FF7F50; 
}

.social-icons a {
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0; 
    background: none; 
}

.social-icons a:hover {
    color: #FF7F50; 
    transform: scale(1.2);
    background: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.85rem;
    color: #888;
}

/* ============================================== */
/* MODAL OVERLAY & FORM STYLES */
/* ============================================== */

/* The Modal (background overlay) */
.modal {
    display: none;
    position: fixed; 
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.7);
    justify-content: center; 
    align-items: center; 
}

/* Close Button (the 'x') */
.close-btn {
    color: #444;
    float: right;
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 15px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #FF7F50; 
}

/* Modal Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 50%; transform: translateY(-50%); opacity: 1}
}

/* Login Box (Modal Content) */
.login-box {
    background-color: #FFFFFF; 
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 350px; 
    text-align: center;
    position: relative;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal.show .login-box {
    top: 50%;
    transform: translateY(-50%);
}


.login-heading {
    color: #1A1A1A; 
}

.subtitle {
    color: #444444;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.login-form {
    text-align: left;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: #FF7F50; 
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 0.9em;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    background-color: #F0F0F0;
    color: #1A1A1A;
    font-family: 'Roboto Condensed', sans-serif;
}

.input-group input:focus {
    border-color: #FF7F50; 
    outline: none;
}

.login-button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: #FF7F50; 
    color: #1A1A1A; 
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-button i {
    margin-right: 8px;
}

.login-button:hover {
    background-color: #FF9466; 
}

.forgot-password {
    display: block;
    color: #444444;
    text-decoration: none;
    font-size: 0.9em;
    padding: 0; 
    background: none; 
    text-align: center;
}

.forgot-password:hover {
    color: #FF7F50; 
}

/* ============================================== */
/* MEDIA QUERIES (Responsiveness) */
/* ============================================== */
@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        /* Adjusted font size for readability on small screens */
        font-size: 0.95rem; 
    }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .login-trigger-button {
        top: 10px;
        left: 10px;
        right: auto; 
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links ul {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
}