/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #222;
}

/* Navbar */
.navbar {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #1e1e1e;
    color: white;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 100px 20px;
    background: #4a90e2;
    color: white;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-section h2 {
    font-size: 1.8rem;
}

/* FULL WIDTH IMAGE */
.connecting-dots-banner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.connecting-dots-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Classes Section */
.classes-section {
    padding: 80px 40px;
}

.classes-section h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
}

/* Cards */
/* Modern Card Grid Layout */
.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* F1–F3 top row */
    gap: 30px;
    padding: 20px 0;
}

/* F4 & F5 sit on second row */
.class-card:nth-child(4),
.class-card:nth-child(5) {
    grid-column: span 1;
}

/* Card Styling - Modern, Clean */
.class-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    cursor: pointer;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Subtle hover animation */
.class-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 14px 35px rgba(0, 0, 0, 0.10);
    border-color: #dcdcdc;
}

/* Header Style */
.card-header {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e3a8a; /* clean navy blue */
    margin-bottom: 15px;
}

/* Title under header */
.class-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #333;
}

/* Bullet list modern styling */
.class-card ul {
    padding-left: 20px;
    color: #555;
    line-height: 1.6;
}

/* Smooth fade-in on hover inner content */
.class-card:hover h4,
.class-card:hover ul li {
    color: #111;
    transition: 0.25s ease;
}

/* Responsive — Tablet */
@media (max-width: 900px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive — Mobile */
@media (max-width: 600px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}


/* About Section */
.about-section {
    display: grid;
    padding: 80px 40px;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.img-placeholder {
    background: #ddd;
    padding: 80px;
    text-align: center;
    border-radius: 12px;
}

/* Footer */
footer {
    background: #1e1e1e;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

/* WhatsApp Floating Button */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
