
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: white;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    padding-top: 100px; /* Same height as header */
    background-color: black;
}

.header {
    position: fixed;  /* Keep header fixed at the top */
    top: 0;
    left: 0;
    width: 100%;  /* Full width */
    max-width: 100%;
    background: black;
    color: white;
    z-index: 1000;  /* Ensure it stays above other elements */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
    box-sizing: border-box;
}



/* Logo Container */
.logo {
    display: flex;
    align-items: center;
}

/* Static Subtle Glow for Default State */
.logo-img {
    width: 300px; /* Adjusted for desktop */
    height: 150px;
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.5)); /* Subtle blue glow */
    transition: filter 0.3s ease-in-out;
}

/* Hover Effect: Multi-Color Neon Animation */
.logo-img:hover {
    animation: neonHover 2s infinite alternate ease-in-out;
}

/* Neon Glow Animation on Hover */
@keyframes neonHover {
    0% {
        filter: drop-shadow(0 0 4px #007bff) 
                drop-shadow(0 0 7px #00ccff);
    }
    25% {
        filter: drop-shadow(0 0 5px #00ccff) 
                drop-shadow(0 0 8px #00ff99);
    }
    50% {
        filter: drop-shadow(0 0 6px #00ff99) 
                drop-shadow(0 0 9px #ffcc00);
    }
    75% {
        filter: drop-shadow(0 0 5px #ffcc00) 
                drop-shadow(0 0 8px #ff6699);
    }
    100% {
        filter: drop-shadow(0 0 4px #ff6699) 
                drop-shadow(0 0 7px #007bff);
    }
}

/* Menu Styles */
.menu {
    margin-right: 100px; /* Adjust as needed */
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0; /* Fixed incorrect margin value */
    padding: 0; /* Fixed incorrect padding value */
}

.menu ul li {
    position: relative; /* Ensures dropdown is positioned relative to the parent */
}

/* Stylish IoT-Themed Menu Links */
.menu ul li a {
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
    color: #00e1ff; /* Neon Blue */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s ease-in-out;
    font-family: 'Orbitron', sans-serif; /* Futuristic font */
}

/* Glow effect on hover */
.menu ul li a:hover {
    color: #00ff99; /* Neon Green */
    text-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99, 0 0 40px #00ff99;
}

/* Underline Hover Effect */
.menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #00ff99;
    transition: width 0.3s ease-in-out;
}

.menu ul li a:hover::after {
    width: 100%;
}

/* Flickering Animation */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.menu ul li a:hover {
    animation: flicker 1s infinite alternate;
}

/* Font Import for Futuristic Look */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 30px;
    color: #00e1ff; /* Neon Blue */
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1001;
    transition: transform 0.3s ease-in-out;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Click Effect */
.hamburger:active {
    transform: scale(0.9);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    text-align: center;
    padding-top: 120px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Menu List */
.mobile-menu ul {
    list-style: none;
    padding: 0;
}

/* Mobile Menu Items */
.mobile-menu ul li {
    margin: 20px 0;
    position: relative;
}

/* Mobile Menu Links */
.mobile-menu ul li a {
    text-decoration: none;
    color: #00e1ff; /* Neon Blue */
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Orbitron', sans-serif; /* Futuristic font */
    display: inline-block;
    position: relative;
    transition: color 0.3s ease-in-out;
}

/* Neon Glow Effect */
.mobile-menu ul li a:hover {
    color: #00ff99; /* Neon Green */
    text-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99, 0 0 40px #00ff99;
}

/* Underline Hover Effect */
.mobile-menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #00ff99;
    transition: width 0.3s ease-in-out;
}

.mobile-menu ul li a:hover::after {
    width: 100%;
}

/* Flickering Effect */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.mobile-menu ul li a:hover {
    animation: flicker 1s infinite alternate;
}

/* Mobile Menu Active State */
.mobile-menu.active {
    display: block;
}

/* Dropdown Menu (Mobile) */
.mobile-menu .dropdown {
    display: none;
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}

/* Show dropdown when active */
.mobile-menu .dropdown.active {
    display: block;
    max-height: 300px;
}

/* Dropdown Toggle Arrow */
.dropdown-toggle {
    cursor: pointer;
    color: #00e1ff;
    font-size: 20px;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

/* Rotate arrow when dropdown is open */
.dropdown-toggle.active {
    transform: rotate(180deg);
}

/* Dropdown Items */
.mobile-menu .dropdown li {
    margin: 10px 0;
}

/* Dropdown Links */
.mobile-menu .dropdown li a {
    font-size: 20px;
    text-transform: none;
    color: #00e1ff;
}

/* Hamburger Animation */
.hamburger.active {
    transform: rotate(90deg);
}


/* Responsive: Show Hamburger Menu Below 1366px */
@media (max-width: 1024px) {
    .menu {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .home-text h1 {
        font-size: 3rem; /* Smaller for tablets */
    }
}

@media (max-width: 768px) {
    .home-text h1 {
        font-size: 2.5rem; /* Adjust for mobile */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-text h1 {
        font-size: 2rem; /* Even smaller for small phones */
        text-align: center;
    }
}



/* Footer */
/* Full Page Layout */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Main Content Area */
#main-content {
    flex: 1; /* Pushes footer to the bottom */
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 120px; /* Adjust this if needed */
}


/* Footer (Always at Bottom) */
/* Footer Styling */

.footer {
    background: #0d1b2a; /* Deep IoT-themed blue */
    color: white;
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures spacing between content and copyright */
    align-items: center;
    min-height: 280px; /* Ensures footer has enough height */
}












/* Right Side - Social Media */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Social Media Icons */
/* Social Media Icons with Neon Glow */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 30px;
    transition: transform 0.3s ease-in-out, text-shadow 0.3s, color 0.3s;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Different Neon Colors for Each Icon */
.social-links a:nth-child(1) { text-shadow: 0 0 8px #0077b5, 0 0 15px #0077b5; } /* LinkedIn Blue */
.social-links a:nth-child(2) { text-shadow: 0 0 8px #ff0000, 0 0 15px #ff0000; } /* YouTube Red */
.social-links a:nth-child(3) { text-shadow: 0 0 8px #e4405f, 0 0 15px #e4405f; } /* Instagram Pink */
.social-links a:nth-child(4) { text-shadow: 0 0 8px #1da1f2, 0 0 15px #1da1f2; } /* Twitter Blue */
.social-links a:nth-child(5) { text-shadow: 0 0 8px #25d366, 0 0 15px #25d366; } /* WhatsApp Green */

/* Hover Effect - Bigger Glow */
.social-links a:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 30px rgba(255, 255, 255, 0.7);
}

/* Email Styling */
.email-text {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
}
.copy-right {
    text-align: center;
    width: 100%;
    padding: 10px 0;
    margin-top: auto; /* Ensures it stays at the bottom */
}


/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        max-width: 100%;
        align-items: center;
    }

    .footer-right {
        margin-top: 20px;
    }
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .header {
        height: 130px;
        padding: 10px 30px;
    }
    .logo-img {
        width: 250px;
        height: 125px;
    }
    .menu ul {
        gap: 15px;
    }
    .home-text {
        max-width: 55%;
        font-size: 1.4rem;
    }
    .home-text h1 {
        font-size: 4.5rem;
        max-width: 55%;
    }
    .home-container, .home1-container {
        padding: 40px;
    }
    .home-image img {
        max-width: 350px;
    }
}

/* Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
    .header {
        height: 100px;
        padding: 10px 20px;
        flex-direction: column;
        justify-content: center;
    }
    .logo-img {
        width: 200px;
        height: 100px;
    }
    .menu {
        margin: 10px 0 0 0;
    }
    .menu ul {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .menu ul li a {
        font-size: 14px;
    }
    .home-container, .home1-container {
        flex-direction: column;
        padding: 20px;
        min-height: auto;
    }
    .home-text {
        max-width: 110%;
        text-align: center;
        
    }
    .home-text h1 {
        font-size: 2rem;
        max-width: 100%;
    }
    .home-text p {
        font-size: 1.2rem;
        max-width: 100%;
    }
    .home-image {
        margin-top: 10px;
    }
    /* Main Content Area */
#main-content {
    
    margin-top: 100px; /* Adjust this if needed */
}
    .main-content-img {
        width: 70%;
        max-width: 400px;
        border-radius: 20px; /* Rounded corners */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Soft shadow */
    }
    .aws-image {
        width: 40%;
        max-width: 50px;
        top: 60%; /* Adjusted for mobile layout */
        right: -10%;
    }
}



/* Style for the dropdown menu */
.menu ul li .dropdown {
    display: none;
    position: absolute;
    background: transparent;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    top: 100%;
    left: 0;
    white-space: nowrap;
}

/* Show dropdown on hover */
.menu ul li:hover .dropdown {
    display: block; /* Makes items appear vertically */
}

/* Dropdown items (ensure they stack vertically) */
.menu ul li .dropdown li {
    display: block; /* Forces each item to be on a new line */
    padding: 8px 15px; /* Adds spacing for readability */
}

/* Dropdown links */
.menu ul li .dropdown li a {
    text-decoration: none;
    color: #00e1ff; /* Neon Blue */
    font-size: 14px;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
    font-family: 'Orbitron', sans-serif;
    background: transparent;
    display: block; /* Ensures full clickable area */
}

/* Hover effect */
.menu ul li .dropdown li a:hover {
    color: #00ff99; /* Neon Green */
    text-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99, 0 0 40px #00ff99;
}


/* Splash Screen */
/* Ensure Splash Screen Stays Centered */
.splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black; /* Adjust based on your design */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

/* Ensure the splash logo and GIF are centered */
.splash-logo, .splash-gif {
    max-width: 80%;
    max-height: 80%;
    display: block;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

/* Neon Text Effect */
.splash-text {
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    color: #00e1ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
    opacity: 0;
    text-align: center;
    animation: zoomIn 3.5s ease-in-out forwards, neonGlow 1.5s infinite alternate;
    
}

/* Zoom-in Animation */
@keyframes zoomIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Neon Glow Animation */
@keyframes neonGlow {
    0% { text-shadow: 0 0 5px #00e1ff, 0 0 10px #00e1ff, 0 0 20px #00e1ff; }
    100% { text-shadow: 0 0 10px #b569de, 0 0 20px #6c6ee3, 0 0 30px #879fd8; }
}



/* Hide main content until loaded */
#main-content.hidden {
    display: none;
}
#main-content.loaded {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Faster fade effect */
.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.fade-in {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* Footer Container */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px;
    background: #222;
    color: white;
    text-align: left;
   border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    align-items: center;
}

/* Left Section - Contact Form */
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-left h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #e8f1ee;
}

/* Contact Form Styling */
#contact-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Input Fields */
#contact-form input, 
#contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #555;
    background: #333;
    color: white;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

/* Input Focus Effect */
#contact-form input:focus, 
#contact-form textarea:focus {
    border-color: #e8f1ee;
    box-shadow: 0 0 8px rgba(0, 255, 153, 0.7);
}

/* Submit Button */
#contact-form button {
    padding: 12px;
    background: #e8f1ee;
    color: #222;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    align-self: center;
    width: 50%;
}

/* Button Hover Effect */
#contact-form button:hover {
    background: #448fbb;
    transform: scale(1.05);
}

/* Success Message Animation */
#successMessage {
    display: none;
    margin-top: 10px;
    font-weight: bold;
    color: #e1eee9;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}



/* Responsive Grid */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 80%;
    }

    .footer-left, .footer-right {
        align-items: center;
    }

    #contact-form {
        max-width: 90%;
    }
}



#user-menu {
    position: relative;
  }
  
/* Remove list styles and box appearance */
.user-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
  }
  
  /* Remove hover background */
  .user-dropdown li {
    background: transparent;
    padding: 0px 0;
    margin: 0;
    border: none;
  }
  
  /* Style for user email (just neon glowing text) */
  .user-dropdown li span {
    color: #0ff;
    font-size: 14px;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
    display: inline;
  }
  
  /* Style for logout link */
  .user-dropdown li a {
    color: #0ff;
    text-decoration: none;
    font-size: 14px;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
  }
  
  .user-dropdown li a:hover {
    text-decoration: underline;
    background: none;
  }
  
  
  .user-initial {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
  }
  



