/* ===================================
   IMPACT ENERGY SOLAR - Responsive
   =================================== */

/* Tablet Landscape (1024px and below) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    section {
        padding: 60px 0;
    }

    .about-section {
        padding: 50px 0 15px;
    }

    .services-section {
        padding: 15px 0 50px;
    }

    .advantages-section {
        padding: 50px 0;
    }

    .contact-section {
        padding: 50px 0 30px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-content {
        gap: 40px;
    }

    .stats-grid {
        gap: 15px;
    }

    .stat-card {
        padding: 25px;
    }

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

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contact-content {
        gap: 40px;
    }
}

/* Tablet Portrait (768px and below) */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        color: var(--navy-blue);
        font-size: 18px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-logo img {
        width: 180px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 16px;
    }

    section {
        padding: 50px 0;
    }

    .about-section {
        padding: 40px 0 15px;
    }

    .services-section {
        padding: 15px 0 40px;
    }

    .advantages-section {
        padding: 40px 0;
    }

    .contact-section {
        padding: 40px 0 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 350px;
    }

    .about-text {
        font-size: 1rem;
    }

    .services-image-banner {
        height: 350px;
    }

    .services-image-overlay {
        padding: 30px;
    }

    .services-image-overlay h3 {
        font-size: 1.6rem;
    }

    .projects-hero-image {
        height: 400px;
    }

    .projects-hero-badge {
        top: 20px;
        right: 20px;
        padding: 20px 30px;
    }

    .badge-number {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-suffix {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .service-icon {
        font-size: 3rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .advantage-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .advantage-item h3 {
        font-size: 1.3rem;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-left {
        gap: 25px;
    }

    .contact-image-main {
        max-height: 400px;
    }

    .contact-image-main img {
        object-fit: cover;
        height: 100%;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-logo img {
        height: 50px;
    }

    .navbar.scrolled .nav-logo img {
        height: 45px;
    }

    .hero {
        height: 100vh;
    }

    .video-background video {
        object-position: right center;
    }

    .hero-logo img {
        width: 150px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .mouse {
        width: 25px;
        height: 40px;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .title-underline {
        width: 60px;
        height: 3px;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .about-image {
        height: 300px;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-image-banner {
        height: 250px;
        margin-bottom: 40px;
    }

    .services-image-overlay {
        padding: 20px;
    }

    .services-image-overlay h3 {
        font-size: 1.3rem;
    }

    .services-image-overlay p {
        font-size: 0.95rem;
    }

    .projects-hero-image {
        height: 300px;
        margin-bottom: 40px;
    }

    .projects-hero-badge {
        top: 15px;
        right: 15px;
        padding: 15px 20px;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-text {
        font-size: 0.85rem;
    }

    .feature-item {
        padding: 10px;
    }

    .feature-item span {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-suffix {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .service-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .service-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .service-features {
        gap: 8px;
    }

    .service-features span {
        font-size: 0.85rem;
    }

    .advantage-item {
        padding: 25px 20px;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .advantage-item h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .advantage-item p {
        font-size: 0.95rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        padding: 30px 20px;
    }

    .project-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .testimonials-title {
        font-size: 1.6rem;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .contact-image-main {
        max-height: 300px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }

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

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-form {
        gap: 25px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 0;
        font-size: 15px;
    }

    .form-group label {
        font-size: 15px;
    }

    .submit-btn {
        padding: 15px 35px;
        font-size: 16px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-logo img {
        width: 150px;
        margin-bottom: 15px;
    }

    .footer-logo p {
        font-size: 0.9rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Extra Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-button,
    .submit-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .advantage-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* Landscape Orientation for Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .hero-logo img {
        width: 120px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .scroll-indicator {
        display: none;
    }

    section {
        padding: 50px 0;
    }
}

/* High Resolution Displays */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }
}

/* Ultra Wide Displays */
@media screen and (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .section-title {
        font-size: 4rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .scroll-indicator,
    .back-to-top,
    #particles-js,
    .video-background {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    section {
        page-break-inside: avoid;
    }

    .hero {
        height: auto;
        padding: 50px 0;
    }

    .hero-content {
        color: black;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-white: #FFFFFF;
        --navy-blue: #000000;
        --orange: #FF6600;
        --text-dark: #000000;
        --text-light: #333333;
    }

    .nav-link::after,
    .title-underline {
        height: 3px;
    }

    .service-card,
    .stat-card,
    .contact-card {
        border: 2px solid var(--navy-blue);
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}
