/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 
/* Abraham font (local files) */
/* Assumption: font files are located at ../fonts/Abraham/ relative to this CSS file.
   If filenames differ, update the URLs below to match the actual font filenames. */
@font-face {
    font-family: 'Abraham';
    src: url('fonts/Abraham/Abraham-Regular.woff2') format('woff2'),
         url('fonts/Abraham/Abraham-Regular.woff') format('woff'),
         url('fonts/Abraham/Abraham-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Abraham';
    src: url('onts/Abraham/Abraham-Regular.woff2') format('woff2'),
         url('fonts/Abraham/Abraham-Regular.woff') format('woff'),
         url('fonts/Abraham/Abraham-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors  */
    --primary: #4dddf7;
    --secondary: #fa9200;
    --accent: #65c0f13;
    --dark: #082247;
    --darker: #020b19;
    --light: #ffffff;
    --gray: #4790a2;
   /* 
     --primary:#D95436;
    --secondary: #D99923;
    --accent: #208C4F;
    --dark:  #304673;
    --darker: #20304f;
    --light: #60A4BF;
    --gray: #a8a8a8;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Assistant', sans-serif;
}
html { overflow-x: hidden; }
body {
    overflow-x: hidden; max-width: 100vw; 
    font-family: var(--font-main);
    background-color: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;

}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* Make only h1 and h2 use Abraham in Hebrew; other titles use Assistant (via --font-display) */
[dir="rtl"] h1,
[dir="rtl"] h2 {
    font-family: 'Abraham', var(--font-display);
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure animated-title lines also use Abraham in Hebrew */
[dir="rtl"] .animated-title,
[dir="rtl"] .animated-title .line {
    font-family: 'Abraham', var(--font-display);
    font-weight: 700;
}

/* Generative Background */
#generative-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}


/* Single Globe Button */
.lang-btn-globe {
    position: relative;
    width: 40px;          /* Adjust size as needed */
    height: 40px;         /* Keep it square */
    border: none;
    border-radius: 50%;   /* Make it circular */
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0;
    
    /* Earth icon as background */
    background-image: url('earth.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Optional: Add shadow for depth */
    box-shadow: 0 4px 15px rgba(52, 200, 249, 0.3);
}
.lang-btn-globe:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(77, 194, 248, 0.5);
}

/* Text on top of earth icon */
.lang-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.2rem;
    color:var(--darker);
    text-shadow: 
        0 2px 4px rgba(97, 96, 96, 0.8),
        0 0 10px rgba(91, 90, 90, 0.5);  /* Strong shadow for readability */
    pointer-events: none;  /* Text doesn't block clicks */
    z-index: 1;
}

/*  Rotation animation on click */
.lang-btn-globe.switching {
    animation: globe-spin 0.6s ease-in-out;
}
@keyframes globe-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
 
.lang-btn {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--light);
    padding: 8px 16px;
    
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 8px;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0px 50px;
    display: flex;
    justify-content: center; /* center the nav links horizontally */
    align-items: center;
    z-index: 900;
    overflow: visible;
    position: relative;
    background: rgba(15, 22, 30, 0.3);
    backdrop-filter: blur(10px);
}
/* Hamburger Menu - Hidden by default */
.hamburger {
    display: none;
    position: fixed;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    position: fixed;
    left: 20px; /* To the left of language toggle */
    top: 20px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}
[dir="rtl"] .hamburger {
    left: auto;
    right: 20px; /* RIGHT side in Hebrew */
}
/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}
/* Video Background 
.nav-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Makes video fill the nav bar */
    /*z-index: -1;         Puts video BEHIND nav content */
    /*opacity: 0.7;        Optional: Make video semi-transparent */
/*}*/

/* Logo Container */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    position: fixed; /* pin to viewport so it's always top-left */
    left: 20px; /* physical left edge */
    top: 0px;   /* move logo up so it's not too low */
    z-index: 920;
}

/* Position language toggle at the top-right in all directions */
.lang-toggle {
    position: fixed;
    right: 20px; /* physical right edge */
    top: 12px;
    z-index: 930;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Keep the globe/button visuals unchanged but let the wrapper position it */
.lang-btn-globe {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    padding: 12px;
    background-image: url('earth.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 15px rgba(52, 200, 249, 0.3);
}

/* Glitch Logo Effect */
.glitch-logo {
    position: relative;
    display: inline-block;
    width: auto;  
    top:10px;         
    height: 120px;          /*  explicit height */
    line-height: 0;        /*  removes extra spacing */
}

.logo-img {
    top:-10px;
    height: 130px;  /* Set only height, width will scale proportionally */
    width: auto;    /* Let width adjust automatically */
    object-fit: contain; /* Ensures image maintains proportions */
    display: block;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 5px 15px rgba(107, 220, 255, 0.602));
}

/* Create glitch layers */
.glitch-logo::before,
.glitch-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    mix-blend-mode: screen;  /* Makes colors blend nicely */
    pointer-events: none; /*  Makes sure they don't block clicks */
    transition: opacity 0.2s ease;  /* smooth fade-in */
}

.glitch-logo::before {
   
    /* Cyan/blue tint */
    filter: hue-rotate(180deg) brightness(1.3);
    z-index: 8;
}

.glitch-logo::after {
    
    /* Magenta/pink tint */
    filter: hue-rotate(-90deg) brightness(1.3);
    z-index: 9;
}
/** Glitch activates on hover */
.glitch-logo:hover::before {
    opacity: 0.7;                      /*  Becomes visible */
    animation: glitch-1 0.3s infinite; /*  Starts animating (faster!) */
}

.glitch-logo:hover::after {
    opacity: 0.7;                      /*  Becomes visible */
    animation: glitch-2 0.3s infinite; /*  Starts animating (faster!) */
}

/*  Make main image shake slightly on hover too */
.glitch-logo:hover .logo-img {
    animation: logo-shake 0.3s infinite;
}

@keyframes logo-shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 1px); }
    75% { transform: translate(1px, -1px); }
}
/* Animations */
@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    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(--primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--primary);
}

/* Avatar Character */
/* Position avatar to the physical right of the hero section regardless of page direction */
.hero { position: relative; }
.hero .avatar-container {
            position: absolute;
            right: 40px; /* physical right edge */
            top: 40px;   /* adjust vertical offset under hero top */
            width: 400px;
            height: 400px;
            margin: 0;
            z-index: 2;
        }

        /* Fallback for very small screens: stack naturally */
        @media (max-width: 800px) {
            .hero .avatar-container {
                position: relative;
                right: auto;
                top: auto;
                width: 220px;
                height: auto;
                margin: 20px auto 0 auto;
            }
        }

        .avatar-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        /* Arms with pivot points */
        .left-forearm-container,
        .right-forearm-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transform-origin: 50% 30%; /* Adjust based on elbow position */
            transition: transform 0.3s ease;
        }

        .left-forearm-container {
            transform-origin: 60% 35%; /* Adjust for left elbow position */
        }

        .right-forearm-container {
            transform-origin: 40% 35%; /* Adjust for right elbow position */
        }

        /* Top arms stay fixed */
        .left-top-arm,
        .right-top-arm {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Hands are part of the natural layout flow */
        .left-hand,
        .right-hand {
            position: relative;
            transform-origin: top center;
        }

        /* Eyes and eyebrows */
        .eye-part {
            transition: opacity 0.1s ease;
        }

/* Video overlay styles */
.video-overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.75);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease-in-out;
}
.video-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.video-wrap {
    max-width: 90vw;
    max-height: 80vh;
    width: 1100px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-wrap video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
    border-radius: 8px;
    background: #000;
}
.video-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2010;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: none;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-close:hover { background: rgba(255,255,255,0.12); }

/* Responsive tweaks */
@media (max-width: 700px) {
    .video-wrap { width: 95vw; }
    .video-close { top: 12px; right: 12px; width: 36px; height: 36px; }
}

        .eye-blink {
            opacity: 0;
        }

        /* Mouth animations */
        .mouth-shape {
            opacity: 0;
            transition: opacity 0.1s ease;
        }

        .mouth-shape.active {
            opacity: 1;
        }

        /* Eyebrow animations */
        .eyebrow {
            transition: transform 0.2s ease;
        }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    margin-top: 10px;
}
.hero-bg {
    position: absolute;
    left: 0;
    width: 100%;
    /* Set the top and bottom to match your requirements */
    top:0; /* Adjust this value to be just below the logo */
    bottom: 180px; /* Adjust this value to be just above the buttons */
    height: auto;
    z-index: 1;
    background: url('bg.png') center top/cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index:3;
   
}

.animated-title {
    font-size: clamp(1.6rem, 5vw, 3.6rem);
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.animated-title .line {
    display: block;
    animation: slideUp 1s ease-out forwards;
    opacity: 0;
    font-family: var(--font-display);
}

.animated-title .line:nth-child(1) {
    animation-delay: 0.2s;
}

.animated-title .line:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 14px;
    background: var(--secondary);
    opacity: 0.9;
    z-index: -1;
    animation: underline 1s ease-out 0.8s forwards;
    transform: scaleX(0);
}

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

.subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 186, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-xm);
    text-align: center;
    position: relative;
    font-family: var(--font-display);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 10px auto;
    border-radius: 2px;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: var(--spacing-lg);
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(107, 243, 255, 0.2);
}

.special-sauce {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(107, 188, 255, 0.1), rgba(254, 193, 99, 0.1));
}

.special-sauce:hover {
    border-color: var(--accent);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.card-subtitle {
    font-style: italic;
    color: var(--accent);
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 8px 0;
    padding-inline-start: 25px;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    inset-inline-start: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Toolbox Section */

.toolbox-intro {
    text-align: center;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}
.toolbox-anim {
  position: relative;
  width: 300px;
  height: 400px;
  margin: 0 auto;
}
.toolbox-svg {
  position: absolute;
  top: 0; left: 0;
}
.strip {
  transition: y 1s cubic-bezier(.77,0,.175,1), height 1s cubic-bezier(.77,0,.175,1);
}
.skill-pop {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s, transform 0.7s;
  font-family: var(--font-display);
  background: #fff;
  border-radius: 20px;
  padding: 8px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.skill-pop-left {
  left: 90px; top: 320px;
}
.skill-pop-right {
  left: 170px; top: 320px;
}
.toolbox-anim.open .strip-left {
  y: 120;
  height: 200;
}
.toolbox-anim.open .strip-right {
  y: 120;
  height: 200;
}
.toolbox-anim.open .skill-pop-left {
  opacity: 1;
  transform: translate(-40px, -180px);
}
.toolbox-anim.open .skill-pop-right {
  opacity: 1;
  transform: translate(40px, -180px);
}
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: var(--spacing-lg);
}

.work-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.work-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.work-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.placeholder-work {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray);
    background: linear-gradient(45deg, var(--dark), var(--darker));
}

.work-title {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.work-description {
    padding: 0 20px 15px;
    color: var(--gray);
}

.work-tags {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.work-tags span {
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.contact-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-block;
    padding: 12px 36px;
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: 26px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(107, 179, 255, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    color: var(--gray);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .main-nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(8, 34, 71, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 910;
        padding: 60px 20px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }
    [dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
        transition: left 0.3s ease;
    }
    .nav-links.active {
        right: 0;
    }
    
    [dir="rtl"] .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
    
    [dir="rtl"] .hamburger {
       
        left: auto;
        right: 90px; /* RIGHT side in Hebrew */
 
    }
     
    
     .logo {
        left: 0px;
     }
    .hero {
        padding: var(--spacing-md);
    }
    
    .service-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }
    .animated-title {
    font-size: clamp(1.2rem, 4vw, 3rem);
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}
}

@media (max-width: 480px) {
    .animated-title {
    font-size: clamp(1rem, 3vw, 2.6rem);
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}
}
