/* Megamax Solar - Professional Solar Company CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;*/
	font-family: var(--fontRoboto);
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Design System Variables - Solar Industry Colors */
:root {
    /* Primary Colors - Deep Solar Blue */
    --primary: #1565c0;
    --primary-light: #2196f3;
    --primary-dark: #0d47a1;
    --primary-foreground: #ffffff;
    
    /* Secondary Colors - Fresh Green */
    --secondary: #2e7d32;
    --secondary-light: #4caf50;
    --secondary-foreground: #ffffff;
    
    /* Accent - Warm Orange */
    --accent: #ff9800;
    --accent-light: #ffb74d;
    --accent-foreground: #1a1a1a;
    
    /* Neutral Colors */
    --background: #ffffff;
    --foreground: #1a1a1a;
    --muted: #f5f5f5;
    --muted-foreground: #666666;
    --border: #e0e0e0;
    --input: #e0e0e0;
    
    /* Gradients */
    --gradient-solar: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-hero: linear-gradient(135deg, var(--primary-dark), var(--primary));
    --gradient-accent: linear-gradient(90deg, var(--accent), var(--accent-light));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-solar: 0 10px 40px rgba(21, 101, 192, 0.15);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--fontRoboto: "Roboto",serif;
	--fontPoppins: "Poppins",serif;
	--fontRobotoFlex: "Roboto Flex",serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);font-family: var(--fontRobotoFlex);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;font-family: "Roboto Flex", serif;
}

.btn:focus {
    /*outline: 2px solid var(--primary);
    outline-offset: 2px;*/
}

.btn-primary {
    background: var(--gradient-solar);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-solar);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover, .btn-outline:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Form Elements */
input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--input);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);background: #fff;font-family: "Roboto",serif;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--foreground);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    /*box-shadow: var(--shadow-md);*/
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo img {height: 50px;mask-image: none;}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary);
    margin: 0;
}

.logo-text p {
    font-size: 12px;
    color: var(--muted-foreground);
    margin: 0;
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-desktop a {
    color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition);
  font-family: var(--fontRoboto);
  font-size: 16px;
}

.nav-desktop a:hover {
    color: var(--accent);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-cta .btn {background: #2d7d32;font-size: 15px;padding: 14px 24px;}

.phone-info {
    font-size: 16px;
  font-weight: 400;
  color: #fff;
  font-family: var(--fontRoboto);
}
.phone-info a {color:#fff;text-decoration: none;}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--foreground);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
}

.mobile-cta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    background-size: cover;
    background-position: center;
}

.banner-2 {background-image: url("../img/banner-industrial.jpg");}
.banner-3 {background-image: url("../img/banner-home-4.jpg");}
.banner-1 {background-image: url("../img/banner-megamax.jpg");}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    top: 70px;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-text .highlight {
	color: #ffc850;
    /*background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
    display: block;
}

.hero-text p {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 20px;
	max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-buttons .btn-outline {background: transparent;color: #fff;border: 1px solid #fff;}
.hero-buttons .btn-outline:hover {background:#fff;color:#000}
.hero-buttons .btn {font-size: 18px;}
.hero-buttons .btn-secondary {background-color: var(--accent);} 


.trust-indicators {
	display: flex;
	gap: 2px;
	color: rgba(255, 255, 255, 0.8);
	flex-direction: column;margin-bottom: 30px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--accent);width: 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-solar);
    /*max-width: 400px;*/
}

.savings-calculator h3 {
    color: #000;
    margin-bottom: 24px;
    text-align: center;
	font-family: var(--fontRobotoFlex);
}

.savings-result {
    margin-top: 24px;
    padding: 16px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 8px;
    font-size: 14px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 16px;
	font-size:3.8em;
}

.section-header p {
    font-size: 18px;
    color: var(--muted-foreground);
	font-family: var(--fontRoboto);
}

/* Services Section */
.services {
    background: var(--muted);padding-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(21, 101, 192, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(21, 101, 192, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.price {
    color: var(--accent);
    font-weight: 600;
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 24px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.feature-list li:before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.project-image {
    aspect-ratio: 16/9;
    background: var(--muted);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 32px;
    color: var(--primary);
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.details h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--muted-foreground);
}

.rating {
    margin-bottom: 12px;
}

.rating i {
    color: var(--accent);
    font-size: 14px;
}

.savings-info {
    background: rgba(21, 101, 192, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    text-align: center;
}

.savings-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.system-info {
    font-size: 12px;
    color: var(--muted-foreground);
}

blockquote {
    font-style: italic;
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-item:nth-child(1) .stat-number { color: var(--primary); }
.stat-item:nth-child(2) .stat-number { color: var(--secondary); }
.stat-item:nth-child(3) .stat-number { color: var(--accent); }
.stat-item:nth-child(4) .stat-number { color: var(--primary); }

.stat-label {
    color: var(--muted-foreground);
}

/* Achievements Section */
.achievements {
    background:url("../img/bg-award-new.jpg") no-repeat center center / cover;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.achievement-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
	background: url("../img/bg-certificate.jpg") no-repeat center center / cover;
}
.achievement-card p {font-size: 15px;}
.achievement-card:hover {
    /*border-color: rgba(21, 101, 192, 0.2);*/
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    /*background: rgba(21, 192, 88, 0.1);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #2d7d32;
    margin: 0 auto 12px;
    transition: var(--transition);
}
.achievement-icon img {width:100%}

.achievement-card:hover .achievement-icon {
    /*background: #2d7d32;
    color: white;
    transform: scale(1.1);*/
}

.achievement-year {
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.achievement-card h3 {
    margin-bottom: 12px;
	font-size: 22px;
}

.certifications {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.certifications h3 {
    text-align: center;
    margin-bottom: 32px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
}

.cert-item:hover {
    background: rgba(21, 101, 192, 0.05);
}

.cert-item:before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

/* FAQ Section */
.faq {
    background: var(--muted);
}

.faq-container {
    max-width: 100%;
    margin: 0 auto;
    
    border-radius: 16px;
    padding: 0;
    
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;background: #fff
}
.faq-item span {font-family: var(--fontRoboto);font-size: 19px;}
.faq .section-header {margin-bottom: 40px;}
.faq-question {
    width: 100%;
    padding: 26px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    /*color: var(--primary);*/
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 100%;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--muted-foreground);
    line-height: 1.7;font-family: var(--fontRoboto);
}
.faq-answer ul {margin: 0 15px 25px;padding: 0 25px;}
.faq-answer ul li {padding: 0 5px 10px;color: var(--muted-foreground);line-height: 1.7;font-family: var(--fontRoboto);}
.faq-answer ul li strong, .faq-answer p strong {color:#000}

.faq-contact {
    text-align: center;
    margin-top: 48px;
}

.faq-contact p {
    margin-bottom: 16px;
    color: var(--muted-foreground);
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
.footer {
    background: #22262b;
    color: white;
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
  grid-template-columns: 30% 20% 20% 20%;
  gap: 20px;
  margin-bottom: 48px;
  justify-content: space-between;
}

.footer-content .footer-section:first-child {padding-right: 10%;}

.footer-section h4 {
    color: white;
  margin-bottom: 16px;
  font-family: var(--fontRobotoFlex);
  font-weight: 600;
}

.footer-section p {
	color: rgba(255, 255, 255, 0.9);
	line-height: 24px;
	margin-bottom: 16px;
	font-family: var(--fontRoboto);
	font-size: 15px;
}
.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;font-family: var(--fontRoboto);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);font-family: var(--fontRoboto);
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 32px;
    height: 32px;
    /*background: rgba(255, 255, 255, 0.2);*/
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);text-decoration: none;
}
.social-links a img {width: 100%;}

.social-links a:hover {
    /*background: rgba(255, 255, 255, 0.3);*/
}

.contact-info {
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);font-family: var(--fontRoboto);
}

.contact-item i {
    color: #fff;
    width: 16px;
}

.newsletter h5 {
    color: white;
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 32px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}
.footer-bottom-content p {font-family: var(--fontRoboto);font-size: 15px;color: #acacac;}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);font-family: var(--fontRoboto);
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .nav-desktop, .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .mobile-menu.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-card {
        margin: 0 -16px;
        border-radius: 0;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* Print Styles */
@media print {
    .header, .footer {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}