/* Custom styles for CodeQuest Services */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --text-color: #333;
    --bg-color: #fff;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}


.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.navbar-brand img {
    height: 40px;
}

/* Hero section styles */
#hero {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#hero .hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,123,255,0.9) 0%, rgba(0,123,255,0.7) 100%);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero .hero-image {
  transform: translateZ(0);
  transition: transform 0.3s ease-out;
}

#hero:hover .hero-image {
  transform: scale(1.05) translateZ(0);
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#hero .lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

#hero .btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: transform 0.2s ease-in-out;
}

#hero .btn-lg:hover {
  transform: translateY(-2px);
}

/* Media queries for responsiveness */
@media (min-width: 768px) {
  #hero h1 {
    font-size: 3rem;
  }

  #hero .lead {
    font-size: 1.25rem;
  }
}

@media (min-width: 992px) {
  #hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 767px) {
  #hero {
    text-align: center;
  }

  #hero .btn-lg {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
}

.card {
    transition: transform 0.3s ease-in-out;
}

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

/* .aws-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
} */

/* AWS Expertise Section Styles */
#aws-expertise .aws-service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#aws-expertise .aws-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#aws-expertise .aws-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

#aws-expertise .aws-service-name {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    #aws-expertise .aws-service-card {
        padding: 1rem;
    }

    #aws-expertise .aws-icon {
        width: 48px;
        height: 48px;
    }

    #aws-expertise .aws-service-name {
        font-size: 0.9rem;
    }
}

#pricing .card.border-primary {
    border-width: 2px;
}

footer {
    background-color: #343a40;
}


/* service card hover effect */

.service-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .card-title {
    transition: color 0.3s ease;
}

.service-card:hover .card-title {
    color: var(--primary-color, #007bff);
}


#scrollToTop {
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border-radius: 20px;
    padding: 10px 15px;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    background-color: var(--bs-primary-dark, #0056b3);
}

#pricing .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#pricing .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#pricing .card-body>ul {
    flex-grow: 1;
}

#pricing .btn {
    width: 100%;
}

#testimonials .card {
    height: 100%;
}

#testimonials .card-body {
    display: flex;
    flex-direction: column;
}

#testimonials blockquote {
    flex-grow: 1;
}

#testimonials .blockquote-footer {
    margin-top: auto;
    background-color: #343a40;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

#testimonials .blockquote-footer cite {
    font-style: normal;
}

#testimonials .text-warning {
    font-size: 1.2rem;
}
/* Tabbed services section */
.tabs-container {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.tabs-nav {
  display: flex;
  justify-content: flex-start; /* Align tabs to the start */
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid #4a5568;
}

/* Hide scrollbar */
.tabs-container::-webkit-scrollbar {
  display: none;
}

.tabs-nav li {
  margin: 0; /* Remove horizontal margin */
}

.tabs-nav a {
  display: block;
  padding: 1rem 1.5rem; /* Adjust padding */
  color: #a0aec0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.tabs-nav li.active a,
.tabs-nav a:hover {
  color: #f6e05e; /* yellow-400 */
  border-bottom-color: #f6e05e; /* yellow-400 */
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}

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