/* ====== BASE STYLES ====== */
:root {
    --primary-green: #2E7D32;
    --secondary-green: #4CAF50;
    --accent-green: #81C784;
    --dark-green: #1B5E20;
    --light-green: #E8F5E9;
    --dark-gray: #212121;
    --medium-gray: #424242;
    --light-gray: #FAFAFA;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-gray);
    background: var(--white);
    line-height: 1.6;
}

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

/* ====== HERO SECTION - FIXED ====== */
.home-hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    color: var(--white);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
}

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

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid var(--secondary-green);
    color: var(--secondary-green);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.highlight {
    background: rgba(76, 175, 80, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-green);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image Section */
.hero-image {
    position: relative;
}

.transformer-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.transformer-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: var(--white);
}

.overlay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 175, 80, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.image-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.image-caption p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* ====== TRUSTED BY ====== */
.trusted-by {
    padding: 60px 0;
    background: var(--light-gray);
    text-align: center;
}

.trusted-by h3 {
    color: var(--medium-gray);
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brands {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.brand:hover {
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* ====== FEATURES ====== */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.1);
}

.feature-highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.feature-highlight .feature-icon {
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.feature-highlight p {
    color: rgba(255,255,255,0.9);
}

.feature-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.feature-highlight .feature-extra {
    border-top-color: rgba(255,255,255,0.2);
}

.tag {
    background: var(--light-green);
    color: var(--primary-green);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.feature-highlight .tag {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.learn-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    gap: 10px;
}

.feature-highlight .learn-more {
    color: var(--white);
}

/* ====== GLOBAL SECTION - FIXED BLACK ISSUE ====== */
.global-section {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.world-map-svg {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
}

.map-dot {
    fill: var(--secondary-green);
    stroke: var(--white);
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-dot:hover {
    r: 12;
    fill: var(--primary-green);
}

.map-legends {
    margin-top: 30px;
}

.legend {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.na { background: #FF6B6B; }
.legend-dot.eu { background: #4ECDC4; }
.legend-dot.as { background: #45B7D1; }
.legend-dot.sa { background: #96CEB4; }
.legend-dot.af { background: #FFEAA7; }

.legend-count {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-green);
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.global-stat {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.global-stat:hover {
    transform: translateY(-5px);
}

.global-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.global-info h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.global-info p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ====== PRODUCT SHOWCASE ====== */
.showcase-section {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.product-info > p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.product-specs {
    list-style: none;
    margin-bottom: 25px;
}

.product-specs li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
}

.product-specs i {
    color: var(--secondary-green);
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content > p {
    text-align: center;
    opacity: 0.9;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select {
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

.cta-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.2);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-green);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* ====== FOOTER ====== */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 80px 0 30px;
}

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



.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.social-links a:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-green);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary-green);
    transform: translateX(5px);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-info i {
    color: var(--secondary-green);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

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

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
    .hero-container,
    .global-content,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        padding-top: -15rem;
    }
    
    .hero-stats {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .global-stats {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .brands {
        flex-direction: column;
        gap: 20px;
    }
}