/* LARGE DESKTOPS  */
@media (min-width: 1200px) {
    .container, .content-container {
        max-width: 1140px;
        margin: 0 auto;
    }
}

   /* LAPTOPS & SMALL DESKTOPS */
@media (max-width: 1199px) {
    .container, .content-container, .ecosystem-section {
        max-width: 960px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .navbar {
        padding: 0 30px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .hero-heading {
        font-size: 32px;
    }

    .sub-heading {
        font-size: 32px;
    }

    .hero-title h1 {
        font-size: 3rem;
    }

    .hero-description h2 {
        font-size: 1.6rem;
    }

    .product-title {
        font-size: 42px;
    }
}

/* TABLETS (768px - 1023px) */
@media (max-width: 1023px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none; 
    }

    .hero-section {
        flex-direction: column-reverse;
        height: auto;
        min-height: auto;
    }

    .hero-text-container {
        padding: 60px 20px;
        justify-content: center;
        text-align: center;
    }

    .hero-image-container {
        height: 50vh;
        min-height: 400px;
    }

    .ecosystem-section {
        max-width: 720px;
    }
    
    .ecosystem-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }

    .item-offline { grid-column: 1 / 2; grid-row: 1; height: 200px; }
    .item-pm { grid-column: 2 / 3; grid-row: 1; height: 200px; }
    .item-tablet { grid-column: 1 / 2; grid-row: 2; height: 200px; }
    .item-lock { grid-column: 2 / 3; grid-row: 2; height: 200px; }
    .item-financial { grid-column: 1 / 2; grid-row: 3; height: 200px; }
    .item-safety { grid-column: 2 / 3; grid-row: 3; height: 200px; }

    .smarthat-hero {
        background-position: 60% center;
    }

    .hero-title h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        right: 20px;
        text-align: right;
    }

    .hero-description h2 {
        font-size: 1.4rem;
    }

    .hero-actions {
        bottom: 10%;
    }

    .product-title {
        font-size: 36px;
    }

    .image-wrapper {
        margin-bottom: 30px;
    }

    .main-img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .footer-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-center {
        gap: 20px;
    }
}

/* MOBILE DEVICES (Max-width: 767px) */
@media (max-width: 767px) {
    .navbar {
        height: 60px;
        padding: 0 15px;
    }

    .logo img {
        height: 24px;
    }

    .dropdown-menu {
        top: 60px;
        padding: 15px 20px;
    }

    .ticker-content {
        gap: 20px;
        font-size: 12px;
    }
    
    .star {
        font-size: 18px;
        margin-left: 10px;
    }

    .hero-heading, .sub-heading {
        font-size: 28px;
    }

    .hero-text-container {
        padding: 40px 20px;
    }

    .hero-image-container {
        height: 40vh;
        min-height: 250px;
    }

    .ecosystem-section {
        padding: 30px 15px;
    }

    .ecosystem-header h2 {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        display: flex;
        flex-direction: column;
    }

    .grid-item {
        width: 100%;
        height: 180px; 
    }

    .item-offline, .item-pm, .item-tablet, 
    .item-lock, .item-financial, .item-safety {
        grid-column: auto;
        grid-row: auto;
    }

    .ecosystem-footer p {
        font-size: 18px;
    }

    .smarthat-hero {
        background-position: 70% center;
    }

    .hero-title {
        top: 15%;
    }

    .hero-title h1 {
        font-size: 2rem;
    }

    .hero-description {
        bottom: 20%;
        top: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
    }

    .hero-description h2 {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 80%;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
    }

    .awards-container {
        right: 15px;
        top: 15px;
        transform: scale(0.7);
        transform-origin: top right;
    }

    .sleefe-section, .lockator-section, 
    .audiopod-section, .airhat-section, 
    .birdbox-section, .frakoin-section {
        padding: 40px 15px;
        min-height: auto; 
    }

    .content-container {
        padding: 0;
    }

    .product-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .image-wrapper {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .main-img {
        max-width: 100%;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hatplus-section {
        background-position: center;
        background-size: cover;
        height: 60vh; 
    }

    .logo-overlay {
        top: 10%;
    }

    .hatplus-logo {
        width: 120px;
    }

    .hatplus-section .action-buttons {
        bottom: 10%;
        width: 90%;
        flex-direction: row; 
        flex-wrap: wrap;
        justify-content: center;
    }

    .architecture-section {
        padding: 30px 15px;
    }

    .clients-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .marquee-track {
        gap: 40px;
        animation-duration: 15s;
    }

    .client-logo {
        max-width: 120px;
        max-height: 50px;
    }

    .image-container {
        height: 60vh;
        background-position: center;
    }

    .text-overlay {
        background: rgba(0,0,0,0.6); 
        padding: 30px 20px;
        justify-content: center;
        text-align: center;
    }

    .feature-list {
        gap: 20px;
    }

    .feature-list li {
        font-size: 16px;
        color: #fff;
    }

    .footer-bar {
        padding: 30px 15px;
    }

    .footer-center {
        flex-direction: column;
        gap: 15px;
    }

    .footer-right {
        gap: 20px;
    }
}

/* SMALL MOBILE (Max-width: 480px) */
@media (max-width: 480px) {
    .hero-heading, .sub-heading {
        font-size: 24px;
    }

    .hero-text-container {
        padding: 30px 15px;
    }

    .hero-image-container {
        min-height: 200px;
    }

    .product-title {
        font-size: 28px;
    }

    .prohat-logo {
        width: 120px;
    }

    .floating-logo .small-logo {
        width: 45px;
    }

    .brand-title {
        font-size: 28px;
    }

    .footer-left p {
        font-size: 10px;
    }
}