

    /* Home Section Styles */
    .home-section {
        padding: 20px 0;
    }
    
    /* Hero Slideshow Styles */
    .hero-banner {
        position: relative;
        margin-bottom: 40px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .slideshow-container {
        position: relative;
        max-width: 100%;
        margin: auto;
    }
    
    .slide {
        display: none;
        position: relative;
        animation: fade 1.5s ease-in-out;
    }
    
    @keyframes fade {
        from {opacity: .4}
        to {opacity: 1}
    }
    
    .slide img {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
    
    .slide-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(30, 58, 138, 0.8);
        color: white;
        padding: 30px;
        text-align: center;
    }
    
    .slide-caption h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        animation: slideUp 1s ease-out;
    }
    
    .slide-caption p {
        font-size: 1.2rem;
        animation: slideUp 1s ease-out 0.3s;
        animation-fill-mode: both;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(30px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        background-color: rgba(0,0,0,0.3);
    }
    
    .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }
    
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }
    
    .dots-container {
        text-align: center;
        padding: 10px;
    }
    
    .dot {
        cursor: pointer;
        height: 15px;
        width: 15px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }
    
    .active, .dot:hover {
        background-color: #1e3a8a;
    }
    
    /* Info Cards Styles */
    .info-cards {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 40px 0;
        gap: 20px;
    }
    
    .card {
        flex: 1;
        min-width: 250px;
        background: white;
        border-radius: 8px;
        padding: 30px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s, box-shadow 0.3s;
        border-top: 4px solid #1e3a8a;
    }
    
    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    .card-icon {
        font-size: 2.5rem;
        color: #1e3a8a;
        margin-bottom: 20px;
    }
    
    .card h3 {
        color: #1e3a8a;
        margin-bottom: 15px;
    }
    
    .card p {
        color: #666;
        margin-bottom: 20px;
    }
    
    .card-link {
        color: #3b82f6;
        text-decoration: none;
        font-weight: bold;
    }
    
    /* News Section Styles */
    .section-title {
        text-align: center;
        margin: 50px 0 30px;
        color: #1e3a8a;
    }
    
    .section-title span {
        display: inline-block;
        padding: 0 20px;
        position: relative;
    }
    
    .section-title span:before,
    .section-title span:after {
        content: "";
        position: absolute;
        height: 2px;
        width: 100px;
        background: #1e3a8a;
        top: 50%;
    }
    
    .section-title span:before {
        right: 100%;
    }
    
    .section-title span:after {
        left: 100%;
    }
    
    .news-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .news-item {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s;
    }
    
    .news-item:hover {
        transform: translateY(-5px);
    }
    
    .news-image {
        position: relative;
        height: 200px;
        overflow: hidden;
    }
    
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }
    
    .news-item:hover .news-image img {
        transform: scale(1.05);
    }
    
    .news-date {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #1e3a8a;
        color: white;
        padding: 10px;
        text-align: center;
        border-radius: 5px;
    }
    
    .news-date .day {
        display: block;
        font-size: 1.5rem;
        font-weight: bold;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        color: #1e3a8a;
        margin-bottom: 10px;
    }
    
    .news-content p {
        color: #666;
        margin-bottom: 15px;
    }
    
    .read-more {
        color: #3b82f6;
        text-decoration: none;
        font-weight: bold;
    }
    
    .view-all {
        text-align: center;
        margin-top: 20px;
    }
    
    .btn-view-all {
        display: inline-block;
        background: #1e3a8a;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        transition: background 0.3s;
    }
    
    .btn-view-all:hover {
        background: #3b82f6;
    }
    
    /* Principal's Message Styles */
    .principal-message {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 40px;
        margin: 60px 0;
        background: rgba(30, 58, 138, 0.05);
        padding: 40px;
        border-radius: 8px;
    }
    
    .principal-photo {
        flex: 1;
        min-width: 300px;
        text-align: center;
    }
    
    .principal-photo img {
        width: 300px;
        height: 300px;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .floating-img {
        animation: float 6s ease-in-out infinite;
    }
    
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
        100% { transform: translateY(0px); }
    }
    
    .message-content {
        flex: 2;
        min-width: 300px;
    }
    
    .message-content blockquote {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #333;
        border-left: 4px solid #1e3a8a;
        padding-left: 20px;
        margin: 20px 0;
    }
    
    .principal-name {
        font-weight: bold;
        color: #1e3a8a;
        text-align: right;
    }
    
    .btn-read-more {
        display: inline-block;
        margin-top: 15px;
        color: #1e3a8a;
        text-decoration: none;
        font-weight: bold;
        border: 2px solid #1e3a8a;
        padding: 8px 20px;
        border-radius: 5px;
        transition: all 0.3s;
    }
    
    .btn-read-more:hover {
        background: #1e3a8a;
        color: white;
    }
    
    /* Responsive Styles */
    @media (max-width: 768px) {
        .slide img {
            height: 300px;
        }
        
        .slide-caption h2 {
            font-size: 1.8rem;
        }
        
        .slide-caption p {
            font-size: 1rem;
        }
        
        .info-cards {
            flex-direction: column;
        }
        
        .section-title span:before,
        .section-title span:after {
            width: 50px;
        }
        
        .principal-message {
            flex-direction: column;
            text-align: center;
        }
        
        .message-content blockquote {
            border-left: none;
            border-top: 4px solid #1e3a8a;
            padding-left: 0;
            padding-top: 20px;
        }
        
        .principal-name {
            text-align: center;
        }


    /* Add these adjustments to your existing styles */
    .home-section {
        padding-top: 0; /* Remove top padding since we have the container */
    }
    
    .hero-banner {
        margin-top: 0; /* Remove top margin */
    }
    
    /* Ensure slideshow doesn't overlap header */
    .slideshow-container {
        margin-top: 0;
    }
    
    /* Adjust slide image height if needed */
    .slide img {
        height: calc(100vh - 80px); /* Dynamic height based on viewport minus header */
        max-height: 600px; /* Maximum height */
        min-height: 300px; /* Minimum height */
    }


        /* Add this to ensure proper spacing */
        body {
            padding-top: 80px; /* Should match your header height */
        }
        
        /* Add this new class for content spacing */
        .content-container {
            margin-top: 20px; /* Extra space below fixed header */
        }
   

    }
    /* End of home css */
