html,
body {
    height: 100%;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #10100D;
    background-color: #FFFFFE;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
}

.gradient-accent {
    background: linear-gradient(135deg, #368C8D 0%, #5AA2D0 50%, #456BA5 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #368C8D 0%, #5AA2D0 50%, #456BA5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Navigation Links */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #368C8D, #5AA2D0);
    transition: width 0.3s ease;
}

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

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFE;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 50;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #10100D;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(54, 140, 141, 0.08);
    color: #368C8D;
}

/* Hero Shapes */
.hero-blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(60px);
    opacity: 0.22;
    z-index: 0;
    pointer-events: none;
    animation: blobAnimation 8s ease-in-out infinite;
}

@keyframes blobAnimation {

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

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(30px, 30px) scale(1.02);
    }
}

.hero-blob:nth-child(1) {
    animation-delay: 0s;
}

.hero-blob:nth-child(2) {
    animation-delay: 2s;
}

.hero-blob:nth-child(3) {
    animation-delay: 4s;
}

/* Testimonial Carousel */
.testimonial-carousel {
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
    animation: scroll 40s linear infinite;
}

.testimonial-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 360px;
    padding: 32px;
    background-color: #FFFFFE;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Form Styles */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #FFFFFE;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #5AA2D0;
    box-shadow: 0 0 0 3px rgba(90, 162, 208, 0.15);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-wrapper input[type="checkbox"] {
    accent-color: #368C8D;
    margin-top: 4px;
    cursor: pointer;
}

/* Button Styles */
.btn-primary {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #368C8D 0%, #5AA2D0 50%, #456BA5 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(54, 140, 141, 0.3);
}

.btn-secondary {
    padding: 14px 32px;
    border: 2px solid #368C8D;
    border-radius: 8px;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background-color: transparent;
    color: #368C8D;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(54, 140, 141, 0.08);
}

/* Service Card */
.service-card {
    padding: 32px;
    background-color: #FFFFFE;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #5AA2D0;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Gallery */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        width: 280px;
        padding: 24px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-60%);
        }
    }
}

@view-transition {
    navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }
}
