/* Reset Margins and Padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.logo {
    display: flex;
    align-items: center;
    background-color: white; /* Adds a white background */
    padding: 10px; /* Adds spacing around the logo */
    border-radius: 8px; /* Optional: Rounds the corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds a subtle shadow */
}

.logo img {
    width: 60px; /* Adjust to a reasonable size */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Removes extra spacing */
}



/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: flex-start; /* Aligns content to the left */
    align-items: center;
    width: 100vw;
    background-color: #333;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
}

/* Make Navigation Links Display Horizontally */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px; /* Spacing between items */
}

/* Style for Each Nav Item */
.nav-links li {
    position: relative;
}

/* Style for Links */
.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.nav-links a:hover {
    color: #f4a261;
}

/* Dropdown Menu */
.dropdown {
    display: none;
    position: absolute;
    top: 100%; /* Ensures it appears directly below the nav item */
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    list-style: none;
    padding: 0;
    z-index: 9999; /* Ensures dropdown is on top of everything */
}

/* Ensure Parent has Relative Positioning */
.nav-links li {
    position: relative;
    z-index: 10; /* Ensures the dropdown stays layered correctly */
}

/* Dropdown Items */
.dropdown li {
    width: 100%;
}

/* Dropdown Links */
.dropdown a {
    color: black;
    padding: 12px 16px;
    display: block;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Show Dropdown on Hover */
.nav-links li:hover .dropdown {
    display: block;
}

/* Dropdown Hover Effect */
.dropdown a:hover {
    background-color: #f4a261;
    color: white;
}

/* Full-Width Video Section */
.full-video-container {
    width: 100vw;  /* Full viewport width */
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents overflow */
}

.full-video {
    width: 100%;  /* Ensures the video fills the entire section */
    height: auto;  /* Maintains aspect ratio */
}



/* About Us Section */
.about-us {
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 10%;
    background-color: #f4f4f4;
}

/* Left Side - Text Content */
.about-content {
    flex: 1;
    padding-right: 40px; /* Adds spacing between text and image */
}

.about-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Right Side - Image */
.about-image {
    flex: 1;
    text-align: right;
}

.about-image img {
    width: 100%;
    max-width: 400px; /* Limits image size */
    height: auto; /* Keeps aspect ratio */
    border-radius: 10px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 900px) {
    .about-us {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        padding-right: 0;
    }

    .about-image {
        text-align: center;
        margin-top: 20px;
    }

    .about-image img {
        width: 80%;
        max-width: 300px; /* Ensures it doesn't become too large */
    }
}

/* Department Section */
.departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px;
    justify-content: center;
    text-align: center;
}

/* Each Department Block */
.department {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Slightly Smaller & Brighter Images */
.department img {
    width: 90%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    filter: brightness(1.1); /* Brightens Image */
}

/* Hover Effect: Lift Image & Shadow */
.department:hover {
    transform: scale(1.02);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

/* Beautiful Caption Below Image */
.caption {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    font-family: "Arial", sans-serif;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .departments {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 20px;
    }

    .department img {
        width: 95%;
        height: 220px;
    }

    .caption {
        font-size: 18px;
    }
}


/* Certificate Section */
.certificate-section {
    text-align: center;
    padding: 50px 10%;
    background-color: #f4f4f4;
}

.certificate-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Certificate Grid Layout */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Adjusted for 80% size */
    gap: 20px;
    justify-content: center;
}

/* Certificate Image Styling */
.certificate-image {
    width: 80%; /* Reduced to 80% */
    height: auto;
    max-width: 80%; /* Ensures it scales properly */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

/* Hover Effect */
.certificate-image:hover {
    transform: scale(1.05);
}

/* Full View Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Full View Content */
.full-view-content {
    max-width: 80%; /* Reduce full-view size to 80% */
    max-height: 80%;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}




/* Contact Header */
.contact-header {
    text-align: center;
    padding: 40px 20px;
}

.contact-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 16px;
    color: #666;
}

/* Contact Info Section */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 10%;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 30px;
    width: 300px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 40px;
    color: black;
    margin-bottom: 10px;
}

.contact-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.contact-card a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.contact-btn {
    background: none;
    border: 1px solid black;
    padding: 8px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.contact-btn:hover {
    background: #f4a261;
    color: white;
    border-color: #f4a261;
}

/* Inquiry Form */
.inquiry-form {
    text-align: center;
    padding: 50px 10%;
    background-color: #f4f4f4;
}

.inquiry-form h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Form Layout */
form {
    max-width: 800px;
    margin: auto;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    background-color: black;
    color: white;
    padding: 12px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-top: 15px;
}

.submit-btn:hover {
    background-color: #f4a261;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .form-group {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }
}

/* Priority Page Header */
.priority-header {
    text-align: center;
    padding: 40px 20px;
}

.priority-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Priority Content */
.priority-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    padding: 40px 10%;
}

/* Priority Box (Image + Text) */
.priority-box {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
}

/* Reverse Layout for Alternating Style */
.reverse {
    flex-direction: row-reverse;
}

/* Images */
.priority-box img {
    width: 50%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Text Section */
.priority-text {
    width: 50%;
}

.priority-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.priority-text p {
    font-size: 18px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .priority-box {
        flex-direction: column;
        text-align: center;
    }

    .reverse {
        flex-direction: column;
    }

    .priority-box img,
    .priority-text {
        width: 100%;
    }
}

/* FAQ Section */
.faq-section {
    text-align: center;
    padding: 50px 10%;
    background-color: #f4f4f4;
}

.faq-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.faq-container {
    margin-top: 20px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.faq-placeholder {
    font-size: 18px;
    color: #888;
}

/* Video Section */
.video-section {
    text-align: center;
    padding: 50px 10%;
    background-color: #f4f4f4;
}

.video-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.video-container {
    margin-top: 20px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    font-size: 18px;
    color: #888;
}



/* Footer Styling */
.footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 18px;
}

/* Footer Content Styling */
.footer-content p {
    margin: 10px 0;
}

/* Link Styling */
.footer-content a {
    color: #f4a261; /* Matches the hover color from the navbar */
    text-decoration: none;
    font-weight: bold;
}

.footer-content a:hover {
    text-decoration: underline;
}

