/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #1a365d;
    --teal: #2dd4bf;
    --teal-dark: #14b8a6;
    --white: #ffffff;
    --light-gray: #f7fafc;
    --gray: #718096;
    --dark-gray: #2d3748;
}

body {
    font-family: 'Inter', 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 55px;
    width: auto;
    margin-bottom: 11px;
}

.logo h2 {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1.5rem;
    margin-left: -5px;
}
.subtitle {
  font-size: 8px;
  vertical-align: text-top;
  margin-left: -5px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--teal);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--navy-blue);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2c5282 100%);
    padding: 8rem 0 6rem;
    color: var(--white);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero .btn-secondary:hover {
    background-color: var(--white);
    color: var(--navy-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 212, 191, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--navy-blue);
}

.btn-secondary:hover {
    background-color: var(--navy-blue);
    color: var(--white);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 3rem;
}

/* Benefits Section */
.benefits {
    background-color: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    margin-bottom: 1rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--navy-blue);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
    stroke: var(--teal);
}

.benefit-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--gray);
    font-size: 1rem;
}

/* Services Preview */
.services-preview {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 1rem 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: var(--gray);
    margin: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.7;
}

.service-card .service-link {
    margin: auto 1.5rem 1.5rem 1.5rem;
    display: inline-block;
    /* Ensure it respects margin-top auto in flexbox properly if needed, though a tag is inline by default, flex item behaves as blockified */
}

.service-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--teal-dark);
}

.text-center {
    text-align: center;
}

/* Industries Preview */
.industries-preview {
    background-color: var(--light-gray);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.industry-card {
    background-color: var(--white);
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.industry-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-img {
    transform: scale(1.05);
}

.industry-card h3 {
    color: var(--navy-blue);
    font-size: 1.75rem;
    margin: 1.5rem 1.5rem 1rem 1.5rem;
    font-weight: 600;
}

.industry-card p {
    color: var(--gray);
    margin: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.7;
}

.industry-card .service-link {
    margin: 0 1.5rem 1.5rem 1.5rem;
}

/* Testimonials Carousel */
.testimonials {
    background-color: var(--white);
    padding: 5rem 0;
    overflow: hidden;
    /* Hide overflow for carousel */
}

.carousel-container {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    border-top: 4px solid var(--teal);
    display: flex;
    flex-direction: column;
    height: 400px;
    /* Fixed height for consistency */
    flex: 0 0 calc(33.333% - 2rem);
    /* 3 items visible */
    margin-right: 2rem;
    /* Gap between items */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Mobile responsive - 1 item visible */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        margin-right: 0;
    }
}

.testimonial-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.testimonial-logo img {
    height: 60px;
    object-fit: contain;
}

.testimonial-card h3 {
    color: var(--navy-blue);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
    min-height: 3.75rem;
    /* Ensure alignment for up to 3 lines */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card .author-info {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-gray);
    margin-top: auto;
    /* Push to bottom */
}

.testimonial-card .author-info strong {
    display: block;
    color: var(--teal);
    margin-bottom: 0.25rem;
}

.testimonial-read-more {
    margin-top: auto;
    align-self: center;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.testimonial-read-more:hover {
    background-color: var(--teal);
    color: var(--white);
}

/* Dots Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--light-gray-2, #ccc);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--teal);
}

/* Custom Scrollbar for Testimonials and Accordions to make scrolling apparent */
.testimonial-content::-webkit-scrollbar,
.testimonial-accordion-item.active .testimonial-accordion-content::-webkit-scrollbar,
.accordion-item.active .accordion-content::-webkit-scrollbar {
    width: 6px;
}

.testimonial-content::-webkit-scrollbar-track,
.testimonial-accordion-item.active .testimonial-accordion-content::-webkit-scrollbar-track,
.accordion-item.active .accordion-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.testimonial-content::-webkit-scrollbar-thumb,
.testimonial-accordion-item.active .testimonial-accordion-content::-webkit-scrollbar-thumb,
.accordion-item.active .accordion-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.testimonial-content::-webkit-scrollbar-thumb:hover,
.testimonial-accordion-item.active .testimonial-accordion-content::-webkit-scrollbar-thumb:hover,
.accordion-item.active .accordion-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Testimonial Accordion (About Page) */
.testimonials-accordion-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
}

.testimonial-accordion-item {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 260px;
}

.testimonial-accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--teal);
}

.testimonial-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.testimonial-accordion-header:hover {
    background-color: var(--light-gray);
}

.testimonial-preview {
    flex: 1;
}

.testimonial-preview h3 {
    color: var(--navy-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.testimonial-author-preview {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-accordion-item.active .testimonial-author-preview {
    display: flex;
}

.testimonial-author-preview strong {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-author-preview span {
    color: var(--gray);
    font-size: 0.85rem;
}

.testimonial-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25rem;
}

.testimonial-accordion-item.active .testimonial-accordion-content {
    max-height: 2000px;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.testimonial-full-content {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.testimonial-full-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonial-full-content p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2c5282 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: var(--teal);
}

.cta .btn-primary:hover {
    background-color: var(--teal-dark);
}

/* Footer */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2c5282 100%);
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.page-content {
    padding: 4rem 0;
}

.content-section {
    margin-bottom: 4rem;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--teal);
}

.content-section h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section ul li {
    color: var(--gray);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.content-section ul li strong {
    color: var(--navy-blue);
}

/* Service Categories */
.service-category {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--teal);
}

.service-category h3 {
    color: var(--navy-blue);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.service-category .subtitle {
    color: var(--teal-dark);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Service Category Sections with Accordion */
.service-category-section,
.industry-section {
    margin-bottom: 4rem;
}

.category-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.category-text {
    display: flex;
    flex-direction: column;
}

.category-title {
    color: var(--navy-blue);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-subtitle {
    color: var(--teal-dark);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.category-intro,
.industry-intro {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.category-image {
    text-align: center;
}

.category-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Accordion Styles */
.accordion-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 90px;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--teal);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--light-gray);
}

.accordion-header h3 {
    color: var(--navy-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--teal);
    font-weight: 300;
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    flex: 1;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-content p {
    color: var(--gray);
    line-height: 1.8;
    margin: 0;
    padding-top: 1rem;
}

.accordion-content ul {
    margin: 1rem 0 0 0;
    padding-left: 1.5rem;
    color: var(--gray);
}

.accordion-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Responsive Accordion - Medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .accordion-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Industry Details */
.industry-detail {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.industry-detail h2 {
    color: var(--navy-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.industry-detail>p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.industry-detail h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Case Study Cards */
.case-study-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--teal);
}

.case-study-card h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.case-study-card .case-subtitle {
    color: var(--teal-dark);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.case-study-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.case-study-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--navy-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid,
    .services-grid,
    .industries-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .accordion-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-image {
        order: -1;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}


/* Dropdown Menu Styles */
.nav-menu li {
    position: relative;
    padding: 10px 0;
}

/* Remove padding from the link itself so the li padding works better for hover target */
.nav-menu>li>a {
    padding: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-radius: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0;
    margin-top: 0;
    border-top: 3px solid var(--teal);
    animation: fadeIn 0.3s ease;
}

/* Triangle indicator for dropdown */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--teal);
}

.dropdown-content li {
    width: 100%;
    padding: 0;
}

.dropdown-content a {
    color: var(--dark-gray);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    white-space: normal;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content li:last-child a {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--teal);
    padding-left: 1.75rem;
}

/* Remove the main nav underline effect for dropdown items */
.dropdown-content a::after {
    display: none;
}

/* Show dropdown on hover */
.nav-menu li:hover .dropdown-content {
    display: block;
}

/* Dropdown arrow indicator for parent item */
.nav-menu .dropdown-trigger::after {
    content: '▾';
    font-size: 0.8em;
    margin-left: 4px;
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    display: inline-block;
}

.nav-menu .dropdown-trigger:hover::after {
    width: auto;
}

/* Adjust underline animation to not affect the arrow */
.nav-menu .dropdown-trigger {
    display: inline-flex;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile Dropdown styles */
@media (max-width: 768px) {
    .nav-menu li {
        padding: 0;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        transform: none;
        display: none;
        background-color: #f8fafc;
        width: 100%;
        padding: 0;
        border-top: none;
        animation: none;
        text-align: center;
    }

    .dropdown-content::before {
        display: none;
    }

    .dropdown-content a {
        padding: 1rem;
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-menu li:hover .dropdown-content {
        display: block;
    }

    .nav-menu .dropdown-trigger {
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
    }
}

/* Footer Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.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;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--teal);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* Enforce consistent expanded size for testimonials */
.testimonial-accordion-item.active {
    height: 520px;
}

.testimonial-accordion-item.active .testimonial-accordion-content {
    overflow-y: auto;
    height: 100%;
}

.testimonial-company-logo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}

/* Enforce consistent expanded size for standard accordions */
.accordion-item.active {
    height: 500px;
}

.accordion-item.active .accordion-content {
    overflow-y: auto;
    height: 100%;
}

/* Center accordion header text when collapsed */
.accordion-item:not(.active) .accordion-header {
    height: 100%;
}