/* Variables for colors and fonts */
:root {
    --primary-color: #DBAE3F;
    --secondary-color: #E4A900;
    --text-color: #333;
    --light-text: #555;
    --background: #fff8e5;
    --card-bg: #f9f9f9;
    --accent-hover: #4cae4c;
    --footer-bg: #F0EFE8;
    --link-hover: #FFD700;
    --font-family: 'Poppins', sans-serif;
}
  
/* Global Styles */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
    font-family: var(--font-family);
    background: var(--background);
    color: var(--text-color);
}
  
/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}
  
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}
  
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
  
.logo {
    width: 5rem;
    height: 5rem;
}
  
.school-name {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: bolder;
    color: #DBAE3F;
}
  
.desktop-nav {
    display: none;
}
  
.desktop-nav .nav-link {
    margin: 0 1rem;
    text-decoration: none;
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
  
.desktop-nav .nav-link:hover {
    color: #E4A900;
}
  
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
}
  
.menu-icon {
    width: 24px;
    height: 24px;
    color: #4A4A4A;
}
  
.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 40;
}
  
.mobile-nav.hidden {
    display: none;
}
  
.mobile-nav .nav-link {
    margin-bottom: 1rem;
    text-decoration: none;
    color: #4A4A4A;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s, color 0.3s;
}
  
.mobile-nav .nav-link:hover {
    color: #E4A900;
    background-color: #f9f9f9;
}
  
/* Responsive Navbar */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
  
    .menu-toggle,
    .mobile-nav {
        display: none;
    }
}
  
/* Main Content */
.main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 2rem;
}
  
.contact-container {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 1100px;
    width: 100%;
    animation: fadeIn 1s ease-out;
    text-align: center;
}
  
.contact-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
  
.subheading {
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    /* Make the entire contact row a column and center its items */
    .contact-row {
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
    }
  
    /* Ensure .contact-info takes full width and centers its cards */
    .contact-info {
      width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      margin: 0 auto !important;
    }
  
    /* Each .info-card is centered, with a max width to avoid stretching */
    .contact-info .info-card {
      width: 80% !important;
      max-width: 350px;
      margin: 1rem auto !important;
      text-align: center !important;
    }
  
    /* Center the map as well */
    #map {
      width: 80% !important;
      margin: 1rem auto !important;
    }
  }
  
  
  
  
/* Contact Row Layout */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
}
  
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
  
.info-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, background-color 0.3s;
}
  
.info-card:hover {
    transform: scale(1.05);
    background-color: #eaf6ef;
}
  
.info-card i {
    font-size: 1.5rem;
    color: var(--accent-hover);
    margin-bottom: 0.5rem;
}
 
/* Map Styles */
#map {
    flex: 1.5;
    height: 445px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}
  
/* Enquiry & Vacancy Sections */
.enquiry-container,
.vacancy-container {
    background: #fff;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-out;
    text-align: center;
}
  
.enquiry-container h2,
.vacancy-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
  
.enquiry-subheading,
.vacancy-subheading {
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}
  
.enquiry-list,
.vacancy-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
  
.enquiry-item,
.vacancy-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
    transition: transform 0.3s, background-color 0.3s;
    text-align: left;
}
  
.enquiry-item:hover,
.vacancy-item:hover {
    transform: scale(1.05);
    background-color: #eaf6ef;
}
  
.enquiry-item h3,
.vacancy-item h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
  
.enquiry-item p,
.vacancy-item p {
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}
  
.apply-btn {
    display: inline-block;
    background-color: var(--accent-hover);
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}
  
.apply-btn:hover {
    background-color: #3a8a3a;
}
  
/* Footer */
.footer {
    background-color: #F0EFE8;
    color: #4A4A4A;
    padding: 2rem;
}
  
.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
  
.footer-logo-contact {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}
  
.logo-contact-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}
  
.footer .logo {
    width: 6rem;
    height: 6rem;
}
  
.footer .school-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #DBAE3F;
}
  
.contact-details {
    font-size: 0.9rem;
}
  
.footer-links {
    display: flex;
    flex-direction: column;
}
  
.quick-links {
    margin-bottom: 1rem;
}
  
.quick-links h4 {
    font-size: 1rem;
    font-weight: 600;
}
  
.link {
    display: block;
    margin: 0.5rem 0;
    color: #4A4A4A;
    text-decoration: none;
    transition: color 0.3s;
}
  
.link:hover {
    color: #FFD700;
}
  
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
  
.social-icon img {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
}
  
.social-icon:hover img {
    transform: scale(1.2);
}
  
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #7D7D7D;
}
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-logo-contact {
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-links {
        align-items: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo-contact {
        align-items: center;
        text-align: center;
    }

    .logo-contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        margin-top: 1rem;
    }

    .social-links {
        justify-content: center;
    }
}
  
  
/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
  
.logo-link,
.info-card a,
.contact-info1 a {
    text-decoration: none;
    color: inherit;
}
  
/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Navbar adjustments */
    .navbar-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    /* Main content adjustments */
    .main {
        padding: 1rem;
    }
    
    .contact-container {
        padding: 1rem;
    }
    
    .contact-container h1 {
        font-size: 2rem;
    }
    
    /* Stack contact row items vertically */
    .contact-row {
        flex-direction: column;
    }
    
    /* Map adjustments */
    #map {
        width: 100%;
        height: 300px;
        margin-top: 1rem;
    }
    
    /* Center info cards */
    .info-card {
        margin: 0 auto;
    }
    
    /* Enquiry & Vacancy container adjustments */
    .enquiry-container,
    .vacancy-container {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .enquiry-item,
    .vacancy-item {
        max-width: 100%;
    }
    
   
}
