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

body {
  font-family: Arial, sans-serif;
}

/* Top Bar */
.top-bar {
  background: #0d47a1;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 8px 50px;
  font-size: 14px;
  flex-wrap: wrap;
}

.top-bar .top-left span {
  margin-right: 20px;
}

.top-bar .top-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar .social-icons a {
  color: #fff;
  margin-left: 10px;
  transition: 0.3s;
}

.top-bar .social-icons a:hover {
  color: #ff9800;
}


/* Mega Menu Base */
.dropdown-menu {
  min-width: 650px;  /* wider so text fits */
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
}

/* Column layout */
.dropdown-menu .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* spacing between cols */
}

.dropdown-menu .col-md-6 {
  flex: 1 1 45%; /* each takes ~half */
  min-width: 250px; /* stops text from wrapping badly */
}

/* Headings */
.dropdown-menu h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

/* Links */
.dropdown-menu a {
  display: block;
  margin-bottom: 6px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap; /* prevents breaking mid-word */
}

.dropdown-menu a:hover {
  color: #0d6efd;
}

/* Hover only for desktop */
@media (min-width: 992px) {
  .mega-dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .mega-dropdown .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Mobile full width */
@media (max-width: 991px) {
  .dropdown-menu {
    min-width: 100% !important;
    left: 0 !important;
    transform: none !important;
    box-shadow: none;
  }
}

/* Hero Section */
.hero {
  background: url("src/it.jpeg")
    no-repeat center center/cover;
  height: 85vh;
  display: flex;
  align-items: center;
  padding: 0 50px;
  color: #fff;
  position: relative;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-btn {
  background: #ff9800;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #e68900;
}

/* Cards Section */
.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 50px;
  background: transparent;
  margin-top: -100px; /* pull cards upward into hero */
  position: relative;
  z-index: 5;
}

.card {
  background: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  flex: 1 1 300px;
  max-width: 300px;
}

.card i {
  font-size: 40px;
  color: #0d47a1;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #555;
}

.card:hover {
  transform: translateY(-10px);
}

/* ---------------- Responsive ---------------- */

/* Tablet */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 16px;
  }
  .cards {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    padding: 0 20px;
    text-align: center;
    justify-content: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    max-width: 100%;
  }
}


/* Background gradient */
.bg-light {
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
}

/* Smooth fade animations */
[data-aos="fade-right"] {
  animation: fadeInRight 1.2s ease-in-out;
}

[data-aos="fade-left"] {
  animation: fadeInLeft 1.2s ease-in-out;
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/*  Founder Section */
.founder {
  display: flex;
  align-items: center;
  gap: 15px;
}

.founder-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0077ff;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.founder-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #0d2a64;
}

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

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Service section */
.service-card {
  background: #ffffff;
  color: #333;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  animation: fadeInUp 1.3s ease;
}
.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.25);
}
.service-card .icon {
  font-size: 40px;
  color: #0077ff;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0d2a64;
}
.service-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
/* Team Section */

.team-section {
  background: linear-gradient(180deg, #f9fbff, #ffffff);
  overflow: hidden;
}

.team-section h2 {
  color: #111;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.team-slider {
  position: relative;
  display: flex;
  align-items: center;
}

.team-track {
  display: flex;
  gap: 25px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 10px;
  width: 100%;
}

.team-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 0 0 250px;
  height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center; /* Centers faces */
  border: 4px solid #0078ff;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.08);
}

.team-card h5 {
  font-weight: 600;
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 5px;
}

.team-card p {
  color: #666;
  font-size: 0.9rem;
}

/* Slider arrows */
.slider-btn {
  background-color: #0078ff;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background-color: #005ecc;
}

.prev {
  left: -15px;
}

.next {
  right: -15px;
}

/* Responsive */
@media (max-width: 992px) {
  .team-card {
    flex: 0 0 220px;
    height: 310px;
  }
}

@media (max-width: 768px) {
  .team-card {
    flex: 0 0 200px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 576px) {
  .team-card {
    flex: 0 0 180px;
    height: 290px;
  }
}



/* Portfolio Section */
.portfolio-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.portfolio-heading {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #222;
}

.portfolio-subheading {
  font-size: 1.1rem;
  margin-bottom: 50px;
  color: #555;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  color: inherit;
  opacity: 0;
  transform: translateY(30px);
}

.portfolio-card.show {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.portfolio-card img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #007bff;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: #eee;
  color: #333;
  margin-bottom: 10px;
}

.portfolio-tag.highlight {
  background: #ffd700;
  color: #000;
  font-weight: 600;
}

.portfolio-tag.new {
  background: #28a745;
  color: #fff;
}

.portfolio-year {
  font-size: 0.95rem;
  color: #666;
}

/*  Trust SEction */
.trust-section {
  background: #0b1a3a;
  color: #fff;
}
.trust-section h2 {
  position: relative;
  display: inline-block;
}
.trust-section h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #0077ff;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Circle with rotating border */
.circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.circle::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #00c6ff;
  border-right-color: #0077ff;
  animation: spin 3s linear infinite;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Step Number */
.step-number {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0077ff;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

/* Text */
.trust-section h3 {
  font-size: 20px;
}
.trust-section p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto;
}

/* Arrows */
.col-lg-4:not(:last-child)::after {
  content: "➝";
  font-size: 40px;
  color: #0077ff;
  position: absolute;
  top: 80px;
  right: -30px;
  animation: arrowMove 1.5s infinite alternate;
}
@keyframes arrowMove {
  from { transform: translateX(0); }
  to { transform: translateX(10px); }
}

/* Responsive arrows */
@media (max-width: 992px) {
  .col-lg-4:not(:last-child)::after {
    content: "";
  }
}
@media (max-width: 768px) {
  .col-md-6:not(:last-child)::after {
    content: "↓";
    font-size: 30px;
    color: #0077ff;
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Feedback Section */
.feedback-section {
  background: linear-gradient(to bottom, #f9fbff, #eef3fb);
}

.feedback-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 10px;
}

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

.avatar img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 3px solid #3f5efb;
}

.feedback-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
  font-style: italic;
  min-height: 60px; /* keep cards equal height */
}

/* Video */
.video-hero {
  background: url("src/vid.jpeg") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
}

.video-content {
  max-width: auto;
  position: relative;
}

.video-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.play-button {
  display: inline-block;
  font-size: 60px;
  padding: 20px;
  border-radius: 50%;
  cursor: pointer;
  animation: pulse 1.5s infinite;
  transition: background 0.3s;
}

.play-button:hover {
  background: #0077ff;
}

.video-wrapper {
  margin-top: 30px;
  max-width: auto;
  display: none;
}

#video-toggle:checked ~ .video-wrapper {
  display: block;
}

.video-wrapper video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .video-content h1 {
    font-size: 1.8rem;
  }

  .play-button {
    font-size: 40px;
    padding: 15px;
  }
}

/* ✅ Bigger footer text */
footer {
  font-size: 1.2rem;   /* increase overall size */
  padding-top: 3rem;
  padding-bottom: 2rem;
}

/* ✅ Technologies styling */
.brand-tech {
  color: #000;          /* black */
  font-size: 1.8rem;    /* bigger */
  font-weight: 700;
}

/* ✅ Footer links default + hover */
footer a {
  color: #000 !important;        /* force black links */
  text-decoration: none;
  transition: color 0.3s ease;   /* smooth hover */
}
footer a:hover {
  color: #007bff !important;     /* blue on hover */
}

/* ✅ Social media icons */
footer .bi {
  transition: color 0.3s ease;
}
footer .bi:hover {
  color: #007bff !important;     /* icons turn blue */
}

/* ✅ Footer headings a bit bigger */
footer h5, footer h6 {
  font-size: 1.6rem;
}

/* Back to Top Button with Gradient */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #004085);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0; /* for smooth fade-in */
}

#backToTop.show {
  display: flex;
  opacity: 1; /* fade in */
}

#backToTop:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
}

