/* header.css - Top bar and header section styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-link {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-link:hover {
    color: #ffffff;
}

.divider {
    color: rgba(255, 255, 255, 0.5);
}

.top-bar-center {
    flex: 1;
    text-align: center;
}

.motto {
    color: #ffd700;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 15px;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon.whatsapp {
    background: #25d366;
}

/* Header Section */
.header {
    background: linear-gradient(to bottom, rgba(255, 255, 200, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 0px;
}

.school-logo {
    flex-shrink: 0;
}

.school-logo img {
    width: 160px;
    height: 160px;

    object-fit: contain;
    border-radius: 50%;
    border: 3px solid #7b2cbf;
    padding: 5px;
    background: white;
}

.school-info {
    flex: 1;
    text-align: center;
}

.school-name {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.location {
    font-size: 22px;
    color: #7b2cbf;
    font-style: italic;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: #7b2cbf;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-center,
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }

    .motto {
        font-size: 12px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .school-logo img {
        width: 100px;
        height: 100px;
        align-items: center;
    }

    .school-name {
        font-size: 28px;
    }

    .location {
        font-size: 18px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .school-name {
        font-size: 42px;
    }

    .location {
        font-size: 16px;
    }

    .top-link,
    .motto {
        font-size: 11px;
    }
}

/* home-content.css - Visitor Counter and VMM Section */

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

.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;
}

.counter-character.left img {
    animation-delay: 0s;
}

.counter-character.right img {
    animation-delay: 1.5s;
}

@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;
    line-height: 1.4;
}

.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: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
}

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

.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;
}

.vision-icon {
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
}

.motto-icon {
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
}

.mission-icon {
    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;
    border-radius: 2px;
}

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

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

.vmm-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .counter-character img {
        width: 140px;
    }
    
    .counter-title {
        font-size: 24px;
    }
    
    .counter-digit {
        width: 40px;
        height: 60px;
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .counter-wrapper {
        flex-direction: column;
    }
    
    .counter-character {
        display: none;
    }
    
    .counter-content {
        padding: 30px 20px;
    }
    
    .counter-title {
        font-size: 20px;
    }
    
    .counter-digit {
        width: 35px;
        height: 50px;
        font-size: 28px;
    }
    
    .vmm-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vmm-card {
        padding: 30px 20px;
    }
    
    .vmm-title {
        font-size: 24px;
    }
    
    .vmm-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .visitor-counter-section {
        padding: 40px 0;
    }
    
    .counter-title {
        font-size: 18px;
    }
    
    .counter-label {
        font-size: 16px;
    }
    
    .counter-digit {
        width: 30px;
        height: 45px;
        font-size: 24px;
    }
    
    .vmm-content {
        font-size: 15px;
    }
}

