/* === GLOBAL STYLES === */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f6f8;
  color: #333;
}

a {
  text-decoration: none;
  padding: 5px;
  cursor: pointer;
}

h1, h2, h3 {
  color: #002e6e;
}

/* === UTILITIES === */
.flex-container {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
}

ul {
  line-height: 1.8;
  padding-left: 1.2rem;
}

/* === SECTION STYLES === */
section {
  margin-bottom: 3rem;
  background: white;
  border-radius: 12px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.5);
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}
section:nth-of-type(1) { animation-delay: 0.2s; }
section:nth-of-type(2) { animation-delay: 0.4s; }
section:nth-of-type(3) { animation-delay: 0.6s; }
section:nth-of-type(4) { animation-delay: 0.8s; }

.section-title {
  color: #00b8de;
  text-shadow: 2px 3px #fff;
  text-align: center;
  letter-spacing: 2px;
  font-size: 30px;
  margin: 50px 0 30px;
}

/* === HERO SECTION === */
#hero-section {
  background: url('bg-keyb.png') no-repeat center/cover;
  text-align: center;
  padding: 80px 30px;
  position: relative;
}
#hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
#hero {
  position: relative;
}
#hero h1, #hero h3 {
  color: #fff;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 2px -5px #000;
}
#hero h1 {
  font-size: 50px;
  margin-bottom: 0;
}
#hero h3 {
  font-size: 30px;
  text-shadow: -2px 3px #000;
  margin-bottom: 10px;
}
#hero p {
  font-weight: 400;
  letter-spacing: 2px;
  margin: 10px;
}
.hero-content-items {
  flex: 0 0 25%;
  text-align: center;
  font-size: medium;
  margin: 1%;
  padding-top: 20px;
}
.hero-content-items a,
#about-section h4,
.contact-content h2 {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  text-align: center;
}
.hero-content-items span:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* === CALL TO ACTION === */
#header-cta,
#cta2 button{
  background-color: transparent;
  padding: 10px 20px;
  color: #fff;
  text-shadow: -2px 1px black;
  letter-spacing: 2px;
  font-size: large;
  border-radius: 20px;
  border-right: 10px double #00b8de;
  border-top: 10px double #002e6e;
  border-left: 10px double #00b8de;
  border-bottom: 10px double #002e6e;
}

#cta2 {
  margin-top: 30px;
}
#cta2 button:hover {
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* === ABOUT SECTION === */
#about-section {
  background: rgba(0, 46, 110, 0.05);
}
.about-content {
  flex: 0 0 30%;
  background: rgba(0, 46, 110, 0.05);
  box-shadow: -4px 6px 6px darkgray;
  margin: 1%;
  padding: 20px 10px;
  transition: transform 0.2s ease-in-out;
}
.about-content:hover {
  transform: translateY(-6px);
  background: #fff;
  color: #000;
  font-weight: 700;
  margin-top: 10px;
}
#about-img {
  text-align: center;
}
.about-content img {
  border-radius: 50%;
}
dt span {
  background: rgba(0, 46, 110, 0.6);
  color: #fff;
  border: 2px groove #fff;
  border-radius: 25%;
  padding: 10px;
  font-size: 20px;
}
dt {
  margin-bottom: 15px;
}
dd {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  color: #000;
}



/* JAMB RESULTS  */

.jamb-result {
  flex: 0 0 30%;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.jamb-result:hover {
    transform: translateY(-5px);
}

.jamb-result figure {
    margin: 0;
    padding: 1rem;
}

.jamb-result img {
    width: 80px;
    height: auto;
    margin-bottom: .5rem;
    border-radius: 50%;
}

.jamb-result figcaption {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}

figcaption hr{
  margin: 3px 30px;
  color: #002e6e;
}

.jamb-result figcaption span{
  font-size: 40px;
  color: #002e6e;
  border: 2px dotted #00b8de;
  border-radius: 20px;
  padding: 5px 20px;
}
figcaption strong{
  font-size: larger;
  color: #002e6e;
}
figcaption h4{
  color: #00b8de;
}




/* === MAIN SERVICE SECTION === */
.main-service-content {
  flex: 0 0 48%;
}
.main-service-content h2 {
  text-align: center;
}
.main-service-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.service-img{
    text-align: center;
}

#service-section, .testimonial-container {
  padding: 1rem;
  max-width: 1100px;
  margin: auto;
}
#tutorials h3 {
  margin: 15px 0 5px;
}
#service-section p {
  color: #000;
}
#service-section ul {
  list-style: none;
  padding-left: 0;
}
#service-section ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
#service-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  background: url('checkmark-blue.png') no-repeat center/cover;
}
.service-cta{
  margin-top: 25px;
  text-align: center;
}
.service-cta a{
  padding: 10px 15px;
  color: #000;
  font-size: large;
  border-radius: 20px;
  border-right: 10px double #00b8de;
  border-top: 5px groove #00b8de;
  border-left: 10px double #002e6e;
  border-bottom: 5px groove #002e6e;
}
.service-cta a:hover{
  background-color: #00b9de2c;
}

/* === SERVICE BOXES === */
.service-content {
  flex: 0 0 20%;
  margin: 15px;
  background-image: conic-gradient(rgba(0,46,110), rgba(0,184,222), white, rgba(0,184,222), rgba(0,46,110));
  text-align: center;
  border-radius: 10%;
  box-shadow: 0px 3px 16px #000;
}
.service-content h3 {
  color: #fff;
  text-shadow: 1px 1px 2px #212529;
  padding: 2px;
  margin-top: 5px;
}
.service-content p {
  color: rgb(247, 227, 227);
  text-shadow: 1px 1px 2px black;
}
.service-content span {
  color: rgba(0, 46, 110);
}
.service-content a {
  color: #fff;
  padding: 1px 8px;
  border: 2px ridge #fff;
  border-radius: 10px;
  background: rgb(0,185,222);
}
.service-content hr {
  margin: 10px;
}
.cost {
  font-size: 30px;
  text-shadow: 1px 2px black;
}

.service-content:hover{
  background: #00b9de21;
  .cost {
    font-size: 40px;
    color: #000;
    text-shadow: 2px 2px white;
  }
  h3{
    color: black;
    letter-spacing: 1px;
    
  }
}

/* === CONTACT SECTION === */
#contact-section {
  padding: 2rem;
  background: #fff;
}
.contact-content, .contact-content-items {
  flex: 0 0 45%;
  background: #fff;
  padding: 1.1rem;
  border-radius: 10px;
  margin: 5px;
}
.contact-content {
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.05);
}
.contact-content-items {
  background: rgba(0, 46, 110, 0.03);
  text-align: center;
}
.contact-content-items span {
  font-weight: bold;
  display: block;
  margin-bottom: 0.2rem;
}
.contact-content-items a {
  color: #00b8de;
  text-decoration: none;
  font-size: x-large;
}
form {
  display: flex;
  flex-direction: column;
}
form label {
  margin-top: 1rem;
  font-weight: bold;
}
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.2rem;
  border: 1px solid #adabab;
  border-radius: 5px;
}
form input[type="submit"] {
  margin-top: 1.5rem;
  padding: 0.75rem;
  background: #002e6e;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: large;
}
form input[type="submit"]:hover {
  background: #001d47;
}

/* === TESTIMONIALS === */
.testimonials {
  text-align: center;
  background: #e6f9fc;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: fadeInUp 5s ease forwards;
}
.testimonial {
  margin-bottom: 1.5rem;
}
.testimonial p {
  font-style: italic;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(-5px);
  }
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 10px;
  margin-top: 10px;
}


/* === RESPONSIVE === */


@media (max-width: 1200px) {
  .about-content { flex: 0 0 48%; }
  .service-content, .contact-content-items { flex: 0 0 48%; }
}

@media (max-width: 900px){
  .hero-content-items{
    flex: 0 0 45%;
}
.jamb-result {
  flex: 0 0 48%;
  margin-bottom: 20px;
}
}

@media (max-width: 768px) {
  #hero h1 {
  font-size: 40px;
  margin-bottom: 0;
}
  .hero-content-items { flex: 0 100%; }
  .about-content, .contact-content, .contact-content-items, .service-content, .main-service-content {
    flex: 0 0 100%;
    margin-bottom: 10px;
  }

  .jamb-result {
  flex: 0 0 100%;
  margin-bottom: 20px;
}

 figcaption hr{
  margin: 3px 70px;
  color: #002e6e;
}
}

@media (max-width: 480px){
  figcaption hr{
  margin: 3px 20px;
  color: #002e6e;
}

}
