/* About Us Page Specific Styles */

/* Tech-focused Hero Section */
.hero-about {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  overflow: hidden;
}

.tech-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-text-container {
  max-width: 600px;
  z-index: 3;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: none;
}

@media (min-width: 992px) {
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .hero-image {
    display: block;
    width: 40%;
  }
  
  .hero-text-container {
    width: 55%;
  }
}

.floating-image {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), #64e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
  display: inline-block;
  position: relative;
}

.gradient-accent {
  background: linear-gradient(90deg, var(--primary-500), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
  display: inline-block;
  position: relative;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
  .gradient-text {
    background: transparent;
    color: var(--accent);
  }
  
  .gradient-accent {
    background: transparent;
    color: var(--primary-500);
  }
}

/* Story Section */
.story-section {
  position: relative;
  overflow: hidden;
}

.section-heading {
  margin-bottom: var(--spacing-xl);
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(12, 218, 245, 0.1);
  color: var(--accent);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.section-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(12, 218, 245, 0.2) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

.tech-image-container {
  position: relative;
  margin-top: 2rem;
}

.tech-shape {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, var(--primary-700), var(--accent));
  z-index: -1;
  border-radius: 10px;
  opacity: 0.1;
}

.tech-image {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 5px solid var(--white);
}

.tech-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.tech-badge {
  background: linear-gradient(135deg, var(--primary-500), var(--accent));
  color: var(--white);
  padding: 1rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.years {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.text {
  font-size: 0.875rem;
}

/* Mission & Vision Cards */
.bg-tech-pattern {
  background-color: var(--gray-100);
  background-image: 
    radial-gradient(var(--gray-300) 1px, transparent 1px),
    radial-gradient(var(--gray-300) 1px, var(--gray-100) 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  position: relative;
  overflow: hidden;
}

.section-intro {
  margin-bottom: 3rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.mission-vision-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.mission-vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-300), var(--accent));
  filter: blur(50px);
  opacity: 0.1;
  top: -20px;
  right: -20px;
  transition: all 0.5s ease;
  z-index: 0;
}

.mission-vision-card:hover .card-glow {
  opacity: 0.2;
  width: 150px;
  height: 150px;
}

.service-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.tech-dots {
  display: flex;
  gap: 8px;
  margin-top: 1.5rem;
}

.tech-dots span {
  width: 8px;
  height: 8px;
  background-color: var(--primary-300);
  border-radius: 50%;
}

.tech-dots span:nth-child(2) {
  background-color: var(--primary-500);
}

.tech-dots span:nth-child(3) {
  background-color: var(--accent);
}

/* Timeline Section */
.timeline-section {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    overflow: hidden;
}

.tech-circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0,115,230,0.05) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(0deg, rgba(0,115,230,0.05) 1px, transparent 1px) 0 0 / 50px 50px;
    opacity: 0.5;
    z-index: 1;
}

.modern-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    z-index: 2;
}

.modern-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-500), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 100px;
    transition: all 0.3s ease;
}

.timeline-marker {
    position: absolute;
    left: 50px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--primary-500);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-500), var(--accent));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--white);
}

.timeline-content h3 {
    color: var(--primary-900);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent));
}

.timeline-content p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.event-icon {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-500), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-timeline {
        max-width: 100%;
        padding: 2rem 1rem;
    }

    .timeline-item {
        padding-left: 80px;
    }

    .timeline-marker {
        left: 40px;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .event-icon {
        left: -50px;
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .timeline-year {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}

@media (max-width: 576px) {
    .modern-timeline:before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 30px;
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.125rem;
    }

    .event-icon {
        left: -40px;
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .timeline-year {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
}

/* General Responsive Adjustments */
@media (max-width: 768px) {
  .values-container {
    grid-template-columns: 1fr;
  }
  
  .modern-team-grid {
    grid-template-columns: 1fr;
  }
  
  .modern-partners {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  
  .modern-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .gradient-text, .gradient-accent {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .timeline-content {
    padding: 1.25rem;
    padding-top: 2rem;
    padding-right: 1.5rem;
  }
  
  .timeline-item {
    margin-bottom: 2.75rem;
  }
  
  .timeline-item:before {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .modern-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .gradient-text, .gradient-accent {
    font-size: 2rem;
  }
}

/* Core Values */
.bg-gradient-light {
  background: linear-gradient(135deg, var(--gray-100), #f0f9ff);
}

.values-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.value-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.hex-icon {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.hex-icon:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 218, 245, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all 0.3s ease;
}

.value-card:hover .hex-icon:before {
  background-color: rgba(12, 218, 245, 0.2);
  transform: rotate(30deg);
}

.value-connector {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--white);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  display: none;
}

/* Team Section */
.modern-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 100%;
}

.team-member {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
  position: relative;
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-100);
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.team-member:hover .member-photo {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(12, 218, 245, 0.3);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-member:hover .team-img {
  transform: scale(1.05);
}

.tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(10, 37, 64, 0.1) 0%, transparent 50%);
}

.team-info {
  padding: 1.5rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Stats Section */
.bg-tech-dark {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.tech-particles-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.stats-section h2 {
  color: var(--white);
}

.text-light {
  color: rgba(255, 255, 255, 0.7);
}

.modern-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.stat-content h4 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 0;
}

.stat-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s ease;
}

.stat-card:hover .stat-progress {
  transform: scaleX(1);
}

/* Partners Section */
.partners-section {
  background-color: var(--white);
}

.modern-partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 100%;
}

.partner-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  max-width: 90%;
  max-height: 60px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  object-fit: contain;
}

.partner-card:hover .partner-logo {
  filter: grayscale(0%);
}

.partner-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, var(--primary-500), transparent);
  color: var(--white);
  padding: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-hover {
  transform: translateY(0);
}

/* CTA Section */
.tech-cta {
  position: relative;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  overflow: hidden;
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-glow {
  position: relative;
}

.btn-glow:after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background-color: var(--accent);
  filter: blur(15px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-glow:hover:after {
  opacity: 0.5;
}

/* Enhanced Footer Styling */
.footer {
  background: linear-gradient(to bottom, var(--primary-900), #051628);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 35%, rgba(12, 218, 245, 0.03) 0%, transparent 25%),
                    radial-gradient(circle at 80% 10%, rgba(12, 218, 245, 0.03) 0%, transparent 15%);
  opacity: 0.6;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-column {
  position: relative;
  z-index: 2;
}

.footer-logo {
  margin-bottom: 1.5rem;
  max-width: 160px;
  height: auto;
}

.footer h5 {
  color: var(--white);
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  color: var(--gray-400);
  transition: color 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
}

.footer-links a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links a:hover::before {
  width: 100%;
}

.newsletter form {
  position: relative;
  margin-top: 1rem;
}

.newsletter input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  width: 100%;
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.newsletter input:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(12, 218, 245, 0.1);
}

.newsletter button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.footer .social-icons {
  margin-top: 1.5rem;
}

.footer .social-icons a {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--gray-300);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.footer .social-icons a:hover {
  background-color: var(--accent);
  color: var(--primary-900);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: var(--accent);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Responsive adjustments for footer */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-column:first-child {
    grid-column: span 2;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-column:first-child {
    grid-column: span 1;
  }
  
  .footer-column {
    margin-bottom: 2rem;
  }
}

/* Fix for horizontal overflow */
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow: visible;
}

.section {
  width: 100%;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Additional responsive adjustments */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .hero-text-container h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-buttons .btn {
    margin-bottom: 0.5rem;
  }
}

/* Responsive adjustments for CTA and other elements */
@media (max-width: 992px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .values-container {
    grid-template-columns: 1fr;
  }
  
  .modern-team-grid {
    grid-template-columns: 1fr;
  }
  
  .modern-partners {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  
  .modern-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .gradient-text, .gradient-accent {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .modern-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .gradient-text, .gradient-accent {
    font-size: 2rem;
  }
}

/* Tech background elements */
.tech-dots-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  z-index: 0;
  opacity: 0.5;
}

.tech-dots-decoration.top-right {
  top: 50px;
  right: 0;
  background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
  background-size: 15px 15px;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.tech-dots-decoration.bottom-left {
  bottom: 50px;
  left: 0;
  background-image: radial-gradient(circle, var(--primary-300) 1px, transparent 1px);
  background-size: 15px 15px;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

/* Custom animations for fade-in */
.animate-fade-in {
  animation: customFadeIn 0.8s ease forwards;
}

@keyframes customFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add stagger effect to timeline items */
.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}

.timeline-item:nth-child(6) {
  animation-delay: 0.6s;
}

@media (max-width: 768px) {
  .tech-dots-decoration {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 576px) {
  .tech-dots-decoration {
    width: 100px;
    height: 100px;
  }
}

/* Extra small screen fixes */
@media (max-width: 480px) {
  .timeline-item {
    padding-left: 55px;
  }
  
  .modern-timeline:before {
    left: 25px;
  }
  
  .timeline-marker {
    left: 16px;
    width: 14px;
    height: 14px;
  }
  
  .timeline-item::after {
    left: 30px;
    width: 15px;
  }
  
  .timeline-item:before {
    left: 45px;
    font-size: 0.85rem;
    padding: 3px 6px;
    max-width: calc(100% - 50px);
  }
  
  .timeline-content {
    padding: 1.25rem 1rem;
    padding-top: 2rem;
    padding-right: 1rem;
  }
  
  .timeline-content h3 {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .timeline-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
} 