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

:root {
    --primary-green: #84ff00;
    --primary-gold: #FFD700;
    --primary-black: #000000;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-primary: #333;
    --text-secondary: #666;
    --text-third: #f2f2f2;
    --white: #ffffff;
    --gray: #888;
    
    /* Font Families */
    --font-primary: 'SUITE Variable', sans-serif;  
    --font-secondary: 'Paperlogy', sans-serif;    
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 14.2px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14.2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-logo img {
    width: 50%;
    height: auto;
    border-radius: 0%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #dff6ff;
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.nav-cta {
    background: var(--primary-gold);
    color: var(--text-third);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #ffffff;
    color: var(--primary-black);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s ease;
}

.hr-neon {
    border: 0;
    height: 2px; /* 선 두께 */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), #f77802, rgba(0, 0, 0, 0));
    box-shadow: 0 0 10px #ecfd02;
}

.hero {
    position: relative; 
    width: 100%;
    height: 100vh; 
    overflow: hidden; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    background-size: cover;
    /* background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 50%); */
}


.video-background {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1; 
}

.hero-container {
    position: relative;
    z-index: 2; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 350px 80px;
    gap: 40px;
    align-items: center;
    min-height: 70vh;
}

.hero-text {
    position: relative;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.6rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #dff6ff;
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    margin-bottom: 30px;
    animation: gravityIn 1.1s cubic-bezier(0.18, 0.89, 0.32, 1.22) both;
}

/* 아래에서 ‘툭’ 떨어져 고정되는 느낌 */
@keyframes gravityIn {
    0% {
        opacity: 0;
        transform: translateY(-32px) scale(0.98);
        letter-spacing: 0.16em;         /* 처음엔 조금 벌어져 있음 */
        filter: blur(3px);
    }
    55% {
        opacity: 1;
        transform: translateY(6px) scale(1.01);  /* 아래로 살짝 오버슈트 */
        letter-spacing: -0.01em;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: -0.02em;        /* 원래 값으로 */
    }
}

.hero-subtitle {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arrow {
    font-size: 1.2rem;
    color: #8fb9d9; 
    text-shadow:
        0 0 4px rgba(80, 150, 200, 0.35),
        0 0 8px rgba(60, 120, 180, 0.25);
}

.hero-subtitle h2 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: #b9d8f0; 
    text-shadow:
        0 0 5px rgba(150, 200, 255, 0.28),
        0 0 12px rgba(100, 160, 255, 0.18);

    margin-bottom: 10px;
    z-index: 2;
}

.hero-subtitle h2.typing::after {
    content: "▌";             
    display: inline-block;
    margin-left: 4px;
    animation: caretBlink 0.8s steps(1) infinite;
    color: var(--text-third); 
}

@keyframes caretBlink {
    0%, 50%   { opacity: 1; }
    50.01%,100% { opacity: 0; }
}

.hero-image {
    position: relative;
    text-align: center;
    
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    
}

.robot-anim {
    display: block;
    max-width: 100%;
    height: auto;
    transform-origin: center bottom; 
    will-change: transform, opacity;
}

.robot-anim--look {
    animation: robotLook 3.5s ease-in-out infinite;
}

@keyframes robotLook {
    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-10px) rotate(-4deg);
    }
    50% {
        transform: translateX(0) rotate(0deg);
    }
    75% {
        transform: translateX(10px) rotate(4deg);  
    }
}

.hero-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.scrolling-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--primary-black);
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 2;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-third);
}

.star {
    font-size: 1.5rem;
    color: #00c2fd;
}

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

.experience {
    padding: 106px 0;
    background-image: url('../images/bg8.png');
    background-size: cover;
    background-position: center;
}

.experience h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    max-width: 1200px;
    color: #dff6ff;
    text-align: center;
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.experience h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #dff6ff;
    text-align: center;
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.capability-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.capability-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    
}

.capability-item span {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    color: #dff6ff;
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.services {
    padding: 106px 0;
    background-image: url('../images/branding_bg.png');
    background-size: cover;
    background-position: center;
}

.services h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    margin-bottom: 10px;
}

.services h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    text-align: center;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-item {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 100px;
    text-align: center;
    box-shadow:  0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item h4 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.portfolio {
    padding: 106px 0 0 0;
    background-image: url('../images/bg9.png');
    background-size: cover;
    background-position: center;
}

.portfolio h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);

}

.portfolio h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    text-align: center;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    margin-bottom: 30px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-link {
    text-decoration: none;
    color: inherit;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item h4 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 20px 30px 10px;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    padding: 0 30px 30px;

}

.portfolio-tags span {
    background: var(--primary-gold);
    color: var(--text-primary);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    
}

.portfolio-banner {
    height: 60px;
    background: var(--dark-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.portfolio-banner .banner-content {
    color: var(--white);
    animation: scroll-right 25s linear infinite;
}


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

.awards {
    padding: 106px 0;
    background-image: url('../images/bg10.png');
    background-position: center;
}

.awards h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    margin-bottom: 10px;
}

.awards h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    text-align: center;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    margin-bottom: 30px;
}

.awards p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.awards p:nth-child(1) {
    font-weight: 800;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;

}

.stat-item h3 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.awards-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px;
    background: var(--white);
    box-shadow: 
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    border-radius: 20px;
}

.award-year {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    min-width: 80px;
}

.award-content {
    display: flex;
    align-items: center;
    vertical-align: middle;
    gap: 30px;
    flex: 1;
}

.award-content img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.award-details p {
    font-family: var(--font-primary);
    text-align: left;
    margin-bottom: 5px;
}

.testimonials {
    padding: 106px 0;
    background-image: url('../images/bg11.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden; /* hide off-screen slides */
}

.testimonials-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(.22,.9,.31,1);
    will-change: transform;
}

.testimonial-item {
    flex: 0 0 100%;
    padding: 20px 28px;
    box-sizing: border-box;
    display: block; 
}

.testimonial-image {
    height: 320px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 24px;
   background: var(--white);
    box-shadow: 
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.testimonials h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.testimonials h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.testimonial-item p {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 18px;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

.testimonial-author span {
    font-family: var(--font-primary);
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    font-size: 0.9rem;
    text-decoration: underline;
}


.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #00c2fd;
    background: var(--white);
    color: #00c2fd;
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    text-shadow:
        0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);
}

/* Screen-like spacey bloom: responsive adjustments */
@media (max-width: 1024px) {
    .nav-btn {
        width: 52px;
        height: 52px;
        font-size: 1.05rem;
        border-radius: 10px;
        border: 2px solid rgba(140,170,255,0.9);
        box-shadow: 0 8px 26px rgba(8,12,30,0.55), 0 0 12px rgba(100,140,255,0.06) inset;
    }
}

@media (max-width: 600px) {
    .nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(8,12,30,0.5);
        transform: none !important;
        z-index: 6;
    }

    /* reduce heavy visual effects on mobile */
    .nav-btn:hover { transform: none; box-shadow: 0 8px 22px rgba(8,12,30,0.45); }

    /* reduce text sizes for mobile testimonials */
    .testimonial-item p { font-size: 0.95rem; margin-bottom: 12px; }
    .testimonial-author h4 { font-size: 0.95rem; }
    .testimonial-author span { font-size: 0.8rem; }
}

@media (max-width: 380px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-image { display: none; }  
    .nav-btn { width: 40px; height: 40px; font-size: 0.95rem; }
    .testimonials-slider { padding: 0 6px; }
}

/* Dot navigation removed — styles cleaned up */

@media (max-width: 768px) {
    .testimonial-image { height: 200px; }
    .testimonials-slider { padding: 0 8px; }
}


.contact {
    padding: 40px 0;
    background: var(--dark-bg);
    text-align: center;
    color: var(--white);
}

.contact h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ccc;
}

.contact-btn {
    background: var(--primary-gold);
    color: var(--text-third);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #ffffff;
    color: var(--primary-black);
    transform: translateY(-3px);
}

footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 10px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.footer-logo img {
    width: 200px;
    height: auto;
    border-radius: 20%;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 300px 60px;
        gap: 30px;
    }
    .hero-title {
        /* scale down from desktop but keep impact */
        font-size: clamp(2.2rem, 4.4vw, 3.6rem);
        line-height: 1.05;
    }

    .hero-subtitle h2 {
        font-size: 1.35rem;
    }

    .hero-image img {
        max-width: 420px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-social {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.8rem);
        margin-top: 80px;
        margin-bottom: 0px;
    }

    .hero-subtitle h2 {
        font-size: 1.1rem;
    }

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

    .hero-image img {
        max-width: 360px;
        margin: 0 auto;
        display: block;
    }
    
    .experience h2,
    .services h2,
    .portfolio h2,
    .awards h2,
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .contact h2 {
        font-size: 2.5rem;
    }
    
    .award-item {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .scrolling-banner {
        height: 60px;
    }
    
    .banner-content {
        font-size: 1rem;
        gap: 20px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .capability-item img {
        width: 48px;
        height: 48px;
        box-shadow: 0 0 6px rgba(180, 230, 255, 0.75),
        0 0 12px rgba(120, 200, 255, 0.6),
        0 0 22px rgba(70, 150, 255, 0.45),
        0 0 38px rgba(40, 120, 255, 0.35);;
    }

    .capability-item span {
        font-size: 0.85rem;
    }
    
    
    section {
        padding: 60px 0 !important;
    }
}

/* Extra-small screens: further reduce hero text and image size */
@media (max-width: 360px) {
    .hero-title { font-size: clamp(1.3rem, 8vw, 2.2rem); }
    .hero-subtitle h2 { font-size: 1rem; }
    .hero-image img { max-width: 240px; }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    width: 1200px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-body h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    text-align: left;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


.media-frame {
    width: 100%;
    max-width: 900px;
    border: 1px solid #ccc;
    margin: 0 0 18px 0; 
}

.media-frame iframe,
.media-frame video {
    display: block;
    width: 100%;
    height: auto;
    border: none;
}

.modal-separator {
    height: 18px;
}


.portfolio-tag-btn {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.portfolio-tag-btn:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95%;
        margin: 20px;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 24px;
    }
}
