
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, "Poppins", sans-serif;
    line-height: 1.6;
    background-color: #f2f2f2;
    color: #333;
    padding: 20px;
}


   header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  background-color: skyblue;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
}



.cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin: 40px auto;
}


.card {
    perspective: 1500px;
    width: 450px;
    height: 650px;
    position: relative;
    cursor: pointer;
}


.card {
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.card:hover {
    transform: rotateY(180deg);
}


.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.1rem;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.card-front {
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 10px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.card-img {
  width: 350px;        /* Adjust size as needed */
  height: 600px;
  object-fit: cover;   /* Ensures image fits nicely */
  margin-bottom: 15px;
  border: 3px solid #1165c0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.card-back {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    transform: rotateY(180deg);
}


.card-front h2,
.card-back h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.navbar{
       display: flex;
       height: 85px;
       color: #00c6ff;
}



.heading {
    text-align: center;
    margin-bottom: 40px;
}

.heading h1 {
    font-size: 2.5em;
    color: #004080;
    margin-bottom: 10px;
}

.heading h2 {
    color: #0059b3;
    margin-top: 20px;
    font-size: 1.5em;
}

.heading p {
    font-size: 1.1em;
    margin-top: 20px;
    padding: 0 10px;
}


.heading ul {
    list-style-type: square;
    padding-left: 40px;
    margin-top: 10px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-section {
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
  padding: 70px 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 60px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-section:hover {
  transform: translateY(-5px);
}

.about-header h1 {
  font-size: 2.5rem;
  color: #0056b3;
  font-weight: 800;
  letter-spacing: 1px;
}

.about-header h1 span {
  color: #007bff;
}

.about-header h2 {
  color: #ff4081;
  font-size: 1.5rem;
  margin-top: 10px;
  font-weight: 600;
}

.about-section p {
  color: #333;
  font-size: 1.15rem;
  max-width: 900px;
  margin: 30px auto 50px;
  line-height: 1.8;
}

/* TECHNOLOGY CARDS */
.tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tech-card {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.tech-card i {
  font-size: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-section {
    padding: 50px 20px;
  }

  .about-header h1 {
    font-size: 2rem;
  }

  .tech-card {
    width: 40%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tech-card {
    width: 100%;
  }
}


.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 20px;
}
/* -------------------- EASY LEARNING IMAGE -------------------- */
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  max-width: 500px;
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  border: 3px solid transparent;
  background-clip: padding-box;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

}

/* Attractive hover animation */
.about-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 3px solid #00c6ff;
}

/* Subtle gradient overlay for depth */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(to top right, rgba(0, 114, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.about-image:hover::after {
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-image {
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}


.about-content {
    flex: 2;
    min-width: 280px;
    text-align: center;
}

.about-content h2 {
    color: #007acc;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.about-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 8px;
}


.contact-us {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007acc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
   font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.contact-us:hover {
    background-color: #005f99;
}



@media (max-width: 992px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .about-content {
        text-align: center;
    }

    .heading ul {
        padding-left: 20px;
    }
}

@media (max-width: 600px) {
    .heading h1 {
        font-size: 2em;
    }

    .heading h2 {
        font-size: 1.3em;
    }

    .about-content h2 {
        font-size: 1.4em;
    }

    .contact-us {
        width: 100%;
        text-align: center;
    }

    .heading ul,
    .about-content ul {
        padding-left: 15px;
        font-size: 0.95em;
    }
}
