/* styles.css */

/* ===== Self-hosted Century Gothic ===== */
@font-face {
    font-family: 'Century Gothic';
    src: url('../assets/fonts/CenturyGothic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Century Gothic';
    src: url('../assets/fonts/CenturyGothic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Century Gothic';
    src: url('../assets/fonts/CenturyGothic-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Century Gothic';
    src: url('../assets/fonts/CenturyGothic-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.hero-pattern {
    background-image: radial-gradient(circle at 80% 50%, rgba(13, 151, 190, 0.05) 0%, transparent 60%);
}

.step-arrow::after {
    content: "→";
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #ffffff;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .step-arrow::after {
        content: "↓";
        right: auto;
        bottom: -2.5rem;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* SVG and layout presentation moved to CSS */
.dot-fill circle,
.dot-fill path {
    fill: #0d97be;
}

.process-wave {
    fill: white;
}

.hero-image {
    width: 100%;
    height: auto;
}

.dot-grid {
    width: 200px;
    height: 200px;
}

/* styles.css */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.service-tab-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-tab-content.active {
    opacity: 1;
    transform: translateY(0);
}

.service-tab-content.hidden {
    display: none;
}

.stat-card {
    background-color: #0D5D6D;
    color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    text-align: left;
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.875rem;
    font-weight: 700;
    opacity: 0.9;
    line-height: 1.2;
}

/* Smooth hover/click effects for primary buttons */
button,
a.bg-primary,
a.bg-secondary,
a[class*="rounded-full"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    will-change: transform;
}

button:hover,
a.bg-primary:hover,
a.bg-secondary:hover,
a[class*="rounded-full"]:hover {
    transform: scale(1.035);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

button:active,
a.bg-primary:active,
a.bg-secondary:active,
a[class*="rounded-full"]:active {
    transform: scale(0.97);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* navbar link base style */
nav .nav-link {
    padding: 0.6rem 0.95rem;
    border-radius: 9999px;
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    text-decoration: none;
}

nav .nav-link:hover,
nav .nav-link:focus-visible {
    transform: translateY(-1.5px);
    color: #0d97be;
    background-color: rgba(13, 151, 190, 0.1);
}

nav .nav-link:active {
    transform: translateY(0) scale(0.98);
}

nav .nav-link.active {
    color: white;
    background-color: #0d97be;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Make sure active styling is stable across pages */
nav .nav-link.active:hover {
    background-color: #0a3b43;
    color: white;
    transform: translateY(-1px);
}

/* Logo link animation (no pill background) */
nav a.logo-link {
    padding: 0;
    border-radius: 0;
    background-color: transparent;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

nav a.logo-link:hover,
nav a.logo-link:focus-visible {
    transform: translateY(-1.5px);
}

nav a.logo-link:active {
    transform: translateY(0) scale(0.98);
}

/* Float Animation for abstract background elements */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Premium Scroll Animation Keyframes */
@keyframes premiumFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Enhanced premium scroll-animate class */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(8px);
}

.scroll-animate.animate {
    animation: premiumFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity, filter;
}

/* Staggered load delays */
.stagger-1 {
    animation-delay: 80ms;
}

.stagger-2 {
    animation-delay: 160ms;
}

.stagger-3 {
    animation-delay: 240ms;
}

.stagger-4 {
    animation-delay: 320ms;
}

.stagger-5 {
    animation-delay: 400ms;
}

/* Premium Global Hover Effects */
.hover-lift {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-glow:hover {
    box-shadow: 0 0 35px rgba(13, 151, 190, 0.4);
    transform: translateY(-4px) scale(1.02);
}

.image-zoom-container {
    overflow: hidden;
    border-radius: inherit;
}

.image-zoom-container img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.image-zoom-container:hover img {
    transform: scale(1.08);
}

/* Services page image cards */
.service-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    min-height: 220px;
    background: #0A3B43;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.16);
}

.service-image {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-image-card:hover .service-image {
    transform: scale(1.1);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 1.25rem 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.55) 65%, rgba(0, 0, 0, 0.7) 100%);
    color: #fff;
}

.service-image-title {
    font-family: Manrope, sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 1.1rem;
    line-height: 1.2;
}

.service-image-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 600;
}