/* Responsive CSS for GreenEnergy Template */

/* Large Devices (Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3.52rem;
    }
    
    .hero-section h2 {
        font-size: 1.84rem;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.55rem;
    }
    
    .hero-section h2 {
        font-size: 1.55rem;
    }
    
    .navbar-brand {
        font-size: 1.36rem !important;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        margin-left: 3rem;
    }
    
    .timeline-item::before {
        left: -2.5rem;
    }
}

/* Small Devices (Landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.26rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.59rem;
    }
    
    .navbar-brand {
        font-size: 1.24rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
    }
    
    .card {
        margin-bottom: 1.65rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .btn-primary {
        padding: 10px 25px;
        font-size: 0.92rem;
    }
    
    .btn-outline-primary {
        padding: 6px 15px;
        font-size: 0.90rem;
    }
    
    /* Timeline Mobile */
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        margin-left: 2rem;
        padding: 1rem;
    }
    
    .timeline-item::before {
        left: -1.75rem;
        width: 10px;
        height: 10px;
    }
    
    /* Form Adjustments */
    .form-control {
        padding: 10px 12px;
        font-size: 1.02rem;
    }
    
    /* Footer Mobile */
    footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer .text-end {
        text-align: center !important;
    }
    
    /* Contact Form Mobile */
    #contacts .col-lg-8 {
        margin-bottom: 2rem;
    }
    
    #contacts .col-lg-4 {
        text-align: center;
    }
    
    /* Gallery Mobile */
    #gallery .col-lg-3,
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Services Mobile */
    #services .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Team Mobile */
    #team .col-lg-4 {
        margin-bottom: 1.61rem;
    }
    
    /* Process Mobile */
    #process .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* FAQ Mobile */
    .accordion-button {
        font-size: 1.04rem;
        padding: 0.75rem 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.98rem;
    }
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        padding-top: 60px;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.88rem;
    }
    
    .hero-section h2 {
        font-size: 1.14rem;
    }
    
    .hero-section p {
        font-size: 1.00rem;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.5rem;
        font-size: 0.91rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .py-5 {
        padding: 2rem 0;
    }
    
    .mb-5 {
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: 1.81rem;
    }
    
    h2 {
        font-size: 1.65rem;
    }
    
    h3 {
        font-size: 1.40rem;
    }
    
    h4 {
        font-size: 1.14rem;
    }
    
    h5 {
        font-size: 1rem;
    }
    
    p {
        font-size: 1.00rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.92rem;
    }
    
    .btn-primary {
        padding: 8px 20px;
        font-size: 1.00rem;
    }
    
    .btn-outline-primary {
        padding: 5px 12px;
        font-size: 0.92rem;
    }
    
    /* Timeline Extra Small */
    .timeline-item {
        margin-left: 1.5rem;
        padding: 0.75rem;
    }
    
    .timeline-item h5 {
        font-size: 1.08rem;
    }
    
    .timeline-item p {
        font-size: 0.85rem;
    }
    
    /* Icons Mobile */
    .fa-3x {
        font-size: 2rem !important;
    }
    
    .fa-4x {
        font-size: 2.63rem !important;
    }
    
    /* Process Items Mobile */
    .process-item {
        margin-bottom: 1.67rem;
    }
    
    /* About Features Mobile */
    #about .col-md-3 {
        margin-bottom: 1.68rem;
    }
    
    /* Core Info Mobile */
    #coreinfo .col-md-4 {
        margin-bottom: 1.58rem;
    }
    
    /* Reviews Mobile */
    #reviews .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    /* Case Study Mobile */
    #casestudy .col-lg-4 {
        margin-bottom: 1.67rem;
    }
    
    /* Career Mobile */
    #career .col-lg-6 {
        margin-bottom: 1.63rem;
    }
    
    /* Price Plan Mobile */
    #priceplan .col-lg-4 {
        margin-bottom: 1.64rem;
    }
    
    /* Blog Mobile */
    #Blog .col-lg-4 {
        margin-bottom: 1.74rem;
    }
    
    /* Additional Pages Mobile */
    .breadcrumb-section {
        margin-top: 60px;
        padding: 0.5rem 0;
    }
    
    .breadcrumb-image {
        height: 25px;
    }
}

/* Print Styles */
@media print {
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: auto;
        background: none !important;
        color: #000 !important;
    }
    
    .hero-section h1,
    .hero-section h2,
    .hero-section p {
        color: #000 !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #000;
        page-break-inside: avoid;
    }
    
    .btn {
        display: none;
    }
    
    .navbar,
    .breadcrumb-section,
    footer,
    #gallery {
        display: none !important;
    }
    
    .py-5 {
        padding: 1rem 0;
    }
    
    .mb-5 {
        margin-bottom: 1rem;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    h1, h2, h3, h4, h5 {
        page-break-after: avoid;
    }
    
    .timeline-item {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .form-control {
        border: 2px solid #000;
    }
    
    .accordion-button {
        border: 2px solid #000;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: 100vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.33rem;
    }
} 