/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background-color: #000;
}

::-webkit-scrollbar-track {
    background-color: #0a0a0a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #33FF00;
    border-radius: 10px;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #2ADB00;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Desktop-specific styling */
@media screen and (min-width: 1024px) {
    .container {
        width: 85%;
        padding: 60px 0;
    }
    
    section {
        padding: 100px 0;
        position: relative;
    }
    
    /* Subtle section separator */
    section:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(51, 255, 0, 0.3), transparent);
    }
    
    /* Scroll-triggered animations */
    .fade-in-section {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .fade-in-section.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

section {
    padding: 80px 0;
}

.bracket {
    color: #33FF00;
    font-weight: bold;
    font-size: 1.2em;
}

.icon {
    margin-right: 10px;
}

/* Navigation and Header Animations */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1500;
    border-bottom: 1px solid rgba(51, 255, 0, 0.3);
    overflow: hidden;
}

.header-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.floating-brackets {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-brackets span {
    position: absolute;
    color: #33FF00;
    opacity: 0.3;
    font-size: 18px;
    animation: float-brackets 15s linear infinite;
}

.floating-brackets span:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.floating-brackets span:nth-child(2) {
    top: 20%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 18s;
}

.floating-brackets span:nth-child(3) {
    top: 15%;
    right: 30%;
    animation-delay: 2s;
    animation-duration: 22s;
}

.floating-brackets span:nth-child(4) {
    top: 25%;
    right: 15%;
    animation-delay: 3s;
    animation-duration: 19s;
}

.floating-brackets span:nth-child(5) {
    bottom: 10%;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 21s;
}

.floating-brackets span:nth-child(6) {
    bottom: 20%;
    right: 25%;
    animation-delay: 5s;
    animation-duration: 23s;
}

@keyframes float-brackets {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(5deg);
    }
    50% {
        transform: translate(0, 20px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes matrix-flow {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100px;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    width: 90%;
    margin: auto;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo-text {
    margin: 0 5px;
    position: relative;
}

@media screen and (min-width: 1024px) {
    header {
        height: 90px;
        display: flex;
        align-items: center;
    }
    
    nav {
        padding: 0;
        width: 85%;
        max-width: 1400px;
    }
    
    .logo {
        font-size: 28px;
        letter-spacing: 3px;
    }
    
    .nav-links {
        width: 60%;
        display: flex;
        justify-content: flex-end;
    }
    
    .nav-links li {
        margin-left: 30px;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        position: relative;
        padding: 5px 0;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #33FF00;
        transition: width 0.3s ease;
    }
    
    .nav-links a:hover::after {
        width: 100%;
    }
}

.animated-bracket {
    display: inline-block;
    animation: pulse-bracket 2s ease-in-out infinite;
    position: relative;
}

@keyframes pulse-bracket {
    0% {
        text-shadow: 0 0 5px rgba(51, 255, 0, 0.7);
    }
    50% {
        text-shadow: 0 0 15px rgba(51, 255, 0, 1), 0 0 20px rgba(51, 255, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 5px rgba(51, 255, 0, 0.7);
    }
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 40%;
}

.nav-links a {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #33FF00;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

@media screen and (min-width: 1024px) {
    .hero {
        height: 90vh;
        min-height: 700px;
    }
    
    .hero-content {
        max-width: 1000px;
        padding: 0 50px;
    }
    
    .hero h1 {
        font-size: 6.5rem;
        letter-spacing: 4px;
    }
    
    .tagline {
        font-size: 1.8rem;
        margin-bottom: 40px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(51, 255, 0, 0.05) 0%, rgba(0, 0, 0, 0) 50%);
    animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, #000, transparent);
    z-index: 2;
}

.particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.animated-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.letter-animation {
    display: inline-block;
    opacity: 0;
    animation: fade-in-up 0.6s forwards;
}

.letter-animation:nth-child(2) { animation-delay: 0.1s; }
.letter-animation:nth-child(3) { animation-delay: 0.2s; }
.letter-animation:nth-child(4) { animation-delay: 0.3s; }
.letter-animation:nth-child(5) { animation-delay: 0.4s; }
.letter-animation:nth-child(6) { animation-delay: 0.5s; }
.letter-animation:nth-child(7) { animation-delay: 0.6s; }
.letter-animation:nth-child(8) { animation-delay: 0.7s; }
.letter-animation:nth-child(9) { animation-delay: 0.8s; }
.letter-animation:nth-child(10) { animation-delay: 0.9s; }
.letter-animation:nth-child(11) { animation-delay: 1.0s; }

.animated-title .animated-bracket:first-child {
    animation-delay: 0s;
}

.animated-title .animated-bracket:last-child {
    animation-delay: 1.1s;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: fade-in 1s forwards 1.2s;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #33FF00;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fade-in 1s forwards 1.5s;
}

.pulse-animation {
    animation: fade-in 1s forwards 1.5s, pulse 2s infinite 2.5s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(51, 255, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(51, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(51, 255, 0, 0);
    }
}

.cta-button:hover {
    background-color: #2ADB00;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(51, 255, 0, 0.2);
    animation: none;
}

/* About Section */
.about {
    background-color: #0a0a0a;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    text-align: center;
}

@media screen and (min-width: 1200px) {
    .about h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .about p {
        font-size: 1.25rem;
        line-height: 1.8;
        max-width: 1000px;
        margin-bottom: 30px;
    }
    
    .about h3 {
        font-size: 2rem;
        margin: 50px 0 20px;
    }
    
    .about .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Services Section */
.services {
    background-color: #000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

@media screen and (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .services h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .service-card {
        padding: 40px 30px;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    
    .service-card i {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.7rem;
    }
}

.service-card {
    background-color: #0a0a0a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(51, 255, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 255, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent rgba(51, 255, 0, 0.2) transparent;
    transition: all 0.3s ease;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    border: 1px solid rgba(51, 255, 0, 0.5);
    box-shadow: 0 15px 30px rgba(51, 255, 0, 0.15), 0 0 15px rgba(51, 255, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #33FF00;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 15px rgba(51, 255, 0, 0.7);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #33FF00;
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 70%;
}

/* Projects Section */
.projects {
    background-color: #0a0a0a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

@media screen and (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .project-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .project-image {
        height: 280px;
    }
    
    .projects h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .project-info {
        padding: 30px;
    }
    
    .project-info h3 {
        font-size: 2rem;
    }
    
    .project-info p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

.project-card {
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(51, 255, 0, 0.1);
    position: relative;
}

.project-link {
    display: block;
    color: #fff;
    text-decoration: none;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #33FF00, transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid rgba(51, 255, 0, 0.5);
    box-shadow: 0 15px 30px rgba(51, 255, 0, 0.15), 0 0 20px rgba(51, 255, 0, 0.1);
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-image {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(51, 255, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.video-container {
    background-color: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.project-card:hover .project-media {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Keep old icon style for backwards compatibility */
.project-image i {
    font-size: 4rem;
    color: #33FF00;
    transition: all 0.5s ease;
}

.project-card:hover .project-image i {
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(51, 255, 0, 0.7);
}

.project-info {
    padding: 25px;
    position: relative;
    background: linear-gradient(to bottom, #000, #0a0a0a);
}

.project-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(51, 255, 0, 0.3), transparent);
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.project-card:hover .project-info h3 {
    color: #33FF00;
}

.project-info p {
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 10px;
}

.project-card:hover .project-info p {
    color: rgba(255, 255, 255, 0.9);
}

/* Global Section */
.global {
    background-color: #000;
    text-align: center;
}

.global p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 1200px) {
    .global h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .global p {
        font-size: 1.25rem;
        line-height: 1.8;
        max-width: 1000px;
        margin-bottom: 30px;
    }
    
    .global::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, rgba(51, 255, 0, 0.03) 0%, transparent 70%);
        pointer-events: none;
    }
}

/* Contact Section */
.contact {
    background-color: #0a0a0a;
    text-align: center;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

@media screen and (min-width: 1200px) {
    .contact h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .contact p {
        font-size: 1.25rem;
        margin-bottom: 40px;
    }
    
    .contact-form {
        max-width: 800px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 18px;
        font-size: 1.1rem;
    }
    
    .submit-button {
        padding: 18px 50px;
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    /* Two-column layout for form fields */
    .contact-form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    border: 1px solid rgba(51, 255, 0, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) inset;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1px solid #33FF00;
    box-shadow: 0 0 8px rgba(51, 255, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.2) inset;
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

/* Form validation styling */
.contact-form input.invalid,
.contact-form select.invalid,
.contact-form textarea.invalid {
    border: 1px solid #ff3366;
    box-shadow: 0 0 8px rgba(255, 51, 102, 0.4), 0 4px 8px rgba(0, 0, 0, 0.2) inset;
}

.error-message {
    color: #ff3366;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: rgba(255, 51, 102, 0.1);
    border-radius: 4px;
    text-align: center;
    animation: fadeIn 0.3s ease-in;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2333FF00' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.submit-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #33FF00 0%, #2ADB00 100%);
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(51, 255, 0, 0.2);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.submit-button:hover {
    background: linear-gradient(135deg, #2ADB00 0%, #33FF00 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(51, 255, 0, 0.3);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(51, 255, 0, 0.2);
}

/* Footer */
footer {
    background-color: #000;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(51, 255, 0, 0.3);
}

@media screen and (min-width: 1200px) {
    footer {
        padding: 80px 0 30px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 50px;
    }
    
    .footer-logo {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
    
    .footer-tagline {
        font-size: 1.2rem;
    }
    
    .social-icons {
        margin-top: 0;
    }
    
    .social-icons a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #33FF00;
    color: #000;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Hide mobile navigation on desktop */
.mobile-bottom-nav,
.mobile-sidebar {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
        padding-bottom: 80px; /* Space for bottom nav */
    }
    
    nav {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 0;
    }
    
    .logo {
        font-size: 22px;
        margin: 0 auto;
    }
    
    .nav-links {
        display: none; /* Hide navigation links on mobile */
    }
    
    .burger {
        display: none; /* Hide burger menu on mobile */
    }
    
    /* Mobile Bottom Navigation */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        border-top: 2px solid rgba(51, 255, 0, 0.4);
        padding: 15px;
        z-index: 1000;
        display: flex !important;
        justify-content: center;
        box-shadow: 0 -4px 20px rgba(51, 255, 0, 0.1);
    }
    
    .mobile-nav-toggle {
        background: linear-gradient(135deg, rgba(51, 255, 0, 0.2), rgba(51, 255, 0, 0.1));
        border: 2px solid rgba(51, 255, 0, 0.5);
        color: #fff;
        padding: 15px 30px;
        border-radius: 30px;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(51, 255, 0, 0.2);
        min-height: 50px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .mobile-nav-toggle:hover {
        background: linear-gradient(135deg, rgba(51, 255, 0, 0.2), rgba(51, 255, 0, 0.1));
        border-color: rgba(51, 255, 0, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(51, 255, 0, 0.2);
    }
    
    .mobile-nav-toggle i {
        font-size: 18px;
        color: #33FF00;
    }
    
    /* Ensure mobile menu is visible on all mobile devices */
    .mobile-bottom-nav {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-nav-toggle {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Mobile Sidebar */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2000;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        display: block !important;
    }
    
    .mobile-sidebar.active {
        visibility: visible;
        opacity: 1;
    }
    
    .mobile-sidebar-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
    }
    
    .mobile-sidebar-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #111 0%, #000 100%);
        border-top: 2px solid rgba(51, 255, 0, 0.3);
        border-radius: 20px 20px 0 0;
        padding: 25px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .mobile-sidebar.active .mobile-sidebar-content {
        transform: translateY(0);
    }
    
    .mobile-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(51, 255, 0, 0.2);
    }
    
    .mobile-logo {
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 2px;
        color: #fff;
    }
    
    .mobile-logo .bracket {
        color: #33FF00;
        text-shadow: 0 0 10px rgba(51, 255, 0, 0.5);
    }
    
    .mobile-sidebar-close {
        background: none;
        border: none;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .mobile-sidebar-close:hover {
        background: rgba(51, 255, 0, 0.1);
        color: #33FF00;
    }
    
    .mobile-nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav-links li {
        margin-bottom: 15px;
    }
    
    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        color: #fff;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s ease;
        font-size: 16px;
        font-weight: 500;
        border: 1px solid transparent;
    }
    
    .mobile-nav-link:hover {
        background: linear-gradient(135deg, rgba(51, 255, 0, 0.1), rgba(51, 255, 0, 0.05));
        border-color: rgba(51, 255, 0, 0.3);
        color: #33FF00;
        transform: translateX(5px);
    }
    
    .mobile-nav-link i {
        font-size: 18px;
        width: 20px;
        text-align: center;
    }
    
    .mobile-sidebar-footer {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(51, 255, 0, 0.2);
        text-align: center;
    }
    
    .mobile-sidebar-footer p {
        color: #888;
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .mobile-social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .mobile-social-icons a {
        color: #fff;
        font-size: 20px;
        padding: 10px;
        border-radius: 50%;
        background: rgba(51, 255, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-social-icons a:hover {
        background: rgba(51, 255, 0, 0.2);
        color: #33FF00;
        transform: translateY(-2px);
    }
    
    .hero {
        padding-top: 90px;
        min-height: 100vh;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: 0.5px;
        text-shadow: 0 0 15px rgba(51, 255, 0, 0.5);
        margin-bottom: 15px;
    }
    
    .animated-title {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .letter-animation {
        margin: 0 0.5px;
        font-size: 2.4rem;
    }
    
    .tagline {
        font-size: 1.2rem;
        line-height: 1.5;
        margin-bottom: 25px;
        padding: 0 10px;
        font-weight: 300;
        text-shadow: 0 0 10px rgba(51, 255, 0, 0.3);
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
        box-shadow: 0 0 20px rgba(51, 255, 0, 0.4);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Make services layout more mobile friendly */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Improve spacing on mobile */
    section {
        padding: 60px 0;
    }
    
    .container {
        width: 95%;
        padding: 20px 0;
    }
    
    /* Improve form fields on mobile */
    .contact-form select {
        font-size: 0.9rem;
        background-position: right 5px center;
        background-size: 18px;
        padding-right: 30px; /* More space for the dropdown arrow */
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .hero::before {
        background: radial-gradient(circle at center, rgba(51, 255, 0, 0.07) 0%, rgba(0, 0, 0, 0) 70%);
        animation: pulse-bg 5s ease-in-out infinite;
    }
    
    @keyframes pulse-bg {
        0%, 100% { opacity: 0.4; }
        50% { opacity: 0.8; }
    }
    
    .floating-brackets span {
        opacity: 0.4;
    }
    
    .animated-bracket {
        font-size: 2.2rem;
        animation: pulse-bracket 1.5s ease-in-out infinite;
    }
    
    @keyframes pulse-bracket {
        0% {
            text-shadow: 0 0 7px rgba(51, 255, 0, 0.8);
        }
        50% {
            text-shadow: 0 0 20px rgba(51, 255, 0, 1), 0 0 25px rgba(51, 255, 0, 0.6);
        }
        100% {
            text-shadow: 0 0 7px rgba(51, 255, 0, 0.8);
        }
    }
    
    @keyframes fade-in-up {
        0% {
            opacity: 0;
            transform: translateY(15px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Handle landscape orientation on mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    header {
        position: absolute;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .logo {
        font-size: 20px;
    }
}

/* Burger animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Success message styling */
.success-message {
    text-align: center;
    padding: 30px;
    animation: fadeIn 0.5s ease-in;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #33FF00;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #33FF00;
    border: 2px solid #33FF00;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    font-size: 20px;
    box-shadow: 0 0 10px rgba(51, 255, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #33FF00;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(51, 255, 0, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}