/* ============================================================
   Achievers Academy - Enhanced Global Styles
   Central CSS file for consistent design across all pages
   ============================================================ */

/* ============================================================
   ENHANCED COMPONENT STYLING
   ============================================================ */

/* Enhanced Student Card Styling */
.owl-item {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 3px 15px rgba(33, 54, 108, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.owl-item:hover {
    box-shadow: 0 8px 25px rgba(33, 54, 108, 0.2);
    transform: translateY(-5px);
}

.owl-item p.text-big {
    color: #21366c;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.owl-item .cmnt-height {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.owl-item img {
    border: 4px solid #21366c;
    transition: transform 0.3s ease;
}

.owl-item:hover img {
    transform: scale(1.05);
}

.owl-item .offset-top-20 {
    margin-top: 20px;
}

.owl-item .offset-top-20 p.text-bold {
    color: #21366c;
    font-size: 18px;
    margin: 5px 0;
}

.owl-item .offset-top-0 {
    background: linear-gradient(135deg, #f0f4f8 0%, #f8fafc 100%);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #ff1493;
}

.owl-item .offset-top-0 p {
    color: #21366c;
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0;
}

.owl-item .offset-top-0 p:first-child {
    font-weight: 600;
    color: #ff1493;
}

/* ============================================================
   SECTION STYLING
   ============================================================ */

/* About/Philosophy Section */
.reveal-inline-block {
    display: inline-block;
    width: 100%;
}

/* Vision & Mission Cards */
.vision-mission-wrapper {
    background: linear-gradient(135deg, #f8b1d6 0%, #ffcceb 100%);
}

.vision-mission-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 3px 11px 0 rgba(35, 54, 108, 0.2);
    height: 100%;
    transition: all 0.3s ease;
}

.vision-mission-card:hover {
    box-shadow: 0 8px 25px rgba(35, 54, 108, 0.3);
    transform: translateY(-3px);
}

.vision-mission-card .vision-mission-icon {
    text-align: center;
    margin-bottom: 20px;
    font-size: 50px;
}

.vision-mission-card .vision-mission-title {
    text-align: center;
    color: #ff1493;
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.vision-mission-card .vision-mission-content {
    text-align: center;
    color: #21366c;
    font-size: 16px;
    line-height: 1.8;
}

/* Welcome Section */
.welcome-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 11px 0 rgba(35, 54, 108, 0.2);
    margin-bottom: 50px;
}

.welcome-section p {
    color: #21366c;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.welcome-section .welcome-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #21366c;
}

.welcome-section .welcome-name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 25px;
    color: #21366c;
}

/* ============================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================================ */

.btn {
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-primary {
    background: #21366c;
    color: white;
}

.btn-primary:hover {
    background: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 54, 108, 0.3);
}

/* ============================================================
   TEXT & TYPOGRAPHY
   ============================================================ */

.text-bold {
    font-weight: 600;
}

.text-big {
    font-size: 16px;
}

.text-gray {
    color: #666;
}

/* ============================================================
   HOVER EFFECTS
   ============================================================ */

.hover-effect {
    transition: 0.4s all ease;
}

.hover-effect:hover {
    z-index: 1111111;
    transform: scale(1.1);
    box-shadow: 0 3px 11px 0 rgba(35, 54, 108, 1);
}

/* ============================================================
   PAGE STRUCTURE STYLING
   ============================================================ */

.section-95 {
    padding: 95px 0;
}

.section-110 {
    padding: 110px 0;
}

.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.range {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.range > [class*="cell-"] {
    padding: 15px;
}

/* Carousel Container Responsive */
.owl-carousel {
    width: 100%;
}

.owl-carousel.owl-carousel-minimal {
    width: 100%;
}

/* Cell sizing for carousel wrapper */
.cell-xs-10 {
    flex-basis: 100%;
    max-width: 100%;
    padding: 15px;
}

.cell-sm-8 {
    flex-basis: 100%;
    max-width: 100%;
    padding: 15px;
}

@media (min-width: 576px) {
    .cell-xs-10 {
        flex-basis: 83.33%;
        max-width: 83.33%;
    }
    
    .cell-sm-8 {
        flex-basis: 83.33%;
        max-width: 83.33%;
    }
}

@media (min-width: 768px) {
    .cell-xs-10 {
        flex-basis: 83.33%;
        max-width: 83.33%;
    }
    
    .cell-sm-8 {
        flex-basis: 66.66%;
        max-width: 66.66%;
    }
}

@media (min-width: 1024px) {
    .cell-xs-10 {
        flex-basis: 83.33%;
        max-width: 83.33%;
    }
    
    .cell-sm-8 {
        flex-basis: 66.66%;
        max-width: 66.66%;
    }
}

/* ============================================================
   IMAGE STYLING
   ============================================================ */

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-circle {
    border-radius: 50%;
}

.center-block {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   OFFSET UTILITIES
   ============================================================ */

.offset-top-0 {
    margin-top: 0;
}

.offset-top-10 {
    margin-top: 10px;
}

.offset-top-20 {
    margin-top: 20px;
}

.offset-top-30 {
    margin-top: 30px;
}

.offset-top-40 {
    margin-top: 40px;
}

.offset-top-50 {
    margin-top: 50px;
}

.offset-bottom-50 {
    margin-bottom: 50px;
}

/* ============================================================
   RESPONSIVE DESIGN - MOBILE FRIENDLY
   ============================================================ */

/* Tablets (768px and below) */
@media (max-width: 1024px) {
    .section-95 {
        padding: 75px 0;
    }
    
    .section-110 {
        padding: 85px 0;
    }
    
    .owl-item {
        padding: 25px 18px;
    }
    
    .owl-carousel {
        width: 100%;
        overflow: hidden;
    }
    
    .owl-carousel .owl-item {
        width: 100%;
    }
    
    .vision-mission-card {
        padding: 30px;
    }
    
    .vision-mission-card .vision-mission-title {
        font-size: 35px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .section-95 {
        padding: 60px 0;
    }
    
    .section-110 {
        padding: 70px 0;
    }
    
    .owl-item {
        padding: 20px 15px;
        margin-bottom: 15px;
        width: 100% !important;
    }
    
    .owl-carousel {
        width: 100%;
        overflow: hidden;
    }
    
    .owl-carousel .owl-item {
        width: auto;
    }
    
    .owl-item p.text-big {
        font-size: 16px;
    }
    
    .owl-item img {
        width: 120px;
        height: 120px;
    }
    
    .vision-mission-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .vision-mission-card .vision-mission-title {
        font-size: 32px;
    }
    
    .vision-mission-card .vision-mission-icon {
        font-size: 42px;
    }
    
    .welcome-section {
        padding: 30px;
    }
    
    .shell {
        padding: 0 12px;
    }
}

/* Small Tablets/Large Phones (576px - 768px) */
@media (max-width: 640px) {
    .owl-item {
        padding: 18px 12px;
        width: 100% !important;
    }
    
    .owl-carousel {
        width: 100%;
        overflow: hidden;
    }
    
    .owl-item p.text-big {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .owl-item .cmnt-height {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .owl-item img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        display: block;
    }
    
    .owl-item .offset-top-20 {
        margin-top: 15px;
    }
    
    .owl-item .offset-top-20 p.text-bold {
        font-size: 14px;
        margin: 3px 0;
    }
    
    .owl-item .offset-top-0 {
        margin-top: 12px;
        padding: 10px 12px;
    }
    
    .owl-item .offset-top-0 p {
        font-size: 12px;
        margin: 3px 0;
    }
}

/* Small Mobile Phones (576px and below) */
@media (max-width: 576px) {
    .section-95 {
        padding: 40px 0;
    }
    
    .section-110 {
        padding: 45px 0;
    }
    
    .owl-item {
        padding: 16px 12px;
        width: 100% !important;
        margin-bottom: 15px;
    }
    
    .owl-carousel {
        width: 100%;
        overflow: hidden;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px;
    }
    
    .owl-carousel .owl-stage {
        width: auto;
    }
    
    .owl-item p.text-big {
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 600;
    }
    
    .owl-item .cmnt-height {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
        min-height: auto;
    }
    
    .owl-item img {
        width: 90px;
        height: 90px;
        margin: 0 auto;
        display: block;
    }
    
    .owl-item .offset-top-20 {
        margin-top: 12px;
    }
    
    .owl-item .offset-top-20 p.text-bold {
        font-size: 13px;
        margin: 2px 0;
    }
    
    .owl-item .offset-top-0 {
        background: linear-gradient(135deg, #f0f4f8 0%, #f8fafc 100%);
        padding: 8px 10px;
        border-radius: 6px;
        margin-top: 10px;
        border-left: 3px solid #ff1493;
    }
    
    .owl-item .offset-top-0 p {
        font-size: 11px;
        margin: 2px 0;
        font-weight: 500;
    }
    
    .owl-item .offset-top-0 p:first-child {
        font-weight: 600;
    }
    
    .vision-mission-card {
        padding: 20px 15px;
    }
    
    .vision-mission-card .vision-mission-title {
        font-size: 26px;
    }
    
    .vision-mission-card .vision-mission-icon {
        font-size: 38px;
        margin-bottom: 12px;
    }
    
    .welcome-section {
        padding: 20px;
    }
    
    .welcome-section p {
        font-size: 15px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .shell {
        padding: 0 10px;
    }
    
    .range {
        margin: -10px;
    }
    
    .range > [class*="cell-"] {
        padding: 10px;
    }
}

/* Extra Small Phones (380px and below) */
@media (max-width: 380px) {
    .owl-item {
        padding: 14px 10px;
    }
    
    .owl-item p.text-big {
        font-size: 13px;
    }
    
    .owl-item .cmnt-height {
        font-size: 11px;
    }
    
    .owl-item img {
        width: 80px;
        height: 80px;
    }
    
    .owl-item .offset-top-20 p.text-bold {
        font-size: 12px;
    }
    
    .owl-item .offset-top-0 p {
        font-size: 10px;
    }
}

/* ============================================================
   ACCESSIBILITY & ANIMATION PREFERENCES
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify;
}

.inset-lg-left-15 {
    margin-left: 15px;
}
