@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: url('Images/bgfront.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand{
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 10px; */
}

/* LOGO on left */
/* .brand img {
  height: 40px;
} */

.brand img {
  width: 100px;   /* increase as needed */
  height: auto;   /* keeps aspect ratio */
}

/* NAV LINKS (desktop) */
.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li a::after {
  content: '';
  height: 2px;
  width: 0%;
  background: #00bfff;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-link.active {
  color: #00bfff;
}

/* TOGGLE BUTTON */
.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1101;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

.toggle-button.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.toggle-button.active .bar:nth-child(2) {
  opacity: 0;
}
.toggle-button.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE RESPONSIVE NAV */
@media (max-width: 992px) {
  .navbar {
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    gap: 30px;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .toggle-button {
    display: flex;
  }

  .nav-links li a {
    font-size: 50px;
  }
}


/* ----------------------end navbar-------------------- */

/* home page */

/* Container */
#container {
  margin-top: 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  height: auto;
  padding: 4rem 1rem;
  margin-left: auto;
  margin-right: auto;
  color: black;
  text-align: center;
}

/* Heading Highlight Text */
.element, .element2 {
  color: #fa5903;
  font-weight: bold;
  font-size: 2rem; /* increased text size */
}

/* Social Icons */
.social-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icons li {
  margin: 10px;
}

.social-icons a {
  color: rgb(255, 0, 0);
  transition: color 0.2s ease-in-out;
}

.social-icons a:hover {
  color: #00bfff;
}

.social-icons i {
  font-size: 28px;
  transition: transform 0.2s ease-in-out;
}

.social-icons i:hover {
  transform: scale(1.2);
}

/* Button Container */
.btn-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  width: 160px;
  height: 50px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(45deg, #ff6a00, #ee0979);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.7);
  cursor: pointer;
  transition: 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 15px;
}

.btn:hover {
  box-shadow: 0 0 20px rgba(255, 106, 0, 1);
  transform: scale(1.05);
}

.btn a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem; /* increased font size */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:active {
  transform: scale(0.97);
}

/* Image Styling */
#image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  display: block;
}

/* Responsive */
@media only screen and (max-width: 992px) {
  .element, .element2 {
    font-size: 1.8rem;
  }

  .btn {
    width: 140px;
    height: 45px;
  }

  .btn a {
    font-size: 1rem;
  }

  .social-icons i {
    font-size: 24px;
  }
}

@media only screen and (max-width: 768px) {
  #container {
    flex-direction: column;
    height: auto;
  }

  .element, .element2 {
    font-size: 1.6rem;
  }

  #image img {
    max-width: 300px;
  }

  .btn {
    width: 130px;
    height: 42px;
  }

  .btn a {
    font-size: 0.95rem;
  }

  .social-icons li {
    margin: 6px;
  }

  .social-icons i {
    font-size: 22px;
  }
}

@media only screen and (max-width: 480px) {
  .element, .element2 {
    font-size: 1.4rem;
  }

  #image img {
    max-width: 220px;
  }

  .btn {
    width: 120px;
    height: 40px;
  }

  .btn a {
    font-size: 0.9rem;
  }

  .social-icons li {
    margin: 4px;
  }

  .social-icons i {
    font-size: 20px;
  }
}
   
/* ----------------------end home page -------------------- */


/* ---------------- About Section ------------------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 30px;
  max-width: 1200px;
  margin: 80px auto;
  border-radius: 12px;
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
  /* Background removed for separate column control */
}

/* Common background for both columns */
.about-left,
.about-right {
  flex: 1 1 45%;
  min-width: 300px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f8f9, #f4f9f5); /* ✅ shared background */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.9s ease forwards;
  transition: background-color 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: #333;
}

/* Animation delays */
.about-left {
  animation-delay: 0.5s;
}
.about-right {
  animation-delay: 0.8s;
}

/* Headings */
.about-left h2,
.about-right h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #FC5817; /* ✅ orange heading */
  text-align: left; /* ✅ aligned left */
  font-weight: bold;
}

/* Paragraph text */
.about-left p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
  font-size: 1rem;
}

/* Table Styling */
.about-right table {
  width: 100%;
  border-collapse: collapse;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.1s;
}

.about-right table th,
.about-right table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  color: #333;
  font-size: 1rem;
}

.about-right table th {
  background-color: #f0f0f0;
  font-weight: 600;
}

.about-right table tr:hover {
  background-color: #d0f0f7;
  transition: background-color 0.3s ease;
}

.about-right table tr:first-of-type th {
  background-color: #007BFF; /* Solid blue */
  color: #fff;
  font-weight: bold;
}

/* ---------------- Responsive Design ---------------- */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .about-left,
  .about-right {
    flex: 1 1 100%;
    padding: 20px 15px;
  }

  .about-left h2,
  .about-right h2 {
    font-size: 1.8rem;
  }

  .about-left p,
  .about-right table td,
  .about-right table th {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .about-container {
    margin: 50px 10px;
    padding: 20px 15px;
  }

  .about-left h2,
  .about-right h2 {
    font-size: 1.6rem;
  }

  .about-left p {
    font-size: 0.9rem;
  }

  .about-right table th,
  .about-right table td {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* -------------------- end ----------------------------------- */


    /* Image boxes */
.image-box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
}

.image-box {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background-color: #f4f4f4;
  transition: transform 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.image-box:hover {
  transform: scale(1.01);
}


.image-container {
  width: 100%;
  height: 550px; /* 🔥 Taller image area */
  position: relative;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full image fills container */
  display: block;
  border-radius: 15px;
}

.text-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-sizing: border-box;
  height: 200px;
  overflow: auto;
}

.text-container h2 {
  margin: 0;
  text-align: center;
  color: lawngreen;
  font-size: 1.1rem;
}

.text-container p{
  text-align: justify;
}


/* Smaller tablets */
@media (max-width: 768px) {
  .image-container {
    height: 450px;
  }
}

/* Phones */
@media (max-width: 500px) {
  .image-container {
    height: 350px;
  }

  .text-container {
    display: none; /* hide overlay text for small phones */
  }
}


/*--------------------------- end ----------------------------------*/

/* qualification */
.qualification h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 15px;
  margin-top: 50px;
  color: #222;
  animation: fadeIn 1s ease-in-out;
}
/* === Timeline Container === */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 10%;
}

/* === Title Headers === */
.col header.title h1 {
  color: #d10000;
  font-size: 24px;
  padding-left: 10px;
}

/* === Timeline Content === */
.contents {
  position: relative;
  padding-left: 40px;
  border-left: 3px dotted crimson;
}

.box {
  position: relative;
  background: #fff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.box:hover {
  transform: scale(1.01);
}

/* === Dot Circle === */
.box::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: crimson;
  border-radius: 50%;
  border: 3px solid white;
  left: -52px; /* ✅ Aligns center of dot on the 3px dotted line */
  top: 20px;
  z-index: 1;
}


/* === Text Styling === */
.box h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.box h2 {
  margin: 10px 0 8px;
  font-size: 20px;
  color: #000;
  font-weight: bold;
}

.box p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* === Animation === */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.box {
  animation: fadeInUp 0.6s ease;
}

/* === Responsive: Tablet === */
@media (max-width: 1024px) {
  .row {
    grid-template-columns: 1fr;
    padding: 0 5%;
  }

  .edu h1 {
    font-size: 32px;
  }

  .col header.title h1 {
    font-size: 20px;
  }

  .box {
    padding: 18px;
  }

  .box h2 {
    font-size: 18px;
  }

  .box h3 {
    font-size: 13px;
  }

  .box::before {
    left: -49px;
    width: 14px;
    height: 14px;
  }
}

/* === Responsive: Mobile === */
@media (max-width: 600px) {
  .row {
    padding: 0 3%;
  }

  .edu h1 {
    font-size: 24px;
  }

  .col header.title h1 {
    font-size: 18px;
  }

  .box {
    padding: 15px;
    border-radius: 15px;
  }

  .box h2 {
    font-size: 16px;
  }

  .box h3 {
    font-size: 12px;
  }

  .box::before {
    left: -49px;
    width: 12px;
    height: 12px;
  }
}


/* skills */

/* Heading */
.skill h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 15px;
  margin-top: 50px;
  color: #222;
  animation: fadeIn 1s ease-in-out;
}

/* Section Container */
.skills-section {
  max-width: 1200px;
  margin: auto;
  padding: 15px 30px;
  border-radius: 16px;
  animation: fadeInUp 1.5s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

/* Grid Layout */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

/* Each Skill Box */
.skill-box {
  flex: 0 1 30%;
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideUp 1.2s ease-in-out;
}

.skill-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Skill Title and Percent */
.skill-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.skill-percent {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #777;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 12px;
  margin-top: 15px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #76ff03);
  border-radius: 12px;
  animation: growBar 2s ease-out;
  box-shadow: 0 0 8px rgba(124, 255, 102, 0.8);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes growBar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .skill-box {
    flex: 0 1 45%;
  }
}

@media (max-width: 768px) {
  .skills-section {
    padding: 25px 15px;
  }

  .skill-box {
    flex: 0 1 100%;
  }

  .skills-grid {
    gap: 20px;
  }
}


/*------------------------------------------------end----------------------------------*/


/* project */
.project h2 {
  text-align: center;
  font-size: 32px;
  margin-top: 50px;
  margin-bottom: 15px;
  color: #222;
  animation: fadeIn 1s ease-in-out;
}

/* Outer container for all project cards */
.container4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 15px 20px;
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Each project card */
.card4 {
  width: 100%;
  max-width: 600px;
  background-color: #DBDCE0;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.8s ease-in-out;
}

.card4:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Image container */
.image-contain {
  position: relative;
  width: 100%;
  aspect-ratio: 1670 / 771;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image inside container */
.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover paragraph content */
.content4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-contain:hover .content4 {
  opacity: 1;
}


.content4 p{
   text-align: justify;
}
/* White heading inside hover content */
.content4 h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

/* Project name below card */
.card4 h2 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 15px 0 10px;
  padding: 0 15px;
  text-transform: capitalize;
}

/* Button container */
.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 25px;
}

/* Button styling */
.btn {
  width: 25%;
  padding: 14px 0;
  background-color: #007BFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 16px;
  font-weight: bold;
}

.btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.btn a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .card4 {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .card4 {
    width: 90%;
  }

  .content4 {
    font-size: 15px;
    padding: 15px;
  }

  .content4 h2,
  .card4 h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .card4 {
    width: 100%;
  }

  .content4 {
    font-size: 14px;
    padding: 12px;
  }

  .content4 h2,
  .card4 h2 {
    font-size: 18px;
  }

  .btn {
    width: 85%;
    padding: 12px 0;
  }
}


/*------------------------------------------end----------------------------------------*/
/* Experience Css*/
.experience h2 {
  text-align: center;
  font-size: 32px;
  margin-top: 50px;
  margin-bottom: 15px;
  color: #222;
  animation: fadeIn 1s ease-in-out;
}


/* Container for All Experience Cards */
.container5 {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px; /* Left/Right Padding */
}

/* Experience Section Setup */
.experience-section {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Space between cards */
}

/* Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Style */
.experience-card {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

/* First Card Background */
.card1-bg {
  background-color: rgb(240, 248, 255); /* Light blue */
}

/* Left Panel */
.left-panel {
  width: 250px;
  background-color: #4d4e4d;
  color: white;
  text-align: center;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left-panel h4 {
  font-size: 14px;
  margin-bottom: 15px;
}

.left-panel h2 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}

/* Right Panel */
.right-panel {
  flex: 1;
  padding: 30px;
}

.right-panel h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #111;
}

.right-panel p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
   text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
  .experience-card {
    flex-direction: column;
  }

  .left-panel {
    width: 100%;
  }

  .right-panel {
    padding: 20px;
  }

  .left-panel h2 {
    font-size: 18px;
  }

  .right-panel h3 {
    font-size: 20px;
  }

  .right-panel p {
    font-size: 15px;
  }
}

.heading-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 22px;
  margin-bottom: 15px;
  margin-top:25px;
  color: #111;
}

.view-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ebeff3;
  font-size: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.view-link i {
  font-size: 20px;
  margin-bottom: 4px;
}

.view-link:hover {
  transform: scale(1.1);
  color: #0efe01;
}

/*-----------------------------------------------------end--------------------------------------*/

/* certificate */
.certificate h2 {
  text-align: center;
  font-size: 32px;
  margin-top: 50px;
  margin-bottom: 15px;
  color: #222;
  animation: fadeIn 1s ease-in-out;
}
/* === Certificate Grid Styling === */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px;
  max-width: 1200px;
  margin: auto;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.03);
}

/* === Fullscreen Slider Overlay === */
.slider-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  overflow: hidden;
}

/* === Slider Container === */
.slider-container {
  max-width: 90%;
  height: 600px;
  margin: 60px auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Slider Track === */
.slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

/* === Each Slide === */
.slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* Prevent empty gaps */
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* ✅ Prevents top/bottom cropping */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* === Arrow Buttons === */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 30px;
  padding: 12px 16px;
  border: none;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.6);
}

.arrow.prev {
  left: 10px;
}

.arrow.next {
  right: 10px;
}

/* === Close Button === */
.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10;
}

/* === Responsive Adjustments === */
@media only screen and (max-width: 768px) {
  .slider-container {
    height: 400px;
  }

  .arrow {
    font-size: 24px;
    padding: 10px 14px;
  }
}

@media only screen and (max-width: 480px) {
  .slider-container {
    height: 300px;
  }

  .arrow {
    font-size: 20px;
    padding: 8px 12px;
  }

  .close-btn {
    font-size: 26px;
    top: 10px;
    right: 15px;
  }
}



/*----------------------------------------------end ----------------------*/

/* awards */
.award h2 {
  text-align: center;
  font-size: 32px;
  margin-top: 50px;
  margin-bottom: 20px;
  color: #222;
  animation: fadeIn 1s ease-in-out;
}

/* Slideshow Container */
.slideshow-container {
  width: 90%;
  max-width: 600px;
  aspect-ratio: 4 / 3; /* Keeps consistent aspect ratio */
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background-color: #f0f0f0;
  margin: 0 auto;
}

/* Slides */
.mySlides {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill container */
  border-radius: 16px;
  animation: fadeEffect 1s ease-in-out;
}

/* Animation Keyframe */
@keyframes fadeEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .slideshow-container {
    max-width: 90%;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .slideshow-container {
    max-width: 95%;
    aspect-ratio: 3 / 2;
  }
}


/*----------------------------------------------end ----------------------*/


/* contact */
.contact h2 {
  text-align: center;
  font-size: 32px;
  margin-top: 50px;
  margin-bottom: 15px;
  color: #222;
  animation: fadeIn 1s ease-in-out;
}
#section-wrapper {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
}

.box-wrapper1 {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.info-wrap {
    flex: 1 1 35%;
    min-width: 300px;
    padding: 40px 20px;
    background: linear-gradient(144deg, rgba(126,39,156,1) 0%, rgba(49,39,157,1) 49%);
    color: #fff;
}

.info-title {
    font-size: 28px;
    letter-spacing: 0.5px;
}

.info-sub-title {
    font-size: 18px;
    font-weight: 300;
    margin-top: 17px;
    letter-spacing: 0.5px;
    line-height: 26px;
}

.info-details {
    list-style: none;
    margin: 60px 0;
    padding: 0;
}

.info-details li {
    margin-top: 25px;
    font-size: 13px;
    color: #fff;
}

.info-details li i {
    background: #F44770;
    padding: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.info-details li a {
    color: #fff;
    text-decoration: none;
}

.info-details li a:hover {
    color: #F44770;
}

.social-icons-list {
    list-style: none;
    margin-top: -20px;
    /* padding-left: 50px; */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icons-list li {
    display: inline-block;
}

.social-icons-list li i {
    background: #F44770;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    border-radius: 50%;
    transition: all 0.5s;
}

.social-icons-list li i:hover {
    background: #fff;
    color: #000000;
}

.form-wrap {
    flex: 1 1 65%;
    min-width: 300px;
    padding: 40px 25px 35px 25px;
    background: #ecf0f3;
}

.form-title {
    text-align: left;
    margin-left: 5px;
    font-size: 28px;
    color: #222;
    letter-spacing: 0.5px;
}

.form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.form-group {
    flex: 1 1 45%;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #ffffff;
    padding: 0 20px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-fields input,
.form-fields textarea {
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    color: #555;
    padding: 20px 10px 20px 5px;
    width: 100%;
}

textarea {
    height: 150px;
    resize: none;
}

.submit-button {
    width: 100%;
    height: 60px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    outline: none;
    border: none;
    cursor: pointer;
    color: #fff;
    background: #F44770;
    box-shadow: 3px 3px 8px #b1b1b1, -3px -3px 8px #ffffff;
    transition: 0.5s;
    margin-top: 10px;
}

.submit-button:hover {
    background: #31279d;
}

/* Responsive Adjustments */
@media only screen and (max-width: 991px) {
    .form-group {
        flex: 1 1 100%;
    }
}

@media only screen and (max-width: 767px) {
    .info-wrap,
    .form-wrap {
        border-radius: 0;
    }

    .info-wrap {
        border-radius: 30px 30px 0 0;
    }

    .form-wrap {
        border-radius: 0 0 30px 30px;
    }

    .form-title {
        text-align: center;
        margin-left: 0;
    }

    .social-icons-list {
        justify-content: center;
    }

    .submit-button {
        margin-top: 20px;
    }
}


/*-----------------------------------------------end---------------------------*/


  /* card slider */ 
  .container{
			position: relative;
			width: 95%;
			min-height: 500px;
		}
		.container .contents-wraper{
			width: 70%;
			min-height: inherit;
			margin: 30px auto;
			text-align: center;
		}
		
		.contents-wraper .testRow{
			width: 100%;
      margin-top: -6%;
			min-height: inherit;
			position: relative;
			overflow: hidden;
		}
		.testRow .testItem{
			width: 100%;
			height: 100%;
			position: absolute;
			display: flex;
			justify-content: center;
			align-items: center;
			flex-direction: column;
		}
		.testRow .testItem:not(.active){
			top: 0;
			left: -100%;
		}
		.testRow .testItem img{
			width: 150px;
			height: 150px;
			border-radius: 50%;
			object-fit: fill;
			margin-bottom: 5px;
			outline: 3px solid rgb(252, 0, 0);
			outline-offset: 2px;
		}
		.testRow .testItem h3{
			font-size: 30px;
			font-style: italic;
			padding: 7px;
      margin-top: 0.5%;
      color: black;
		}
		.testRow .testItem h4{
			font-style: italic;
      margin-top: -3%;
      color: black;
		}
		.testRow .testItem p{
			font-size: 18px;
			letter-spacing: 1px;
			line-height: 1.2;
			padding: 10px;
      color: black;
      margin-top: 1%;
		}
		.contents-wraper .indicators{
			position: absolute;
			bottom: 30px;
			left: 50%;
			transform: translateX(-50%);
			padding: 5px;
			cursor: pointer;
		}
		.contents-wraper .indicators .dot{
			width: 15px;
			height: 15px;
			margin: 0px 3px;
			border: 3px solid rgb(252, 0, 0);
			border-radius: 50%;
			display: inline-block;
			transition: background-color 0.5s ease;
		}
		.contents-wraper .indicators .active{
			background-color: rgb(252, 0, 0)
		}
		@keyframes next1{
			from{
				left: 0%;
			}
			to{
				left: -100%;
			}
		}
		@keyframes next2{
			from{
				left: 100%;
			}
			to{
				left: 0%;
			}
		}

		@keyframes prev1{
			from{
				left: 0%;
			}
			to{
				left: 100%;
			}
		}
		@keyframes prev2{
			from{
				left: -100%;
			}
			to{
				left: 0%;
			}
		}

		@media(max-width: 550px){
			.container .contents-wraper{
				width: 90%;
			}
			
			.testRow .testItem h3{
				font-size: 26px;
			}
			.testRow .testItem p{
				font-size: 16px;
				letter-spacing: initial;
				line-height: initial;
			}

		}

/* footer */

footer {
  background-color: #403e3e;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
}

footer a {
  color: #fafafa;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  color:rgb(255, 0, 0); 
}

.fa {
  color: rgb(255, 255, 255);
  font-size: 18px;
  margin: 0 5px;
}

/* Tablet screens */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  footer {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  footer a {
    margin: 0 15px;
    font-size: 14px;
  }
  .fa {
    font-size: 20px;

  }
}

/* Mobile screens */
@media only screen and (max-width: 767px) {
  footer {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  footer a {
    margin: 10px 0;
    font-size: 12px;
  }
  .fa {
    font-size: 18px;
    margin: 5px 0;
  }
}





  
