@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette derived from Logo & Request */
    --clr-primary: #1a365d;
    /* Deep Metallic Blue */
    --clr-primary-light: #2c5282;
    /* Lighter Blue */
    --clr-accent: #e2e8f0;
    /* Silver / Light Gray Accent */
    --clr-metallic: #cbd5e1;
    /* Metallic Silver */
    --clr-white: #ffffff;
    --clr-dark: #0f172a;
    /* Darker for text/contrasts */
    --clr-bg-light: #f8fafc;
    /* Soft background */

    /* Layout */
    --max-width: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--clr-dark);
    line-height: 1.6;
    background-color: var(--clr-bg-light);
    overflow-x: hidden;
}

body.intro-active {
    overflow: hidden;
    /* Prevent scrolling during intro */
}

/* ================= INTRO SPLASH SCREEN ================= */
#intro-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--clr-white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

#intro-splash.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.intro-slogan {
    position: absolute;
    font-size: 2rem;
    font-weight: 300;
    color: var(--clr-primary);
    opacity: 0;
    transform: translateY(-20px);
    letter-spacing: 12px;
    filter: blur(10px);
    animation: sloganSequence 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    max-width: 92vw;
    line-height: 1.25;
}

.intro-brand {
    font-weight: 600;
    letter-spacing: 6px;
    font-size: 0.55em;
    text-transform: uppercase;
}

.intro-tagline {
    font-weight: 300;
    letter-spacing: 0.2em;
    font-size: 0.45em;
    max-width: 22em;
}

.intro-logo {
    position: absolute;
    width: 250px;
    max-width: 80vw;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    animation: logoFadeIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 2.6s;
}

.intro-flash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 1px;
    background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}

.intro-flash.explode {
    animation: flashExplosion 1s ease-out forwards;
}

@keyframes sloganSequence {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        letter-spacing: 12px;
        filter: blur(10px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 4px;
        filter: blur(0);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 4px;
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 4px;
        filter: blur(10px);
    }
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes flashExplosion {
    0% {
        width: 1px;
        height: 1px;
        opacity: 1;
        box-shadow: 0 0 100px 50px rgba(255, 255, 255, 0.8);
    }

    100% {
        width: 300vw;
        height: 300vw;
        opacity: 0;
        box-shadow: 0 0 500px 200px rgba(255, 255, 255, 1);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Typography Headings */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-metallic));
    border-radius: 2px;
}

/* ================= HEADER & NAV ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    max-width: 100vw;
    overflow: hidden;
}

header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Skrol olunca hafif gölge */
    background: var(--clr-white);
    /* Skrol olunca da beyaz */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    width: 100%;
    max-width: 100%;
    padding: 0 3rem;
    margin: 0 auto;
}

.logo img {
    height: 100px;
    transition: transform var(--transition);
}

header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0 auto;
}

.nav-link {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    color: var(--clr-white);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

header.scrolled .nav-link {
    color: var(--clr-primary);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

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

.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 1.5rem;
}

.header-social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.header-social-link:hover {
    background: var(--clr-white);
    color: var(--clr-primary);
    transform: translateY(-2px);
}

header.scrolled .header-social-link {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

header.scrolled .header-social-link:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: transparent;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--clr-white);
    margin: 5px 0;
    transition: var(--transition);
}

header.scrolled .hamburger span {
    background-color: var(--clr-primary);
}

/* ================= HERO SLIDER ================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--clr-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* initial zoom out state */
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    /* zooms in slowly over 8s while fading in */
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(26, 54, 93, 0.4) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--clr-white);
}

.hero-brand-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.hero-logo {
    height: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    opacity: 0;
    transform: translateX(-30px);
}

.hero-divider {
    width: 6px;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9), transparent);
    opacity: 0;
    transform: scaleY(0);
    border-radius: 4px;
}

.hero-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--clr-white);
    transform: translateX(30px);
    opacity: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.slide-subtitle {
    font-size: 1.6rem;
    font-weight: 300;
    max-width: 600px;
    transform: translateX(30px);
    opacity: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    color: var(--clr-accent);
}

.slide.active .hero-logo {
    animation: fadeRight 1s forwards 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide.active .hero-divider {
    animation: scaleYFade 1s forwards 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide.active .slide-title {
    animation: fadeLeft 1s forwards 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide.active .slide-subtitle {
    animation: fadeLeft 1s forwards 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

@keyframes scaleYFade {
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Slider Controls */
.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 5%;
    z-index: 20;
    pointer-events: none;
}

.slider-arrow {
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
    border: 1px solid var(--glass-border);
    color: var(--clr-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
    font-size: 1.5rem;
}

.slider-arrow:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

/* ================= ABOUT & VISION ================= */
.section {
    padding: 100px 0;
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
}

.vision-mission-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.vm-card {
    background: var(--clr-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--clr-primary);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.1);
}

.vm-card h4 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
}

.vm-card h4 i {
    color: var(--clr-primary-light);
}

/* ================= PROJECTS BENTO GRID ================= */
.bg-light-alt {
    background-color: #f1f5f9;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--clr-primary);
    background: transparent;
    color: var(--clr-primary);
    border-radius: 30px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

/* Projects Slider */
.projects-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.projects-slider {
    display: flex;
    gap: 1.5rem;
    animation: scrollLeft 30s linear infinite;
    width: max-content;
}

.projects-slider:hover {
    animation-play-state: paused;
}

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

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

.project-slide-card {
    min-width: 320px;
    max-width: 320px;
    background: var(--clr-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.project-slide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-slide-card:hover .project-card-img img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-done {
    background: var(--clr-primary);
    color: #fff;
}

.badge-ongoing {
    background: #f59e0b;
    color: #fff;
}

.project-card-body {
    padding: 1.2rem 1.5rem;
}

.project-card-body h4 {
    font-size: 1.05rem;
    color: var(--clr-dark);
    margin-bottom: 0.5rem;
}

.project-card-body p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.project-detail-btn {
    color: var(--clr-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-slide-card:hover .project-detail-btn {
    letter-spacing: 1px;
}

/* Project Modal */
.project-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.project-modal {
    background: var(--clr-white);
    border-radius: 20px;
    overflow: hidden;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.3s ease;
    position: relative;
}

.project-modal-overlay.active .project-modal {
    transform: scale(1) translateY(0);
}

.project-modal img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.project-modal-body {
    padding: 1.5rem 2rem 2rem;
}

.project-modal-body .project-badge {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
}

.project-modal-body h3 {
    font-size: 1.4rem;
    color: var(--clr-dark);
    margin-bottom: 1rem;
}

.project-modal-body p {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

.project-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.project-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

/* ================= REFERENCES SLIDER ================= */
.refs-slider-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.refs-slider {
    display: flex;
    gap: 2rem;
    animation: scrollLeftRefs 25s linear infinite;
    width: max-content;
}

.refs-slider:hover {
    animation-play-state: paused;
}

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

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

.ref-slide-item {
    min-width: 180px;
    max-width: 180px;
    height: 100px;
    background: var(--clr-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.ref-slide-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--clr-primary-light);
}

.ref-slide-item img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}

.ref-slide-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.ref-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-align: center;
    letter-spacing: 0.5px;
}

/* ================= CONTACT & FOOTER ================= */
.contact-section {
    background: var(--clr-dark);
    color: var(--clr-white);
    padding: 80px 0 0 0;
}

.contact-section .section-title {
    color: var(--clr-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.contact-info-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.contact-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.contact-box i {
    font-size: 2rem;
    color: var(--clr-metallic);
}

.contact-box h5 {
    color: var(--clr-white);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-box p {
    color: #94a3b8;
    margin: 0;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background: #090e1a;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--clr-primary);
    transform: translateY(-3px);
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .slide-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 0.8rem;
        height: 60px !important;
    }

    .logo img {
        height: 45px !important;
    }

    .header-social {
        display: flex;
        gap: 6px;
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .header-social-link {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
        border-width: 1px;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        gap: 3rem;
        margin: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .intro-slogan {
        font-size: 1.3rem;
        letter-spacing: 6px;
    }

    .intro-brand {
        letter-spacing: 3px;
    }

    .intro-tagline {
        letter-spacing: 0.12em;
        font-size: 0.5em;
    }

    .intro-logo {
        width: 180px;
    }

    .hero-brand-group {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-divider {
        width: 100px;
        height: 3px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
        transform: scaleX(0);
    }

    .slide.active .hero-divider {
        animation: scaleXFade 1s forwards 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .hero-logo {
        height: 80px;
        margin-bottom: 0;
        transform: translateY(-20px);
        margin-left: auto;
        margin-right: auto;
    }

    .slide.active .hero-logo {
        animation: fadeDown 1s forwards 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .hero-text-group {
        align-items: center;
        text-align: center;
    }

    .slide-title {
        font-size: 1.6rem;
        transform: translateY(20px);
    }

    .slide.active .slide-title {
        animation: fadeUp 1s forwards 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .slide-subtitle {
        font-size: 0.9rem;
        transform: translateY(20px);
    }

    .slide.active .slide-subtitle {
        animation: fadeUp 1s forwards 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .slide-content {
        padding: 0 1rem;
        text-align: center;
    }

    .ref-slide-item {
        min-width: 150px;
        max-width: 150px;
        height: 80px;
    }

    .project-slide-card {
        min-width: 270px;
        max-width: 270px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section p,
    .about-text p,
    .vm-card p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .vm-card h4 {
        font-size: 1.05rem;
    }

    .contact-box h5 {
        font-size: 1rem;
    }

    .contact-box p,
    .contact-box a {
        font-size: 0.85rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .hero-logo {
        height: 60px;
    }
}

@keyframes scaleXFade {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

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

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