* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e5aa8;
    --secondary-blue: #2c7be5;
    --dark-blue: #0f2b5c;
    --light-blue: #e3f2fd;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --accent: #ff6b35;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;


}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--secondary-blue);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}

.cta-butotn-anchor{
    text-decoration: none;
    color: white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 123, 229, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/cr1.jpg') center center / cover no-repeat;
    /* transform: scaleX(-1); */
    opacity: 0.7;
    z-index: 0;
    background-blend-mode: multiply;
}

.hero > .hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease-out;
    line-height: normal;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.hero-image-shape {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

/* Sections */
section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-blue);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--light-blue);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: fadeInUp 0.8s ease-out;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.quote {
    font-style: italic;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Modern Service Card Styles */
.service-card {
    background: linear-gradient(120deg, #fff 70%, var(--light-blue) 100%);
    background-size: 150% 150%;
    background-position: 100% 100%;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(30, 90, 168, 0.10), 0 1.5px 6px rgba(44, 123, 229, 0.08);
    transition: 
        transform 0.25s cubic-bezier(.4,2,.6,1), 
        box-shadow 0.25s, 
        background-position 0.8s cubic-bezier(.4,2,.6,1);
    position: relative;
    overflow: hidden;
    border: 1.5px solid var(--light-blue);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 340px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    border-radius: 28px 28px 0 0;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 16px 48px rgba(30, 90, 168, 0.18), 0 2px 12px rgba(44, 123, 229, 0.12);
    border-color: var(--secondary-blue);
    background-position: 0% 0%;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--secondary-blue) 60%, var(--primary-blue) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 2px 12px rgba(44, 123, 229, 0.10);
    position: relative;
    z-index: 3;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.service-card p {
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive Service Cards */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .service-card {
        min-height: 0;
        padding: 2rem 1.2rem 1.5rem 1.2rem;
    }
    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 2rem;
    }
}
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .service-card {
        min-height: 0;
        padding: 1.5rem 0.8rem 1.2rem 0.8rem;
        align-items: center;
        text-align: center;
    }
    .service-icon {
        margin-bottom: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

/* ROI Section */
.roi-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
    border-radius: 30px;
    padding: 4rem;
    margin: 2rem 0;
}

.roi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.roi-list {
    list-style: none;
}

.roi-list li {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.roi-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--secondary-blue);
    color: white;
    border-radius: 50%;
    font-weight: bold;
}

/* Qualifications */
.qualifications {
    text-align: center;
    padding: 5rem 5%;
    background: var(--dark-blue);
    color: white;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

/* Contact */
.contact {
    background: white;
    text-align: center;
    padding: 5rem 5%;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.contact .cta-button {
    max-width: 350px;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .about-grid,
    .roi-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .roi-section {
        padding: 2rem 1rem;
    }
    .roi-content {
        max-width: 100%;
        padding: 0;
        overflow-x: auto;
        word-break: break-word;
    }
    .roi-list {
        padding-left: 0.5rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .roi-list li {
        flex-wrap: nowrap;
        font-size: 1rem;
        padding: 0.75rem 0;
        gap: 0.5rem;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .roi-list li::before {
        display: none;
    }
}

/* Scroll animations */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-item {
    /* background: var(--light-blue); */
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cert-item img {
    /* width: 100px; */
    /* height: 100px; */
    object-fit: contain;
    /* opacity: 0.7; */
    background: transparent;
    display: block;
    mix-blend-mode: multiply;
}

/* Custom certifications layout */
.certifications-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cert-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.cert-row.center {
    justify-content: center;
}

.cert-item img {
    /* max-width: 100px; */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Testimonials */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-blue);
    opacity: 0.2;
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Process Section */
.process-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.process-tab {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-tab.active {
    background: var(--primary-blue);
    color: white;
}

.process-tab:hover {
    transform: translateY(-2px);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Fade transition for tab content */
.fade-tab {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.fade-tab.show {
  opacity: 1;
  visibility: visible;
  display: block;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.fade-tab.hide {
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Make certification images bigger and reduce cert-item padding */
.cert-item {
    padding: 0.5rem !important;
}

.cert-item img {
    max-width: 150px !important;
    /* width: 150px !important; */
    /* height: 150px !important; */
}

@media (max-width: 600px) {
  .certifications-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
  .cert-row {
    display: contents !important;
  }
  .cert-item {
    padding: 0.5rem !important;
  }
  .cert-item img {
    max-width: 80px !important;
    width: 80px !important;
    height: 80px !important;
  }
}

/* Vision Section */
.vision-section {
    background: var(--light-blue);
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 2rem;
    border-radius: 50px;
}
.vision-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.vision-card > div {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30,90,168,0.10);
    max-width: 700px;
    text-align: center;
}

/* Horizontal scroll for testimonials */
.horizontal-scroll {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
}

/* Testimonial card: image on top, larger image, text below */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(30,90,168,0.10);
    min-width: 400px;
    max-width: 400px;
    margin: 1rem 0;
    padding: 2rem;
    scroll-snap-align: start;
    gap: 1.5rem;
    height: 100%;

    min-height: 600px;
    max-height: 600px;
}

.testimonial-image {
    width: 100%;
    /* min-height: 250px; */
    /* max-height: 250px; */
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f3f3f3;
}

.testimonial-content {
    flex: 1;
    text-align: center;
}

@media (max-width: 700px) {
    .testimonial-card {
        min-width: 90vw;
        max-width: 90vw;
        padding: 1.2rem;
        gap: 1rem;
    }
    .testimonial-image {
        min-height: 150px;
        max-height: 150px;
    }
}

.reviewer-jan {
    background-image: url('assets/cr4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.reviewer-martin {
    background-image: url('assets/cr2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.reviewer-jon {
    background-image: url('assets/cr3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}