* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; line-height: 1.6; background: #f0f8ff; color: #333; } /* Alice Blue base */
/* Header section */
.header { background: linear-gradient(135deg, #87CEEB, #4682B4); color: white; padding: 1rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.navbar { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: bold; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { color: white; text-decoration: none; padding: 0.5rem 1rem; border-radius: 5px; transition: background 0.3s; }
.nav-links a:hover { background: rgba(255,255,255,0.2); }
/* Hero section */
.hero { background: linear-gradient(rgba(135,206,235,0.8), rgba(70,130,180,0.8)), url('img/backgrounds/hero-bg.jpg'); /* Add hero-bg.jpg if have */
    background-size: cover; padding: 6rem 2rem; text-align: center; color: white; }
.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; }
.cta-btn { background: #00BFFF; color: white; padding: 1rem 2.5rem; text-decoration: none; border-radius: 50px; font-size: 1.2rem; transition: transform 0.3s; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.cta-btn:hover { transform: scale(1.05); }
/* Ribbon Section */
.ribbon-section { padding: 3rem 2rem; background: #B0E0E6; text-align: center; } /* Powder Blue */
.ribbon-section h2 { color: #191970; margin-bottom: 1rem; }
.ribbon { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.ribbon-btn { padding: 0.8rem 1.5rem; background: linear-gradient(45deg, #87CEEB, #ADD8E6); color: #191970; border: none; border-radius: 25px; cursor: pointer; font-weight: bold; transition: all 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.ribbon-btn:hover, .ribbon-btn.active { background: linear-gradient(45deg, #00BFFF, #1E90FF); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
/* Classes section same as ribbon */
#classes .ribbon-btn {
    /* Same as .ribbon-btn */
}
.btn-outline-primary:hover {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    color: white;
    transform: translateY(-2px);
}
/* Subjects Section */
.subjects-section { padding: 4rem 2rem; background: #E6F3FF; } /* Sky Blue light */
.container { max-width: 1200px; margin: 0 auto; }
.container h2 { text-align: center; color: #191970; margin-bottom: 2rem; font-size: 2.5rem; }
/* Bootstrap row compatible - no custom .row override */
.col-lg-4 { flex: none; } /* Let Bootstrap handle */
/* Subject Cards */
.subject-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; height: auto; } /* Height auto for even */
.subject-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.subject-card img { width: 100%; height: auto; min-height: 200px; object-fit: cover; } /* Min height, auto for vary */
.subject-card h3 { padding: 1rem; color: #4682B4; font-size: 1.5rem; }
.subject-card p { padding: 0 1rem 1rem; color: #666; }
.view-btn { display: inline-block; margin: 0 1rem 1rem; background: #00BFFF; color: white; padding: 0.7rem 1.5rem; text-decoration: none; border-radius: 25px; transition: background 0.3s; }
.view-btn:hover { background: #1E90FF; }
/* Shayari Section */
.shayari-teaser { background: linear-gradient(135deg, #FFE4E1, #FFB6C1); padding: 3rem 2rem; text-align: center; border-top: 3px solid #FF69B4; }
.shayari-teaser h2 { color: #C71585; margin-bottom: 1rem; }
.warning { color: #DC143C; font-weight: bold; margin-top: 1rem; }
.footer { background: linear-gradient(135deg, #4682B4, #191970); color: white; text-align: center; padding: 2rem; }
.spad { padding: 4rem 0; } /* Spacer for sections */
@media (max-width: 768px) { .hero h1 { font-size: 2rem; } .ribbon { flex-direction: column; align-items: center; } .col-lg-4 { flex: 1 1 100%; } } /* Bootstrap col full on mobile */
.btn-outline-primary {
    padding: 0.7rem 1rem; /* Match view-btn padding */
    line-height: 1.2;
    font-size: 0.875rem; /* Match text size */
}
.btn-outline-primary:hover:not(.disabled) {
    background: linear-gradient(135deg, #87CEEB, #4682B4); /* Solid blue on hover */
    color: white;
    transform: translateY(-2px); /* Lift like practice */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.view-btn.disabled, .btn-outline-primary.disabled {
    cursor: not-allowed;
    pointer-events: none;
}