/* Base Reset & Variables */
:root {
    --primary-color: #0066FF;
    --primary-dark: #0047B3;
    --secondary-color: #00D4FF;
    --dark-bg: #0A0F1A;
    --dark-surface: #121A2F;
    --text-main: #FFFFFF;
    --text-muted: #A0ABC0;
    --glass-bg: rgba(18, 26, 47, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-display);
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5% 0;
    position: relative;
    overflow: hidden;
}

/* Background Blobs for dynamic look */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s ease-in-out infinite alternate;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-dark) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    padding: 1rem 1.5rem;
    color: var(--text-main);
    gap: 0.5rem;
}

.btn-secondary:hover {
    color: var(--secondary-color);
}

.btn-outline {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

/* Right Side Image/Card */
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 1rem;
    position: relative;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.hero-image {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.card-floating-badge {
    position: absolute;
    background: rgba(18, 26, 47, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: float-small 4s ease-in-out infinite alternate;
}

.card-floating-badge.top-right {
    top: -20px;
    right: -40px;
}

@keyframes float-small {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.icon-wrapper {
    font-size: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 8rem 5%;
    position: relative;
    background: var(--dark-surface);
    border-top: 1px solid var(--glass-border);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.section-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 800px;
    line-height: 1.8;
}

.section-text strong {
    color: var(--text-main);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-item {
    background: rgba(10, 15, 26, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 102, 255, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--secondary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-list li::before {
    content: 'â†’';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-list li strong {
    color: var(--text-main);
}

/* Contact Block in About */
.contact-block {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: rgba(10, 15, 26, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.contact-block h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.contact-phones {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1.2rem 2rem;
    background: rgba(18, 26, 47, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.phone-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.phone-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-item a:hover {
    color: var(--secondary-color);
}

.whatsapp-btn {
    background: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.contact-person {
    /* Base styles added via inline-style in HTML, adding hover rule here */
}

.contact-person:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5) !important;
}

/* Responsive Design - Tablets */
@media (max-width: 992px) {
    .navbar {
        flex-direction: column;
        padding: 1rem 5%;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-content {
        margin-bottom: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .card-floating-badge.top-right {
        right: -10px;
    }

    .about, .services, .trusted-partners {
        padding: 5rem 5%;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .nav-links {
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 12rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-primary, .btn-secondary, .btn-outline {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-block {
        padding: 2rem 1.5rem;
    }

    .phone-item {
        width: 100%;
        justify-content: center;
    }

    .partners-grid {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* Trusted Partners Section */
.trusted-partners {
    padding: 6rem 5%;
    background: var(--dark-bg);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.partners-content {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 500;
}

.partners-intro strong {
    color: var(--text-main);
}

.partners-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4rem;
    font-family: var(--font-display);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 90px;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img.partner-logo {
    object-fit: contain;
    width: auto;
    max-width: 180px;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.partner-logo span {
    display: block;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   Equipment Slider Section
   ========================================================================== */

.slider-section {
    padding: 7rem 5%;
    background: var(--dark-surface);
    border-top: 1px solid var(--glass-border);
}

/* Wrapper: arrows + track */
.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
}

/* Arrow buttons */
.slider-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 26, 47, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    transform: scale(1.08);
}

/* Overflow mask */
.slider-track-container {
    flex: 1;
    overflow: hidden;
}

/* Moving track */
.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Individual slide card */
.slide-item {
    flex: 0 0 calc((100% - 3rem) / 3); /* 3 visible */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.slide-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 45px rgba(0, 102, 255, 0.2);
}

/* Image area */
.slide-img-box {
    width: 100%;
    height: 220px;
    background: rgba(10, 15, 26, 0.5);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.5s ease;
}

.slide-item:hover .slide-img-box img {
    transform: scale(1.06);
}

/* Text area */
.slide-info {
    padding: 1.25rem 1.4rem 1.5rem;
}

.slide-cat {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.slide-info h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.slide-item:hover .slide-info h4 {
    color: var(--secondary-color);
}

.slide-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Dot indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--secondary-color);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Responsive */
@media (max-width: 1023px) {
    .slide-item {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 639px) {
    .slide-item {
        flex: 0 0 100%;
    }
    .slider-arrow {
        width: 38px;
        height: 38px;
    }
    .slide-img-box {
        height: 180px;
    }
}

/* ==========================================================================
   Solutions Gallery Section
   ========================================================================== */

.solutions-gallery {
    padding: 7rem 5%;
    background: var(--dark-bg);
    border-top: 1px solid var(--glass-border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.gallery-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 22px 45px rgba(0, 102, 255, 0.25), 0 5px 15px rgba(0, 0, 0, 0.4);
}

.gallery-img-box {
    width: 100%;
    height: 240px;
    background: rgba(10, 15, 26, 0.5);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .gallery-img-box img {
    transform: scale(1.08);
}

.gallery-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-info h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.gallery-card:hover .gallery-info h4 {
    color: var(--secondary-color);
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Gallery Responsive Design */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .gallery-img-box {
        height: 210px;
    }
}

/* ==========================================================================
   Google Maps Section
   ========================================================================== */

.map-wrapper {
    margin: 3rem auto;
    max-width: 800px;
    width: 100%;
    padding: 0 1rem;
}

.map-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.15), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 16px;
    display: block;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: invert(88%) hue-rotate(180deg) brightness(100%) contrast(90%);
}

.map-actions {
    margin-top: 1.2rem;
    text-align: center;
}

.map-actions a svg {
    transition: transform 0.3s ease;
}

.map-actions a:hover svg {
    transform: translate(2px, -2px);
}

