* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f4f4;
    overflow-x: hidden;
}

/* Navbar Enhancements */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    transition: 0.4s;
    z-index: 1000;
}

#navbar.scrolled {
    background: #1a2a3a;
    padding: 10px 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.logo {
    color: #3498db; 
}


.nav-links { 
    display: flex; 
    list-style: none; 
    
}
.nav-links li { 
    margin-left: 30px;
    }
.nav-links a { 
    text-decoration: none; 
    color: white; 
    transition: 0.3s; 
}
.nav-links a:hover { 
    color: #3498db; 
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    background: linear-gradient(45deg, #36d1dc, #5b86e5);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
}

.cta-btn:hover { 
    transform: scale(1.05); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); 
    
}
.projects-section { 
    padding: 80px 20px; 
    background: #fff;
    text-align: center;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
}

.project-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.project-btn {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}
.features { 
    display: flex; flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 50px; 
    
}
.box { 
    background: white; 
    padding: 20px; 
    border-radius: 10px;
    width: 80%; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

/* Footer */
footer { 
    background: #1a2a3a;
    color: white; 
    padding: 30px; 
    text-align: center; 
    margin-top: 50px; }
@media (max-width: 600px) {
    .hero h1 {
        font-size: 28px; 
        padding: 0 10px;
    }
    .hero p {
        font-size: 16px;
    }
    #navbar {
        padding: 15px 20px; 
    }
}
