/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
    font-size: clamp(14px, 2.5vw, 16px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 20px);
}

/* Header Styles */
.header {
    background-color: #ff6600;
    padding: clamp(10px, 2vw, 15px) 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 20px);
}

.logo h1 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(8px, 2vw, 10px);
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 20px);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.nav-link:hover,
.nav-link.active {
    background-color: #ff6600;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: clamp(20px, 5vw, 25px);
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: clamp(80px, 15vw, 100px);
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: clamp(60vh, 80vh, 80vh);
    padding: clamp(40px, 8vw, 60px) clamp(16px, 4vw, 20px);
    max-width: 1200px;
    margin: 0 auto;
    gap: clamp(30px, 8vw, 60px);
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    color: #333;
    margin-bottom: clamp(15px, 3vw, 20px);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #ff6600;
    margin-bottom: clamp(15px, 3vw, 20px);
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #666;
    margin-bottom: clamp(30px, 6vw, 40px);
    line-height: 1.8;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: clamp(15px, 4vw, 20px);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn {
    padding: clamp(12px, 3vw, 15px) clamp(20px, 5vw, 30px);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    text-align: center;
    min-width: clamp(120px, 25vw, 150px);
}

.btn-primary {
    background-color: #ff6600;
    color: white;
}

.btn-primary:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #ff6600;
    border: 2px solid #ff6600;
}

.btn-secondary:hover {
    background-color: #ff6600;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 100%;
    height: clamp(250px, 50vw, 400px);
    background: linear-gradient(135deg, #ff6600, #e55a00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 500;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: clamp(20px, 4vw, 30px);
    overflow: hidden;
}

.tools-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Features Section */
.features {
    padding: clamp(60px, 12vw, 80px) clamp(16px, 4vw, 20px);
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #333;
    margin-bottom: clamp(15px, 3vw, 20px);
    font-weight: 600;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 45vw, 280px), 1fr));
    gap: clamp(25px, 5vw, 40px);
}

.feature-card {
    background: white;
    padding: clamp(25px, 5vw, 40px) clamp(20px, 4vw, 30px);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid #ff6600;
}

.feature-icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: clamp(15px, 3vw, 20px);
}

.feature-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #333;
    margin-bottom: clamp(10px, 2vw, 15px);
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Footer */
.footer {
    background-color: #ff6600;
    color: white;
    padding: clamp(40px, 8vw, 60px) 0 clamp(15px, 3vw, 20px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 40vw, 250px), 1fr));
    gap: clamp(25px, 5vw, 40px);
    margin-bottom: clamp(25px, 5vw, 40px);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: clamp(15px, 3vw, 20px);
    font-weight: 600;
}

.footer-section h3 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.footer-section h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
}

.footer-section p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    margin-bottom: clamp(8px, 1.5vw, 10px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: clamp(8px, 1.5vw, 10px);
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section a:hover {
    color: #ffcca3;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: clamp(15px, 3vw, 20px);
    text-align: center;
}

.footer-bottom p {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.6;
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #ff6600, #e55a00);
    color: white;
    padding: clamp(80px, 15vw, 100px) clamp(16px, 4vw, 20px) clamp(30px, 6vw, 40px);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 600;
    margin-bottom: clamp(12px, 2.5vw, 15px);
    line-height: 1.2;
}

.page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.9;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
}

.content-section {
    padding: clamp(25px, 5vw, 30px) clamp(16px, 4vw, 20px);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 45vw, 300px), 1fr));
    gap: clamp(25px, 5vw, 40px);
    margin-top: clamp(10px, 2vw, 15px);
}

.content-card {
    background: white;
    padding: clamp(20px, 4vw, 30px);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.content-card h3 {
    color: #ff6600;
    margin-bottom: clamp(12px, 2.5vw, 15px);
    font-weight: 600;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    line-height: 1.3;
}

.content-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

.content-card ul {
    margin-top: clamp(12px, 2.5vw, 15px);
    padding-left: clamp(16px, 3vw, 20px);
}

.content-card ul li {
    margin-bottom: clamp(6px, 1vw, 8px);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: clamp(25px, 5vw, 40px);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: clamp(500px, 90vw, 600px);
    margin: 0 auto;
}

.form-group {
    margin-bottom: clamp(18px, 4vw, 25px);
}

.form-group label {
    display: block;
    margin-bottom: clamp(6px, 1.5vw, 8px);
    font-weight: 500;
    color: #333;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 15px);
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6600;
}

.form-group textarea {
    resize: vertical;
    min-height: clamp(100px, 20vw, 120px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: clamp(70px, 12vw, 100px);
        flex-direction: column;
        background-color: #ff6600;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: clamp(15px, 3vw, 20px) 0;
        z-index: 999;
    }

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

    .nav-item {
        margin: clamp(8px, 2vw, 10px) 0;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: clamp(12px, 3vw, 15px);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: clamp(25px, 6vw, 40px);
        padding: clamp(30px, 6vw, 40px) clamp(16px, 4vw, 20px);
    }

    .hero-image {
        order: -1;
        width: 100%;
    }

    .hero-content {
        width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    .btn {
        flex: 1;
        min-width: clamp(140px, 35vw, 200px);
        max-width: 250px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 4vw, 25px);
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 4vw, 25px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: clamp(20px, 4vw, 25px);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: clamp(8px, 2vw, 10px);
    }

    .navbar {
        padding: 0 clamp(12px, 3vw, 16px);
    }

    .container {
        padding: 0 clamp(12px, 3vw, 16px);
    }

    .content-section {
        padding: clamp(20px, 4vw, 25px) clamp(12px, 3vw, 16px);
    }

    .features {
        padding: clamp(40px, 8vw, 60px) clamp(12px, 3vw, 16px);
    }

    .page-header {
        padding: clamp(70px, 12vw, 80px) clamp(12px, 3vw, 16px) clamp(25px, 5vw, 30px);
    }

    .placeholder-image {
        height: clamp(200px, 40vw, 250px);
    }

    .footer-bottom p {
        font-size: clamp(0.75rem, 2vw, 0.85rem);
        line-height: 1.8;
        padding: 0 clamp(8px, 2vw, 12px);
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .logo h1 {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
    
    .nav-menu {
        top: clamp(60px, 10vw, 70px);
    }
    
    .main-content {
        margin-top: clamp(65px, 12vw, 75px);
    }
    
    .btn {
        padding: clamp(10px, 3vw, 12px) clamp(16px, 4vw, 20px);
        font-size: clamp(0.85rem, 2.5vw, 0.9rem);
    }
}

/* Brands Scrolling Section */
.brands-scroll-container {
    overflow: hidden;
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 90%, rgba(255,255,255,1) 100%);
    padding: 20px 0;
    position: relative;
}

.brands-scroll-track {
    display: flex;
    width: calc(200px * 38); /* 19 brands * 2 (for seamless loop) * 200px width */
    animation: scrollBrands 60s linear infinite;
}

.brand-item {
    min-width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.3);
}

.brand-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 19 - 20px * 19)); /* Move by the width of 19 original brands */
    }
}

/* Pause animation on hover */
.brands-scroll-container:hover .brands-scroll-track {
    animation-play-state: paused;
}

/* Responsive adjustments for brands */
@media (max-width: 768px) {
    .brand-item {
        min-width: 150px;
        height: 100px;
        margin: 0 8px;
    }
    
    .brands-scroll-track {
        width: calc(150px * 38);
        animation: scrollBrandsMobile 50s linear infinite;
    }
    
    @keyframes scrollBrandsMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 19 - 16px * 19));
        }
    }
}

@media (max-width: 480px) {
    .brand-item {
        min-width: 120px;
        height: 80px;
        margin: 0 6px;
    }
    
    .brands-scroll-track {
        width: calc(120px * 38);
        animation: scrollBrandsSmall 40s linear infinite;
    }
    
    @keyframes scrollBrandsSmall {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 19 - 12px * 19));
        }
    }
}
