/*
Theme Name: Nexlify School Theme
Theme URI: https://nexlify.com/sunrise
Author: Your Name
Author URI: https://floringit.in
Description: A custom WordPress theme for educational institutions built with Bootstrap 5.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ed-school
*/

/* =============================================
   BASE STYLES (Minimal required styles)
   ============================================= */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

a {
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0a58ca;
}
/* Ensure proper document flow */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    order: 1;
    width: 100%;
}

.hero-banner {
    order: 2;
}

.site-content {
    order: 3;
    flex: 1;
}
img {
    max-width: 100%;
    height: auto;
}

/* WordPress Alignment Classes */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* WordPress Captions */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875em;
    color: #6c757d;
    margin-top: 0.5em;
}

/* WordPress Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5em 1.5em;
}

.gallery-item {
    margin: 0 0.5em 1em;
    flex-grow: 1;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* =============================================
   WORDPRESS REQUIRED CLASSES
   ============================================= */
.sticky {
    display: block;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* =============================================
   ABOUT US PAGE ENHANCEMENTS
   ============================================= */

/* About Us Page Specific Styles */
.hero-about {
    background: linear-gradient(135deg, #6f42c1 0%, #5a2d9c 100%);
    padding: 5rem 0;
}

.bg-purple {
    background-color: #6f42c1;
}

.text-purple {
    color: #6f42c1;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-content {
    border-left: 4px solid #6f42c1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-about {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-about .btn {
        display: block;
        margin: 0 auto;
    }
}

/* Section Styling */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0d6efd;
    margin-top: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
}

/* Mission Statement */
.mission-statement {
    position: relative;
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
}

.quote-icon {
    font-size: 5rem;
    opacity: 0.1;
}

/* Features Card */
.features-card {
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.features-list li {
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.features-list li:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.feature-icon {
    font-size: 1.5rem;
}

/* Values Section */
.value-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Community Gallery */
.community-gallery {
    height: 100%;
}

.gallery-main {
    width: 80%;
    margin-left: auto;
}

.gallery-secondary {
    width: 60%;
    bottom: -30px;
    left: 0;
    border: 5px solid white;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .gallery-main {
        width: 100%;
    }
    
    .gallery-secondary {
        display: none;
    }
}