/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Video Background */
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(60%);
}

/* WhatsApp Chat */
.chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #128C7E;
  border-radius: 20px;
  z-index: 1000;
  box-shadow: 0 0 10px #128C7E;
}

.chat#logIn {
  box-shadow: 0 0 10px #c87618ff;
}

.chat#profile {
  box-shadow: 0 0 10px #0066cc;
}

.chat#admin {
  box-shadow: 0 0 10px #228B22;
}

.chat a {
  font-size: 18px;
  padding: 10px;
  color: #fff;
  display: block;
}

/* Header */
.header {
  background: #111;
  box-shadow: 0 0 20px #222;
  padding: 2px;
  z-index: 10;
  position: relative;
}

.header .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  width: 150px;
  border-radius: 50%;
  padding: 30px 0;
}

/* Nav */
.nav {
  display: flex;
}

.nav-ul {
  display: flex;
  list-style: none;
  padding-right: 50px;
}

.nav-ul li {
  padding: 20px;
}

.nav-ul li a {
  text-decoration: none;
  color: #f2f2f2;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  text-shadow: 0 0 1px #f2f2f2;
  transition: 0.3s;
}

.nav-ul li a:hover {
  color: #0062ad;
  text-shadow: 0 0 1px #0062ad;
}

/* Mobile Menu */
.menu {
  display: none;
}

#menuIcon {
  font-size: 25px;
  color: #fff;
  cursor: pointer;
  float: right;
  margin: 50px;
}

#closeIcon {
  font-size: 25px;
  color: #0062ad;
  cursor: pointer;
  float: right;
  margin: 50px;
}

#container {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #e3e7f3;
  transition: 0.5s;
  z-index: 999;
}

#container.active {
  right: 0;
}

#navLinks #menu {
  list-style: none;
  padding-top: 100px;
  text-align: center;
}

#navLinks #menu li {
  margin: 20px 0;
}

#navLinks #menu li a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

/* Home Text Section */
.home-textbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: left;
  width: 100%;
  padding: 0 20px;
}

.home-textbox .heading {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  margin: 110px 0 0 52px;
  text-shadow: 0 0 2px #ffdc40;
  color: #ffdc40;
  letter-spacing: 3px;
}

.home-textbox .textbox-para {
  color: #a7ee43;
  font-size: 1.6rem;
  text-shadow: 0 0 1px #a7ee43;
  margin: 10px 20px 10px 52px;
  letter-spacing: 3px;
}

.home-textbox .buttons-xyz {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  margin-left: 52px;
  gap: 20px;
}

.home-textbox .buttons-xyz button,
.home-textbox .buttons-xyz a {
  display: flex;
  max-width: 300px;
  width: 100%;
  justify-content: center;
  align-items: center;
  color: #f2f2f2;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  transition: 0.3s;
  font-size: 15px;
  letter-spacing: 1px;
}

.home-textbox .buttons-xyz button:hover,
.home-textbox .buttons-xyz a:hover {
  letter-spacing: 2px;
}

/* Specific colors and shadows */
#tutorial {
  background: #8B0000;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.6);
}

.home-textbox .buttons-xyz a {
  background: #0062ad;
  box-shadow: 0 0 20px rgba(0, 98, 173, 0.6);
}

/* Adjustments for content inside the anchor tag */
.home-textbox .buttons-xyz a p {
  margin: 0;
}

.home-textbox .buttons-xyz a i {
  margin-right: 8px;
}

.home-textbox .appoinment-btn:hover {
  border-radius: 5px;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero .box {
    padding: 20px 30px;
    background: #fffae6;
    border-radius: 10px;
    font-family: 'poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #333;
    text-decoration: none;
    transition: .3s;
    display: inline-block;
}

.hero .box:hover {
    border-radius: 2px;
}

.notice-section {
    background: #fffae6;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #f0e68c;
    text-align: center;
    border-radius: 8px;
    word-wrap: break-word;
}

.notice-section.pinned {
    border: 2px solid #228B22;
    background: #e6ffe6;
}

a.notice-link {
    color: #0066cc;
    text-decoration: underline;
}

/* --- FOOTER STYLING --- */

.main-footer {
    background-color: #e2e2e2; /* Dark background */
    color: #fff;
    padding: 40px 20px 0;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-col {
    width: 23%; /* Approx width for 4 columns */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: #00487e; /* Your primary color */
    margin-bottom: 15px;
    border-left: 3px solid #00487e;
    padding-left: 10px;
}

.footer-col p {
  color: #222;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.footer-links ul li a:hover {
    color: #00487e;
    letter-spacing: 2px;
}

.footer-contact a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-contact a:hover {
    color: #00487e;
    letter-spacing: 2px;
}

/* Social Media */
.social-links a {
    display: inline-block;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 10px;
    border-radius: 50%;
    transition: all 0.3s;
    margin-top: 20px;
}

.social-links a.facebook {
  color: #1877F2;
}

.social-links a.facebook:hover {
  background: #1877F2;
  color: #fff;
}

.social-links a.youtube {
  color: #FF0000;
}

.social-links a.youtube:hover {
  background: #FF0000;
  color: #fff;
}

.social-links a.whatsapp {
  color: #075e54;
}

.social-links a.whatsapp:hover {
  background: #075e54;
  color: #fff;
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

/* Media Query for very small screens */
@media (max-width: 400px) {
    .contact-form {
        padding: 20px;
    }
    
    .contact-form h2 {
        font-size: 1.25rem;
    }
}

.hidden {
    display: none !important;
}

/* --- FOOTER STYLING --- */

.main-footer {
    background-color: #e2e2e2; /* Dark background */
    color: #fff;
    padding: 40px 20px 0;
    font-family: Arial, sans-serif;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-col {
    width: 23%; /* Approx width for 4 columns */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: #00487e; /* Your primary color */
    margin-bottom: 15px;
    border-left: 3px solid #00487e;
    padding-left: 10px;
}

.footer-col p {
  color: #222;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.footer-links ul li a:hover {
    color: #00487e;
    letter-spacing: 2px;
}

.footer-contact a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-contact a:hover {
    color: #00487e;
    letter-spacing: 2px;
}

/* Social Media */
.social-links a {
    display: inline-block;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 10px;
    border-radius: 50%;
    transition: all 0.3s;
    margin-top: 20px;
}

.social-links a.facebook {
  color: #1877F2;
}

.social-links a.facebook:hover {
  background: #1877F2;
  color: #fff;
}

.social-links a.youtube {
  color: #FF0000;
}

.social-links a.youtube:hover {
  background: #FF0000;
  color: #fff;
}

.social-links a.whatsapp {
  color: #075e54;
}

.social-links a.whatsapp:hover {
  background: #075e54;
  color: #fff;
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

/* Media Queries */

@media (max-width: 1300px) {
  .nav-ul li {
    padding: 10px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center; 
    padding-bottom: 30px;
  }

  .footer-col {
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
    text-align: center; 
  }

  .footer-logo {
    margin: 0 auto 15px auto;
  }

  .footer-col h4 {
    border-left: none; 
    padding-left: 0;
  }

  
  .social-links {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .footer-links ul {
    display: inline-block;
    text-align: center; 
  }
}

@media (max-width: 1000px) {
  .header .flex .nav {
    display: none;
  }

  .header .flex .menu {
    display: block;
  }
}


@media (max-width: 700px) {
  .footer-bottom p {
    text-align: left;
  }

  .welcome .heading {
    font-size: 40px;
  }

  .welcome .left-side {
    margin-top: 50px;
  }
}