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

body {
    /* Premium dark radial gradient background instead of solid black */
    background: radial-gradient(circle at top, #0a142e 0%, #000000 80%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* --- BACKGROUND IOT ANIMATIONS --- */
.bg-iot-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-icon {
    position: absolute;
    width: 80px; height: 80px;
    color: rgba(74, 141, 255, 0.18); /* Increased visibility from 0.05 */
    animation: floatOrbit 25s infinite linear;
}

.bg-icon-1 { top: 15%; left: 10%; animation-duration: 30s; animation-direction: reverse; }
.bg-icon-2 { top: 60%; left: 80%; animation-duration: 25s; width: 120px; height: 120px; }
.bg-icon-3 { top: 80%; left: 15%; animation-duration: 28s; animation-direction: reverse; }
.bg-icon-4 { top: 20%; left: 75%; animation-duration: 35s; }
.bg-icon-5 { top: 50%; left: 45%; animation-duration: 20s; width: 60px; height: 60px; }

@keyframes floatOrbit {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-40px) rotate(120deg) scale(1.1); }
    66% { transform: translateY(20px) rotate(240deg) scale(0.9); }
    100% { transform: translateY(0) rotate(360deg) scale(1); }
}

/* --- HEADER EXACTLY AS SKETCHED --- */
.top-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    margin-bottom: 2rem;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInDown 1.5s ease-out, floatLogo 6s ease-in-out infinite 1.5s;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); filter: drop-shadow(0 15px 25px rgba(74, 141, 255, 0.4)); }
}

.z-icon {
    height: 120px;
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.z-typography {
    height: 55px; /* Increased Size */
    filter: brightness(0) invert(1);
    animation: typographyGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes typographyGlowPulse {
    0% { filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); transform: scale(1); }
    100% { filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(74, 141, 255, 0.8)); transform: scale(1.03); }
}

/* Big, Bold Animated Slogan */
.slogan {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    /* Animated Gradient Text Effect */
    background: linear-gradient(90deg, #538aff 0%, #ffffff 50%, #538aff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    animation: shineFlow 4s linear infinite, scaleUp 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes shineFlow {
    to { background-position: 200% center; }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.exciting-text {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 0.15em;
    font-weight: 300;
    color: #a3adc2;
    margin-top: 1rem;
    text-transform: uppercase;
    animation: textTrackingIn 2s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.5s both;
}

@keyframes textTrackingIn {
    0% { letter-spacing: 0.8em; opacity: 0; filter: blur(5px); }
    100% { letter-spacing: 0.15em; opacity: 1; filter: blur(0); }
}

.coming-soon-badge {
    position: relative;
    margin-top: 2rem;
    padding: 0.8rem 2.5rem;
    background: rgba(74, 141, 255, 0.05);
    border: 1px solid rgba(74, 141, 255, 0.3);
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(74, 141, 255, 0.1), inset 0 0 10px rgba(74, 141, 255, 0.05);
    animation: floatBadge 3s ease-in-out infinite, fadeIn 2s ease-in 1s both;
    overflow: hidden;
}

.coming-soon-badge span {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(74, 141, 255, 0.8);
    position: relative;
    z-index: 2;
}

/* Glass badge effect passing sweep reflection */
.coming-soon-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: sweepGlint 4s infinite 2s;
    transform: skewX(-20deg);
    z-index: 1;
}

@keyframes sweepGlint {
    0% { left: -100%; }
    50% { left: 200%; }
    100% { left: 200%; }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 20px rgba(74, 141, 255, 0.1); }
    50% { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(74, 141, 255, 0.3); border-color: rgba(74, 141, 255, 0.6); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* --- MIDDLE BANNER SLIDESHOW --- */
.slider-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    width: 100%;
    max-width: 1500px; /* Increased maximum width considerably */
    padding: 0 2rem;
    flex-grow: 1; /* Automatically takes all middle space forcing footer to bottom */
    margin-bottom: 5rem;
}

.slideshow-box {
    position: relative;
    width: 100%;
    max-width: 1300px; /* Massively increased width of SS slides */
    aspect-ratio: 21 / 9; /* Cinematic ultrawide aspect ratio to support the wider size */
    background: #050a14;
    overflow: hidden;
    border-radius: 12px; /* Elegant refined corner */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(74, 141, 255, 0.1);
    /* Dynamic pulsing shadow border effect */
    animation: pulseBorder 5s ease-in-out infinite;
}

@keyframes pulseBorder {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(74, 141, 255, 0.1); }
    50% { box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 80px rgba(74, 141, 255, 0.4); }
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Cool animation: The image will zoom OUT extremely slowly and rotate perfectly while fading */
    transform: scale(1.15) rotate(1deg);
    transition: opacity 1.5s ease-in-out, transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    z-index: 5;
}

.slide-1 { background-image: url('assets/SS1.jpg'); }
.slide-2 { background-image: url('assets/SS2.jpg'); }
.slide-3 { background-image: url('assets/SS3.jpg'); }
.slide-4 { background-image: url('assets/SS4.jpg'); }
.slide-5 { background-image: url('assets/SS5.jpg'); }

.slider-arrow {
    width: 50px;
    height: 50px;
    color: #444; /* Dim color typical of unused ui */
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease;
}

.slide-left {
    animation: bounceLeft 3s infinite ease-in-out;
}

.slide-right {
    animation: bounceRight 3s infinite ease-in-out;
}

@keyframes bounceLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); color: rgba(255,255,255,0.5); }
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); color: rgba(255,255,255,0.5); }
}

.slider-arrow svg {
    width: 100%;
    height: 100%;
}

.slider-arrow:hover {
    color: #fff;
    transform: scale(1.3) !important;
    animation: none;
}

/* --- BOTTOM CONTACT BLOCK --- */
.contact-block {
    width: 100%;
    /* Premium metallic gradient footer instead of flat grey */
    background: linear-gradient(135deg, #e8eaec 0%, #cecece 100%);
    color: #000000;
    text-align: center;
    padding: 5rem 2rem;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.5);
    margin-top: auto;
}

.contact-block h3 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #111111;
    animation: textTrackingIn 1.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.contact-block p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: #333333;
}

.email-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.3s, border-color 0.3s, transform 0.3s;
    padding-bottom: 0.2rem;
}

.email-link svg {
    color: #4a8dff;
    transition: transform 0.3s;
}

.email-link:hover {
    color: #4a8dff;
    border-color: #4a8dff;
    transform: translateY(-3px);
}

.email-link:hover svg {
    transform: scale(1.1);
}

/* --- RESPONSIVENESS FOR MOBILE & TABLET --- */
@media (max-width: 900px) {
    .slogan {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .slideshow-box {
        aspect-ratio: 16 / 10;
        max-width: 95vw;
        border-radius: 16px;
    }
    
    /* Make arrows overlay neatly inside the box on smaller screens */
    .slider-section {
        position: relative;
        padding: 0;
        gap: 0;
        width: 100%;
    }
    
    .slider-arrow {
        position: absolute;
        z-index: 20;
        width: 45px;
        height: 45px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-radius: 50%;
        padding: 0.5rem;
        border: 1px solid rgba(255,255,255,0.15);
    }
    
    .slide-left {
        left: 15px;
        animation: none;
    }
    
    .slide-right {
        right: 15px;
        animation: none;
    }
}

@media (max-width: 600px) {
    .top-header {
        padding-top: 2rem;
    }
    
    .z-icon {
        height: 70px;
    }
    
    .z-typography {
        height: 30px;
    }
    
    .contact-block {
        padding: 3rem 1.5rem;
    }
    
    .email-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .email-link {
        font-size: 1.2rem;
        justify-content: center;
    }
}
