/* Acadify Solution - Component Styles */

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  color: var(--dark-text);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0097A7;
  border-color: #0097A7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 172, 193, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color);
}

.feature-card .icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-card p {
  color: #6c757d;
  line-height: 1.7;
}

/* Module Cards */
.module-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
  cursor: pointer;
}

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

.module-card .module-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 2rem;
  text-align: center;
  font-size: 3rem;
}

.module-card .module-body {
  padding: 1.5rem;
}

.module-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

/* Pricing Cards */
.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--secondary-color);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 172, 193, 0.2);
}

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

.pricing-card .badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1.5rem 0;
}

.pricing-card .price small {
  font-size: 1rem;
  color: #6c757d;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
  display: flex;
  align-items: center;
}

.pricing-card ul li i {
  color: var(--secondary-color);
  margin-right: 0.75rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin: 1rem;
}

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--dark-text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author .author-info h5 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.testimonial-author .author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  font-style: normal;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-section .btn {
  margin: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer h5 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer .social-icons a {
  color: var(--white);
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.footer .social-icons a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

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

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .blog-body {
  padding: 1.5rem;
}

.blog-card .category {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.blog-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.blog-card .excerpt {
  color: #6c757d;
  margin-bottom: 1rem;
}

.blog-card .read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-card .read-more:hover {
  color: var(--primary-color);
}

/* Accordion */
.accordion-button {
  background-color: var(--light-bg);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: var(--white);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--secondary-color);
}

/* Forms */
.form-control {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 172, 193, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 1rem 0;
}

.breadcrumb-item a {
  color: var(--secondary-color);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--dark-text);
}

/* Stats/Numbers */
.stats-section {
  background-color: var(--light-bg);
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 1.1rem;
  color: var(--dark-text);
}

/* Logo Scroller */
.logo-scroller {
  overflow: hidden;
  background-color: var(--light-bg);
  padding: 3rem 0;
}

.logo-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  animation: scroll 30s linear infinite;
}

.logo-track img {
  height: 50px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tabs */
.nav-tabs {
  border-bottom: 2px solid #e9ecef;
  justify-content: center;
  margin-bottom: 2rem;
}

.nav-tabs .nav-link {
  color: var(--dark-text);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: var(--secondary-color);
  border: none;
}

.nav-tabs .nav-link.active {
  color: var(--secondary-color);
  border-bottom: 3px solid var(--secondary-color);
  background-color: transparent;
}

/* Comparison Table */
.comparison-table {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  font-weight: 600;
}

.comparison-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f8f9fa;
}

.comparison-table tr:hover {
  background-color: var(--light-bg);
}

/* Enhanced Hero Section */
.hero-background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-background-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(0, 172, 193, 0.05));
}

.hero-background-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero-background-shapes .shape-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -50px;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-background-shapes .shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.min-vh-75 {
  min-height: 75vh;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(0, 172, 193, 0.1);
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
}

.hero-stats .stat-item {
  text-align: center;
}

.hero-image-wrapper {
  position: relative;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatCard 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 1.5rem;
}

.floating-card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 20%;
  left: -10%;
  animation-delay: 1s;
}

.floating-card-3 {
  top: 50%;
  right: -15%;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Why Acadify Enhanced */
.why-acadify-image-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 172, 193, 0.1), transparent);
  border-radius: 20px;
  top: -20px;
  left: -20px;
  z-index: -1;
}

/* Portrait image styling for Why Choose section */
#why-choose img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

@media (min-width: 992px) {
  #why-choose img {
    max-height: 600px;
    width: 100%;
    object-fit: cover;
  }
}

.achievement-badge {
  position: absolute;
  background: white;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.achievement-badge-1 {
  top: 20%;
  right: -5%;
}

.achievement-badge-2 {
  bottom: 15%;
  left: -5%;
}

.achievement-badge .icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #0D47A1, #1976D2);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, #00ACC1, #00BCD4);
}

.bg-gradient-success {
  background: linear-gradient(135deg, #43A047, #66BB6A);
}

.bg-gradient-info {
  background: linear-gradient(135deg, #0288D1, #03A9F4);
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #FB8C00, #FFA726);
}

/* Platform Tabs */
.platform-tabs {
  gap: 1rem;
}

.platform-tabs .nav-link {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  background: white;
}

.platform-tabs .nav-link:hover {
  border-color: var(--secondary-color);
  background-color: rgba(0, 172, 193, 0.05);
}

.platform-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: transparent;
}

.platform-tabs .nav-link i {
  display: block;
  color: inherit;
}

.platform-tabs .nav-link.active i {
  color: white;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(0, 172, 193, 0.1);
  color: var(--secondary-color);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

.feature-list-detailed .feature-list-item {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f8f9fa;
}

.feature-list-detailed .feature-list-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Modern Testimonials */
.testimonial-card-modern {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-image-wrapper {
  position: relative;
  display: inline-block;
}

.testimonial-image-wrapper img {
  width: 120px;
  height: 120px;
  border: 4px solid #f8f9fa;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.verified-badge i {
  color: #1DA1F2;
  font-size: 1.5rem;
}

.quote-icon-modern {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-highlights {
  padding-top: 1rem;
  border-top: 2px solid #f8f9fa;
}

.highlight-badge {
  background-color: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.testimonial-stats {
  margin-top: 2rem;
}

.stat-badge {
  padding: 1rem 2rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background-color: transparent;
}

.carousel-indicators button.active {
  background-color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: none;
  background-color: rgba(13, 71, 161, 0.8);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--primary-color);
}

/* Ultra Responsive Design - All Devices */

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Navigation */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    margin: 0;
  }
  
  .navbar .btn-primary {
    width: 100%;
    margin: 0.5rem 0 0 0 !important;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 2rem 0 !important;
  }
  
  .min-vh-75 {
    min-height: auto;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .hero-stats {
    margin-top: 1.5rem !important;
  }
  
  .hero-stats .stat-item h3 {
    font-size: 1.5rem;
  }
  
  .hero-stats .stat-item p {
    font-size: 0.75rem;
  }
  
  .floating-card {
    display: none;
  }
  
  .hero-background-shapes .shape {
    display: none;
  }
  
  /* Buttons */
  .btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  
  .d-flex.gap-3 .btn {
    width: 100%;
  }
  
  /* Section Titles */
  .section-title, .display-5 {
    font-size: 1.75rem;
  }
  
  .section-subtitle, .lead {
    font-size: 1rem;
  }
  
  /* Feature Cards */
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-card .icon {
    font-size: 2.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
  }
  
  /* Why Acadify */
  .achievement-badge {
    position: static;
    margin: 1rem auto;
    justify-content: center;
    max-width: 200px;
  }
  
  .why-acadify-image-bg {
    display: none;
  }
  
  .why-feature-item {
    margin-bottom: 1.5rem !important;
  }
  
  .feature-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .why-feature-item h5 {
    font-size: 1rem;
  }
  
  .why-feature-item p {
    font-size: 0.9rem;
  }
  
  /* Platform Tabs */
  .platform-tabs {
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }
  
  .platform-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    flex: 1 1 45%;
  }
  
  .platform-tabs .nav-link i {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .platform-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .display-6 {
    font-size: 1.5rem;
  }
  
  .feature-list-detailed h6 {
    font-size: 0.95rem;
  }
  
  .feature-list-detailed .small {
    font-size: 0.85rem;
  }
  
  /* Testimonials */
  .testimonial-card-modern {
    padding: 1.25rem;
  }
  
  .testimonial-image-wrapper img {
    width: 80px;
    height: 80px;
  }
  
  .verified-badge {
    width: 28px;
    height: 28px;
  }
  
  .verified-badge i {
    font-size: 1.25rem;
  }
  
  .quote-icon-modern {
    font-size: 2.5rem;
  }
  
  .testimonial-stats {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .stat-badge {
    padding: 0.75rem 1rem;
  }
  
  .highlight-badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
  
  /* CTA Section */
  .cta-section h2 {
    font-size: 1.75rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .social-icons a {
    font-size: 1.25rem;
    margin-right: 0.75rem;
  }
}

/* Small Devices (Landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .display-3 {
    font-size: 2.5rem;
  }
  
  .hero-stats .stat-item h3 {
    font-size: 2rem;
  }
  
  .platform-tabs .nav-link {
    flex: 1 1 45%;
  }
  
  .testimonial-image-wrapper img {
    width: 100px;
    height: 100px;
  }
  
  .floating-card {
    display: none;
  }
}

/* Medium Devices (Tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .display-3 {
    font-size: 2.75rem;
  }
  
  .hero-stats .stat-item h3 {
    font-size: 2.25rem;
  }
  
  .floating-card {
    display: none;
  }
  
  .achievement-badge {
    position: static;
    margin: 1rem auto;
    justify-content: center;
  }
  
  .platform-tabs .nav-link {
    padding: 1.25rem 1.5rem;
  }
  
  .feature-card {
    padding: 1.75rem;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card:hover {
    transform: translateY(-5px);
  }
}

/* Large Devices (Desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .floating-card {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .floating-card-1 {
    right: -5%;
  }
  
  .floating-card-2 {
    left: -5%;
  }
  
  .floating-card-3 {
    right: -8%;
  }
  
  .achievement-badge-1 {
    right: -3%;
  }
  
  .achievement-badge-2 {
    left: -3%;
  }
}

/* Extra Large Devices (Large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Extra Extra Large Devices (Larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Image Optimization for All Devices */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.img-fluid {
  width: 100%;
  height: auto;
}

/* Ensure all images load properly */
.platform-image-wrapper img,
.hero-image-wrapper img,
.testimonial-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    padding: 2rem 0 !important;
  }
  
  .min-vh-75 {
    min-height: auto;
  }
  
  .floating-card {
    display: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .floating-card,
  .achievement-badge,
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

/* Advanced Module Page Styles */
.modules-hero-section {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #00ACC1 100%);
  color: white;
  position: relative;
  padding: 4rem 0;
}

.modules-hero-section * {
  color: white !important;
}

.modules-hero-section .badge {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modules-hero-section h1,
.modules-hero-section h2,
.modules-hero-section h3,
.modules-hero-section p,
.modules-hero-section .lead {
  color: white !important;
}

.modules-hero-section .gradient-text {
  background: linear-gradient(135deg, #FFD54F, #FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modules-hero-section .btn-primary {
  background: white;
  color: var(--primary-color) !important;
  border-color: white;
}

.modules-hero-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

.modules-hero-section .btn-outline-primary {
  border-color: white;
  color: white !important;
  background: transparent;
}

.modules-hero-section .btn-outline-primary:hover {
  background: white;
  color: var(--primary-color) !important;
  border-color: white;
}

.modules-hero-visual {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.stat-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-box h3 {
  font-size: 2rem;
  color: white !important;
}

.stat-box p {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Module Category Tabs */
.module-category-tabs {
  gap: 0.75rem;
}

.module-category-tabs .nav-link {
  border: 2px solid #e9ecef;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  color: var(--dark-text);
  font-weight: 600;
  transition: all 0.3s ease;
  background: white;
}

.module-category-tabs .nav-link:hover {
  border-color: var(--secondary-color);
  background-color: rgba(0, 172, 193, 0.05);
  transform: translateY(-2px);
}

.module-category-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: transparent;
}

/* Advanced Module Cards */
.module-card-advanced {
  background: white;
  border-radius: 20px;
  padding: 0;
  transition: all 0.4s ease;
  border: 2px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.module-card-advanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.module-card-advanced:hover::before {
  transform: scaleX(1);
}

.module-card-advanced:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.module-card-header {
  padding: 2rem 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.module-icon-advanced {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  transition: transform 0.3s ease;
}

.module-card-advanced:hover .module-icon-advanced {
  transform: scale(1.1) rotate(5deg);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #0D47A1, #1976D2);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, #00ACC1, #26C6DA);
}

.bg-gradient-success {
  background: linear-gradient(135deg, #2E7D32, #66BB6A);
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #F57C00, #FFB74D);
}

.bg-gradient-danger {
  background: linear-gradient(135deg, #C62828, #EF5350);
}

.bg-gradient-info {
  background: linear-gradient(135deg, #0288D1, #4FC3F7);
}

.module-badge {
  background: linear-gradient(135deg, #FFD54F, #FFA726);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.module-card-body {
  padding: 0 2rem 2rem;
  flex-grow: 1;
}

.module-card-body h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.module-card-body p {
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.module-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-features li {
  padding: 0.5rem 0;
  color: var(--dark-text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.module-features i {
  font-size: 1.1rem;
}


/* Feature Highlight Cards */
.feature-highlight-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 15px;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-highlight-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-highlight-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.feature-highlight-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.feature-highlight-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive for Modules Page */
@media (max-width: 991.98px) {
  .modules-hero-section {
    padding: 3rem 0;
  }
  
  .modules-hero-section .display-3 {
    font-size: 2.5rem;
  }
  
  .stat-box h3 {
    font-size: 1.5rem;
  }
  
  .module-category-tabs .nav-link {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .modules-hero-section {
    padding: 2rem 0;
  }
  
  .modules-hero-section .display-3 {
    font-size: 2rem;
  }
  
  .module-category-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .module-category-tabs .nav-link {
    width: 100%;
  }
  
  .module-icon-advanced {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .module-card-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .module-card-body {
    padding: 0 1.5rem 1.5rem;
  }
  
  .module-card-body h4 {
    font-size: 1.25rem;
  }
  
  .feature-highlight-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .feature-highlight-card {
    padding: 1.5rem 1rem;
  }
}

/* Pricing Page Styles */
.pricing-hero-section {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #00ACC1 100%);
  color: white;
  position: relative;
  padding: 5rem 0;
}

.pricing-hero-section * {
  color: white !important;
}

.gradient-text-pricing {
  background: linear-gradient(135deg, #FFD54F, #FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.pricing-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.5rem;
  display: inline-flex;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.toggle-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
}

.toggle-btn.active {
  background: white;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.save-badge {
  display: inline-block;
  background: #FFD54F;
  color: var(--primary-color) !important;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  margin-left: 0.5rem;
  font-weight: 700;
}

/* Trust Indicators */
.trust-indicator {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  text-align: center;
}

.trust-indicator i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Modern Pricing Cards */
.pricing-card-modern {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  border: 2px solid #f0f0f0;
}

.pricing-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.pricing-card-modern.featured-plan {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(13, 71, 161, 0.2);
}

.pricing-card-modern.featured-plan:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #FFD54F, #FFA726);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(255, 167, 38, 0.4);
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: white;
}

.plan-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.plan-description {
  color: #6c757d;
  margin: 0;
}

.pricing-amount {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 2px solid #f0f0f0;
  border-bottom: 2px solid #f0f0f0;
}

.pricing-amount .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  vertical-align: top;
}

.pricing-amount .price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.pricing-amount .period {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 500;
}

.pricing-amount .custom-pricing {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.annual-savings {
  text-align: center;
  margin-top: 1rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.features-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dark-text);
}

.features-list i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.features-list span {
  flex: 1;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8f9fa;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 2px solid #e9ecef;
}

.guarantee-badge i {
  font-size: 2rem;
}

/* Modern Comparison Table */
.comparison-table-modern {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table-modern thead {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.comparison-table-modern thead th {
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  color: white !important;
}

.comparison-table-modern .featured-column {
  background: rgba(255, 255, 255, 0.2);
}

.comparison-table-modern tbody tr {
  transition: background-color 0.2s ease;
}

.comparison-table-modern tbody tr:hover {
  background-color: #f8f9fa;
}

.comparison-table-modern tbody td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}

.comparison-table-modern .category-row {
  background: linear-gradient(90deg, #f8f9fa, white);
}

.comparison-table-modern .category-row td {
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  color: var(--primary-color);
  border-top: 2px solid #dee2e6;
}

.comparison-table-modern .feature-column {
  font-weight: 600;
  color: var(--dark-text);
}

/* Modern Accordion */
.modern-accordion .accordion-item {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.modern-accordion .accordion-button {
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  background-color: white;
  color: var(--dark-text);
}

.modern-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(13, 71, 161, 0.05), rgba(0, 172, 193, 0.05));
  color: var(--primary-color);
}

.modern-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--secondary-color);
}

.modern-accordion .accordion-body {
  padding: 1.5rem;
  color: #6c757d;
  line-height: 1.8;
}

/* Responsive Pricing Page */
@media (max-width: 991.98px) {
  .pricing-hero-section {
    padding: 3rem 0;
  }
  
  .pricing-card-modern.featured-plan {
    transform: scale(1);
    margin: 2rem 0;
  }
  
  .pricing-card-modern.featured-plan:hover {
    transform: translateY(-5px);
  }
  
  .plan-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .pricing-amount .price {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .pricing-hero-section {
    padding: 2rem 0;
  }
  
  .pricing-hero-section .display-3 {
    font-size: 2rem;
  }
  
  .pricing-toggle {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .toggle-btn {
    width: 100%;
    text-align: center;
  }
  
  .trust-indicator {
    padding: 1rem 0.5rem;
  }
  
  .trust-indicator i {
    font-size: 1.5rem;
  }
  
  .pricing-card-modern {
    padding: 1.5rem;
  }
  
  .plan-name {
    font-size: 1.5rem;
  }
  
  .pricing-amount .price {
    font-size: 2rem;
  }
  
  .guarantee-badge {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .comparison-table-modern {
    font-size: 0.9rem;
  }
  
  .comparison-table-modern thead th,
  .comparison-table-modern tbody td {
    padding: 1rem;
  }
  
  .modern-accordion .accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .modern-accordion .accordion-body {
    padding: 1rem;
  }
}

/* About Page Styles */
.about-hero-section {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #00ACC1 100%);
  color: white;
  position: relative;
  padding: 5rem 0;
}

.about-hero-section * {
  color: white !important;
}

.gradient-text-about {
  background: linear-gradient(135deg, #FFD54F, #FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-visual {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

/* Modern Stat Cards */
.stat-card-modern {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 2px solid #f0f0f0;
}

.stat-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.stat-card-modern .stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
}

.stat-number-modern {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label-modern {
  color: #6c757d;
  font-weight: 600;
  margin: 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--primary-color);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

.timeline-content {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: calc(50% - 40px);
  position: relative;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-date {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.timeline-content h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #6c757d;
  margin: 0;
  line-height: 1.7;
}

/* Mission & Vision Cards */
.mission-vision-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid #f0f0f0;
}

.mission-vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.mission-vision-card .icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 2rem;
}

.mission-vision-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mission-vision-card .lead {
  color: var(--dark-text);
}

.mission-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.point-item:hover {
  background: rgba(13, 71, 161, 0.05);
  transform: translateX(5px);
}

.point-item i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.point-item span {
  color: var(--dark-text);
  font-weight: 500;
}

/* Modern Team Cards */
.team-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid #f0f0f0;
}

.team-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.team-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card-modern:hover .team-image {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.9), rgba(0, 172, 193, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card-modern:hover .team-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.team-card-modern:hover .social-link {
  transform: translateY(0);
}

.social-link:nth-child(1) {
  transition-delay: 0.1s;
}

.social-link:nth-child(2) {
  transition-delay: 0.2s;
}

.social-link:nth-child(3) {
  transition-delay: 0.3s;
}

.social-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.team-info {
  padding: 2rem;
  text-align: center;
}

.team-info h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Modern Value Cards */
.value-card-modern {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #f0f0f0;
  height: 100%;
}

.value-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 1.5rem;
}

.value-card-modern h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card-modern p {
  color: #6c757d;
  line-height: 1.7;
  margin: 0;
}

/* Responsive About Page */
@media (max-width: 991.98px) {
  .about-hero-section {
    padding: 3rem 0;
  }
  
  .stat-card-modern {
    padding: 1.5rem;
  }
  
  .stat-card-modern .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  
  .stat-number-modern {
    font-size: 2rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-content {
    width: 100%;
    margin: 0 !important;
  }
  
  .mission-vision-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .about-hero-section {
    padding: 2rem 0;
  }
  
  .about-hero-section .display-3 {
    font-size: 2rem;
  }
  
  .stat-card-modern {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .stat-number-modern {
    font-size: 1.75rem;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .timeline-date {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  .mission-vision-card {
    padding: 1.5rem;
  }
  
  .mission-vision-card .icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .mission-vision-card h3 {
    font-size: 1.5rem;
  }
  
  .value-card-modern {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .value-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

/* Contact Page Styles */
.contact-hero-section {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #00ACC1 100%);
  color: white;
  position: relative;
  padding: 5rem 0;
}

.contact-hero-section * {
  color: white !important;
}

.gradient-text-contact {
  background: linear-gradient(135deg, #FFD54F, #FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Quick Contact Cards */
.quick-contact-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.quick-contact-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.quick-contact-card i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Modern Contact Form */
.contact-form-wrapper {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid #f0f0f0;
}

.modern-contact-form .form-label {
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.input-group-modern {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.input-group-modern i {
  position: absolute;
  left: 1rem;
  color: var(--primary-color);
  font-size: 1.1rem;
  z-index: 10;
}

.input-group-modern .form-control {
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.input-group-modern .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 172, 193, 0.15);
  outline: none;
}

.input-group-modern textarea.form-control {
  padding-left: 3rem;
  resize: vertical;
}

.modern-contact-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230D47A1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* Contact Info Cards */
.contact-info-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--secondary-color);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  flex-shrink: 0;
}

.contact-info-content h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-info-content a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info-content a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Social Connect Card */
.social-connect-card {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(0, 172, 193, 0.05));
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 2px solid rgba(0, 172, 193, 0.2);
}

.social-connect-card h5 {
  font-weight: 700;
  color: var(--primary-color);
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
}

.social-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 172, 193, 0.3);
  border-color: var(--secondary-color);
}

/* Map Wrapper */
.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 3px solid white;
}

/* Responsive Contact Page */
@media (max-width: 991.98px) {
  .contact-hero-section {
    padding: 3rem 0;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
    margin-bottom: 3rem;
  }
  
  .contact-info-card {
    padding: 1.25rem;
  }
  
  .contact-info-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .contact-hero-section {
    padding: 2rem 0;
  }
  
  .contact-hero-section .display-3 {
    font-size: 2rem;
  }
  
  .quick-contact-card {
    padding: 1rem 0.5rem;
  }
  
  .quick-contact-card i {
    font-size: 2rem;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .input-group-modern .form-control {
    padding: 0.65rem 1rem 0.65rem 2.75rem;
  }
  
  .input-group-modern i {
    left: 0.75rem;
    font-size: 1rem;
  }
  
  .contact-info-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
}
