/* Reset and base styles */


/* Reset and base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Video background */
.video-background.index.html {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#sticky-header {
    background-color: rgba(255, 255, 255, 0) !important;
    backdrop-filter: blur(15px);
    transition: background-color 0.3s ease-in-out;
}



#sticky-header.scrolled {
    background-color: rgba(255, 255, 255, 0) !important; /* Fully transparent */
    backdrop-filter: blur(10px); /* Soft blur effect */
    transition: background-color 0.3s ease-in-out;
}

/* Default Light Mode */
.date-time {
    color: #000000; /* Black text in light mode */
    font-weight: bold;
}

/* Dark Mode Styles */
body.dark-mode .date-time {
    color: #ffffff !important; /* White text in dark mode */
}

/* Dark mode styles */
body.dark-mode #sticky-header {
    background-color: rgba(255, 255, 255, 0); /* Fully transparent */

}

body.dark-mode #sticky-header.scrolled {
    background-color: rgba(255, 255, 255, 0); /* Fully transparent */

}

body.dark-mode .content-item, 
body.dark-mode .hero, 
body.dark-mode footer {
    background-color: rgba(255, 255, 255, 0.1); /* Very light semi-transparent white for dark mode */
}

body.dark-mode a {
    color: #00ffff; /* Cyan color for links in dark mode */
}

body.dark-mode a:hover {
    color: #b30000; /* Magenta color for link hover state in dark mode */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header styles */





.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background-color: #f0f0f0;
}

.search-bar {
    display: flex;
    margin-right: 20px;
}

.search-bar input {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

.search-bar button {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

#dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.event-logo-container {
    text-align: center; /* Centers the logo */
    margin-bottom: 20px; /* Adds space between logo and text */
}

.event-logo {
    width: 200px; /* Adjust the size of the logo */
    height: 200px;
    border-radius: 50%; /* Makes it circular */
    object-fit: cover; /* Ensures the image fits within the circle */
    border: 3px solid #333; /* Optional: Adds a border around the logo */
}

/* Centering the About Us Logo with a Square Frame */
.aboutus-logo-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    flex-direction: column;
    text-align: center;
    margin: 20px auto; /* Centers it and provides spacing */
    width: 100%;
}

.aboutus-logo {
    width: 200px; /* Adjust size */
    height: 200px;
    border-radius: 20px; /* Smooth rounded corners */
    object-fit: cover; /* Ensures the image fits properly */
    border: 3px solid #333; /* Optional: Adds a border */
    padding: 5px; /* Adds spacing inside the border */
    background-color: white; /* Optional: Adds a background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a soft shadow effect */
}



/* Logo Centering */
.logo-container {
    text-align: center;
    margin: 20px 0;
}

.logo-container img {
    height: 120px; /* Increased size for visibility */
    max-width: 100%; /* Responsive scaling */
}

.logo-container h1 {
    color: #b30000;
    font-size: 40px; /* Slightly larger text */
    margin-top: 10px;
}


/* Navigation styles */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.navbar ul li {
    margin: 0 10px;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #b30000; /* Hover effect on navbar links */
}


/* Dropdown Menu Styles */
.dropdown {
    position: relative; /* Ensures submenu aligns correctly */
}

/* Styling the dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 250px; /* Adjust width if needed */
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000; /* Ensures it stays above other elements */
    max-height: 400px; /* Limits height */
    overflow-y: auto; /* Enables scrolling if content overflows */
    border-radius: 5px; /* Smooth corners */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Fix overflow issue */
.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap; /* Prevents text from wrapping */
}

/* Ensure dropdown does not overflow screen */
@media (max-height: 600px) {
    .dropdown-content {
        max-height: 300px;
    }
}

/* Optional: Make it look better in dark mode */
body.dark-mode .dropdown-content {
    background-color: #222;
    color: #f4f4f4;
}

body.dark-mode .dropdown-content a {
    color: #fff;
}

body.dark-mode .dropdown-content a:hover {
    background-color: #444;
}


/* Hover effect for submit button */
.contact-form .button:hover {
    background-color: red;
}

/* PDF Viewer Styling */



/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin-bottom: 20px;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

/* Center and stack social media icons properly */
.social-icons {
    display: flex;
    flex-direction: column; /* Stack icons vertically */
    align-items: center; /* Center icons */
    gap: 10px; /* Space between icons */
    margin-top: 10px;
}

/* Style individual social media icons */
.social-icons a {
    color: #fff; /* White color */
    font-size: 2rem; /* Bigger icons */
    background-color: #222; /* Dark background for contrast */
    padding: 10px;
    border-radius: 10px; /* Smooth rounded corners */
    transition: all 0.3s ease-in-out;
}

/* Change color on hover */
.social-icons a:hover {
    background-color: #ffcc00; /* Yellow background on hover */
    color: #000; /* Black icon on hover */
}

/* Ensure icons are evenly spaced in responsive design */
@media (min-width: 768px) {
    .social-icons {
        flex-direction: row; /* Row layout for larger screens */
    }
}


.newsletter-form input {
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Dark mode styles */
body.dark-mode {
    background-color: #333;
    color: #f4f4f4;
}

body.dark-mode #sticky-header {
    background-color: #222;
}

body.dark-mode .top-bar {
    background-color: #1a1a1a;
}

body.dark-mode nav {
    background-color: #2a2a2a;
}

body.dark-mode nav ul li a {
    color: #f4f4f4;
}

body.dark-mode nav ul li a:hover {
    background-color: #3a3a3a;
}

body.dark-mode .dropdown-content {
    background-color: #2a2a2a;
}

body.dark-mode .dropdown-content a {
    color: #f4f4f4;
}

body.dark-mode .dropdown-content a:hover {
    background-color: #3a3a3a;
}

body.dark-mode .content-item,
body.dark-mode .button {
    background-color: #444;
    color: #f4f4f4;
}

body.dark-mode .button:hover {
    background-color: #555;
}

/* Apply burgundy color only to h2 headings */
h2 {
    color: #b30000;
}

/* Header styles */
#sticky-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background-color: #f0f0f0;
}

.date-time {
    font-size: 14px;
    color: #333;
}

.search-bar {
    display: flex;
    margin-left: auto;
    margin-right: 20px;
}

.search-bar {
    display: flex;
    margin-right: 20px;
}

.search-bar input {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

.search-bar button {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 0;
}

.logo {
    height: 40px; /* Reduced height */
    width: auto;
    margin-bottom: 2px; /* Reduced margin */
}

.logo-title {
    font-size: 1rem; /* Smaller font size */
    color: #b30000;
    margin: 0;
    line-height: 1; /* Tighter line height */
}

#sticky-header {
    padding-bottom: 5px; /* Reduced padding */
}

nav ul {
    margin-top: 5px; /* Reduced margin */
}

nav ul li a {
    padding: 8px 15px; /* Reduced padding */
}

.top-bar {
    padding: 2px 20px; /* Reduced padding */
}
/* Navigation styles */
nav {
    background-color: #f8f8f8;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #e0e0e0;
    color: #b30000;
}

/* Main content styles */
body {
    overflow-x: hidden;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(130, 14, 14, 0.1);
}

.our-work-section {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rlf-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.rlf-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.rlf-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rlf-content {
    width: 50%;
}

.rlf-objectives {
    list-style-type: none;
    padding-left: 0;
}

.rlf-objectives li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.rlf-objectives li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-size: 1.5em;
    line-height: 1;
}

h2{
    color: #e41313;
    margin-bottom: 20px;
    text-align: center;
}



@media (max-width: 768px) {
    .rlf-image {
        max-width: 100%;
    }
}
/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin-bottom: 20px;
    min-width: 200px;
}

/* Dark Mode */
body.dark-mode {
    background-color: #333;
    color: #f4f4f4;
}

body.dark-mode #sticky-header {
    background-color: #222;
}

body.dark-mode .content-item {
    background-color: #444;
    color: #f4f4f4;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        text-align: center;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px;
    }

    nav ul.show {
        display: block;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}

/* Hide mobile menu toggle on larger screens */
.mobile-menu-toggle {
    display: none;
}


/* Existing styles */

/* New styles for added elements */
#homepage-image {
    text-align: center;
    padding: 50px 0;
    background-color: #f0f0f0;
}

.placeholder-image {
    background-color: #ddd;
    color: #333;
    padding: 100px;
    font-size: 24px;
    font-weight: bold;
}

.slider {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.slider .placeholder-image,
.slider .news-item,
.slider .comment-item {
    display: none;
    padding: 50px;
    text-align: center;
    background-color: #f9f9f9;
}

.slider .placeholder-image:first-child,
.slider .news-item:first-child,
.slider .comment-item:first-child {
    display: block;
}

/* Gallery styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    transition: opacity 1s ease;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
}
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border: 4px solid #333;
    padding: 5px;
    background: white;
}
.gallery img:hover {
    transform: scale(1.05);
    border-color: #ff6600;
}
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

.popup {
    display: none; /* Ensure this is set to flex when the popup is active */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-image {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}


/* Back to Top button styles */
#back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 998;
}

#back-to-top:hover {
    background-color: #0056b3;
}

body.dark-mode #back-to-top {
    background-color: #555;
}

body.dark-mode #back-to-top:hover {
    background-color: #777;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    z-index: 999;
    transition: background-color 0.3s;
}


.whatsapp-icon:hover {
    background-color: #128C7E;
}

.whatsapp-icon.show {
    bottom: 20px;
}

/* Dark mode styles for WhatsApp icon */
body.dark-mode .whatsapp-icon {
    background-color: #075E54;
}

body.dark-mode .whatsapp-icon:hover {
    background-color: #128C7E;
}


/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f1f1f1;
    color: #333;
    padding: 10px 20px;
    text-align: center;
    z-index: 1000;
    display: none;
}

.cookie-consent p {
    margin: 0 0 10px 0;
}

.cookie-consent a {
    color: #007bff;
    text-decoration: none;
}

.cookie-consent button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-consent button:hover {
    background-color: #0056b3;
}

/* Dark mode styles for cookie consent */
body.dark-mode .cookie-consent {
    background-color: #333;
    color: #f1f1f1;
}

body.dark-mode .cookie-consent a {
    color: #4da6ff;
}

body.dark-mode .cookie-consent button {
    background-color: #4da6ff;
}

body.dark-mode .cookie-consent button:hover {
    background-color: #0077e6;
}


/* Search Results Styles */
#search-results ul {
    list-style-type: none;
    padding: 0;
}

#search-results li {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#search-results li:hover {
    background-color: #f5f5f5;
}

#search-results a {
    font-size: 1.2em;
    color: #007bff;
    text-decoration: none;
}

#search-results a:hover {
    text-decoration: underline;
}

#search-results p {
    margin-top: 5px;
    color: #666;
}

/* Dark mode styles for search results */
body.dark-mode #search-results li {
    border-color: #555;
}

body.dark-mode #search-results li:hover {
    background-color: #444;
}

body.dark-mode #search-results a {
    color: #4da6ff;
}

body.dark-mode #search-results p {
    color: #bbb;
}

/* Basic reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Slider Styles */

/* For Google drive links */
.document h3 {
    font-size: 18px;
    margin: 10px 0 5px;
    color: #333; /* Customize the color to match your theme */
}

.open-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #141514; /* Green color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.open-link:hover {
    background-color: #950707; /* Darker green on hover */
}

/* Styling the contact form container */
.contact-form {
    width: 100%;
    max-width: 500px; /* Limit the width of the form */
    margin: 50px auto; /* Center the form horizontally */
    padding: 20px;
    background-color: #ffffff; /* Background color for the box */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Light shadow for depth */
    text-align: center;
}

/* Styling the form heading */
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333; /* Text color */
}

/* Styling the form input fields */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%; /* Full-width */
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd; /* Light border */
    border-radius: 5px; /* Rounded edges */
    box-sizing: border-box; /* Ensures padding is included in total width */
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9; /* Light background for inputs */
    transition: border-color 0.3s ease; /* Smooth transition on focus */
}

/* Input focus styling */
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: black; /* Green border on focus */
    outline: none;
}

/* Styling the textarea */
.contact-form textarea {
    height: 100px;
    resize: vertical; /* Allows vertical resizing */
}

/* Styling the submit button */
.contact-form .button {
    background-color: black; /* Button color */
    color: #ffffff; /* Button text color */
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}



/* Basic Reset */


/* Main Content Wrapper */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin-top: 100vh; /* Push content below the video */
}

/* Side Widgets Container */
.side-widgets {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

/* Phone-like container styling for PDF and Calendar */
.pdf-phone-container,
.calendar-phone-container {
    position: relative;
    width: 500px;
    height: 500px;
    background-color: #0b0b0b;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgb(252, 250, 250);
    overflow: hidden;
}

.phone-frame {
    padding: 10px;
    background-color: #171414;
    height: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Center Content Styling */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 60%;
    margin: auto;
    padding: 20px;
}

/* PDF Viewer Canvas */
/* Main Content Wrapper */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin-top: 100vh; /* Push content below the video */
}

/* Side Widgets Container */
.side-widgets {
    display: flex; /* Flexbox to align side by side */
    justify-content: space-between;
    align-items: flex-start; /* Align at the top */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

/* PDF Viewer Container */
/* PDF Viewer Container */
.pdf-container {
    width: 450px; /* Same width as Calendar */
    height: 600px; /* Same height as Calendar */
    border-radius: 15px; /* Rounded corners */
    background-color: #f8f8f8; /* Light gray background */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Soft shadow effect */
    overflow: hidden; /* Prevent content overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

/* PDF Canvas */
#pdf-render {
    width: 100%; /* Full width */
    height: 85%; /* Adjust height to leave space for controls */
    background: #fff; /* White background */
    border-radius: 10px; /* Smooth edges */
}

/* PDF Controls */
.pdf-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
}

.pdf-controls button {
    flex: 1;
    margin: 3px;
    padding: 8px;
    background: #007bff; /* Blue background */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.pdf-controls button:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pdf-container {
        width: 90%; /* Adjust width for small screens */
        height: 500px; /* Reduce height slightly */
    }
}






/* Calendar Container */
.calendar-phone-container {
    width: 450px; /* Same width as PDF viewer */
    height: 600px; /* Same height as PDF viewer */
    border-radius: 15px; /* Rounded corners */
    overflow: hidden; /* Prevent overflow */
}

/* Calendar iframe styling */
.calendar-phone-container iframe {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    border: none; /* Remove border */
}

/* Styling for News & Comments Section */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

/* Styling for News and Comments Containers */
.news-container, .comments-container {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Individual News & Comment Items */
.news-item, .comment-item {
    display: none;
    font-size: 18px;
    padding: 10px;
    transition: opacity 0.5s ease-in-out;
}

/* Ensure First News & Comment is Visible */
.news-item:first-child, .comment-item:first-child {
    display: block;
}

/* Spacer for space between News & Comments */
.spacer {
    height: 20px;
}

/* Ensure Visibility in Dark Mode */
.dark-mode .slider .news-item,
.dark-mode .slider .comment-item {
    color: #ffffff !important;  /* White text */
    background: rgba(30, 30, 30, 0.9) !important; /* Dark background */
}


/* Responsive Design */
@media screen and (max-width: 600px) {
    .news-item, .comment-item {
        font-size: 16px;
    }
}

#news-slider {
    margin-bottom: 40px; /* Space between news and comments */
    padding-bottom: 20px;
    border-bottom: 2px solid #ccc; /* Optional: adds a separator line */
}

#comments-slider {
    margin-top: 40px; /* Space between news and comments */
}






/* Hamburger Icon */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu {
        display: none; /* Hide menu in mobile view */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px; /* Position below the header */
        left: 0;
    }

    .menu ul {
        flex-direction: column;
    }

    .menu a {
        background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    backdrop-filter: blur(5px); /* Adds a blur effect */
        padding: 10px;
    }

    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .menu.open {
        display: flex; /* Show menu when toggled open */
    }
}


/* Main Container */
.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.video-section {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
}

/* Video Frame */
.video-frame {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.video-frame video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Video List */
.video-list {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.video-list li {
    padding: 8px 0;
}

.video-list li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    display: flex;
    align-items: center;
}
/* Apply uniform font style */
.video-section, .library-section {
    font-family: 'Arial', sans-serif !important;
    font-size: 16px !important;
    font-weight: normal !important;
    color: #000 !important;
}

/* Remove default list styling */
.video-section ul, .library-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Ensure links have consistent style */
.video-section ul li a, .library-section ul li a {
    text-decoration: none;
    color: blue !important;
    font-size: 16px !important;
    font-weight: bold;
}

/* Ensure spacing and alignment */
.video-section ul li, .library-section ul li {
    padding: 5px 0;
}

/* Fix alignment of bullet points */
.video-section ul li::before, 
.library-section ul li::before {
    content: "";
    margin-right: 8px;
    font-size: 16px;
    color: red;
}


/* Middle Divider */
.divider {
    width: 4px;
    background: black;
    height: 100%;
    margin: 0 20px;
    border-radius: 5px;
}

/* Library Section */
.library-section {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
}

/* Library List */
.library ul {
    list-style-type: none;
    padding: 0;
}

.library ul li {
    padding: 8px 0;
}

.library ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* Student Sec PDF Viewer */
.pdf-viewer {
    margin-top: 20px;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.pdf-viewer h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #b30000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    
    .divider {
        display: none;
    }
    
    .video-section, .library-section {
        width: 100%;
        margin-bottom: 20px;
    }
}
/* RESPONSIVE DESIGN FOR SMALL SCREENS */
@media (max-width: 768px) {
    /* STACK CONTENT IN MOBILE VIEW */
    .container {
        flex-direction: column;
        align-items: center;
    }

    .divider {
        display: none;
    }

    .video-section, .library-section {
        width: 100%;
        margin-bottom: 20px;
    }

    /* STACK PDF VIEWER & CALENDAR UNDER EACH OTHER */
    .pdf-calendar-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .pdf-viewer, .calendar-container {
        width: 100%;
        max-width: 450px;
        height: 600px;
        margin-bottom: 20px;
        background: white;
        border-radius: 15px;
        padding: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* HAMBURGER MENU */
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu.open {
        display: flex;
    }

    .menu ul {
        flex-direction: column;
        padding: 0;
    }

    .menu li {
        margin-bottom: 10px;
    }

    /* DARK MODE FIX FOR NEWS & COMMENTS */
    .comments-section, .news-section {
        width: 100%;
        text-align: center;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.9);
    }

    body.dark-mode .comments-section, 
    body.dark-mode .news-section {
        background-color: #222;
        color: #fff !important;
    }
}
/* RESET DEFAULT STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY STYLES */
body {
    font-family: Arial, sans-serif;
    background: url('desktop-background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* DIFFERENT BACKGROUND FOR SMALL SCREENS */
@media (max-width: 768px) {
    body {
        background: url('mobile-background.jpg') no-repeat center center fixed;
        background-size: cover;
    }
}

/* FIXED BLUR BACKGROUND */
.blur-background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    top: 0;
    left: 0;
}




/* RESPONSIVE DESIGN FOR SMALL SCREENS */
@media (max-width: 768px) {
    /* STACK CONTENT IN MOBILE VIEW */
    .container {
        flex-direction: column;
        align-items: center;
    }

    .video-section, .library-section {
        width: 100%;
        margin-bottom: 20px;
    }

    
}
@media (max-width: 768px) {
    .side-widgets {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align */
    }

    .pdf-container, .calendar-phone-container {
        width: 90%; /* Make both full width */
        max-width: 450px; /* Prevent them from being too large */
        margin-bottom: 20px; /* Space between them */
    }
}
/* Social Media Icons - Horizontal on All Screens */
.social-icons {
    display: flex;
    flex-direction: row; /* Keep icons in a horizontal line */
    justify-content: center; /* Center them */
    gap: 10px; /* Space between icons */
    flex-wrap: wrap; /* Allow wrapping if needed */
}

/* Adjust Icon Size & Styling */
.social-icons a {
    font-size: 20px; /* Adjust icon size */
    width: 40px; /* Fixed size for uniformity */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333; /* Dark background */
    color: white;
    border-radius: 50%; /* Circular icons */
    transition: background 0.3s ease;
}

/* Hover Effect */
.social-icons a:hover {
    background-color: #007bff; /* Change color on hover */
}

/* Small Screens: Reduce Icon Size */
@media (max-width: 768px) {
    .social-icons a {
        font-size: 18px; /* Slightly smaller icons */
        width: 35px;
        height: 35px;
    }
}


/* ======= Default Background for Large Screens ======= */
body {
    background: url('vidhishala_bg_1.mp4') no-repeat center center fixed;
    background-size: cover;
}

/* ======= Different Background for Small Screens (Below 768px) ======= */
@media (max-width: 768px) {
    body {
        background: url('small.jpg') no-repeat center center fixed;
        background-size: cover;
    }

    /* Stack PDF Viewer & Calendar Under Each Other */
    .side-widgets {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align */
    }

    .pdf-container,
    .calendar-phone-container {
        width: 90%; /* Adjust width for smaller screens */
        margin-bottom: 20px; /* Add spacing */
    }

    /* Keep Social Media Icons in Horizontal Line */
    .social-icons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .social-icons a {
        font-size: 18px;
        width: 35px;
        height: 35px;
    }
}
/* 🔹 Default: Video Background for Large Screens */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full viewport height */
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🔹 Small Screens: Hide Video & Show Image */
@media (max-width: 768px) {
    .video-background video {
        display: none; /* Hide video */
    }

    .video-background {
        background: url('smallscreen.webp') no-repeat center center/cover;
        width: 100%;
        height: 100vh; /* Same height as video */
    }
}

/* Centering the "Connect With Us" heading and social icons */
.connect-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 20px 0;
}

/* Center the heading properly */
.connect-with-us {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white; /* Adjust color if needed */
    text-align: center;
    display: block;
}

/* Ensure icons are in a straight row below the heading */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Adjust spacing between icons */
    width: 100%;
}

/* Adjust icon styles */
.social-icons a {
    font-size: 22px; /* Size of the icons */
    color: white; /* Adjust color as needed */
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

