/* Global Styles */
:root {
  --primary-color: #001a33;
  --secondary-color: #0066cc;
  --accent-color: #0099ff;
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --background-dark: #0a0a0a;
  --background-light: #1a1a1a;
  --card-bg: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--background-dark);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

span {
  color: var(--accent-color);
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Button Styles */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--secondary-color);
    color: white !important;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
    height: 60px; /* Fixed height */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Hover State */
.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Secondary Button Style */
.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color) !important;
}

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
    color: white !important;
}

/* Disabled State */
.cta-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.7;
}

/* Button with Icon */
.cta-button .button-icon {
    margin-right: 8px;
    font-size: 14px;
}

/* Ripple Effect */
.cta-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.cta-button:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Navbar Styles */
.navbar {
  background-color: var(--primary-color);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a.active {
  color: var(--accent-color);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  gap: 20px;
  transition: all 0.3s ease;
  z-index: 999;
}
.mobile-menu a.active {
  color: var(--accent-color);
  text-decoration: underline;
}

.mobile-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}


.mobile-menu.active {
  left: 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
  padding: 150px 0 80px;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
}

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

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.hero-buttons .cta-button {
    min-width: 160px;
}

/* Service Card Buttons */
.service-card .cta-button {
    padding: 10px 20px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .cta-button {
        padding: 10px 20px;
        height: 44px;
        font-size: 15px;
    }
    
    /* Stack buttons vertically on mobile */
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
    }
    
    .hero-buttons .cta-button.secondary {
        margin-left: 0;
        margin-top: 12px;
    }
    
}

@media (max-width: 480px) {
    .cta-button {
        padding: 8px 16px;
        height: 42px;
        font-size: 14px;
    }
}

/* Services Section */
.services {
  background-color: var(--background-light);
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
}

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

.service-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid var(--accent-color);
}

.service-card i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-color);
  font-weight: 500;
  margin-top: 20px;
}

/* About Section */
.about .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.about-content {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stats {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.stat {
  text-align: center;
}

.stat h4 {
  font-size: 32px;
  color: var(--accent-color);
}

.stat p {
  font-size: 14px;
  margin: 0;
}

/* News Hero */
.news-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://via.placeholder.com/1920x1080/001a33/ffffff?text=Tech+News') center/cover no-repeat;
    padding: 180px 0 100px;
    text-align: center;
    color: white;
}

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

.news-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* News API Section */
.news-api-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.news-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 30px;
    overflow: hidden;
    padding: 5px 15px;
}

.search-box input {
    border: none;
    background: transparent;
    color: var(--text-color);
    padding: 8px 0;
    width: 200px;
    outline: none;
}

.search-box button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    color: var(--accent-color);
}

.category-filter select {
    padding: 10px 15px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    cursor: pointer;
}

.loading-spinner {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 153, 255, 0.2);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.news-card-image {
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-card-content {
    padding: 20px;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.news-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-color);
    font-weight: 500;
}

.read-more i {
    transition: transform 0.3s ease;
}

.news-card:hover .read-more i {
    transform: translateX(3px);
}

.error-message, .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: 10px;
}

.error-message i, .no-results i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.error-message p, .no-results p {
    margin-bottom: 20px;
}

.retry-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background-color: #0080ff;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.pagination button {
    padding: 10px 20px;
    background-color: var(--card-bg);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination button:hover:not(:disabled) {
    background-color: var(--secondary-color);
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.newsletter-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    max-width: 800px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    width: 50%;
    font-size: 16px;
    height: 50px; /* Fixed height to match button */
    box-sizing: border-box;
}

.newsletter-form button {
    padding: 0 25px;
    height: 50px; /* Fixed height to match input */
    border-radius: 6px;
    width: 30%;
    white-space: nowrap;
}

/* Form message styling */
.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-message.success {
    background-color: rgba(46, 125, 50, 0.2);
    color: #81c784;
    display: block;
}

.form-message.error {
    background-color: rgba(198, 40, 40, 0.2);
    color: #e57373;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        height: 45px; /* Slightly smaller on mobile */
    }
    
    .newsletter-form button {
        margin-top: 10px;
    }
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li i {
  margin-right: 10px;
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* Animations */
.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

.delay-5 {
  animation-delay: 1s;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

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

@keyframes fadeIn {
  to {
      opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container, .about .container {
      flex-direction: column;
  }
  
  .hero-content, .about-content {
      text-align: center;
      margin-bottom: 50px;
  }
  
  .hero-buttons {
      justify-content: center;
  }
  
  .stats {
      justify-content: center;
  }
  
  .hero p {
      margin-left: auto;
      margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
      display: none;
  }
  
  .hamburger {
      display: block;
  }
  
  .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
      opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero h1 {
      font-size: 36px;
  }
  
  .hero-buttons {
      flex-direction: column;
      gap: 15px;
  }
  
  .cta-button.secondary {
      margin-left: 0;
  }
 
}

@media (max-width: 576px) {
  .section-title {
      font-size: 28px;
  }
  
  .stats {
      flex-direction: column;
      gap: 20px;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 20px;
      text-align: center;
  }
  
  .footer-links {
      flex-direction: column;
      gap: 10px;
  }
}

/*News styling*/
/* News Hero */
.news-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('https://via.placeholder.com/1920x1080/001a33/ffffff?text=Tech+News') center/cover no-repeat;
  padding: 180px 0 100px;
  text-align: center;
  color: white;
}

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

.news-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* News Categories */
.news-categories {
  background-color: var(--background-light);
  padding: 40px 0;
}

.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.category-btn {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 30px;
  color: var(--text-color);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background-color: rgba(0, 102, 204, 0.3);
}

.category-btn.active {
  background-color: var(--secondary-color);
  color: white;
}

/* News Grid */
.news-grid-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.news-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-card-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.2);
}

.news-category {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  text-transform: uppercase;
}

.news-category.company {
  background-color: rgba(0, 153, 255, 0.2);
  color: var(--accent-color);
}

.news-category.tech {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.news-category.events {
  background-color: rgba(233, 30, 99, 0.2);
  color: #E91E63;
}

.news-category.insights {
  background-color: rgba(255, 152, 0, 0.2);
  color: #FF9800;
}

.news-date {
  font-size: 12px;
  color: var(--text-secondary);
}

.news-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-content {
  padding: 20px;
}

.news-card-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.news-card-content p {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}

.page-numbers {
  display: flex;
  gap: 10px;
}

.page-numbers a, .page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-numbers a:hover, .page-nav:hover {
  background-color: rgba(0, 102, 204, 0.3);
}

.page-numbers a.active {
  background-color: var(--secondary-color);
  color: white;
}

.page-nav {
  padding: 0 15px;
  width: auto;
}

.page-nav.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .news-grid {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .news-hero {
      padding: 150px 0 80px;
  }
  
  .news-hero h1 {
      font-size: 36px;
  }
  
  .pagination {
      flex-direction: column;
      gap: 15px;
  }
}

@media (max-width: 576px) {
  .news-grid {
      grid-template-columns: 1fr;
  }
  
  .category-btn {
      padding: 8px 15px;
      font-size: 14px;
  }
}


/*service styling*/
/* Services Hero */
.services-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('https://via.placeholder.com/1920x1080/001a33/ffffff?text=Our+Services') center/cover no-repeat;
  padding: 180px 0 100px;
  text-align: center;
  color: white;
}

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

.services-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Services Overview */
.services-overview {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.services-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.service-tab {
  padding: 12px 25px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 5px;
  color: var(--text-color);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-tab:hover {
  background-color: rgba(0, 102, 204, 0.3);
}

.service-tab.active {
  background-color: var(--secondary-color);
  color: white;
}

.service-category {
  display: none;
}

.service-category.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.service-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-detail-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.service-detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid var(--accent-color);
}

.service-detail-card i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.service-detail-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-features {
  margin: 20px 0;
  padding-left: 20px;
}

.service-features li {
  margin-bottom: 10px;
  position: relative;
}

.service-features li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* How We Work */
.work-process {
  background-color: var(--background-light);
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* Technology Stack */
.tech-stack {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.tech-category {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
}

.tech-category h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent-color);
  text-align: center;
}

.tech-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tech-item img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.tech-item span {
  font-size: 14px;
  text-align: center;
}

/* Consultation Form */
.consultation-form {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #00264d 100%);
  position: relative;
  overflow: hidden;
}


.consultation-form::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(0, 153, 255, 0.1);
  border-radius: 50%;
}

.consultation-form::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.form-content {
  padding: 50px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #004080 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  line-height: 1.3;
  position: relative;
}

.form-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.form-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-info {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 16px;
}

.contact-item span {
  font-size: 16px;
}

.consultation-form form {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 50%;
  margin-top: 10px;
}

.cta-button:hover {
  background-color: #0080ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 153, 255, 0.3);
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .service-details {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  

  .form-container {
    grid-template-columns: 1fr;
}

.form-content, 
.consultation-form form {
    padding: 40px;
}
}

@media (max-width: 768px) {
  .services-hero {
      padding: 150px 0 80px;
  }
  
  .services-hero h1 {
      font-size: 36px;
  }
  
  .tech-items {
      grid-template-columns: 1fr;
  }
  .consultation-form {
    padding: 60px 0;
}

.form-content h2 {
    font-size: 28px;
}

.form-content p {
    font-size: 16px;
}
}


@media (max-width: 576px) {
  .service-details {
      grid-template-columns: 1fr;
  }
  
  .service-tab {
      padding: 10px 15px;
      font-size: 14px;
  }
  
  .form-content,
  .consultation-form form {
      padding: 30px 20px;
  }
  
  .contact-item span {
      font-size: 14px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
      padding: 12px 15px;
      font-size: 14px;
  }
  
  .cta-button {
      padding: 14px 20px;
  }
}


/*about styling*/
/* About Hero */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('https://via.placeholder.com/1920x1080/001a33/ffffff?text=About+Us') center/cover no-repeat;
  padding: 180px 0 100px;
  text-align: center;
  color: white;
}

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

.about-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* About Intro */
.about-intro {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.about-intro .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-intro-content {
  flex: 1;
}

.about-intro-image {
  flex: 1;
}

.about-intro-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
}

.stat-item h3 {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 14px;
  margin: 0;
}

/* Our Mission */
.our-mission {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.mission-statement {
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 30px;
  background-color: var(--primary-color);
  border-radius: 10px;
  position: relative;
}

.mission-statement p {
  font-size: 24px;
  font-style: italic;
  color: white;
  margin: 0;
  position: relative;
  z-index: 1;
}

.mission-statement::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.1);
  font-family: serif;
  line-height: 1;
}

.mission-details {
  max-width: 800px;
  margin: 0 auto;
}

/* Our Values */
.our-values {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: rgba(0, 153, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon i {
  font-size: 30px;
  color: var(--accent-color);
}

.value-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Our Team */
.our-team {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.team-member {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.member-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-links-about {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.team-member:hover .social-links-about {
  transform: translateY(0);
}

.social-links-about a {
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links-about a:hover {
  background-color: var(--accent-color);
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-member .position {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-member .bio {
  font-size: 14px;
  color: var(--text-secondary);
}

.team-cta {
  text-align: center;
  margin-top: 50px;
}

.team-cta p {
  margin-bottom: 20px;
  font-size: 18px;
}

/* Company Timeline */
.company-timeline {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background-color: var(--accent-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
}

.timeline-year {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.timeline-content {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid var(--card-bg);
}

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

/* Client Testimonials */
.client-testimonials {
  padding: 80px 0;
  background-color: var(--background-light);
}

.testimonials-slider {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
}

.testimonial {
  display: none;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 10px;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.quote-icon {
  font-size: 30px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.testimonial-author h4 {
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  font-style: normal;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-controls button {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-controls button:hover {
  color: var(--accent-color);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--accent-color);
}

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

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-intro .container {
      flex-direction: column;
  }
  
  .about-intro-content, .about-intro-image {
      width: 100%;
  }
  
  .about-intro-image {
      order: -1;
      margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .about-hero {
      padding: 150px 0 80px;
  }
  
  .about-hero h1 {
      font-size: 36px;
  }
  
  .mission-statement p {
      font-size: 20px;
  }
  
  .timeline::before {
      left: 25px;
  }
  
  .timeline-item {
      padding-left: 50px;
  }
  
  .timeline-year {
      width: 50px;
      height: 50px;
      font-size: 16px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
      grid-template-columns: 1fr 1fr;
  }
  
  .testimonial {
      padding: 30px 20px;
  }
  
  .testimonial-content p {
      font-size: 16px;
  }
  
  .cta-content h2 {
      font-size: 28px;
  }
}

/*join page styling*/
/* Join Hero */
.join-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('https://via.placeholder.com/1920x1080/001a33/ffffff?text=Join+Our+Team') center/cover no-repeat;
  padding: 180px 0 100px;
  text-align: center;
  color: white;
}

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

.join-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Why Join Section */
.why-join {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: rgba(0, 153, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon i {
  font-size: 30px;
  color: var(--accent-color);
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Open Positions */
.open-positions {
  padding: 80px 0;
  background-color: var(--background-light);
}

.position-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.filter-group select {
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--text-color);
}

.positions-list {
  display: grid;
  gap: 20px;
}

.position-card {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

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

.position-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.position-header h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.position-meta {
  display: flex;
  gap: 10px;
}

.job-type, .job-location {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}

.job-type.full-time {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.job-type.part-time {
  background-color: rgba(255, 152, 0, 0.2);
  color: #FF9800;
}

.job-type.contract {
  background-color: rgba(156, 39, 176, 0.2);
  color: #9C27B0;
}

.job-type.internship {
  background-color: rgba(33, 150, 243, 0.2);
  color: #2196F3;
}

.job-location.remote {
  background-color: rgba(0, 153, 255, 0.2);
  color: var(--accent-color);
}

.job-location.hybrid {
  background-color: rgba(255, 193, 7, 0.2);
  color: #FFC107;
}

.job-location.on-site {
  background-color: rgba(244, 67, 54, 0.2);
  color: #F44336;
}

.position-details {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.position-details .detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--text-secondary);
}

.position-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.no-positions {
  text-align: center;
  padding: 40px;
  background-color: var(--card-bg);
  border-radius: 10px;
}

/* Employee Testimonials */
.employee-testimonials {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.testimonials-slider {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
}

.testimonial {
  display: none;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 10px;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.quote-icon {
  font-size: 30px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.testimonial-author h4 {
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  font-style: normal;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-controls button {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-controls button:hover {
  color: var(--accent-color);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--accent-color);
}

/* Application Form */
.application-form {
  padding: 80px 0;
  background-color: var(--background-light);
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
}

.form-content {
  padding: 50px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white;
}

.form-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.application-tips {
  margin-top: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
}

.application-tips h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.application-tips ul {
  padding-left: 20px;
}

.application-tips li {
  margin-bottom: 10px;
  position: relative;
}

.application-tips li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.application-form-fields {
  padding: 50px;
}

.application-form-fields .form-group {
  margin-bottom: 20px;
}

.application-form-fields label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.application-form-fields input,
.application-form-fields select,
.application-form-fields textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(246, 244, 244, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #f8180c;
  font-size: 16px;
}

.application-form-fields textarea {
  resize: vertical;
  min-height: 120px;
}

.application-form-fields input:focus,
.application-form-fields select:focus,
.application-form-fields textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 14px;
}

/* Hiring Process */
.hiring-process {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .form-container {
      grid-template-columns: 1fr;
  }
  
  .form-content {
      padding: 40px;
  }
  
  .application-form-fields {
      padding: 40px;
  }
}

@media (max-width: 768px) {
  .join-hero {
      padding: 150px 0 80px;
  }
  
  .join-hero h1 {
      font-size: 36px;
  }
  
  .position-header {
      flex-direction: column;
      gap: 10px;
  }
  
  .position-meta {
      width: 100%;
  }
}

@media (max-width: 576px) {
  .filter-group {
      min-width: 100%;
  }
  
  .position-footer {
      flex-direction: column;
      gap: 15px;
      align-items: flex-start;
  }
  
  .form-content,
  .application-form-fields {
      padding: 30px 20px;
  }
  
  .process-steps {
      grid-template-columns: 1fr;
  }
}





/* Modal container - hidden by default */
.modal {
    display: none; /* Hidden initially */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6); /* Black with opacity */
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease-in-out;
}

/* Modal content box */
.modal-content {
    background-color: #fff;
    margin: 10% auto; /* 10% from top, center horizontally */
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideDown 0.4s ease-in-out;
}

/* Close button (X) */
.modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-top: -10px;
    margin-right: -10px;
}

.modal .close:hover,
.modal .close:focus {
    color: #333;
    text-decoration: none;
}

/* Modal content elements */
.modal-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.modal-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 16px;
    color: #555;
}

/* Animations */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

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


/* Redesigned Internship Card */
.internship-card {
    background: #ffffff;
    border-left: 5px solid #00b894;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.2s ease;
}

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

.internship-header {
    margin-bottom: 16px;
}

.internship-label {
    display: inline-block;
    background-color: #00b894;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.internship-title {
    font-size: 1.4rem;
    margin: 8px 0 4px;
    font-weight: 600;
    color: #2d3436;
}

.internship-meta {
    color: #636e72;
    font-size: 0.9rem;
}

.internship-body {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 16px;
}

.internship-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.internship-apply {
    background-color: #00b894;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.internship-apply:hover {
    background-color: #009874;
}

.internship-details {
    color: #2d3436;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.internship-details i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.internship-details:hover i {
    transform: translateX(4px);
}



@media (max-width: 480px) {
    /* Smaller buttons on very small devices */
    .cta-button {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Adjust icon spacing */
    .read-more i {
        font-size: 12px;
    }
}