/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a12;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 163, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00A3FF;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 200px 0 150px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a12 0%, #151522 50%, #0a0a12 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 163, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(0, 163, 255, 0.05) 49%, rgba(0, 163, 255, 0.05) 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(0, 163, 255, 0.05) 49%, rgba(0, 163, 255, 0.05) 51%, transparent 51%);
    background-size: 20px 20px;
    z-index: -1;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #b0b0b0;
}

.btn {
    display: inline-block;
    background-color: #00A3FF;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 163, 255, 0.4);
    background-color: #0080cc;
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: #0f0f1a;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.services-subtitle {
    text-align: center;
    color: #b0b0b0;
    font-size: 18px;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #151522;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 163, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 163, 255, 0.2);
    border-color: rgba(0, 163, 255, 0.3);
}

.service-icon {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #00A3FF;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: #0a0a12;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.5), transparent);
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.5), transparent);
}

.about h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #ffffff;
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #b0b0b0;
    font-size: 18px;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background-color: #0f0f1a;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.contact > .container > p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #b0b0b0;
}

.contact-info p {
    font-size: 20px;
}

.contact-info a {
    color: #00A3FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0080cc;
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 60px auto 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: #151522;
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 10px;
    color: #e0e0e0;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00A3FF;
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555566;
}

.contact-form .btn {
    align-self: center;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #0a0a12;
    color: #b0b0b0;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 163, 255, 0.1);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #00A3FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0080cc;
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: #00A3FF;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 163, 255, 0.2);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: #00A3FF;
    background-color: rgba(0, 163, 255, 0.05);
    text-decoration: none;
}

/* Header Scroll Effect */
header.scrolled {
    background-color: rgba(10, 10, 18, 0.98);
    box-shadow: 0 4px 30px rgba(0, 163, 255, 0.15);
    padding: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        margin-top: 10px;
    }

    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }

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

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

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 30px;
    }

    .services-subtitle {
        font-size: 16px;
        margin-bottom: 60px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px;
    }

    .services,
    .about,
    .contact {
        padding: 80px 0;
    }

    .contact-form-container {
        margin-top: 40px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .about p {
        font-size: 16px;
    }

    .contact-info p {
        font-size: 18px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Fade in animation on scroll */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a12;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 163, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 163, 255, 0.5);
}