/* ===================================
   BK GREEN ENERGY - HOMEPAGE STYLES
   =================================== */

/* Import common styles */
@import url('common.css');

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider{
    position:absolute;
    inset:0;
    z-index:0;
}

.hero-slider .slide{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity 1.2s ease-in-out, transform 6s ease;
    transform:scale(1.1);
}

/* visible slide */
.hero-slider .slide.active{
    opacity:1;
    transform:scale(1);
}


.hero-overlay{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.5);
    z-index:1;
}


.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
    max-width:900px;
    padding:40px 20px;
}


.hero-logo {
    max-width: 200px;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-in-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-in-out 0.3s both;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-in-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-in-out 0.9s both;
}

/* ===================================
   BUTTONS
   =================================== */

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(15, 124, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(15, 124, 58, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
    padding: 100px 20px;
    background: var(--white);
}

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

.about-text h2 {
    font-size: var(--text-3xl);
    color: var(--primary-green);
    margin-bottom: 25px;
    font-weight: 700;
}

.about-text p {
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
}

.about-image svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

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

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    padding: var(--space-xl) var(--space-xs);
    background: var(--accent-green);
    color: var(--white);
}

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

.services-cards {
    display: grid;
    gap: 20px;
}

.service-card {
    background: var(--white);
    color: #333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.service-icon video {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

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

.service-card p {
    line-height: 1.7;
    color: #666;
}

.services-heading h2 {
    font-size: 8.5rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
}

/* ===================================
   IMPACT SECTION
   =================================== */

.impact {
    padding: 100px 20px;
    background: var(--white);
}

.impact-heading {
    text-align: center;
    margin-bottom: 60px;
}

.impact-heading h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
}

.impact-heading p {
    font-size: 1.2rem;
    color: #666;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(15, 124, 58, 0.2);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(15, 124, 58, 0.4);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

/* ===================================
   CONSULTATION SECTION
   =================================== */

.consultation {
    padding: var(--space-xl) var(--space-xs);
    background: var(--bg-light);
}

.consultation-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.consultation h2 {
    font-size: var(--text-3xl);
    color: var(--primary-green);
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.consultation p {
    font-size: var(--text-base);
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.consultation-form {
    margin-top: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.consultation-form input,
.consultation-form textarea {
    width: 100%;
    padding: 15px var(--space-xs);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: var(--text-sm);
    transition: all 0.3s ease;
    font-family: inherit;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(15, 124, 58, 0.1);
}

.consultation-form textarea {
    resize: vertical;
    min-height: 120px;
}

.consultation-form button {
    width: 100%;
    padding: 16px;
    font-size: var(--text-base);
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: var(--space-xs);
    border: 1px solid #c3e6cb;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .services-heading h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-logo { max-width: 150px; }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .about-text h2,
    .consultation h2 {
        font-size: 2rem;
    }
}
