body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: background 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00ffff;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00ffff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end; /* Align to bottom */
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 10vh; /* Add some padding from the bottom */
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 255, 255, 0.5);
    animation: fadeIn 2s ease-in-out;
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 0;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.portfolio-filters {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-filters button {
    background: none;
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.portfolio-filters button.active, .portfolio-filters button:hover {
    background: #00ffff;
    color: #121212;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    transition: all 0.5s ease;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.portfolio-item.hide {
    display: none;
}

.portfolio-item img, .portfolio-item video {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img, .portfolio-item:hover video {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
}

.social-icons a {
    color: #fff;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00ffff;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #1a1a1a;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #242424;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i {
    font-size: 3rem;
    color: #00ffff;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-deliverables {
    text-align: left;
    margin-top: 1rem;
    color: #ccc;
}

.service-deliverables h4 {
    font-size: 1.1rem;
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.service-deliverables ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.service-deliverables ul li {
    margin-bottom: 0.25rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ffff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #333;
    background: #242424;
    color: #fff;
    border-radius: 5px;
}

.contact-form button {
    padding: 1rem;
    background: #00ffff;
    color: #121212;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #00b3b3;
}

.success-message {
    text-align: center;
    padding: 1rem;
    background: #00ffff;
    color: #121212;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    padding: 2rem 0;
    text-align: center;
}

.social-links a {
    color: #fff;
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00ffff;
}

footer p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #00ffff;
    color: #121212;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.fade-in {
    transition: opacity 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in {
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .nav-links {
        display: none; /* Basic responsive handling for now */
    }
}