/* Modern Solar Panel Website CSS - MS Solar Theme */

:root {
    /* Primary Colors - Red theme matching logo */
    --primary-red: #dc143c;
    --primary-dark: #b71c1c;
    --primary-light: #e53935;
    
    /* Secondary Colors - Blue from logo */
    --secondary-blue: #1976d2;
    --secondary-dark: #0d47a1;
    --secondary-light: #42a5f5;
    
    /* Accent Colors */
    --accent-orange: #ff9500;
    --accent-yellow: #ffc107;
    --secondary-green: #27ae60;
    
    /* Neutral Colors */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar {
    padding: 15px 30px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-name {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled .brand-name {
    color: #1a1a1a;
    text-shadow: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-link {
    color: #2c3e50;
    text-shadow: none;
}

.nav-link:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.header.scrolled .hamburger span {
    background: #2c3e50;
    box-shadow: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

.hero-video.active {
    opacity: 1;
}

.hero-video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25), rgba(25, 118, 210, 0.2));
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 1000px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.slide-content p {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

.hero-content {
    display: none;
}

.hero-content .container {
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    color: white !important;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.4);
    color: white !important;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: white;
}

.hero-features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 24px;
    color: var(--secondary-light);
}

.feature span {
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.8;
}

.trust-factors {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.trust-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.trust-item i {
    font-size: 24px;
    color: var(--primary-red);
    margin-top: 5px;
}

.trust-item h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.trust-item p {
    color: #666;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Systems Section */
.systems {
    padding: 100px 0;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.system-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.system-card:hover::before {
    left: 100%;
}

.system-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(220, 20, 60, 0.2);
}

.system-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.system-card:hover .system-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.system-icon i {
    font-size: 32px;
    color: white;
}

.system-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.system-card p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.system-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.system-card li {
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.system-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Applications Section */
.applications {
    padding: 100px 0;
    background: #f8f9fa;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.application-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.application-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.application-content {
    padding: 30px;
}

.application-content h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.application-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.benefits span {
    background: var(--primary-red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
    opacity: 0.3;
}

.step:last-child::after {
    display: none;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.step-icon i {
    font-size: 36px;
    color: white;
}

.step h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.step p {
    color: #555;
    line-height: 1.7;
}

/* Our Work Section */
.our-work {
    padding: 100px 0;
    background: #f8f9fa;
}

.work-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-red);
    background: transparent;
    color: var(--primary-red);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary-red);
    color: white;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: scale(1.02);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(60px);
    transition: all 0.3s ease;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.work-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.work-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.work-details span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Customer Photos */
.customer-photos {
    padding: 100px 0;
}

.customer-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.customer-photo {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.customer-photo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid var(--primary-red);
}

.customer-info h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.customer-info p {
    color: #666;
    margin-bottom: 15px;
}

.rating {
    color: var(--secondary-light);
    font-size: 1.2rem;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-content ul {
    list-style: none;
}

.product-content li {
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.product-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Monitoring Section */
.monitoring {
    padding: 100px 0;
}

.monitoring-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.monitoring-text h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.monitoring-text > p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.monitoring-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-red);
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item p {
    color: #555;
    margin: 0;
    line-height: 1.7;
}

.monitoring-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.review-header img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 600;
}

.reviewer-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.review-card > p {
    color: #444;
    line-height: 1.8;
    font-style: italic;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-red);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-item p {
    opacity: 0.9;
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

.form-row input,
.form-row select,
.contact-form textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.form-row input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
    width: 100%;
    margin-bottom: 30px;
    resize: vertical;
}

/* Form validation styles */
.input-wrapper {
    position: relative;
    width: 100%;
}

.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    animation: slideDown 0.3s ease;
    background: rgba(255, 107, 107, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    border-left: 3px solid #ff6b6b;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row input.error,
.form-row select.error,
.contact-form textarea.error {
    border-color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.05);
}

.form-row input:focus,
.form-row select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.15);
}

.form-note {
    margin-bottom: 20px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
}

.form-note small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.form-buttons {
    display: flex;
    gap: 20px;
}

.form-buttons .btn {
    flex: 1;
    transition: all 0.3s ease;
}

.form-buttons .btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-red);
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--primary-red);
    font-size: 16px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--primary-red);
    text-decoration: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
}

.modal-header {
    background: #2c3e50;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.close {
    font-size: 28px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: calc(100% - 40px);
        max-width: 400px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        gap: 5px;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-menu .nav-link {
        color: #2c3e50;
        text-shadow: none;
        padding: 12px 16px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(220, 20, 60, 0.1);
        color: var(--primary-red);
        transform: translateY(0);
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    .slide-content {
        padding: 0 30px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .slide-content p {
        font-size: 1.2rem;
        margin-top: 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .feature {
        justify-content: center;
    }
    
    .about-content,
    .contact-content,
    .monitoring-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .systems-grid,
    .applications-grid,
    .products-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .work-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .step::after {
        display: none;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.4s ease forwards;
}

.fade-in-down {
    animation: fadeInDown 0.4s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.4s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.4s ease forwards;
}

.scale-in {
    animation: scaleIn 0.4s ease forwards;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.stagger-1 { animation-delay: 0.03s; }
.stagger-2 { animation-delay: 0.06s; }
.stagger-3 { animation-delay: 0.09s; }
.stagger-4 { animation-delay: 0.12s; }
.stagger-5 { animation-delay: 0.15s; }
.stagger-6 { animation-delay: 0.18s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    margin: 0;
    line-height: 60px;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        line-height: 50px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===========================
   GALLERY PAGE STYLES
   =========================== */

/* Gallery Hero Section */
.gallery-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-blue) 100%);
    color: white;
    text-align: center;
}

.gallery-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.gallery-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-top: 20px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn i {
    font-size: 1.1rem;
}

.filter-btn .count {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.2);
}

.filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.filter-btn.active .count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.gallery-item:hover .video-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(calc(100% - 60px));
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.gallery-item-overlay p i {
    margin-right: 5px;
}

.gallery-item-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-item-info {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-info span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.gallery-item-info i {
    margin-right: 5px;
}

.view-btn {
    padding: 10px 20px;
    background: var(--primary-red);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.2s;
    width: 100%;
}

.gallery-item:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
}

.view-btn:hover {
    background: #e55a2b;
    transform: scale(1.05);
}

.view-btn i {
    margin-right: 5px;
}

/* Hide filtered items */
.gallery-item.hidden {
    display: none;
}

/* See More / Load More Container */
.see-more-container,
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.3);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 1200px;
    width: 90%;
    display: flex;
    gap: 30px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

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

#lightbox-img {
    width: 60%;
    height: 600px;
    object-fit: cover;
}

.lightbox-info {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.lightbox-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.lightbox-info i {
    margin-right: 8px;
    color: var(--primary-red);
}

.lightbox-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.lightbox-details span {
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #555;
    border-left: 3px solid var(--primary-red);
}

.lightbox-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.lightbox-actions .btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Gallery CTA Section */
.gallery-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-blue) 100%);
    text-align: center;
    color: white;
}

.gallery-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.gallery-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2rem;
    }

    .gallery-hero p {
        font-size: 1rem;
    }

    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .gallery-item img {
        height: 220px;
    }

    .lightbox-content {
        flex-direction: column;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    #lightbox-img {
        width: 100%;
        height: 300px;
    }

    .lightbox-info {
        padding: 25px 20px;
    }

    .lightbox-info h3 {
        font-size: 1.5rem;
    }

    .lightbox-actions {
        flex-direction: column;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-cta h2 {
        font-size: 1.8rem;
    }

    .gallery-cta p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-whatsapp 2.5s infinite;
    cursor: pointer;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: ripple-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-float i {
    margin: 0;
    line-height: 65px;
    position: relative;
    z-index: 1;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #128c7e;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 80px;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8);
    }
}

@keyframes ripple-whatsapp {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        line-height: 55px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
