/* Base Styles & Variables */
:root {
    --primary-teal: #004d40;
    --dark-teal: #00332a;
    --light-teal: #e0f2f1;
    --primary-amber: #ffc107;
    --dark-amber: #e0a800;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5 { margin-bottom: 15px; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

/* Global Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-lg { padding: 14px 32px; font-size: 1.1rem; }

.btn-primary { background-color: var(--primary-amber); color: #000 !important; }
.btn-primary:hover { background-color: var(--dark-amber); transform: translateY(-2px); }

.btn-secondary { background-color: var(--primary-teal); color: var(--white) !important; }
.btn-secondary:hover { background-color: var(--dark-teal); transform: translateY(-2px); }

.btn-outline { border-color: var(--white); color: var(--white) !important; }
.btn-outline:hover { background-color: var(--white); color: var(--primary-teal) !important; }

/* Top Bar */
.top-bar { background-color: var(--dark-teal); color: var(--white); padding: 8px 0; font-size: 0.9rem; }
.top-bar-container { display: flex; justify-content: space-between; align-items: center; }
.top-contact span { margin-right: 20px; }
.top-contact i { color: var(--primary-amber); margin-right: 5px; }
.top-socials a { color: var(--white); margin-left: 15px; }
.top-socials a:hover { color: var(--primary-amber); }

/* Header Navbar */
.navbar { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo h1 { font-size: 1.8rem; margin: 0; color: var(--primary-teal); }
.logo h1 span { color: var(--primary-amber); }
.logo-icon { color: var(--primary-amber); margin-right: 8px; }

nav ul { display: flex; gap: 30px; }
nav ul li a { font-weight: 600; color: var(--text-dark); position: relative; }
nav ul li a:hover { color: var(--primary-teal); }
nav ul li a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background-color: var(--primary-amber); transition: width 0.3s;
}
nav ul li a:hover::after { width: 100%; }

/* Advanced Hero */
.hero-advanced {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1587293852726-70cdb56c2866?q=80&w=2072&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0, 77, 64, 0.9) 0%, rgba(0, 77, 64, 0.4) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 650px; }
.badge { display: inline-block; background: rgba(255, 193, 7, 0.2); border: 1px solid var(--primary-amber); color: var(--primary-amber); padding: 5px 15px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; margin-bottom: 20px; }
.hero-content h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 15px; }

/* Features Grid */
.features { padding: 60px 0; background-color: var(--white); margin-top: -50px; position: relative; z-index: 10; border-bottom: 1px solid #eaeaea; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-box { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; border-bottom: 4px solid var(--primary-teal); }
.feature-box:hover { transform: translateY(-10px); border-bottom-color: var(--primary-amber); }
.feature-icon { font-size: 2.5rem; color: var(--primary-teal); margin-bottom: 20px; }

/* Section Titles */
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-teal); margin-bottom: 40px; }
.section-title span { color: var(--primary-amber); }
.section-title.left-align { text-align: left; margin-bottom: 20px; }
.section-header { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Advanced About */
.about-advanced { padding: 100px 0; }
.about-container { display: flex; align-items: center; gap: 60px; }
.about-image { flex: 1; position: relative; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background: var(--primary-amber); padding: 25px; border-radius: 12px; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.experience-badge h3 { font-size: 2.5rem; margin: 0; color: #000; }
.experience-badge p { font-weight: 700; color: #000; margin: 0; }
.about-text { flex: 1; }
.about-text p { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-muted); }
.check-list { margin: 30px 0; }
.check-list li { margin-bottom: 15px; font-size: 1.05rem; font-weight: 500; display: flex; align-items: center; }
.check-list i { color: var(--primary-teal); font-size: 1.2rem; margin-right: 12px; }

/* Advanced Products */
.products-advanced { padding: 100px 0; background-color: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.product-card { background: var(--bg-light); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.product-img-wrapper { height: 240px; overflow: hidden; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img-wrapper img { transform: scale(1.05); }
.product-content { padding: 30px; }
.product-content h4 { font-size: 1.4rem; color: var(--primary-teal); }
.product-content p { color: var(--text-muted); margin-bottom: 20px; min-height: 70px; }
.text-link { color: var(--primary-teal); font-weight: 700; font-size: 0.95rem; }
.text-link i { margin-left: 5px; font-size: 0.8rem; transition: margin 0.3s; }
.text-link:hover { color: var(--primary-amber); }
.text-link:hover i { margin-left: 10px; }

/* Reviews */
.reviews { padding: 100px 0; background: var(--light-teal); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); position: relative; }
.review-card::before { content: '\201C'; font-family: Georgia, serif; font-size: 8rem; color: rgba(0, 77, 64, 0.05); position: absolute; top: 10px; left: 20px; line-height: 1; }
.stars { color: var(--primary-amber); margin-bottom: 20px; font-size: 1.1rem; }
.review-text { font-style: italic; color: var(--text-muted); margin-bottom: 30px; font-size: 1.05rem; position: relative; z-index: 2; }
.reviewer h4 { margin-bottom: 5px; color: var(--primary-teal); }
.reviewer span { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

/* CTA Banner */
.cta-banner { background-color: var(--primary-amber); padding: 70px 0; }
.cta-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.cta-text h2 { color: #000; font-size: 2.2rem; margin-bottom: 10px; }
.cta-text p { color: #222; font-size: 1.2rem; font-weight: 500; }
.cta-action .btn-primary { background-color: #000; color: var(--white) !important; }
.cta-action .btn-primary:hover { background-color: #333; }

/* Footer Advanced */
.footer-advanced { background-color: var(--dark-teal); color: #cfcfcf; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 20px; }
.footer-col h2 span { color: var(--primary-amber); }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--primary-amber); }
.brand-col p { margin-bottom: 25px; }
.footer-socials a { display: inline-block; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; text-align: center; line-height: 40px; margin-right: 10px; color: var(--white); }
.footer-socials a:hover { background: var(--primary-amber); color: #000; transform: translateY(-3px); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #cfcfcf; display: flex; align-items: center; }
.footer-col ul li a i { font-size: 0.8rem; margin-right: 10px; color: var(--primary-amber); }
.footer-col ul li a:hover { color: var(--primary-amber); padding-left: 5px; }
.contact-col li { display: flex; margin-bottom: 15px; align-items: flex-start; }
.contact-col li i { color: var(--primary-amber); margin-right: 15px; margin-top: 5px; }

.footer-bottom { background-color: #00221b; padding: 25px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-container { flex-direction: column; }
    .hero-content h2 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .header-container { flex-direction: column; height: auto; padding: 20px 0; gap: 20px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    .hero-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-container { flex-direction: column; text-align: center; }
}
/* Brands Section */
.brands-section { padding: 90px 0; background-color: var(--white); border-top: 1px solid #eaeaea; }
.subtitle { text-align: center; color: var(--primary-amber); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; }
.brands-section .section-title { font-size: 2.2rem; margin-bottom: 25px; color: var(--primary-teal); }
.brands-section p { text-align: center; max-width: 800px; margin: 0 auto 50px; color: var(--text-muted); font-size: 1.1rem; }

.brand-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 20px; 
}
.brand-item { 
    display: flex; 
    align-items: center; 
    font-weight: 500; 
    color: var(--text-dark); 
    padding: 10px;
    background: var(--bg-light);
    border-radius: 6px;
    transition: all 0.3s ease;
}
.brand-item:hover { background: var(--light-teal); transform: translateX(5px); }
.brand-item i { color: var(--primary-amber); font-size: 1.2rem; margin-right: 12px; }

/* Contact Form Section */
.contact-section { padding: 100px 0; background-color: var(--bg-light); }
.contact-container { display: flex; gap: 40px; align-items: stretch; }

.contact-info-card { 
    flex: 1; 
    background-color: var(--primary-teal); 
    color: var(--white); 
    padding: 50px 40px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
.contact-info-card h3 { font-size: 2rem; margin-bottom: 15px; color: var(--primary-amber); }
.contact-info-card p { margin-bottom: 40px; font-size: 1.1rem; opacity: 0.9; }
.contact-details { list-style: none; }
.contact-details li { display: flex; align-items: flex-start; margin-bottom: 25px; font-size: 1.1rem; }
.contact-details li i { color: var(--primary-amber); font-size: 1.3rem; margin-right: 15px; margin-top: 4px; }

.contact-form-card { 
    flex: 2; 
    background-color: var(--white); 
    padding: 50px 40px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.form-group { display: flex; gap: 20px; margin-bottom: 20px; }
.contact-form-card input, .contact-form-card textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.contact-form-card input:focus, .contact-form-card textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
}
.contact-form-card textarea { resize: vertical; margin-bottom: 20px; }
.btn-block { width: 100%; border: none; font-size: 1.1rem; }
.btn-block i { margin-left: 8px; }

/* Responsive Contact & Brands */
@media (max-width: 768px) {
    .contact-container { flex-direction: column; }
    .form-group { flex-direction: column; gap: 20px; }
    .brand-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
/* Locked Page Styles */
.locked-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--dark-teal);
    margin: 0;
}

.locked-container {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: fadeIn 0.5s ease-out;
}

.lock-icon {
    font-size: 4.5rem;
    color: var(--primary-amber);
    margin-bottom: 20px;
}

.locked-container h2 {
    color: var(--primary-teal);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.locked-container p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.locked-container .btn i {
    margin-right: 8px;
}

/* Simple fade-in animation for a premium feel */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Horizontal Login Bar */
.login-bar-wrapper {
    display: flex;
    align-items: center;
}

.login-form-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.login-form-horizontal input {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    width: 140px;
    outline: none;
    transition: border-color 0.3s;
}

.login-form-horizontal input:focus {
    border-color: var(--primary-amber);
}

.btn-login {
    padding: 6px 15px;
    cursor: pointer;
    border: none;
    background-color: var(--primary-amber);
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s;
}

.btn-login:hover {
    background-color: var(--dark-amber);
    transform: translateY(-1px);
}

/* Inline Error Message */
.error-msg-inline {
    color: #d32f2f;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 10px;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    white-space: nowrap; /* Keeps the text on one line */
    animation: slideIn 0.3s ease-out;
}

/* Smooth pop-in animation for the error */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}