/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

body {
    background-color: #121212; /* Deep Black */
    color: #E0E0E0; /* Light Gray */
    text-align: center;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1E1E1E; /* Dark Gray */
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #FFFFFF;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links a {

    text-decoration: none;
    color: #B0B0B0; /* Soft Gray */
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2979FF ;
}

/* Buttons */
.nav-btn, .cta-btn {
    background-color: #2979FF;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.nav-btn:hover, .cta-btn:hover {
    background-color: #1E88E5;
    box-shadow: 0px 5px 15px rgba(41, 121, 255, 0.3);
}

/* Hero Section */
.hero {
    padding: 100px 20px;
}

.hero h1 {
    font-size: 28px;
    color: #FFFFFF;
}

.hero span {
    color: #2979FF; /* Soft Blue */
}

.hero p {
    font-size: 14px;
    margin-top: 10px;
    color: #B0B0B0;
}

/* Services Section */
#services {
    padding: 50px 20px;
}

h2 {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background-color: #1E1E1E;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 250px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

/* Shadow appears on hover */
.card:hover {
    box-shadow: 0px 8px 20px rgba(255, 255, 255, 0.15);
}

.card h3 {
    font-size: 16px;
    color: #FFFFFF;
}

.card p {
    font-size: 14px;
    color: #B0B0B0;
    margin-top: 5px;
}

/* About Section */
#about {
    padding: 50px 20px;
}

/* Footer */
footer {
    background-color: #1E1E1E;
    padding: 15px;
    text-align: center;
    width: 100%;
}


.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    text-decoration: none;
    color: #B0B0B0;
    font-size: 12px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.nav-btn{
    font-size: 18px;
}

.cta-btn{
    margin-top: 15px;
}
.hero{
    gap: 100px;
}

/* Hamburger Button (Hidden by Default) */
.hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px; /* Moves it to the right */
}

/* Mobile View */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #1E1E1E;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 10px 0;
    }

    .hamburger {
        display: block;
    }
}
/* 🔹 Modal Background (Blur Effect) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px); /* 🔥 Blurred background */
    background-color: rgba(0, 0, 0, 0.4); /* Slightly darker overlay */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🔹 Enlarged Modal Content */
.modal-content {
    background: #222;
    padding: 40px; /* Increased padding */
    border-radius: 15px;
    width: 550px;  /* Increased width */
    height: 320px; /* Increased height */
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

/* 🔹 Close Button (X) */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: white;
}

.close:hover {
    color: #ff4d4d;
}

/* 🔹 Modal Box (Internal Structure) */
.modal-box {
    display: flex;
    gap: 25px; /* Increased spacing */
    justify-content: center;
    align-items: center;
}

/* 🔹 Each Section Inside Modal */
.modal-section {
    flex: 1;
    background: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 200px; /* Ensures equal width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 200px; /* Forces equal height */
}

/* 🔹 Ensures heading alignment */
.modal-section h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* 🔹 Text inside modal */
.modal-section p {
    font-size: 14px;
    height: 40px; /* Fixes different text lengths */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 🔹 Buttons */
.modal-btn {
    width: 85%;
    padding: 12px;
    margin-top: auto; /* Ensures buttons are always at the bottom */
    background: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
    text-align: center;
    font-size: 15px;
}

.modal-btn:hover {
    background: #0056b3;
}

/* 🔹 Modal Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 🔹 Responsive Fix for Smaller Screens */
@media (max-width: 600px) {
    .modal-content {
        width: 90%;
        height: auto;
        flex-direction: column;
        gap: 15px;
        padding: 30px;
    }

    .modal-box {
        flex-direction: column;
        gap: 15px;
    }

    .modal-section {
        width: 100%;
        height: auto;
        padding: 15px;
    }

    .modal-btn {
        width: 100%;
    }
}

