body { margin: 0; font-family: Arial, sans-serif; background: #f0f3f5; color: #333; }
header { background: #efeff4; padding: 15px; border-bottom: 1px solid #ddd; }
.header-top { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; }
.logo { width: 100px; }
.header-center { text-align: center; flex: 1; }
.motto { font-style: italic; color: #555; margin: 0; }
h1 { color: #003366; margin: 10px 0; }
.location { color: #666; margin: 0; }
.header-right { text-align: right; }
.date { color: #666; margin: 10px 0 0; }
.header-bottom { display: flex; justify-content: space-between; max-width: 1200px; margin: 20px auto 0; padding: 0px 0; border-top: 1px solid #eee; color: #0066cc; }
nav { background: #0066cc; padding: 1px; text-align: center; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
nav ul li { margin: 10px 15px; }
nav ul li a { color: white; text-decoration: none; font-size: 18px; }
main { padding: 20px 20px; }
.content-grid { display: flex; max-width: 1200px; margin: auto; gap: 40px; flex-wrap: wrap; }
.left-section, .right-section { flex: 1; min-width: 300px; }
.rounded-img { width: 100%; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.right-section { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.subtitle { text-transform: uppercase; color: #666; letter-spacing: 2px; }
.right-section h2 { color: #003366; }
.about-img { width: 100%; border-radius: 10px; margin-bottom: 20px; }
footer { background: #0066cc; color: white; padding: 10px 10px 10px; margin-top: 30px; }
.footer-main { display: flex; max-width: 1200px; margin: auto; gap: 50px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 20px; }
.footer-logo { width: 80px; }
.footer-columns { flex: 1; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 50px; text-align: center; }
.column h4 { border-bottom: 2px solid white; padding-bottom: 1px; text-transform: uppercase; }
.column ul { list-style: none; padding: 0; }
.column ul li { margin: 0px 0; }
.column ul li a { color: white; text-decoration: none; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 1px; border-top: 1px solid rgba(255,255,255,0.3); display: flex; justify-content: space-between; max-width: 1200px; margin: 30px auto 0; flex-wrap: wrap; gap: 10px; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .header-top { flex-direction: column; text-align: center; }
    .header-right { margin-top: 20px; }
    nav ul { flex-direction: column; }
}

@media (max-width: 768px) {
    .content-grid { flex-direction: column; }
    .footer-main { flex-direction: column; text-align: center; }
    .footer-columns { justify-content: center; }
    .footer-bottom { flex-direction: column; }
    .header-bottom { flex-direction: column; text-align: center; gap: 10px; }
}
.ticker-container {
    background-color: #fff8f8;
    padding: 15px 15px;
    overflow: hidden;
    position: relative;
    border-top: 2px solid #069854;
    border-bottom: 2px solid #069854;
    z-index: 10;
    white-space: nowrap;
}

.ticker-label {
    position: absolute;
    left: 0px;
    top: 40%;
    transform: translateY(-50%);
    background-color: #069854; /* red background */
    color: rgb(255, 255, 255);
    font-weight: bold;
    padding: 20px 20px;
    border-radius: 1px;
    font-size: 18px;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.ticker-wrapper {
    margin-left: 145px; /* label को width + space */
    overflow: hidden;
    height: 20px;
    line-height: 20px;
}

.ticker-content {
    display: inline-block;
    animation: scroll-left 50s linear infinite; /* speed adjust: ठूलो number = slow */
}

.ticker-content span {
    display: inline-block;
    margin-right: 50px; /* सुचनाबीच space */
    font-size: 15px;
    color: #02742f;
    font-weight: 500;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%); /* दायाँबाट बाहिरबाट सुरु */
    }
    100% {
        transform: translateX(-100%); /* बायाँ बाहिर जान्छ */
    }
}

/* Hover मा रोकिने */
.ticker-container:hover .ticker-content {
    animation-play-state: paused;
}

/* Mobile fix */
@media (max-width: 768px) {
    .ticker-label {
        position: static;
        transform: none;
        display: block;
        margin: 0 auto 10px;
        text-align: center;
        width: fit-content;
    }
    .ticker-wrapper {
        margin-left: 0;
        text-align: center;
    }
    .ticker-content span {
        margin-right: 50px;
        font-size: 15px;
    }
    .ticker-content {
        animation-duration: 50s;
    }
}
/* Logo Animation */
.animated-logo {
    transition: all 0.4s ease; /* smooth hover effect */
    animation: slow-rotate 20s linear infinite, gentle-glow 4s ease-in-out infinite alternate;
}

/* Slow continuous rotation */
@keyframes slow-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Subtle glow/pulse effect */
@keyframes gentle-glow {
    0% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(0, 102, 204, 0.3));
    }
    100% {
        filter: brightness(1.1) drop-shadow(0 0 15px rgba(0, 102, 204, 0.6));
    }
}

/* Hover मा zoom र faster glow */
.animated-logo:hover {
    transform: scale(1.1) rotate(10deg); /* थोरै ठूलो र tilt */
    animation-duration: 0.5s, 1.5s; /* glow fast */
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 102, 204, 0.8));
}

/* Mobile मा rotation slow राख्न */
@media (max-width: 768px) {
    .animated-logo {
        animation-duration: 30s, 5s; /* slower on mobile */
    }
    
}
body, h1, h2, h3, h4, h5, h6, p, div, span, a, li, td, th {
    font-family: 'Mukta', sans-serif;
}
.nepali-school-name {
    font-family: 'Mukta', sans-serif;
    font-weight: 800;
    font-size: 2rem; /* ठूलो साइज */
    color: #015416; /* गाढा निलो, स्कूलको थीम अनुसार बदल्नुहोस् */
    text-align: left;
    margin: 5px 0 0px;
    letter-spacing: 1px; /* अक्षरहरूबीच स्पेस */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* हल्का छाया stylish का लागि */
    line-height: 1.2;
}

.english-school-name {
    font-family: 'Puppins', sans-serif; /* वा अंग्रेजीका लागि 'Roboto' आदि */
    font-size: 1.80rem;
    color: #005599;
    text-align: left;
    margin: 0 0 5px;
    font-weight: 600;
}
.location {
        font-size: 1rem;
        text-align: left;
    }


/* मोबाइलमा राम्रो देखाउन responsive बनाउने */
@media (max-width: 768px) {
    .nepali-school-name {
        font-size: 1.66rem;
        letter-spacing: 0px;
        text-align: center;
    }
    .english-school-name {
        font-size: 1.2rem;
        text-align: center;
    }
     
    .location {
        font-size: 0.8rem;
    }
 

}

.form-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #02742a;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background-color: #fff;
}

.full-width {
    grid-column: span 2;
}

button {
    background: linear-gradient(to right, #0066cc, #ffffff);
    margin-top: 20px;
    font-size: 1.3rem;
    padding: 16px;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.form-note {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-top: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .form-container {
        padding: 25px;
    }
}

/* Downloads Page Styles */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.file-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.file-card:hover {
    transform: translateY(-5px);
}

.file-icon {
    font-size: 3rem;
    margin-right: 20px;
}

.file-info h4 {
    margin: 0 0 8px 0;
    color: #003366;
    font-size: 1.3rem;
}

.file-info p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.file-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-view, .btn-download {
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-view {
    background-color: #0066cc;
    color: white;
}

.btn-view:hover {
    background-color: #0055aa;
}

.btn-download {
    background-color: #28a745;
    color: white;
}

.btn-download:hover {
    background-color: #218838;
}

/* Responsive */
@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    .file-card {
        flex-direction: column;
        text-align: center;
    }
    .file-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .file-actions {
        margin-left: 0;
        margin-top: 15px;
        flex-direction: row;
    }
    .btn-view, .btn-download {
        flex: 1;
    }
}

/* Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid a:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Notice Page Styles */
.important-notice {
    background: linear-gradient(to right, #ffecd2, #fcb69f);
    border-left: 6px solid #ff6b6b;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(255,107,107,0.15);
}

.notices-list {
    margin-bottom: 50px;
}

.notice-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.notice-header {
    background: #f8f9fa;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.notice-header:hover {
    background: #e9ecef;
}

.notice-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #003366;
    flex: 1;
}

.notice-date {
    font-weight: bold;
    color: #0066cc;
    margin-right: 20px;
    min-width: 120px;
}

.expand-icon {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0066cc;
}

.notice-content {
    padding: 20px;
    display: none;
    background: white;
    border-top: 1px solid #eee;
}

.notice-content p {
    margin: 0;
    line-height: 1.8;
}

.notice-content a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .notice-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .notice-date {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .notice-header h3 {
        margin-bottom: 10px;
    }
    .expand-icon {
        position: absolute;
        right: 20px;
        top: 20px;
    }
    .notice-header {
        position: relative;
        padding-right: 60px;
    }
}

/* Admin Dashboard Styles */
.admin-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    border-bottom: 2px solid #0066cc;
}

.tab-btn {
    padding: 15px 25px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #003366;
    transition: all 0.3s;
    border-radius: 8px 8px 0 0;
    margin-right: 5px;
}

.tab-btn.active {
    background: #0066cc;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #003366;
}

form input, form textarea, form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

form button {
    background: #28a745;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-size: 1.2rem;
}

form button:hover {
    background: #218838;
}

/* Responsive */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
    }
    .tab-btn {
        margin-right: 0;
        margin-bottom: 5px;
    }
}
.nepali-date-widget {
    max-width: 350px;
    margin: 15px auto;
    padding: 5px;
}

.nepali-date-widget iframe {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #f8fff8;
}

/* मोबाइलमा responsive */
@media (max-width: 768px) {
      }
    .nepali-date-widget iframe {
        width: 100% !important;
        height: 55px !important;
    }

.social-icons {
    text-align: right;
    margin: 0px 0;
}

.social-icons a {
    margin: 0 5px;
    font-size: 17px; /* आइकनको साइज */
    color: #333; /* डिफल्ट रङ */
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* प्रत्येक आइकनको ब्रान्ड रङ */
.social-icons .fa-youtube { color: #FF0000; } /* रातो */
.social-icons .fa-facebook-f { color: #1877F2; } /* निलो */
.social-icons .fa-map-marker-alt { color: #34A853; } /* हरियो */
.social-icons .fa-envelope { color: #2e00fa; } /* ग्रे */

/* मोबाइलमा राम्रो देखियोस् */
@media (max-width: 768px) {
    .social-icons a {
        margin: 0 5px;
        font-size: 15px;
    }
    .social-icons {
    text-align: center;
    margin: 0px 0;
    }
}
