/* home-content.css - Complete Home Page Styles */

/* Welcome and Admission Section */
.welcome-admission-section {
    background: linear-gradient(to bottom, #e8f5e9 0%, #f0f4c3 100%);
    padding: 40px 0;
}

.welcome-admission-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 30px;
    align-items: start;
}

/* Welcome Box (Left Side) */
.welcome-box {
    background: white;
    border: 4px solid #7b2cbf;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-character {
    position: absolute;
    top: -30px;
    left: 20px;
}

.welcome-character img {
    width: 100px;
    height: auto;
}

.welcome-content {
    padding-top: 40px;
}

.welcome-title {
    font-size: 24px;
    color: #7b2cbf;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.welcome-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.welcome-text strong {
    color: #7b2cbf;
    font-weight: 600;
}

/* Admission Banner (Right Side) */
.admission-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3b82f6 100%);
    border-radius: 20px;
    padding: 25px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.admission-header {
    text-align: center;
    margin-bottom: 20px;
}

.admission-header h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.admission-address {
    font-size: 14px;
    margin-bottom: 5px;
}

.admission-email {
    font-size: 14px;
}

.admission-main {
    position: relative;
    z-index: 2;
}

.admission-title {
    background: linear-gradient(to right, #ff6b35, #f7931e);
    color: #fff100;
    font-size: 26px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 50px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.admission-groups {
    margin-bottom: 20px;
}

.group-item {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.group-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.group-item h4 i {
    color: #4ade80;
    margin-right: 5px;
}

.group-item p {
    font-size: 14px;
    margin: 5px 0;
    color: #fbbf24;
    font-weight: 500;
}

.admission-contact {
    text-align: center;
    margin-top: 20px;
}

.admission-phone {
    font-size: 28px;
    font-weight: 700;
    color: #ff0000;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.admission-phone strong {
    color: #ff0000;
}

.admission-wanted {
    font-size: 18px;
    color: #1e293b;
    font-weight: 700;
    background: white;
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
}

.student-image {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Visitor Counter Section */
.visitor-counter-section {
    background: linear-gradient(to bottom, #e8f5e9 0%, #f0f4c3 50%, #fff9c4 100%);
    padding: 60px 0;
    position: relative;
}

.counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.counter-character {
    flex-shrink: 0;
}

.counter-character img {
    width: 180px;
    height: auto;
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(10px) rotate(5deg); }
}

.counter-content {
    flex: 1;
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.counter-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.counter-label {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
}

.counter-display {
    display: inline-flex;
    gap: 8px;
    padding: 15px 25px;
    background: #2c3e50;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.counter-digit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 70px;
    background: linear-gradient(145deg, #34495e, #2c3e50);
    color: white;
    font-size: 42px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', monospace;
}

/* Vision, Motto, Mission Section */
.vmm-section {
    padding: 60px 0;
    background: white;
}

.vmm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.vmm-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vmm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(123, 44, 191, 0.2);
    border-color: #7b2cbf;
}

.vmm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
}

.vmm-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.vmm-divider {
    width: 60px;
    height: 3px;
    background: #7b2cbf;
    margin: 0 auto 20px;
}

.vmm-content {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.vmm-content p {
    margin-bottom: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .welcome-admission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .student-image {
        width: 150px;
        height: 150px;
    }
    
    .admission-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .welcome-box {
        padding: 20px;
    }
    
    .welcome-title {
        font-size: 20px;
    }
    
    .admission-banner {
        padding: 20px;
    }
    
    .admission-header h3 {
        font-size: 24px;
    }
    
    .admission-title {
        font-size: 18px;
    }
    
    .student-image {
        width: 120px;
        height: 120px;
    }
    
    .counter-character {
        display: none;
    }
    
    .counter-digit {
        width: 35px;
        height: 50px;
        font-size: 28px;
    }
    
    .vmm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 18px;
    }
    
    .welcome-text {
        font-size: 14px;
    }
    
    .admission-title {
        font-size: 16px;
        padding: 10px 15px;
    }
    
    .group-item h4 {
        font-size: 14px;
    }
    
    .group-item p {
        font-size: 12px;
    }
    
    .admission-phone {
        font-size: 22px;
    }
    
    .student-image {
        width: 100px;
        height: 100px;
        right: 10px;
        bottom: 10px;
    }
}
body {
  background: url('../images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  background-color: #faf9fd; /* fallback for older browsers */
}