/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #005b96;
    color: white;
    position: relative;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #aad8ff;
}

.register-btn {
    background-color: #ff6b6b;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background-color: #ff5252;
    color: white;
}

/* Slider Styles */
.slider-container {
    width: 100%;
    height: 1400px; /* Use viewport height instead of fixed pixels */    
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from 'cover' to 'contain' */
    
}

@media (max-width: 768px) {
    .slider-container {
        height: 50vh; /* Smaller height on mobile */
        min-height: 250px;
    }
    
    .slide img {
        object-fit: cover; /* Switch back to cover on mobile if needed */
        object-position: center 30%; /* Adjust to show faces */
    }
}

/* Main Content Styles */
.welcome-section {
    padding: 60px 0;
    text-align: center;
    background-color: white;
}

.welcome-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #005b96;
}

.welcome-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

.services-section {
    padding: 60px 0;
    background-color: #f0f7ff;
}

.services-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #005b96;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 40px;
    color: #005b96;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: #005b96;
}

.contact-section {
    padding: 60px 0;
    background-color: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #005b96;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    font-size: 24px;
    color: #005b96;
}

/* About Page Styles */
.about-section {
    padding: 60px 0;
}

.about-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #005b96;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    margin: 20px 0 15px;
    color: #005b96;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text li {
    margin-bottom: 8px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Registration Page Styles */
.registration-section {
    padding: 60px 0;
}

.registration-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #005b96;
}

.registration-section p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#registrationForm {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

.submit-btn {
    background-color: #005b96;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #00457a;
}

/* Action Buttons */
.action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.whatsapp-button, .call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-button {
    background-color: #25D366;
}

.call-button {
    background-color: #005b96;
}

.whatsapp-button:hover, .call-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Styles */
footer {
    background-color: #003366;
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #aad8ff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .action-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button, .call-button {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Add to the logo styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px; /* Adjust based on your logo's proportions */
    width: auto;
}

/* For smaller screens */
@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .logo-img {
        height: 50px;
    }
}

/* Gallery Page Styles */
.gallery-section {
    padding: 40px 0;
    background-color: #f0f7ff;
}

.gallery-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
    color: #005b96;
}

.gallery-section .subtitle {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    color: #555;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.staff-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.staff-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.staff-card:hover .staff-image img {
    transform: scale(1.05);
}

.staff-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 91, 150, 0.8);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.staff-card:hover .staff-overlay {
    transform: translateY(0);
}

.staff-overlay h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.staff-overlay p {
    margin-bottom: 3px;
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .gallery-section {
        padding: 30px 0 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .staff-image {
        height: 220px; /* Shorter height on mobile */
    }
    
    .staff-image img {
        object-position: center 20%; /* Better face positioning */
    }
    
    .staff-overlay {
        padding: 10px;
    }
    
    .staff-overlay h3 {
        font-size: 16px;
    }
    
    .staff-overlay p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .staff-image {
        height: 200px;
    }
}

/* Google Map Section */
.map-section {
    padding: 40px 0;
    background-color: #fff;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-title {
    text-align: center;
    color: #005b96;
    margin-bottom: 15px;
}

.google-map {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.address-info {
    text-align: center;
    font-size: 18px;
    color: #333;
}

.address-info i {
    color: #005b96;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .google-map {
        height: 300px;
    }
    
    .address-info {
        font-size: 16px;
    }
}