@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #11143F;
    --primary-light: #1c2269;
    --accent-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--accent-color);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: var(--text-light);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand img {
    height: 100px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #0056b3;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid var(--primary-color);
    margin-bottom: 10px;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid var(--primary-color);
    margin-bottom: 10px;
}

.btn-secondary:hover,
.btn-secondary.active {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(17, 20, 63, 0.9), rgba(17, 20, 63, 0.9)), url('https://images.unsplash.com/photo-1574461620613-26ebf8b6e3f3?q=80&w=2070&auto=format&fit=crop') center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 100px 5%;
}

.hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease;
}

/* Sections */
.section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

/* Content Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 1rem;
}

/* Large Card */
.large-card {
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
}
.large-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.large-card-content {
    padding: 2.5rem;
}
.large-card-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.large-card-content p {
    font-size: 1.15rem;
}
@media (min-width: 992px) {
    .large-card {
        flex-direction: row;
    }
    .large-card:nth-child(even) {
        flex-direction: row-reverse;
    }
    .large-card-img {
        width: 45%;
        height: auto;
        min-height: 350px;
    }
    .large-card-content {
        width: 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--text-light);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #e2e4ed;
    text-align: center;
    padding: 4rem 5%;
}

.newsletter-section h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 5%;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background-color: var(--primary-color);
}

.whatsapp-btn {
    background-color: #25D366;
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: var(--text-light);
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reviews */
.review-card .stars {
    color: #f5b301;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Popup Banner */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-content {
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeInUp 0.4s ease;
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--primary-color);
}

/* Language Switch Slider */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #11143F; /* Primary Color */
}

input:focus + .slider {
  box-shadow: 0 0 1px #11143F;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Hero Buttons Fix */
.hero .btn-secondary {
    border-color: var(--text-light) !important;
    color: var(--text-light) !important;
}
.hero .btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color) !important;
}

/* Marquee Reviews */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}
.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-left 50s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.marquee-track .review-card {
    width: 350px; /* Fixed width so cards don't shrink */
    flex-shrink: 0;
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } /* half the width minus half the gap */
}

/* LED PRO Popup Theme */
.led-pro-theme {
    background: linear-gradient(135deg, #0d1128 0%, #1a1e4a 100%);
    border: 2px solid #bceb75; /* Pale chartreuse glowing border */
    box-shadow: 0 0 20px rgba(188, 235, 117, 0.4), 0 10px 25px rgba(0,0,0,0.5);
}
.led-pro-title {
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.led-pro-subtitle {
    color: #bceb75;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: normal;
}
.led-pro-close {
    color: #fff !important;
}
.led-pro-close:hover {
    color: #bceb75 !important;
}
.led-pro-btn {
    border-color: #bceb75 !important;
    color: #bceb75 !important;
}
.led-pro-btn:hover {
    background-color: #bceb75 !important;
    color: #0d1128 !important;
}
.fine-print {
    font-size: 0.85rem;
    color: #777;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Facebook Responsive Widget */
.desktop-fb { display: block; }
.mobile-fb { display: none; }

@media (max-width: 600px) {
    .desktop-fb { display: none; }
    .mobile-fb { display: block; }
}
