/* ==========================================================================
   1. GLOBAL STYLES & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (Flexbox Practice)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #4a90e2;
}

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

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555555;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Interactive Hover Effect */
.nav-links a:hover {
    color: #4a90e2;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #4a90e2, #50e3c2);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.hero-section h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.cta-btn {
    background-color: #ffffff;
    color: #4a90e2;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ==========================================================================
   4. CONTENT CARDS GRID (Flexbox Layout Practice)
   ========================================================================== */
.content-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #222222;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: #ffffff;
    flex: 1 1 300px; /* Grow, shrink, and base width at 300px */
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid #4a90e2;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.card h3 {
    margin-bottom: 15px;
    color: #222222;
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.main-footer {
    background-color: #222222;
    color: #aaaaaa;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 40px;
}
