/* --- RESET & FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: rgba(100, 150, 220, 0.2);
    color: #333;
}

/* --- NAVIGATION (Shared) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #000000;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.6);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover, .active {
    color: #00ff88;
    text-shadow: 0 0 8px #00ff88;
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero-section {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1476610182048-b716b8518aae?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-main {
    padding: 12px 35px;
    background: #00d2ff;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    display: inline-block;
    transition: transform 0.3s, background 0.3s;
}

.btn-main:hover {
    transform: scale(1.1);
    background: #fff;
}

/* --- HERO ANIMATIONS --- */
.animate-fade {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- FEATURES SECTION --- */
.features {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #222;
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-card {
    background: white;
    width: 30%;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    padding-bottom: 20px;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    margin: 20px 0 10px;
    color: #2c3e50;
}

.feature-card p {
    padding: 0 20px;
    color: #666;
    line-height: 1.6;
}

/* --- FOOTER --- */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}