/* ===== General Styles ===== */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
}

p {
  margin-bottom: 1rem;
  color: #444;
}

/* ===== Navbar Styles ===== */
.navbar-nav .nav-link {
  color: #00439f; /* Logo color */
  font-weight: 500;
  padding: 8px 15px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #00439f;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero-section {
  height: 100vh;
  position: relative;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-section .content {
  z-index: 1;
  max-width: 800px;
}

.typed-text {
  font-size: 1.25rem;
}

/* ===== About Us Section ===== */
.about-section {
  background: #fff;
}

.about-card {
  background: #fff;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}

/* Gradient text - used multiple places */
.text-gradient {
  background: linear-gradient(135deg, #0059b3, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Counter Cards ===== */
.counter-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

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

.counter-icon {
  height: 60px;
  width: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.counter-card h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* ===== Services Section ===== */
#services {
  background: #fff;
}

.service-card {
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ===== Flip Cards (Project Cards) ===== */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 280px;
  perspective: 1000px; /* Enables 3D flip */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flip-card-front {
  background: #fff;
  color: #000;
}

.flip-card-back {
  background: #89bdf0;
  color: #090909;
  transform: rotateY(180deg);
}

.flip-img {
  max-width: 100%;
  max-height: 150px;
  border-radius: 10px;
}
/*---- proje t css---*/
#projects {
  background-color: #f8f9fa;
}

#projects h2 {
  font-size: 2.5rem;
  letter-spacing: 0.5px;
}

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 1rem;
  color: #000000; /* <- Make text visible */
}



.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


.project-card i.fa-industry {
  color: #0d6efd;
  background: #e9f2ff;
  padding: 20px;
  border-radius: 50%;
  display: inline-block;
}

.project-card .badge {
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
  border-radius: 0.5rem;
}

.project-card .btn {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

/* Modal Styling */
.modal-content {
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: none;
  background-color: #f0f8ff;
}

.modal-header h5 {
  font-size: 1.4rem;
}

.modal-body h6 {
  font-weight: 600;
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.modal-body ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  #projects h2 {
    font-size: 2rem;
  }

  .project-card .btn {
    font-size: 0.85rem;
  }
}

/* ===== Swiper Industry Section ===== */
.swiper {
  padding-bottom: 40px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Industry Cards */
.card.industry-card {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.card.industry-card:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.industry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.card.industry-card:hover .industry-img {
  transform: scale(1.1);
}

/* Card Body Overlay */
.card-body {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 89, 179, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 15px;
  text-align: center;
}

.card.industry-card:hover .card-body {
  opacity: 1;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

/* Swiper Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #0059b3;
  transition: transform 0.25s ease, color 0.25s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.25);
  color: #003366;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
  background: #0059b3;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #003366;
  opacity: 1;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 80px 20px;
  }

  .hero-section .content {
    text-align: center;
  }

  .service-card,
  .project-card {
    margin-bottom: 20px;
  }
}

/* ===== Careers Section ===== */
#careers {
  background: #f4f8ff;
  padding: 60px 0;
}

/* Job & Internship Card */
.job-card {
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  background: #fff;
  position: relative;
  padding: 1.5rem;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.job-card h5 {
  font-size: 1.25rem;
  color: #0056b3; /* Blue for jobs */
}

.job-card .btn {
  font-weight: 500;
  transition: all 0.3s ease;
}

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

/* Internship variant */
.job-card.internship {
  border-color: #198754;
}

.job-card.internship h5 {
  color: #198754;
}

.job-card.internship .btn {
  border-color: #198754;
  color: #198754;
}

.job-card.internship .btn:hover {
  transform: scale(1.05);
  background: #198754;
  color: #fff;
  border-color: #198754;
}

/* Hidden Job Details */
.job-details {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Application Form */
.apply-form input,
.apply-form button {
  font-size: 0.9rem;
}

.apply-form button {
  transition: all 0.3s ease;
}

.apply-form button:hover {
  transform: scale(1.05);
}

/* Success Message */
.success-message {
  font-size: 0.9rem;
  font-weight: 500;
  color: #28a745;
}

/* ===== Loading Spinner ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  display: none;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}
/* ===== Contact Section ===== */
#contact {
  background: #ffffff;
  padding: 60px 0;
}

#contact h2 {
  color: #0059b3;
  margin-bottom: 10px;
}

#contact p {
  color: #6c757d;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.contact-form {
  background-color: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.contact-form .input-group-text {
  border: none;
  background-color: #ffffff;
}

.contact-form .form-control,
.contact-form textarea {
  border-left: none;
  box-shadow: none;
  font-size: 0.95rem;
}

.contact-form textarea {
  resize: none;
}

.btn.btn-primary {
  background-color: #0059b3;
  border: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn.btn-primary:hover {
  background-color: #004080;
}


/* ===== Footer ===== */
footer {
  background: #c6d1e2; /* Light blue-gray background */
  color: #0e0e0e;      /* Dark text */
  padding: 60px 0 30px; /* Proper top/bottom padding */
  font-size: 0.95rem;
}

/* Links */
footer a {
  color: #0f0f0f;
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #3125b1; /* Purple-ish hover */
}

/* Section Titles */
footer h6,
.footer-brand-heading {  /* brand heading styled same as h6 */
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #0f0f0f;
  position: relative;
}

footer h6::after,
.footer-brand-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #673ab7; /* Purple-blue underline */
  margin-top: 6px;
}

/* Lists */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 10px;
}
footer ul li a {
  display: inline-block;
}

/* Paragraphs */
footer p {
  margin-bottom: 8px;
  color: #0f0f0f;
}

/* Muted text */
footer .text-muted {
  color: #0a0a0a !important;
  font-size: 0.85rem;
}

/* Social Icons */
.footer-icon {
  font-size: 1.3rem;
  color: #0f0f0f;
  transition: 0.3s;
  margin-right: 10px;
}
.footer-icon:hover {
  color: #ffdd57;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 30px;
  padding: 15px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #0f0f0f;
  width: 100%;
}

/* Logo + Brand Name on One Line */
.footer-logo {
  height: 65px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}
.footer-brand-name {
  font-size: 1.2rem; /* closer to h6 size */
  font-weight: 700;
  color: #00439f !important;
  vertical-align: middle;
}
.footer-brand-name:hover,
.brand-name:hover {
  color: #003d80;
  transition: color 0.3s ease;
}


/* ===== Floating Vertical Icons ===== */
.floating-icons-vertical {
  position: fixed;
  top: 40%;
  right: 20px; /* Change to left: 20px; if needed */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  background: #fff;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.floating-icons-vertical a {
  font-size: 24px;
  color: #0d6efd;
  transition: 0.3s;
  padding: 8px;
  border-radius: 50%;
  text-align: center;
}

.floating-icons-vertical a:hover {
  background-color: #0d6efd;
  color: #fff;
}