/* Spectacular Navbar */
.navbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.small-nav{
    font-size: 1.4rem;
}

.navbar-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f1f5f9;
    text-decoration: none;
}

.logo-icon {
    color: #ffffff;
    font-size: 2.2rem;
}

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

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 100;
    opacity: 0.5;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background: #cbd5e1;
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Fold Animation Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 900;
    pointer-events: none;
    overflow: hidden;
}

.fold-section {
    position: relative;
    height: 0;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(15px);
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform-origin: top center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
}

.fold-section.top {
    z-index: 3;
    background: rgba(2, 6, 23, 0.98);
}

.fold-section.middle {
    z-index: 2;
    background: rgba(2, 6, 23, 0.95);
}

.fold-section.bottom {
    z-index: 1;
    background: rgba(2, 6, 23, 0.92);
}

.mobile-menu.open .fold-section.top {
    height: 33.33%;
    opacity: 1;
    transition-delay: 0.2s;
}

.mobile-menu.open .fold-section.middle {
    height: 33.33%;
    opacity: 1;
    transition-delay: 0.4s;
}

.mobile-menu.open .fold-section.bottom {
    height: 33.33%;
    opacity: 1;
    transition-delay: 0.6s;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease 0.26s;
    pointer-events: none;
}

.mobile-menu.open .mobile-menu-content {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin: 25px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.mobile-menu.open .mobile-menu-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-links li:nth-child(1) {
    transition-delay: 0.9s;
}
.mobile-menu-links li:nth-child(2) {
    transition-delay: 1.0s;
}
.mobile-menu-links li:nth-child(3) {
    transition-delay: 1.1s;
}
.mobile-menu-links li:nth-child(4) {
    transition-delay: 1.2s;
}
.mobile-menu-links li:nth-child(5) {
    transition-delay: 1.3s;
}

.mobile-menu-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    position: relative;
    padding: 10px 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-menu-links a:hover {
    color: #ffffff;
    transform: translateX(10px);
}

.mobile-menu-links a i {
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.1s ease 0.1s;
}

.mobile-menu.open .close-btn {
    opacity: 1;
    transform: scale(1);
}

.close-btn .line {
    position: absolute;
    width: 25px;
    height: 3px;
    background: #f1f5f9;
    border-radius: 2px;
}

.close-btn .line1 {
    transform: rotate(45deg);
}

.close-btn .line2 {
    transform: rotate(-45deg);
}

/* Animation for hamburger to X */
.hamburger.active .line1 {
    transform: rotate(-45deg) translate(-7px, 7px);
}

.hamburger.active .line2 {
    opacity: 0;
}

.hamburger.active .line3 {
    transform: rotate(45deg) translate(-7px, -7px);
}

/* Hero Section */
.hero {
    padding: 100px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #f1f5f9, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: black;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 255, 255, 0.5);
}

/* Features Grid */
.features {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ffffff, #cccccc);
    border-radius: 2px;
}

.section-title p {
    color: #94a3b8;
    max-width: 600px;
    margin: 30px auto 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
}

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

.feature-icon {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .mobile-menu-links a {
        font-size: 1.5rem;
    }
}

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

.animate-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@media screen and (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
}