/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 64px;
    /* Account for fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* ===== HEADER STYLES ===== */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #0e332d;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: white;
}

.nav-container {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center; /* centers content horizontally */
  gap: 10px; /* space between logo and text */
}

.logo-img {
  height: 40px;
  width: auto;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 60vh; /* full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: url("../img/back2.webp") no-repeat center center/cover;
    text-align: center; /* ensures all text is centered */
}

.hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto; /* centers the content block */
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center; /* ensures paragraph text is centered */
    display: inline-block; /* keeps it centered properly even with multiple lines */
}

.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #185147;
    color: white;
    border: 2px solid #185147;
}

.btn-primary:hover {
    background-color: #0f3a32;
    border-color: #0f3a32;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 5rem 0;
    background-color: #185147;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.25rem;
    color: #cacaca;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    row-gap: 2rem;
}

.service-col {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.service-card {
    height: 100%;
    border-radius: 0.5rem;
    background-color: #0e332d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(38, 158, 132), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-card-body {
    padding: 1.5rem;
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.service-icon {
    flex-shrink: 0;
    font-size: 2.25rem;
}

.service-details {
    flex: 1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.service-description {
    color: #c6c6c6;
    margin-bottom: 1rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: #185147;
    color: #ffffff;
    font-size: 0.875rem;
    border-radius: 9999px;
}

.anticon {
    display: inline-block;
    color: #ffffff;
    font-style: normal;
    line-height: 0;
    text-align: center;
    text-transform: none;
    vertical-align: -0.125em;
}

.anticon svg {
    display: inline-block;
}

/* ===== TECHNOLOGY STACK SECTION ===== */
.tech-section {
    padding: 5rem 0;
    background-color: #0e332d;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    row-gap: 2rem;
}

.tech-col {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.tech-card {
    height: 100%;
    border-radius: 0.5rem;
    background-color: #185147;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(37, 120, 106), 0 4px 6px -2px rgb(37, 141, 123);
}

.tech-card-body {
    padding: 1.25rem;
}

.tech-category {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: capitalize;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    width: 100%;
    margin-bottom: 1rem;
}

.tech-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.tech-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #eaeaea;
}

.tech-percent {
    font-size: 0.875rem;
    color: #cccbcb;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: #000000;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 9999px;
    background-color: #3b82f6;
    width: 0;
    transition: width 1.5s ease-out;
}

.frontend .progress-fill {
    background-color: #ffffff;
}

.backend .progress-fill {
    background-color: #fff;
}

.databases .progress-fill {
    background-color: #fff;
}

.tools .progress-fill {
    background-color: #fff;
}

/* ===== DEVELOPMENT PROCESS SECTION ===== */
.dev-process-section {
    padding: 60px 0;
    background-color: #185147;
}

.dev-process-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.dev-process-header {
    text-align: center;
    margin-bottom: 40px;
}

.dev-process-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.dev-process-subtitle {
    font-size: 1.1rem;
    color: #e4e4e4;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
}

.dev-process-timeline {
    position: relative;
    padding-left: 30px;
}

.dev-process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 45px;
    height: 100%;
    width: 6px;
    background-color: #0e332d;
    z-index: 1;
}

.dev-process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.dev-process-step:last-child {
    margin-bottom: 0;
}

.dev-process-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #0e332d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.dev-process-step-content {
    flex: 1;
}

.dev-process-card {
    background-color: #0e332d;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dev-process-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.dev-process-card-body {
    padding: 20px;
}

.dev-process-card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.dev-process-icon-container {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.dev-process-icon {
    width: 100%;
    height: auto;
}

.dev-process-info {
    flex: 1;
}

.dev-process-info-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.dev-process-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.dev-process-duration {
    font-size: 0.8rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
}

.dev-process-clock-icon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.dev-process-description {
    color: #e5e5e5;
    margin: 0;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 80px 0;
    background-color: #0e332d;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    row-gap: 32px;
}

.pricing-col {
    padding: 0 10px;
    width: 100%;
    margin-bottom: 2rem;
}

.pricing-card {
    height: 100%;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #185147;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card-body {
    padding: 20px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.pricing-card p {
    color: #e6e6e6;
    margin-bottom: 16px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.price-note {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 400; /* Added this line to remove boldness */
}


.features-list {
    text-align: left;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #e6e6e6;
}

.check-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.pricing-btn {
    width: 100%;
    padding: 12px 24px;
    background-color: white;
    color: #0e332d;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background-color: #185147;
    color: white;
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies-section {
    padding: 80px 0;
    background-color: #185147;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    row-gap: 32px;
}

.portfolio-col {
    padding: 0 10px;
    width: 100%;
    margin-bottom: 2rem;
}

.portfolio-card {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #0e332d;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.portfolio-image {
    height: 192px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.portfolio-company {
    color: #e6e6e6;
    font-weight: 500;
    margin-bottom: 12px;
}

.portfolio-description {
    color: #e6e6e6;
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
}

.tech-tag {
    padding: 4px 8px;
    background-color: #185147;
    color: #ffffff;
    font-size: 0.75rem;
    border-radius: 4px;
}

.results-list {
    margin-bottom: 16px;
}

.result-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #e6e6e6;
    font-size: 0.875rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 0;
    background-color: #0e332d;
}

.testimonial-card {
    background: #185147;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    max-width: 56rem;
    margin: 0 auto;
}

.testimonial-card:hover {
    box-shadow: 0 10px 15px -3px rgb(39, 130, 116), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.testimonial-content {
    padding: 32px;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin: 0 auto 24px;
}

.testimonial-rating {
    margin-bottom: 16px;
    color: #f59e0b;
    font-size: 1.5rem;
}

.testimonial-quote {
    font-size: 1.125rem;
    color: #e3e3e3;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.testimonial-position {
    color: #e6e6e6;
    font-weight: 500;
}

.testimonial-company {
    color: #e6e6e6;
}

.testimonial-project {
    color: #eaeaea;
    font-size: 0.875rem;
    margin-top: 8px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background-color: #185147;
}

.contact-section .section-header h2,
.contact-section .section-header p,
.contact-section .form-card h3,
.contact-section .info-card h3,
.contact-section .benefit-item span,
.contact-section .social-card h4 {
    color: white;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact-form-col,
.contact-info-col {
    padding: 0 15px;
    width: 100%;
}

.form-card,
.info-card,
.social-card {
    background-color: #0e332d;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.form-card::before,
.info-card::before,
.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(39, 172, 154), #0e5c46);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-card:hover::before,
.info-card:hover::before,
.social-card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 20px;
}

.project-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.form-group {
    margin-bottom: 16px;
    width: 100%;
    padding: 0 5px;
}

.half-width {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: white;
}

.required {
    color: #ef4444;
}

input,
textarea,
.custom-select select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
.custom-select select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-select {
    position: relative;
}

.custom-select select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #185147;
    color: white;
}

.benefits-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.contact-details {
    margin-top: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    margin-right: 16px;
}

.contact-method h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.contact-method p {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.2);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0e332d;
    color: white;
    padding: 2rem 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    flex-direction: column;
}

.footer-col,
.footer-cole {
    padding: 0;
    width: 100%;
    margin-bottom: 2rem;
    text-align: start;
}

.footer-cole {
    margin-left: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: bold;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: invert(94%) sepia(5%) saturate(350%) hue-rotate(185deg) brightness(89%) contrast(86%);
    cursor: pointer;
    transition: filter 0.3s;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: start;
}

.footer-link {
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.footer-link:hover {
    color: white !important;
}

.copyright {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (min-width: 480px) {
    .btn {
        width: auto;
        min-width: 160px;
    }

    .button-group {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 640px) {
    .hero-col h1 {
        font-size: 2rem;
    }

    .service-col {
        width: 50%;
    }

    .pricing-col,
    .portfolio-col {
        width: 50%;
    }

    .half-width {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .hero-col h1 {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.125rem;
        max-width: 80%;
    }

    .service-content {
        flex-direction: row;
        text-align: left;
    }

    .tags-container {
        justify-content: flex-start;
    }

    .dev-process-card-inner {
        flex-direction: row;
    }

    .dev-process-info-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-row {
        flex-direction: row;
        text-align: left;
    }

    .footer-col {
        flex: 0 0 60%;
    }

    .footer-cole {
        flex: 0 0 40%;
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

@media (min-width: 992px) {
    .service-col {
        width: 50%;
    }

    .tech-col {
        width: 25%;
    }

    .pricing-col,
    .portfolio-col {
        width: 33.333333%;
    }

    .contact-form-col {
        width: 50%;
    }

    .contact-info-col {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .hero-col h1 {
        font-size: 3rem;
    }

    .hero-content {
        padding: 4rem;
    }
}

@media (min-width: 1280px) {
    .hero-col h1 {
        font-size: 4rem;
    }
}