/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #0d0d0d, #1a1a1a);
    color: white;
    font-size: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Navbar - Not Fixed */
.navbar {
    background: rgba(30, 30, 30, 0.95);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 5px 10px rgba(255, 255, 255, 0.1);
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s ease-in-out;
    box-sizing: border-box;
}

.nav-logo {
    height: 60px;
    /* Increased size */
    vertical-align: middle;
    margin-right: 12px;
    filter: drop-shadow(0px 2px 4px rgba(255, 255, 255, 0.5));
    /* Light glow for contrast */
}

.navbar .logo {
    font-size: 24px;
    /* Slightly bigger */
    font-weight: 800;
    color: white;
    /* Change to white for contrast */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease-in-out;
    white-space: nowrap;
}

.navbar .logo:hover {
    transform: scale(1.1);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar ul li {
    display: inline-block;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.navbar ul li a:hover {
    background: #00d4ff;
    color: black;
}

/* Remove unnecessary padding for body */
body {
    padding-top: 0;
}

@media (max-width: 1024px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        text-align: center;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Features Section - Improved */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 80px 10%;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    border-radius: 50px;
    margin: 50px auto;
    max-width: 1200px;
    text-align: center;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 5px 15px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
}

.feature:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 255, 255, 0.4);
}

.feature h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00d4ff;
}

.feature p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        padding: 40px 5%;
    }
}

/* Hero Section - Improved for Cohesion */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    box-shadow: 0px 5px 20px rgba(0, 255, 255, 0.2);
    padding: 60px 10%;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 20%, transparent 80%);
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00d4ff;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    color: #ccc;
    max-width: 800px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Get Started Button - Styled for Cohesion */
.cta-button {
    background: linear-gradient(135deg, #00d4ff, #007bff);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0px 5px 15px rgba(0, 212, 255, 0.4);
    transition: transform 0.3s ease-in-out;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 212, 255, 0.5);
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 80px 5%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .cta-button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #00d4ff, #007bff);
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0px 5px 15px rgba(0, 212, 255, 0.4);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.floating-contact:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Contact Form Popup - Updated Based on Latest contact.html */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 500px;
    background: rgba(20, 20, 20, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0px 0px 20px rgba(0, 212, 255, 0.5);
    text-align: center;
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@media (max-width: 500px) {
    .popup {
        width: 95%;
        max-width: 90%;
        padding: 30px;
    }
}

/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 5px;
    padding-right: 5%;
}

.input-group label {
    font-weight: 600;
    color: #00d4ff;
    font-size: 14px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #444;
    border-radius: 10px;
    font-size: 16px;
    background: #1a1a1a;
    color: white;
    outline: none;
    transition: border 0.3s ease-in-out;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.input-group textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    background: linear-gradient(135deg, #00d4ff, #007bff);
    color: white;
    padding: 14px 24px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 12px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    width: 100%;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    transform: scale(1.05);
}

.popup .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: white;
    z-index: 10;
    transition: transform 0.2s ease-in-out;
}

.popup .close-button:hover {
    transform: rotate(90deg);
}


/* Ensure all elements are visible and not blocked by edges */
.container {
    padding: 20px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


/* About Page - Enhanced Styling */
.hero-about {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #004d7a, #008793, #00bf72);
    color: white;
}

.hero-about h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-about p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
    padding: 20px;
}

.about-content h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #008793;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.about-image {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-caption {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}