* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #1A5A9E 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 158, 255, 0.2);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #4A9EFF, #2D8B8B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1001;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #4A9EFF, #2D8B8B);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #4A9EFF;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #4A9EFF, #2D8B8B);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 40px;
    list-style: none;
}

.mobile-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-links a:hover {
    color: #4A9EFF;
    transform: scale(1.1);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%234A9EFF" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%232D8B8B" opacity="0.03"/><circle cx="50" cy="50" r="0.5" fill="%234A9EFF" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #4A9EFF, #ffffff, #2D8B8B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(74, 158, 255, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 40px rgba(45, 139, 139, 0.5));
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 30px;
    color: #b3b3b3;
    animation: fadeInUp 1s ease 0.5s both;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 1s both;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    background: linear-gradient(45deg, #4A9EFF, #2D8B8B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 1.5s both;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(45deg, #4A9EFF, #2D8B8B);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(74, 158, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.projects {
    padding: 100px 0 60px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #4A9EFF, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background: rgba(26, 90, 158, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(74, 158, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.project-card .project-description {
    flex: 1;
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #4A9EFF, #2D8B8B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(26, 90, 158, 0.12);
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.3);
}

.project-type {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(45deg, #4A9EFF, #2D8B8B);
    color: #000;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.project-description {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(74, 158, 255, 0.2);
    gap: 10px;
    flex-wrap: wrap;
}

.project-stat {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.project-stat-number {
    font-weight: bold;
    color: #4A9EFF;
    display: block;
}

.project-stat-label {
    font-size: 0.8rem;
    color: #888;
}

.project-links {
    display: flex;
    gap: 10px;
}

.project-link {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: rgba(74, 158, 255, 0.15);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.project-link:hover {
    background: rgba(74, 158, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.2);
}

.floating-cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, rgba(74, 158, 255, 0.1), rgba(45, 139, 139, 0.1));
    border: 1px solid rgba(74, 158, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-cube:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-cube:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-cube:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.footer {
    padding: 50px 0 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    border-top: 1px solid rgba(74, 158, 255, 0.2);
}

.footer-link {
    color: inherit;
    text-decoration: none;
}

.footer .container>a {
    color: inherit;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: none;
}

a:visited {
    color: inherit;
    /* Makes visited links use the same color as unvisited */
}

/* Specifically for your navigation and project links */
.nav-links a:visited,
.mobile-nav-links a:visited {
    color: #ffffff;
}

.project-link:visited {
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 158, 255, 0.3);
    font-size: 1.2rem;
}

.social-link:hover {
    background: linear-gradient(45deg, #4A9EFF, #2D8B8B);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
}


/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .stats {
        justify-content: center;
        gap: 20px;
    }

    .stat-item {
        min-width: 90px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .projects {
        padding: 60px 0 40px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        padding: 25px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .project-card {
        padding: 20px;
    }

    .project-title {
        font-size: 1.3rem;
    }

    .project-description {
        font-size: 0.95rem;
    }

    .footer {
        padding: 40px 0 25px;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .mobile-nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        padding: 100px 20px;
        gap: 30px;
    }

    .mobile-nav-links a {
        font-size: 1.2rem;
    }
}


@media (min-width: 769px) and (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 4rem;
    }
}


html {
    scroll-behavior: smooth;
}


@media (hover: none) {
    .btn:hover {
        transform: none;
        box-shadow: none;
    }

    .project-card:hover {
        transform: none;
    }

    .social-link:hover {
        transform: none;
    }
}