

html {
    scroll-behavior: smooth;
}
.home-hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #0c2461 0%, #104c02 100%);
    color: var(--white);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.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;
    animation: fadeInUp 0.6s ease-out;
}

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

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

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

/* Home-specific stat styles */
.home-hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.home-hero .stat {
    text-align: center;
}

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

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

/* Hero Image Styles - Home Specific */
.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: 110%;
    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;
}

/* Typewriter effect - Home Specific */
.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--primary-green);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-green); }
}

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

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

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

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

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

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

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

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

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

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

.home-page .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;
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ====== GLOBAL SECTION - HOME VERSION ====== */
.home-page .global-section {
    padding: 100px 0;
    background: var(--light-gray);
}

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

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

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

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

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

.home-page .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);
}

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

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

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

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

.home-page .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;
}

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

.home-page .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;
}

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

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

/* ====== SHOWCASE SECTION - HOME VERSION ====== */
.home-page .showcase-section {
    padding: 100px 0;
    background: var(--white);
}

.home-page .showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.home-page .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;
}

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

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

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

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

.home-page .product-info {
    padding: 30px;
}

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

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

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

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

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

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

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

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

.home-page .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;
}

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

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

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

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

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

.home-page .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;
}

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

.home-page .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;
}

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

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

/* ====== ANIMATIONS - HOME SPECIFIC ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

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

@media (max-width: 768px) {
    .home-hero .hero-title {
        font-size: 2.5rem;
        margin-top:1rem;
    }
 
    .home-hero .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home-hero .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .home-page .features-grid,
    .home-page .products-grid,
    .home-page .global-stats {
        grid-template-columns: 1fr;
    }
    
    .home-page .brands {
        flex-direction: column;
        gap: 20px;
    }
    .hero-container{
        margin-top: -3.5rem;
    }
}

@media (max-width: 480px) {
    .home-hero .hero-title {
        font-size: 2rem;
    }
    
    .home-hero .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .home-hero .stat-number {
        font-size: 2rem;
    }
}