/* --- GLOBAL RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling natively */
}

body {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.section-padding {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

/* --- ANIMATION CLASSES --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER & NAVIGATION --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(0, 0, 1, 0.512); /* Semi-transparent black */
    backdrop-filter: blur(10px); /* Glass blur effect */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header:hover{
    background-color: #000;
}
.logo img {
    width: 150px;
}

.desktop-nav a {
    margin-left: 30px;
    font-size: 1rem;
    color: #cccccc;
    font-weight: 500;
}

.desktop-nav a:hover {
    color: #00d4ff; /* Tech Cyan hover */
}

.hamburger {
    display: none; /* Hidden on Desktop */
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* --- MOBILE SIDE DRAWER --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: #0a0a0a;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    z-index: 2000;
    transform: translateX(100%); /* Hidden by default */
    transition: transform 0.4s ease-in-out;
    padding-top: 60px;
}

.mobile-nav-overlay.active {
    transform: translateX(0); /* Slides in */
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-links a {
    padding: 20px;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #222;
}

/* --- HERO SECTION --- */
/* --- ANIMATION KEYFRAMES --- */
@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* --- HERO SECTION WITH ANIMATED BACKGROUND --- */
.hero-section {
    background: linear-gradient(-45deg, #000000, #050a14, #001529, #080014);
    background-size: 400% 400%;
    animation: gradient-move 15s ease infinite;
    
    /* Layout Settings */
    padding: 100px 20px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Orbitron', monospace; /* Assuming you import this or fallback */
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .p1 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
}

.hero-content p {
    line-height: 1.6;
    letter-spacing: 1px;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .hero-btn1 {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-content .hero-btn {
    font-size: 1rem;
    background: transparent;
    padding: 12px 30px;
    border: 2px solid white;
    border-radius: 5px;
    color: white;
}

.hero-content .hero-btn:hover {
    background: white;
    color: black;
}

/* --- ABOUT SECTION --- */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00d4ff;
}

.about-p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #ccc;
}

/* --- SERVICES (What We Build) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #111;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #222;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
}
.logo-item{
    background: #11111100;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #22222200;
    transition: transform 0.3s;

}
.logo-item:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
}

.service-card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: #aaa;
}

/* --- VISION & MISSION --- */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: #fff;
    color: #000;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.vm-card h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 800;
}

.vm-card p {
    color: #333;
    line-height: 1.6;
}

/* --- ECOSYSTEM SECTION --- */
.ecosystem-section {
    background-color: #000;
    text-align: center;
}

.ecosystem-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.ecosystem-intro {
    color: #888;
    margin-bottom: 50px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

.logo-link img {
    height: 150px; /* Adjusted to look like icons */
    margin: 0 auto 20px auto;
    object-fit: contain;
}

.logo-item h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.logo-item p {
    font-size: 1rem;
    color: #666;
}

/* --- VALUES SECTION --- */
.values-section {
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
}

.values-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.value-item h3 {
    color: #6dd5fa;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.value-item p {
    line-height: 1.5;
    color: #e0e0e0;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #000;
    padding: 60px 20px 20px;
    border-top: 1px solid #222;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-brand h2 {
    color: #00d4ff;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #888;
    margin-bottom: 20px;
}

.social-icons a {
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #00d4ff;
}

.footer-links-group {
    display: flex;
    gap: 80px;
}

.footer-column h3 {
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: #888;
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #111;
    padding-top: 20px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .logo-item{
        text-align: left;
    background: #11111100;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #22222200;
    transition: transform 0.3s;

}
    .desktop-nav {
        display: none; /* Hide standard nav */
    }

    .hamburger {
        display: block; /* Show menu button */
    }
    .value-section h1, h2, h3, p{
        text-align: center;
    }

    /* Hero Fixes */
    .hero-content h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-content p {
        letter-spacing: 0;
        font-size: 0.95rem;
        text-align: center;
    }

    .hero-content .hero-btn1 {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content .hero-btn {
        width: 80%;
    }

    .logo-item p{
        text-align: center;
    }
    .about-p{
        text-align: center;
    }

    /* Grid Stacking */
    .logo-grid, .values-grid, .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links-group {
        gap: 50px;
        justify-content: start;
    }
    .footer-brand h2, p {
        text-align: left;
    }
}

/* --- CONTACT PAGE STYLES --- */

.contact-page-section {
    background-color: #000000;
    min-height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px; /* Top padding clears the fixed header */
}

.contact-container {
    background-color: #0a0a0a; /* Slightly lighter black card */
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #222;
    width: 100%;
    max-width: 500px; /* Keeps form from getting too wide */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.contact-container h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-container p {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Form Groups */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    color: #ccc;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Inputs & Textarea */
.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s ease;
    outline: none;
}

/* Glow Effect on Focus */
.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #00d4ff; /* Tech Cyan */
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #00d4ff;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .contact-container {
        padding: 30px 20px;
    }
}