/* IoT Solutions Page Styles */

/* General Page Styles */
.page-iot {
    font-family: 'Poppins', sans-serif;
}

.page-iot .header {
    background-color: rgba(13, 46, 56, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.page-iot .main-nav a.active {
    color: #fbbc05;
}

.page-iot .main-nav a.active::after {
    width: 100%;
    background-color: #fbbc05;
}

/* Hero Section */
.page-iot .hero {
    background: linear-gradient(135deg, #0a2540, #1e5799);
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.iot-hero .hero-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    letter-spacing: 1px;
}

.iot-hero .hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    font-weight: 400;
    letter-spacing: 0.5px;
    max-width: 800px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-particles:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: particlesFloat 30s linear infinite;
    opacity: 0.5;
}

@keyframes particlesFloat {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.hero-scroll-indicator span {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 300;
}

.hero-scroll-indicator i {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* IoT Overview Section */
.iot-overview {
    padding: 100px 0 80px;
    background-color: #f9f9f9;
}

.iot-overview .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1e5799;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.text-highlight {
    position: relative;
    color: #1e5799;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.tech-showcase {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.tech-icon {
    text-align: center;
    width: 140px;
    padding: 25px 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tech-icon i {
    font-size: 45px;
    margin-bottom: 15px;
    color: #1e5799;
}

.tech-icon span {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
}

/* IoT Services Section */
.iot-services {
    padding: 80px 0;
    background-color: #0a2540;
    position: relative;
    overflow: hidden;
}

.iot-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(30, 87, 153, 0.1), transparent 70%);
    z-index: 0;
}

.services-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.services-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e5799' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: particlesFloatSlow 45s linear infinite;
    opacity: 0.4;
}

@keyframes particlesFloatSlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.iot-services .section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.iot-services .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

.iot-services .section-title {
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 0;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    z-index: 1;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.service-card .service-features {
    margin-bottom: 20px;
}

.btn-learn-more {
    margin-top: auto;
    align-self: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.service-icon {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 24px;
    color: #fbbc05;
    background: rgba(251, 188, 5, 0.15);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fbbc05;
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.3;
}

.service-card p {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
}

.service-features {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.service-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-features i {
    color: #fbbc05;
    margin-right: 8px;
    font-size: 8px;
    min-width: 8px;
}

.service-features li:before {
    display: none;
}

/* Technical Showcase Section */
.technical-showcase {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.showcase-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.showcase-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.showcase-image {
    position: relative;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.showcase-image:hover {
    transform: translateY(-10px);
}

.code-representation {
    background-color: #1a2233;
    color: #f1f1f1;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    position: relative;
    border: 1px solid #364156;
}

.code-representation:before {
    content: 'Assembly';
    position: absolute;
    top: 0;
    right: 10px;
    background: #fbbc05;
    color: #1a2233;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0 0 5px 5px;
}

.code-representation pre {
    margin: 0;
    white-space: pre-wrap;
}

.code-representation code {
    font-family: 'Consolas', 'Courier New', monospace;
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 14px;
}

.showcase-details {
    padding: 20px;
    border-radius: 10px;
}

.detail-block {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid #1e5799;
    transition: all 0.3s ease;
}

.detail-block:hover {
    border-left-color: #fbbc05;
    transform: translateX(5px);
}

.detail-block h3 {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #1e5799;
}

.detail-block h3 i {
    margin-right: 15px;
    color: #fbbc05;
    font-size: 22px;
    background: rgba(251, 188, 5, 0.1);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}

.detail-block p {
    line-height: 1.7;
    color: #666;
    font-size: 16px;
}

/* Case Study Section */
.iot-case-study {
    padding: 100px 0;
    background-color: #f9f9fa;
    position: relative;
    overflow: hidden;
}

.iot-case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 87, 153, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.case-study-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.case-study-content .section-tag {
    color: #1e5799;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    background: rgba(30, 87, 153, 0.1);
    padding: 5px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.case-study-content .section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
}

.case-study-details {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-challenge,
.case-solution,
.case-results {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(249, 249, 250, 0.95));
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.case-challenge {
    border-top: 4px solid #f39c12;
}

.case-solution {
    border-top: 4px solid #2ecc71;
}

.case-results {
    border-top: 4px solid #3498db;
}

.case-challenge::before,
.case-solution::before,
.case-results::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    z-index: 0;
}

.case-challenge::before {
    background: radial-gradient(circle, rgba(243, 156, 18, 0.15), transparent 70%);
}

.case-solution::before {
    background: radial-gradient(circle, rgba(46, 204, 113, 0.15), transparent 70%);
}

.case-results::before {
    background: radial-gradient(circle, rgba(52, 152, 219, 0.15), transparent 70%);
}

.case-challenge::after,
.case-solution::after,
.case-results::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(30, 87, 153, 0.05), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-challenge:hover::after,
.case-solution:hover::after,
.case-results:hover::after {
    opacity: 1;
}

.case-challenge:hover,
.case-solution:hover,
.case-results:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-study-details h3 {
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #333;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.case-challenge h3 i,
.case-solution h3 i,
.case-results h3 i {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-challenge h3 i {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.15);
}

.case-solution h3 i {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.15);
}

.case-results h3 i {
    color: #3498db;
    background: rgba(52, 152, 219, 0.15);
}

.case-challenge:hover h3 i,
.case-solution:hover h3 i,
.case-results:hover h3 i {
    transform: scale(1.1) rotate(10deg);
}

.case-study-details p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.case-results ul {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.case-results li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #555;
    position: relative;
    transition: transform 0.3s ease;
}

.case-results li:hover {
    transform: translateX(5px);
}

.case-results li:last-child {
    margin-bottom: 0;
}

.case-results i {
    color: #3498db;
    margin-right: 12px;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
    background: rgba(52, 152, 219, 0.1);
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
}

/* R&D Section */
.rd-section {
    padding: 100px 0;
    background-color: #f9f9fa;
    position: relative;
    overflow: hidden;
}

.rd-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(30, 87, 153, 0.05) 100%);
    z-index: 0;
}

.rd-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.03) 0%, transparent 100%);
    z-index: 0;
}

.rd-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.rd-text {
    padding-right: 40px;
}

.rd-text .section-tag {
    background: rgba(251, 188, 5, 0.15);
    color: #0a617d;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.rd-text .section-title {
    margin-bottom: 25px;
    font-size: 42px;
    position: relative;
    padding-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.rd-text .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fbbc05, #1e5799);
}

.rd-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.rd-text .btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #1e5799, #0a617d);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 25px;
    box-shadow: 0 10px 20px rgba(30, 87, 153, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.rd-text .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 87, 153, 0.3);
    background: linear-gradient(135deg, #0a617d, #1e5799);
}

.rd-visual {
    position: relative;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rd-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced Tech Diagram */
.tech-diagram {
    position: relative;
    height: 520px;
    margin: 20px auto;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    padding: 20px;
    overflow: visible;
}

.tech-diagram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
    animation: pulse 4s infinite alternate;
}

/* Vertical axis line */
.tech-diagram::after {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    height: calc(100% + 50px);
    width: 3px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(200, 220, 255, 0.2) 15%, 
        rgba(200, 220, 255, 0.3) 50%,
        rgba(200, 220, 255, 0.2) 85%,
        transparent 100%);
    z-index: 0;
    transform: translateX(-50%);
    border-radius: 3px;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.diagram-node {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: scale(1);
    border: 1px solid rgba(240, 240, 240, 0.8);
    z-index: 2;
}

.diagram-node i {
    font-size: 32px;
    margin-bottom: 10px;
    background: #E8F1FB;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #1a72bf;
}

.diagram-node:hover i {
    transform: scale(1.1);
    background: #D7E6F7;
}

.diagram-node span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.diagram-node.central {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    z-index: 5;
    background: #fff;
    box-shadow: 0 0 0 8px rgba(255, 240, 199, 0.4);
    border-color: rgba(251, 188, 5, 0.2);
}

.diagram-node.central i {
    font-size: 38px;
    background: rgba(251, 188, 5, 0.15);
    width: 80px;
    height: 80px;
    color: #d19200;
}

.diagram-node.n1 {
    top: 15%;
    left: 20%;
}

.diagram-node.n2 {
    top: 15%;
    right: 20%;
}

.diagram-node.n3 {
    bottom: 15%;
    left: 20%;
}

.diagram-node.n4 {
    bottom: 15%;
    right: 20%;
}

.diagram-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.diagram-connections svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.diagram-connections line {
    stroke: rgba(30, 87, 153, 0.15);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: dashAnimation 30s linear infinite;
}

@keyframes dashAnimation {
    to {
        stroke-dashoffset: -1000;
    }
}

.diagram-connections:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    border: 2px dashed rgba(30, 87, 153, 0.08);
    transform: translate(-50%, -50%);
}

/* CTA Section */
.iot-cta {
    background: linear-gradient(135deg, #0a2540, #1e5799);
    padding: 80px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-content .btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background-color: #fbbc05;
    color: #0a2540;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.cta-content .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #f8c934;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cta-particles:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: particlesFloat 30s linear infinite;
    opacity: 0.3;
}

/* Common Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 992px) {
    .iot-hero .hero-title {
        font-size: 3rem;
    }
    
    .showcase-content,
    .rd-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .rd-text {
        padding-right: 0;
    }
    
    .tech-diagram {
        margin: 40px auto 0;
    }
    
    .iot-services {
        padding: 80px 0;
    }
    
    .iot-services .section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .service-icon i {
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 40px;
    }
    
    .case-study-details {
        gap: 20px;
    }
    
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 0 10px;
    }
}

@media screen and (max-width: 768px) {
    .iot-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .iot-hero .hero-description {
        font-size: 1rem;
    }
    
    .tech-showcase {
        gap: 20px;
    }
    
    .tech-icon {
        width: 110px;
        padding: 20px 10px;
    }
    
    .case-study-details {
        grid-template-columns: 1fr;
    }
    
    .case-challenge,
    .case-solution,
    .case-results {
        padding: 25px;
    }
    
    .iot-cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-card h3 {
        font-size: 22px;
    }
    
    .service-card p {
        font-size: 15px;
    }
    
    .service-icon i {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 32px;
    }
    
    .iot-services .section-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 576px) {
    .iot-hero .hero-title {
        font-size: 2rem;
    }
    
    .iot-hero .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    .service-icon i {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 28px;
    }
    
    .tech-icon {
        width: 90px;
    }
    
    .tech-icon i {
        font-size: 36px;
    }
    
    .diagram-node {
        width: 90px;
        height: 90px;
    }
    
    .diagram-node.central {
        width: 120px;
        height: 120px;
    }
    
    .diagram-node i {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 24px;
    }
    
    .diagram-node.central i {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 30px;
    }
    
    .cta-content h2 {
        font-size: 1.7rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .services-container {
        padding: 0;
    }
}

/* Additional diagram enhancements */
.diagram-node.central::after {
    content: '';
    position: absolute;
    width: 170%;
    height: 170%;
    border-radius: 50%;
    border: 1px solid rgba(251, 188, 5, 0.1);
    z-index: -1;
}

.diagram-node.n1 i {
    color: #4285f4;
    background: rgba(66, 133, 244, 0.1);
}

.diagram-node.n2 i {
    color: #3b7ded;
    background: rgba(59, 125, 237, 0.1);
}

.diagram-node.n3 i {
    color: #8a5cf5;
    background: rgba(138, 92, 245, 0.1);
}

.diagram-node.n4 i {
    color: #34a853;
    background: rgba(52, 168, 83, 0.1);
}

/* Hover effects */
.diagram-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.diagram-node.central:hover {
    transform: translate(-50%, -55%);
}

/* Horizontal connectors for diagram */
.tech-diagram::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 80%;
    height: 80%;
    transform: translateX(-50%);
    border: 1px dashed rgba(30, 87, 153, 0.08);
    border-radius: 50%;
    z-index: 0;
} 