/* Responsive Styles */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-cta .btn {
        font-size: 1.125rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h2 {
        font-size: 1.25rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .case-study-card img {
        height: 180px;
    }
    
    .blog-post img {
        height: 180px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #hero {
        text-align: center;
        padding: 2rem 0;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero h2 {
        font-size: 1.125rem;
    }
    
    #hero p {
        font-size: var(--font-size-base);
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    section h3 {
        font-size: 1.125rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .case-study-card img {
        height: 160px;
    }
    
    .blog-post img {
        height: 160px;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Disable animations on mobile as per requirements */
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    #hero {
        text-align: center;
        padding: 1.5rem 0;
        min-height: 70vh;
    }
    
    #hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    #hero h2 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    #hero p {
        font-size: var(--font-size-small);
        margin-bottom: 1.5rem;
    }
    
    .hero-shapes {
        display: none;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    section p {
        font-size: var(--font-size-small);
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.75rem 1rem;
        font-size: var(--font-size-base);
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.125rem;
    }
    
    .service-card img {
        height: 140px;
    }
    
    .service-card h5 {
        font-size: 1.125rem;
    }
    
    .price-tag {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    
    .feature-item {
        text-align: center;
        padding: 1rem 0;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
    
    .feature-content h4 {
        font-size: 1.125rem;
    }
    
    .price-card.featured {
        transform: none;
        border: 1px solid var(--primary-green);
    }
    
    .price-card h4 {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .team-member h4 {
        font-size: 1.125rem;
    }
    
    .case-study-card img {
        height: 140px;
    }
    
    .case-study-card h4 {
        font-size: 1.125rem;
    }
    
    .process-step {
        padding: 1rem 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .process-step h5 {
        font-size: 1rem;
    }
    
    .faq-card h5 {
        font-size: 1rem;
    }
    
    .contact-form .form-control {
        padding: 0.625rem 0.875rem;
        font-size: var(--font-size-small);
    }
    
    .contact-info .contact-item {
        margin-bottom: 2rem;
    }
    
    .blog-post img {
        height: 140px;
    }
    
    .blog-post h4 {
        font-size: 1.125rem;
    }
    
    /* Additional page cards on mobile */
    .insight-card,
    .resource-card,
    .certification-card,
    .tech-card,
    .metric-card,
    .consulting-card,
    .energy-card,
    .impact-card,
    .portfolio-card,
    .innovation-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .insight-card h4,
    .resource-card h4,
    .certification-card h4,
    .tech-card h4,
    .metric-card h4,
    .consulting-card h4,
    .energy-card h4,
    .impact-card h4,
    .portfolio-card h4,
    .innovation-card h4 {
        font-size: 1.125rem;
    }
    
    /* Footer adjustments */
    #footer {
        text-align: center;
    }
    
    #footer .row > div {
        margin-bottom: 2rem;
    }
    
    #footer h5 {
        font-size: 1.125rem;
    }
    
    /* Breadcrumb adjustments */
    .breadcrumbs {
        margin-top: 70px;
        padding: 0.75rem 0;
    }
    
    .breadcrumb-img {
        height: 20px;
    }
}

/* Extra extra small devices (very small phones, less than 375px) */
@media (max-width: 374.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #hero h1 {
        font-size: 1.5rem;
    }
    
    section h2 {
        font-size: 1.375rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    #hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    #hero h2 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    #hero p {
        font-size: var(--font-size-small);
        margin-bottom: 1rem;
    }
    
    .hero-cta .btn {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-small);
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-cta,
    .breadcrumbs,
    #footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    overflow-x: hidden;
}
    
    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black;
    }
    
    .card,
    .feature-card,
    .service-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #006400;
        --dark-green: #003300;
        --primary-blue: #0000cd;
        --dark-blue: #000080;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-outline-primary {
        border: 2px solid #000;
    }
    
    .card {
        border: 2px solid #000;
    }
} 