@media (max-width: 1400px) {
    .hero h1 {
        font-size: 2.8em;
    }
    .hero-image img {
        max-height: 420px;
    }
}

/* Standard Laptops & Large Tablets */
@media (max-width: 1200px) {
    .section-padding {
        padding: 40px 20px;
    }
    .hero {
        padding: 50px 20px 30px 20px;
        gap: 25px;
    }
    .hero h1 {
        font-size: 2.6em;
    }
    .hero .subtitle {
        font-size: 1em;
    }
    .hero-image img {
        max-height: 400px;
    }
    .navbar a {
        padding: 6px 12px;
        margin: 0 2px;
        font-size: 0.9em;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .cta-bottom h2 {
        font-size: 1.8em;
    }
}

/* Tablets Landscape & Smaller Laptops */
@media (max-width: 992px) {
    body {
        font-size: 15px;
    }
    .logo img {
        height: 40px;
    }
    .logo-text {
        font-size: 1.5em;
        margin-top: 5px;
    } 
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        min-height: auto;
    }
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    .hero h1 {
        font-size: 2.4em;
    }
    .hero .subtitle {
        font-size: 1em;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image {
        order: 1;
        max-width: 60%;
        margin-bottom: 20px;
        margin-top: 50px;
    }
    .hero-image img {
        max-height: 300px;
    }
    .navbar {
        padding: 4px 8px;
    }
     .navbar a {
        padding: 5px 10px;
        font-size: 0.85em;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }
    .specs-container {
        padding: 20px 25px;
    }
    footer {
        padding: 25px 20px;
        text-align: center;
        font-size: 0.9em;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-container {
        display: block;
        margin-bottom: 20px;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
    }

    .footer-logo img {
        height: 35px;
        margin-right: 8px;
    }
     .footer-brand {
        font-size: 1.3em;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
        padding-left: 0;
        list-style: none;
    }

    .footer-links a {
        font-size: 1.2em;
        text-decoration: none;
        color: #ccc;
        transition: color 0.3s ease;
    }

    .footer-links a:hover {
        color: #1E90FF;
    }

    .footer-rights {
        margin-top: 25px;
        font-size: 0.85em;
        color: #888;
    }
}

/* Tablets Portrait & Large Phones */
@media (max-width: 768px) {
    * {
        box-sizing: inherit;
    }

    body {
        padding-bottom: 60px;
        font-size: 15px;
    }

    html, body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    header {
        min-height: 70px;
    }
    .navbar {
        display: none;
    }
    .hamburger {
        display: block;
        position: absolute;
        top: 30px;
        right: 40px;
        z-index: 1001;
        cursor: pointer;
    }

    .hamburger .bar {
        width: 25px;
        height: 3px;
        background-color: white;
        border-radius: 5px;
        margin: 5px 0;
        transition: 0.4s;
    }

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

    .logo {
        top: 25px;
        left: 20px;
        z-index: 5;
    }
    .logo img {
        height: 40px;
    }

    .mobile-navbar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgb(36, 36, 38);
        color: white;
        z-index: 1000;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        overflow-y: auto;
    }

    .mobile-navbar.active {
        display: flex;
    }

    body.noscroll {
        height: 100vh;
        overflow: hidden;
    }

    .mobile-navbar .nav-items {
        width: 100%;
        margin-top: 100px;
    }

    .mobile-navbar .nav-items a,
    .mobile-navbar .nav-items .nav-dropdown-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        text-decoration: none;
        color: #eee;
        font-size: 1.15em;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        width: 100%;
        cursor: pointer;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
     .mobile-navbar .nav-items a:last-child,
     .mobile-navbar .nav-items .nav-dropdown:last-child .nav-dropdown-title {
         border-bottom: none;
     }

    .mobile-navbar .nav-items .nav-dropdown-title {
        justify-content: flex-start;
    }

    .mobile-navbar .nav-items .nav-dropdown-title::after {
        content: '>';
        font-size: 1.1em;
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .mobile-navbar .nav-items .nav-dropdown-title.active::after {
        transform: rotate(90deg);
    }

    .nav-dropdown-content {
        display: flex;
        flex-direction: column;
        margin-left: 20px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, opacity 0.3s ease-in-out;
    }

    .nav-dropdown-content.active {
        max-height: 300px;
        opacity: 1;
    }

    .nav-dropdown-content a {
        font-size: 1em;
        padding: 10px 0 10px 0;
        color: #ccc;
        border-bottom: none;
        font-weight: 300;
        text-decoration: none;
    }
    .nav-dropdown-content a.mobile-active {
        font-weight: 500;
        color: #1E90FF;
    }

    .logo-mobile {
        position: absolute;
        top: 30px;
        left: 20px;
        color: white;
        font-size: 1.5em;
        font-weight: bold;
        display: none;
        z-index: 1001;
    }

    .mobile-navbar.active .logo-mobile {
        display: block;
    }


    .section-padding {
        padding: 40px 20px;
    }
    .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .subsection-title {
        font-size: 1.5em;
    }
    .logo {
        left: 15px;
    }
    .hero {
        padding: 30px 15px;
    }
    .hero h1 {
        font-size: 3.1em;
    }
    .hero .subtitle {
        font-size: 1em;
    }
    .hero-image {
        max-width: 70%;
    }
    .hero-image img {
        max-height: 400px;
    }
    .section-padding {
        padding: 30px 15px;
    }
    .subsection-title {
        font-size: 1.4em;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
     .feature-item {
        padding: 20px;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .feature-icon {
        margin-bottom: 0;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .feature-item-content {
        text-align: left;
    }
     .feature-item h3 {
        font-size: 1.2em;
        margin-bottom: -5px;
    }
    .feature-item p {
        font-size: 0.85em;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
     .gallery-grid img {
        height: 140px;
    }
    .specs-container dl {
        grid-template-columns: 1fr;
        gap: 8px 0;
    }
    .specs-container dt {
        text-align: left;
        grid-column: 1;
        font-size: 0.9em;
        color: #eee;
    }
    .specs-container dd {
        grid-column: 1;
        margin-bottom: 8px;
        font-size: 0.9em;
        padding-left: 10px;
    }
     .cta-bottom h2 {
        font-size: 1.6em;
    }
     .cta-bottom p {
        font-size: 0.9em;
    }
     .cta-bottom .cta-button {
         font-size: 1em;
         padding: 10px 30px;
    }
}

/* Smaller Phones */
@media (max-width: 576px) {
     body {
        font-size: 14px;
        line-height: 1.5;
    }
     header {
        min-height: 60px;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
        margin: 4px 0;
    }
     .mobile-navbar a {
        font-size: 1.3em;
        padding: 12px 0;
        margin: 8px 0;
    }
    .hero {
        padding: 20px 15px;
    }
    .hero h1 {
        font-size: 2.9em;
    }
    .hero .subtitle {
        font-size: 1.1em;
        margin-bottom: 20px;
    }
     .cta-button {
        padding: 8px 20px;
        font-size: 1.2em;
    }
    .hero-image {
        max-width: 80%;
    }
     .hero-image img {
        max-height: 400px;
    }
     .section-padding {
        padding: 25px 15px;
    }
     .subsection-title {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
     .feature-item {
        padding: 15px;
        gap: 12px;
    }
    .feature-icon {
        width: 35px;
        height: 35px;
    }
    .feature-item h3 {
        font-size: 1.1em;
    }
     .feature-item p {
        font-size: 0.8em;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
     .gallery-grid img {
        height: 120px;
    }
     .specs-container {
        padding: 15px 20px;
    }
     .specs-container dt, .specs-container dd {
        font-size: 0.85em;
    }
     .cta-bottom h2 {
        font-size: 1.4em;
    }
     .cta-bottom p {
        font-size: 0.85em;
    }
     .cta-bottom .cta-button {
         font-size: 0.95em;
         padding: 10px 25px;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-delay: 0ms !important;
        animation-delay: 0ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: translateY(0);
    }

    .feature-item:hover,
    .cta-button:hover,
    .gallery-grid img:hover {
        transform: none;
    }
}