/* SIoTs - Smart IoT Solutions Stylesheet */

:root {
    --primary-color: #00a8a8;
    --secondary-color: #008080;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: #e3f2fd;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Trust Badges */
.trust-badges {
    background: var(--light-color);
    padding: 50px 0;
}

.badges-carousel {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.badge-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 10px;
}

.badge-item img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
    display: block;
}

.badge-item span {
    display: block;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-card p {
    color: #666;
    font-size: 14px;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.industry-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.industry-card h3 {
    padding: 20px;
    font-size: 22px;
    color: var(--dark-color);
}

.industry-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* Room Solutions */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.solution-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.solution-card h3 {
    padding: 20px 20px 10px;
    font-size: 22px;
    color: var(--dark-color);
}

.solution-card p {
    padding: 0 20px;
    color: #666;
    margin-bottom: 20px;
}

.btn-explore {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-explore:hover {
    background: var(--secondary-color);
}

/* Success Stories */
.success-stories {
    background: var(--light-color);
}

.stories-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.btn-view-all {
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-view-all:hover {
    background: var(--secondary-color);
}

.story-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.story-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-card h3 {
    padding: 20px;
    font-size: 18px;
    color: var(--dark-color);
}

.read-more {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Testimonials - Slider */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}

.testimonial-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    padding: 0 5px;
}

.testimonial-slider .testimonial-card {
    width: 100%;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.testimonial-dots .dot:hover {
    background: rgba(0, 168, 168, 0.3);
}

.testimonial-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Testimonials - Card (existing) */
.testimonial-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 50px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.quote-icon {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
}

.testimonial-image img {
    width: 100%;
    border-radius: 10px;
}

/* Why Choose Us */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.benefit-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.benefit-card p {
    color: #666;
}

.text-center {
    text-align: center;
}

/* FAQs */
.faqs {
    background: var(--light-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-color);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #666;
}

/* Platform (Blogs Section) */
.hub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: #999;
    font-size: 14px;
}

.blog-content h3 {
    margin: 10px 0;
    font-size: 20px;
    color: var(--dark-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 28px;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
    }

    .stories-header,
    .hub-header {
        flex-direction: column;
        gap: 20px;
    }

    .products-grid,
    .industries-grid,
    .solutions-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

