/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #c9bebe;
}
    /* Reset */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
      }
  
      /* Navbar Styles */
      nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: #2c3e50;
        color: #ecf0f1;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
      }
  
      .logo {
        font-size: 24px;
        font-weight: bold;
      }
  
      .nav-links {
        display: flex;
        list-style: none;
        gap: 20px;
      }
  
      .nav-links li {
        position: relative;
      }
  
      .nav-links a {
        color: #ecf0f1;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: color 0.3s ease;
      }
  
      .nav-links a:hover {
        color: #1abc9c;
      }
  
      /* Hamburger Menu Icon */
      .menu-icon {
        display: none;
        cursor: pointer;
        transition: transform 0.3s;
      }
  
      .menu-icon span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #ecf0f1;
        margin: 6px 0;
        transition: 0.4s;
      }
  
      /* Full-Screen Mobile Menu Overlay */ /*nav * section*/
      .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(44, 62, 80, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 999;
      }
  
      .nav-overlay.active {
        display: flex;
        opacity: 1;
      }
  
      .nav-overlay ul {
        list-style: none;
        gap: 20px;
      }
  
      .nav-overlay li {
        margin: 20px 0;
      }
  
      .nav-overlay a {
        color: #ecf0f1;
        font-size: 24px;
        text-decoration: none;
        transition: color 0.3s;
      }
  
      .nav-overlay a:hover {
        color: #1abc9c;
      }
  
      /* Media Queries for Responsiveness */
      @media (max-width: 768px) {
        .nav-links {
          display: none;
        }
  
        .menu-icon {
          display: block;
        }
  
        /* Hamburger animation */
        .menu-icon.active span:nth-child(1) {
          transform: translateY(9px) rotate(45deg);
        }
        .menu-icon.active span:nth-child(2) {
          opacity: 0;
        }
        .menu-icon.active span:nth-child(3) {
          transform: translateY(-9px) rotate(-45deg);
        }
      }
  
/* Header Styles */
header {
    background-color: #95a4dd;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stack logo and nav vertically */
    align-items: center; /* Center items */
}

.school-logo {
    width: 100px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Add some space below the logo */
    transition: transform 0.6s ease, filter 0.3s ease;
}

.school-logo:hover {
    transform: scale(1.1); /* Scale on hover */
    filter: brightness(1.1); /* Brighten on hover */
}



/* Main Content Styles * nursery, primary section*/
/* Container styling */
.container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section title styling */
.featured-classes h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Layout for classes section */
/* Layout for classes section */
.featured-classes {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Class card styling */
.class {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Three items per row on larger screens */
@media (min-width: 1024px) {
    .class {
        flex: 1 1 calc(33.33% - 20px); /* Three items per row */
    }
}

/* One item per row on smaller screens */
@media (max-width: 1023px) {
    .class {
        flex: 1 1 100%; /* One item per row */
    }
}


/* Class card hover effect */
.class:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Class title styling */
.class h3 {
    font-size: 1.8em;
    color: #007BFF;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Paragraph styling */
.class p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* "Learn more" link styling */
.class a {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #007BFF;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

/* Hover effect for link */
.class a:hover {
    background-color: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
    .featured-classes {
        flex-direction: column;
        align-items: center;
    }
    .class {
        width: 100%;
        max-width: 90%;
    }
}


/* Animation for welcome message */
@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-message {
    background-color: #007BFF; /* Background color for the message */
    color: #fff; /* White text color */
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0; /* Spacing */
    animation: slideUpFadeIn 1s ease-out; /* Animation */
    text-align: center;
    max-width: 80%; /* Limit width for better readability */
    margin: 20px auto; /* Center it horizontally */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow */
}

.welcome-message h2 {
    font-size: 2em; /* Larger font size for heading */
    margin-bottom: 10px;
}

.welcome-message p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Adjust message styling for smaller screens */
@media (max-width: 768px) {
    .welcome-message h2 {
        font-size: 1.5em;
    }

    .welcome-message p {
        font-size: 1em;
    }
}

/* Mr. Update */
/* Section title styling */
.news-section {
    margin: 40px 0;
    text-align: center;
}

.news-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}
/* Container for news items */
.news-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* News item styling */
.news-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

/* News item hover effect */
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* News item title styling */
.news-item h3 {
    font-size: 1.8em;
    color: #007BFF;
    margin-bottom: 10px;
}

/* News item date styling */
.news-item .date {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 15px;
}

/* News item paragraph styling */
.news-item p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* "Read more" link styling */
.news-item a {
    display: inline-block;
    padding: 10px 15px;
    color: #ffffff;
    background-color: #007BFF;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

/* Hover effect for "Read more" link */
.news-item a:hover {
    background-color: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
    .news-container {
        align-items: center;
    }
}



/* News Section  Meet our team*/
.news-section {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
}

.news-container {
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.news-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Our Team Section */
.team-section {
    padding: 40px 0;
}

.team-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.profile-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 280px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #020202;
}

.title {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
}

.description {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ccc;
}

/* Social Media Styles */
.social-media {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between icons */
}

.social-icon {
    color: #007BFF;
    font-size: 24px; /* Set a consistent size for the icons */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth color and scale transitions */
    width: 40px; /* Set a fixed width for the icons */
    height: 40px; /* Set a fixed height for the icons */
}

.social-icon i {
    margin-right: 8px; /* Space between icon and text */
}

/* Hover effect for icons */
.social-icon:hover {
    color: #0056b3; /* Darker shade on hover */
    transform: scale(1.1); /* Slightly enlarge icon on hover */
}

/* Button Styles */
button, .btn {
    background-color: #007BFF; /* Primary color */
    color: white; /* Text color */
    padding: 10px 20px; /* Padding for the button */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Font size */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */
}

/* Button hover effects */
button:hover, .btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Disabled button styles */
button:disabled, .btn:disabled {
    background-color: #ccc; /* Grey color for disabled buttons */
    cursor: not-allowed; /* Not-allowed cursor */
}

/* Additional button styles for outline buttons */
.btn-outline {
    background-color: transparent; /* Transparent background */
    color: #007BFF; /* Primary color */
    border: 2px solid #007BFF; /* Border matching primary color */
}

.btn-outline:hover {
    background-color: #007BFF; /* Background color on hover */
    color: white; /* Text color on hover */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .portfolio-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack nav items on small screens */
        align-items: center; /* Center nav items */
    }

    .portfolio-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    header, footer {
        padding: 15px;
        font-size: 0.9em;
    }

    .container {
        width: 95%;
    }

    .portfolio-container {
        gap: 10px;
    }
}


/* activitiespage */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styles */
header {
    background: #4CAF50; /* Green background */
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav .logo {
    font-size: 1.5em;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e0e0e0;
}

/* Responsive Menu Icon */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
}

/* Overlay Navigation */
.nav-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding-top: 50px;
    text-align: center;
}

.nav-overlay.active {
    display: block; /* Show when active */
}

.nav-overlay ul {
    list-style: none;
}

.nav-overlay li {
    margin: 20px 0;
}

.nav-overlay a {
    color: white;
    text-decoration: none;
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Main Heading Styles */
h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

/* Activities Section */
.activities {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between activities */
}

/* Individual Activity Styles */
.activity {
    flex: 1 1 calc(33% - 20px); /* Three columns layout with gap */
    background: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.2s;
    text-align: center; /* Center align text */
}

.activity h3 {
    margin-bottom: 10px;
    color: #333;
}

.activity img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.activity:hover {
    transform: scale(1.05); /* Scale effect on hover */
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background: #4CAF50;
    color: white;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the normal navigation */
    }

    .menu-icon {
        display: flex; /* Show the menu icon */
    }

    .nav-overlay {
        padding-top: 80px; /* Adjust padding for overlay */
    }

    .activity {
        flex: 1 1 calc(50% - 20px); /* Two columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .activity {
        flex: 1 1 100%; /* One column on very small screens */
    }
}



/* contact us page */
/* Contact Page Specific Styling */

#contact-page .form-container {
    max-width: 500px; /* Set a max width to center form */
    margin: 0 auto; /* Center align form */
    padding: 20px; /* Add padding inside the form */
    border: 2px solid #f0a500; /* Optional border color */
    border-radius: 8px; /* Smooth rounded corners */
    background-color: #fff3e0; /* Light background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

#contact-page .form-group {
    margin-bottom: 15px; /* Space between form elements */
}

#contact-page label {
    display: block; /* Full width */
    margin-bottom: 6px; /* Space between label and input */
    font-weight: 600; /* Slightly bolder font */
    color: #333; /* Dark text for contrast */
}

#contact-page input[type="text"],
#contact-page input[type="email"],
#contact-page input[type="tel"],
#contact-page textarea {
    width: 100%; /* Full width of container */
    padding: 12px; /* Comfortable padding */
    border: 1px solid #ccc; /* Border for input */
    border-radius: 6px; /* Smooth rounded corners */
    font-size: 16px; /* Readable font size */
    background-color: #fffaf0; /* Light background color */
    color: #333; /* Dark text for contrast */
}

#contact-page input[type="text"]:focus,
#contact-page input[type="email"]:focus,
#contact-page input[type="tel"]:focus,
#contact-page textarea:focus {
    border-color: #f0a500; /* Highlight border on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(240, 165, 0, 0.5); /* Soft focus shadow */
}

#contact-page button[type="submit"] {
    background-color: #f0a500; /* Bright color for the button */
    color: white; /* White text */
    padding: 12px 20px; /* Ample padding for button */
    border: none; /* Remove border */
    border-radius: 6px; /* Rounded corners */
    font-size: 16px; /* Comfortable font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition */
}

#contact-page button[type="submit"]:hover {
    background-color: #d48f00; /* Darken button on hover */
}
