html {
    scroll-behavior: smooth;
}

/* Reset default margins */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
   
}

header {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    padding: 20px 40px;
    color: white;
}
.header-content {
  display: flex;
  justify-content: space-between;/* text left, logo right*/
  align-items: center;
  flex-wrap: wrap; /*responsive on small screen*/
}
.header-text h1 {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
}
.header-text h2 {
  margin: 5px 0 0;
  font-size: 25px;
  font-weight: normal;
  color: #f0f0f0;
}
.header-logo img {
  width: 140px;
  height: auto;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

#navigation {
    position: sticky;
    top: 0;
    z-index: 1000; /* keeps it above other elements */
}
#navigation ul{
        display: flex;
        justify-content: center;
        list-style: none;
        gap: 30px;
        background-color: #2196F3; 
        padding: 20px;        
}
#navigation a {
    text-decoration: none;
    font-size: 25px;
    color: white;  
}
#navigation a:hover{
    color: rgba(34, 82, 227, 0.895);
     background-color: #134582;
     padding: 20px 5px;
}

/* Home Section */
#home {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: background-image 1.5s ease-in-out;
}

/* Dark overlay */
#home::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content */
#home .overlay {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

#home-text {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
  animation: slideDown 1s ease-in-out;
}

#home-subtext {
  font-size: 22px;
  font-weight: 300;
  animation: fadeIn 2s ease-in-out;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #007bff;
  color: white;
  font-size: 18px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}
.cta-btn:hover {
  background: #0056b3;
}

/* Arrows */
.home-prev, .home-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}
.home-prev { left: 20px; }
.home-next { right: 20px; }
.home-prev:hover, .home-next:hover {
  background: rgba(0,0,0,0.8);
}
/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  #home-text { font-size: 28px; }
  #home-subtext { font-size: 16px; }
}


#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  display: none;  /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

#backToTop:hover {
  background-color: #0d47a1;
  transform: scale(1.1);
}


#belowHome{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    margin: 50px 80px;
    padding: 50px;
    font-size: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    gap: 40px;
    border-radius: 7px;
    border: 1px solid  rgb(87, 85, 85);
    box-shadow: 0px 0px 20px  rgb(87, 85, 85);
    text-shadow: 2px 5px 3px rgb(176, 181, 185);
   
}
#belowHome img{
    height: 300px;
    border-radius: 10px;
}

#intro{
    background-color: rgb(232, 239, 245);
    padding: 40px 5px 10px 10px;
    font-size: 20px;
    text-align: left;
    margin-bottom: 30px;

}
#intro button{
    background-color: #1379ed;
    color: white;
    border: none;
    border-radius: 7px;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    margin: 70px 0px 0px 0px;
    transition: background 0.15s ;
}
#intro button:hover{
    background-color: #5099f9;
}

/*certificate */
.container {
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.certificate-image {
  min-width: 100%;
  height: 500px;
  object-fit: contain;
  background: #f4f4f4;
  border-radius: 10px;
}

/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

/* Dots */
.dots {
  margin-top: 15px;
  text-align: center;
}

.dots span {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.4s;
  cursor: pointer;
}

.dots .active {
  background-color: #007bff;
}



#allInfo{
   background-color: #2196F3;
   padding: 60px 0px 40px 0px;
   color: rgb(255, 255, 255);
   margin-top: 30px;
}
#info-3 {
display: flex;
justify-content: center;
text-align: left;
gap: 100px;
}
#quickLinks ul{
  margin-top: 10px;
}
#quickLinks a{
    text-decoration: none;
    color: white;
}
#quickLinks a:hover{
    color: rgb(147, 202, 244);
}
#contact-us h2{
  margin-bottom: 10px;
}
#contact-us a{
text-decoration: none;
color: white;
}
#contact-us a:hover{
    color: rgb(147, 202, 244);
}
.social-icons {
    display: flex;
    gap: 15px; /* Equal space between icons */
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #e6eef2; /* Light blue box */
    color: #0e6ea8; /* Blue icon color */
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: white;
    color: #0e6ea8;
    transform: scale(1.2);
}
footer{
    font-size: 20px;
    padding: 60px 0px 0px 20px;
}

