/* ==========================================================================
   DESIGN SYSTEM - UTILITY CLASSES
   ========================================================================== */

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

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #ffed4e 100%);
    --teal-gradient: linear-gradient(135deg, #20b2aa 0%, #48d1cc 50%, #40e0d0 100%);
    --teal-primary: #20b2aa;
    --teal-light: #48d1cc;
    --teal-bright: #40e0d0;
    --dark-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2d2d2d 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-luxury: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 35px 60px -12px rgba(0, 0, 0, 0.4);
    --shadow-teal: 0 0 20px rgba(32, 178, 170, 0.5);
    --shadow-teal-glow: 0 15px 35px rgba(32, 178, 170, 0.4);
}

/* Fonts - Now loaded via HTML head */

/* ==========================================================================
   LAYOUT & POSITIONING
   ========================================================================== */

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; position: relative; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { flex-direction: column; }
.grid { display: grid; }
.grid-auto-fit { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-work { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-single { grid-template-columns: 1fr; }

/* Timeline Layout */
.mb-80 {
    margin-bottom: 8rem;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal-primary), var(--teal-bright));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--teal-gradient);
    border: 4px solid #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: var(--shadow-teal);
    transition: all 0.4s ease;
}

.timeline-dot:hover {
    transform: translateX(-50%) scale(1.2);
    box-shadow: var(--shadow-teal-glow);
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    top: 0.5rem;
    transform: translateX(-50%);
    background: var(--teal-gradient);
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    z-index: 3;
    box-shadow: var(--shadow-luxury);
}

.timeline-content {
    background: rgba(32, 178, 170, 0.1);
    border: 1px dashed rgba(32, 178, 170, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--teal-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(32, 178, 170, 0.4);
    box-shadow: var(--shadow-teal-glow);
}

.timeline-content:hover::before {
    opacity: 0.05;
}

/* Timeline Right */
.timeline-right .timeline-content {
    margin-left: 50%;
    margin-left: calc(50% + 2rem);
    flex-direction: row;
}

/* Timeline Left */
.timeline-left .timeline-content {
    margin-right: 50%;
    margin-right: calc(50% + 2rem);
    flex-direction: row-reverse;
}

.timeline-image-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: var(--glass-dark-20);
    backdrop-filter: blur(20px);
}

.timeline-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.5s ease;
}

.timeline-image-wrapper:hover .timeline-image {
    transform: scale(1.1);
}

.timeline-text {
    flex: 1;
    min-width: 0;
}

.timeline-link {
    display: inline-block;
    color: var(--teal-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--teal-primary);
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(32, 178, 170, 0.1);
}

.timeline-link:hover {
    background: var(--teal-primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    grid-template-areas:
        "large large large medium1 medium1 medium1"
        "small1 small1 small2 small2 medium2 medium2";
}

.bento-large {
    grid-area: large;
}

.bento-medium:nth-of-type(2) {
    grid-area: medium1;
}

.bento-medium:nth-of-type(4) {
    grid-area: medium2;
}

.bento-small:nth-of-type(3) {
    grid-area: small1;
}

.bento-small:nth-of-type(5) {
    grid-area: small2;
}

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.top-20 { top: 2rem; }
.right-20 { right: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.h-4 { height: 4px; }
.w-12 { width: 12px; }
.h-12 { height: 12px; }
.w-20 { width: 20px; }
.h-20 { height: 20px; }
.w-80 { width: 80px; }
.h-80 { height: 80px; }
.w-100 { width: 100px; }
.h-100 { height: 100px; }

.z-1000 { z-index: 1000; }
.z-9999 { z-index: 9999; }
.z-10000 { z-index: 10000; }
.z-neg-1 { z-index: -1; }

/* ==========================================================================
   SPACING
   ========================================================================== */

.m-0 { margin: 0; }
.m-auto { margin: 0 auto; }
.mt-30 { margin-top: 3rem; }
.mt-50 { margin-top: 5rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-20 { margin-bottom: 2rem; }
.mb-40 { margin-bottom: 4rem; }
.mb-50 { margin-bottom: 5rem; }
.mb-60 { margin-bottom: 6rem; }
.mb-70 { margin-bottom: 7rem; }

.p-10 { padding: 1rem; }
.p-20 { padding: 2rem; }
.p-30 { padding: 3rem; }
.py-10 { padding: 1rem 0; }
.py-30 { padding: 3rem 0; }
.py-60 { padding: 6rem 0; }
.py-80 { padding: 8rem 0; }
.py-100 { padding: 10rem 0; }
.px-20 { padding: 0 2rem; }
.px-30 { padding: 0 3rem; }
.py-12-px-30 { padding: 1.2rem 3rem; }
.pl-15 { padding-left: 1.5rem; }

.gap-8 { gap: 0.8rem; }
.gap-10 { gap: 1rem; }
.gap-15 { gap: 1.5rem; }
.gap-20 { gap: 2rem; }
.gap-30 { gap: 3rem; }

.max-w-600 { max-width: 600px; }
.max-w-700 { max-width: 700px; }
.max-w-900 { max-width: 900px; }

.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.font-inter { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-dm-sans { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-weight-200 { font-weight: 200; }
.font-weight-300 { font-weight: 300; }
.font-weight-400 { font-weight: 400; }
.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }
.font-weight-800 { font-weight: 800; }
.font-weight-900 { font-weight: 900; }

.text-xs { font-size: 0.95rem; }
.text-sm { font-size: 1rem; }
.text-base { font-size: 1.1rem; }
.text-lg { font-size: 1.3rem; }
.text-xl { font-size: 1.4rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.6rem; }
.text-4xl { font-size: 3rem; }
.text-5xl { font-size: 3.5rem; }
.text-hero { font-size: clamp(3.5rem, 10vw, 7rem); }

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

.leading-relaxed { line-height: 1.7; }
.leading-tight { line-height: 0.9; }
.letter-spacing-tight { letter-spacing: -0.03em; }

.text-white { color: #ffffff; }
.text-white-80 { color: rgba(255, 255, 255, 0.8); }
.text-white-70 { color: rgba(255, 255, 255, 0.7); }
.text-dark-80 { color: rgba(45, 55, 72, 0.8); }
.text-black { color: #000; }
.text-gold { color: #ffd700; }

.text-gradient-white-teal {
    background: linear-gradient(135deg, #ffffff 0%, var(--teal-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-dark-teal {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, var(--teal-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-teal {
    background: var(--teal-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   COLORS & BACKGROUNDS
   ========================================================================== */

.bg-dark-gradient { background: var(--dark-gradient); }
.bg-hero-gradient { background: transparent; }
.bg-glass { background: var(--glass-bg); }
.bg-glass-dark-20 { background: transparent; }
.bg-glass-dark-30 { background: transparent; }
.bg-glass-dark-50 { background: transparent; }
.bg-gold-gradient { background: var(--gold-gradient); }
.bg-scroll-indicator { background: rgba(255, 255, 255, 0.1); }
.bg-social-glass { background: rgba(255, 255, 255, 0.3); }

.border-glass { border: 1px solid var(--glass-border); }
.border-dark-20 { border: 1px solid rgba(45, 55, 72, 0.2); }
.border-transparent { border: 2px solid transparent; }
.border-teal-30 { border-color: rgba(32, 178, 170, 0.3); }

.rounded-full { border-radius: 50%; }
.rounded-24 { border-radius: 24px; }
.rounded-50 { border-radius: 50px; }

/* ==========================================================================
   EFFECTS & FILTERS
   ========================================================================== */

.backdrop-blur-20 { backdrop-filter: blur(20px); }
.shadow-luxury { box-shadow: var(--shadow-luxury); }
.shadow-hover { box-shadow: var(--shadow-hover); }
.shadow-teal-alt { box-shadow: var(--shadow-teal); }
.shadow-service-icon { box-shadow: var(--shadow-teal-glow); }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

.cursor-none { cursor: none; }
.cursor-pointer { cursor: pointer; }

.mix-blend-difference { mix-blend-mode: difference; }
.mix-blend-multiply { mix-blend-mode: multiply; }

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */

.transition-all { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-fast { transition: all 0.3s ease; }
.transition-smooth { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition: transform 0.2s ease; }
.transition-opacity { transition: opacity 0.2s ease; }
.transition-width { transition: width 0.3s ease; }
.transition-left { transition: left 0.5s ease; }
.transition-color { transition: color 0.3s ease; }
.transition-service-icon { transition: all 0.4s ease; }
.transition-opacity-service { transition: opacity 0.5s ease; }

.opacity-0 { opacity: 0; }
.opacity-1 { opacity: 1; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }

/* Transform utilities */
.scale-130 { transform: scale(1.3); }
.scale-102 { transform: scale(1.02); }
.scale-110-rotate-5 { transform: scale(1.1) rotate(5deg); }
.translate-y-neg-10 { transform: translateY(-10px); }
.translate-y-neg-5 { transform: translateY(-5px); }

/* ==========================================================================
   COMPONENT STYLES
   ========================================================================== */

/* Body */
.body-base {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(to bottom right, #e0f7fa, #e8f5e9, #fffde7);
    background-attachment: fixed;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(32, 178, 170, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: -1;
}

/* Custom Cursor */
.cursor-custom {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--teal-gradient);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--teal-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.2s ease;
}


/* Floating Elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

.floating-element-1 {
    top: 10%;
    left: 10%;
    animation-delay: -2s;
}

.floating-element-2 {
    top: 20%;
    right: 15%;
    animation-delay: -4s;
    width: 60px;
    height: 60px;
}

.floating-element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -1s;
    width: 80px;
    height: 80px;
}

/* Hero Title */
.hero-title {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -3px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, var(--teal-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    min-height: 1.2em;
}


/* Highlight Text */
.text-highlight {
    font-weight: 300;
    background: var(--teal-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--teal-gradient);
    transform: scaleX(0);
    animation: underlineGrow 1s ease-out 0.5s forwards;
}

/* Section Title */
.section-title {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    font-weight: 200;
    text-align: center;
    margin-bottom: 5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--teal-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--teal-gradient);
}

/* Section Dividers */
.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    border-top: 1px dashed rgba(32, 178, 170, 0.2);
    border-style: dashed;
    border-width: 1px 0 0 0;
}

/* Social Links */
.social-link {
    color: rgba(45, 55, 72, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 1rem 2rem;
    border: 1px solid rgba(45, 55, 72, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.5s ease-out backwards;
}

.social-link:nth-child(1) { animation-delay: 0.6s; }
.social-link:nth-child(2) { animation-delay: 0.8s; }
.social-link:nth-child(3) { animation-delay: 1.0s; }
.social-link:nth-child(4) { animation-delay: 1.2s; }

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--teal-gradient);
    transition: left 0.5s ease;
    z-index: -1;
}

.social-link:hover {
    color: #000;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.social-link:hover::before {
    left: 0;
}

/* Work/Service Items */
.card-item {
    background: rgba(32, 178, 170, 0.1);
    border-radius: 24px;
    padding: 3rem;
    border: 1px dashed rgba(32, 178, 170, 0.2);
    border-style: dashed;
    border-width: 1px;
    stroke-dasharray: 6px 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--teal-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.card-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(32, 178, 170, 0.3);
}

.card-item:hover::before {
    opacity: 0.05;
}

.work-item:hover::before {
    opacity: 0.1;
}

/* Service Image */
.service-image {
    width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    display: block;
}

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

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Compact service features for smaller cards */
.service-features-compact li {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
}

.service-features-compact li::before {
    font-size: 0.9rem;
}

/* Contact Links */
.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border: 2px solid transparent;
    border-radius: 50px;
    background: var(--teal-gradient);
    color: #000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: #ffffff;
}

.contact-link:hover::before {
    left: 0;
}

/* Scroll Progress */
.scroll-indicator {
    box-shadow: none !important;
    filter: none !important;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--teal-gradient);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: none !important;
    filter: none !important;
}


/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes backgroundFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(1deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}


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

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

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet/Medium screens - Stack second row cards vertically */
@media (max-width: 1024px) {
    .bento-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
        gap: 20px;
        grid-template-areas:
            "large large"
            "medium1 medium1"
            "small1 small2"
            "medium2 medium2";
    }
    
    .bento-large {
        grid-area: large;
    }
    
    .bento-medium:nth-of-type(2) {
        grid-area: medium1;
    }
    
    .bento-medium:nth-of-type(4) {
        grid-area: medium2;
    }
    
    .bento-small:nth-of-type(3) {
        grid-area: small1;
    }
    
    .bento-small:nth-of-type(5) {
        grid-area: small2;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .py-80 { padding: 4rem 0; }

    /* Use solid light green background instead of gradient on mobile/tablet */
    .body-base {
        background: #e0f7fa !important;
        background-attachment: initial !important;
        background-size: initial !important;
        min-height: 100% !important;
    }

    /* Ensure html and body have solid background */
    html, body {
        height: 100%;
        background: #e0f7fa;
    }

    .hero-title {
        font-size: 36px;
        line-height: 140%;
        letter-spacing: -0.5px;
    }
    .text-xl { font-size: 1.2rem; }
    .gap-30 { gap: 1.5rem; flex-direction: column; align-items: center; }
    .text-4xl { font-size: 2.5rem; }
    .grid-auto-fit, .grid-work { grid-template-columns: 1fr; gap: 2rem; }
    .grid-services-mobile { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .gap-20 { gap: 1rem; flex-direction: column; align-items: center; }
    .contact-link { font-size: 1rem; padding: 1rem 2rem; }
    .top-20.right-20 { top: 1rem; right: 1rem; }
    
    /* Bento Grid Mobile Responsiveness */
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, auto);
        gap: 1.5rem;
        grid-template-areas:
            "large"
            "medium1"
            "small1"
            "medium2"
            "small2";
    }
    
    .bento-large,
    .bento-medium,
    .bento-small {
        grid-area: unset;
    }
    
    .bento-large {
        grid-area: large;
    }
    
    .bento-medium:nth-of-type(2) {
        grid-area: medium1;
    }
    
    .bento-medium:nth-of-type(4) {
        grid-area: medium2;
    }
    
    .bento-small:nth-of-type(3) {
        grid-area: small1;
    }
    
    .bento-small:nth-of-type(5) {
        grid-area: small2;
    }
    
    .card-item {
        padding: 2rem 1.5rem;
        min-height: auto;
        overflow: hidden;
    }
    
    /* Service images responsive */
    .service-image {
        width: 150px;
        height: auto;
        margin: 0 auto 1.5rem;
    }
    
    /* Service titles responsive */
    .text-2xl {
        font-size: 1.5rem;
    }
    
    .text-xl {
        font-size: 1.3rem;
    }
    
    .text-lg {
        font-size: 1.2rem;
    }
    
    /* Done Projects Responsive */
    .grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-content {
        padding-right: 0;
        text-align: center;
    }
    
    .gap-60 {
        gap: 3rem;
    }
    
    .project-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Timeline Mobile Responsiveness */
    .timeline-line {
        left: 2rem;
    }
    
    .timeline-item::before {
        left: 2rem;
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .timeline-dot {
        left: 2rem;
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
    
    .timeline-right .timeline-content,
    .timeline-left .timeline-content {
        margin-left: 4rem;
        margin-right: 0;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .timeline-image-wrapper {
        width: 100%;
        height: 200px;
        order: -1;
    }
    
    .timeline-text {
        text-align: center;
    }
}

/* ==========================================================================
   UTILITY OVERRIDES FOR HOVER STATES
   ========================================================================== */

.card-item:hover .text-white {
    color: var(--teal-primary);
}


/* ==========================================================================
   PROFILE IMAGE
   ========================================================================== */

.profile-image {
    width: 100px;
    height: auto;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    animation: fadeInUp 1.5s ease-out 0.1s backwards;
}

/* Portfolio Image */
.portfolio-image {
    width: 300px;
    max-width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

/* ==========================================================================
   SCROLL ARROW
   ========================================================================== */

/* Scroll Arrow Hero */
.scroll-indicator-hero {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(32, 178, 170, 0.2);
    border-style: dashed;
    border-width: 1px;
    border-radius: 50%;
    color: var(--teal-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
    background: rgba(32, 178, 170, 0.1);
}

.scroll-arrow:hover {
    border: 1px solid var(--teal-primary);
    border-style: solid;
    color: var(--teal-primary);
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   LOGOS AND TAGS
   ========================================================================== */

/* Logos Row */
.logos-row {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-item:hover {
    transform: translateY(-5px);
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(32, 178, 170, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--teal-primary);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(32, 178, 170, 0.1);
}

.logo-item:hover .logo-circle {
    background: rgba(32, 178, 170, 0.15);
    border-color: var(--teal-primary);
    box-shadow: var(--shadow-teal);
    transform: scale(1.1);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(45, 55, 72, 0.6);
    transition: all 0.3s ease;
}

.logo-item:hover .logo-text {
    color: var(--teal-primary);
    font-weight: 500;
}

/* Tags Row */
.tags-row {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(32, 178, 170, 0.1);
    border: 1px dashed rgba(32, 178, 170, 0.2);
    border-style: dashed;
    border-width: 1px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--teal-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Only add cursor pointer for linked tags */
a.tag {
    cursor: pointer;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(32, 178, 170, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.tag:hover {
    border: 1px solid var(--teal-primary);
    border-style: solid;
    color: var(--teal-primary);
}

.tag:hover::before {
    left: 0;
}

/* Remove underlines from tag links */
a.tag {
    text-decoration: none;
}

a.tag:hover {
    text-decoration: none;
}

/* Mobile Responsiveness for Logos and Tags */
@media (max-width: 768px) {
    .logos-row {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 0.8rem;
    }
    
    .tags-row {
        gap: 10px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.scroll-arrow:hover svg {
    transform: translateY(2px);
}

/* ==========================================================================
   HEADLINES FONT FAMILY
   ========================================================================== */

/* Apply DM Sans to all headlines */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Specific headline overrides for existing components */
.work-item h3,
.card-item h3,
.service-title,
.contact-title {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Bold text styling */
strong {
    font-weight: 600;
}

/* ==========================================================================
   TEXT LINKS
   ========================================================================== */

/* Text Links for Contact Section */
.text-link {
    color: var(--teal-primary);
    text-decoration: underline;
    text-decoration-color: var(--teal-primary);
    text-underline-offset: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.text-link:hover {
    color: var(--teal-bright);
    text-decoration: underline;
}

/* ==========================================================================
   LANGUAGE SWITCHER
   ========================================================================== */

.language-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    gap: 0.5rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(32, 178, 170, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(1, 56, 38, 0.1);
    transition: all 0.3s ease;
}

.language-switcher:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(32, 178, 170, 0.3);
    box-shadow: 0 12px 40px rgba(1, 56, 38, 0.15);
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--teal-primary);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.lang-btn:hover {
    background: rgba(32, 178, 170, 0.1);
    border-color: rgba(32, 178, 170, 0.2);
    color: var(--teal-primary);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: var(--teal-primary);
    border-color: var(--teal-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

.lang-btn.active:hover {
    background: var(--teal-bright);
    border-color: var(--teal-bright);
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-switcher {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   JOB POSITIONS STYLING
   ========================================================================== */

/* Job Positions Grid */
.job-positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 5rem;
}

/* Individual Job Cards */
.job-card {
    background: rgba(32, 178, 170, 0.1);
    border: 1px dashed rgba(32, 178, 170, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--teal-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.job-card:hover {
    transform: translateY(-8px);
    border-color: rgba(32, 178, 170, 0.4);
    box-shadow: var(--shadow-teal-glow);
}

.job-card:hover::before {
    opacity: 0.05;
}

/* Job Header */
.job-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(32, 178, 170, 0.2);
}


.job-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(45, 55, 72, 0.9);
    background: var(--teal-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.job-period {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(45, 55, 72, 0.7);
    background: rgba(32, 178, 170, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    border: 1px dashed rgba(32, 178, 170, 0.2);
}

/* Job Description */
.job-description {
    line-height: 1.7;
}

.job-description p {
    margin-bottom: 1.5rem;
}

.job-description p:last-child {
    margin-bottom: 0;
}

/* Featured Job Card */
.featured-job {
    grid-column: 1 / -1; /* Span full width */
}

.job-content-with-image {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.job-image-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(32, 178, 170, 0.05);
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(32, 178, 170, 0.2);
}

.job-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.5s ease;
    display: block;
}

.job-image-wrapper:hover .job-image {
    transform: scale(1.05);
}

.job-image-small {
    width: 120px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.5s ease;
    display: block;
    flex-shrink: 0;
}

.job-image-small:hover {
    transform: scale(1.05);
}

.job-text-content {
    flex: 1;
    min-width: 0;
}

/* Mobile Responsiveness for Job Cards */
@media (max-width: 768px) {
    .job-positions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .job-card {
        padding: 2rem;
    }
    
    .job-title {
        font-size: 1.4rem;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .job-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-period {
        align-self: flex-end;
    }
    
    /* Featured Job Mobile */
    .job-content-with-image {
        flex-direction: column;
        gap: 2rem;
    }
    
    .job-image-wrapper {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .job-text-content {
        text-align: left;
    }
}

/* ==========================================================================
   PROCESS SECTION STYLING
   ========================================================================== */

/* Process Steps Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: rgba(32, 178, 170, 0.05);
    border: 1px dashed rgba(32, 178, 170, 0.2);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.process-step:hover {
    background: rgba(32, 178, 170, 0.1);
    border-color: rgba(32, 178, 170, 0.3);
    transform: translateY(-5px);
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--teal-gradient);
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-teal);
    position: relative;
    z-index: 2;
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-teal-glow);
}

.process-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--teal-primary);
    margin-bottom: 1rem;
}

.process-description {
    color: rgba(45, 55, 72, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Process Arrow Connector */
.process-step::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teal-primary);
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.6;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

/* Mobile Process Steps */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step::after {
        content: '↓';
        right: 50%;
        transform: translateX(50%);
        bottom: -1.5rem;
        top: auto;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .process-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   WHY CHOOSE ME SECTION STYLING
   ========================================================================== */

/* Why Choose Me Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-choose-item {
    background: rgba(32, 178, 170, 0.05);
    border: 1px dashed rgba(32, 178, 170, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--teal-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.why-choose-item:hover {
    border-color: rgba(32, 178, 170, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--shadow-teal-glow);
}

.why-choose-item:hover::before {
    opacity: 0.05;
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--teal-gradient);
    color: #000;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-teal);
    transition: all 0.4s ease;
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-teal-glow);
}

.why-choose-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--teal-primary);
    margin-bottom: 1rem;
}

.why-choose-description {
    color: rgba(45, 55, 72, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Why Choose Me */
@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-choose-item {
        padding: 1.5rem;
    }
    
    .why-choose-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .why-choose-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   MODAL STYLES
   ========================================================================== */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.modal-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(32, 178, 170, 0.2);
    border-radius: 24px;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 800px;
    position: relative;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(32, 178, 170, 0.25);
}

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

/* Modal Header */
.modal-header {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}

.modal-close {
    width: 44px;
    height: 44px;
    background: rgba(32, 178, 170, 0.1);
    border: 1px solid rgba(32, 178, 170, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(32, 178, 170, 0.2);
    border-color: var(--teal-primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-teal);
}

/* Modal Content */
.modal-content {
    height: 100%;
    overflow-y: auto;
    padding: 3rem;
    padding-right: 4rem; /* Space for close button */
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(32, 178, 170, 0.1);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--teal-primary);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--teal-bright);
}

/* Modal Typography */
.modal-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, var(--teal-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--teal-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, var(--teal-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(45, 55, 72, 0.8);
    margin-bottom: 1.5rem;
}

.modal-text-small {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(45, 55, 72, 0.7);
    margin-bottom: 1rem;
}

/* Modal Sections */
.modal-section {
    margin-bottom: 3rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

/* Modal Image */
.modal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(32, 178, 170, 0.2);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.15);
    transition: all 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(32, 178, 170, 0.25);
}

/* Modal Features Grid */
.modal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(32, 178, 170, 0.1);
    border: 1px dashed rgba(32, 178, 170, 0.2);
    border-style: dashed;
    border-width: 1px;
    stroke-dasharray: 6px 6px;
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--teal-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-item:hover {

    border-color: rgba(32, 178, 170, 0.3);
}

.feature-item:hover::before {
    opacity: 0.05;
}

.feature-item h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(45, 55, 72, 0.9);
    background: var(--teal-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(45, 55, 72, 0.7);
}

/* Modal CTA */
.modal-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(32, 178, 170, 0.05);
    border-radius: 16px;
    border: 1px dashed rgba(32, 178, 170, 0.2);
}

.modal-button {
    display: inline-block;
    background: var(--teal-gradient);
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    border: none;
    cursor: pointer;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.4);
}

/* Modal Link in Card */
.modal-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--teal-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.modal-link:hover {
    color: var(--teal-bright);
    border-bottom-color: var(--teal-bright);
    transform: translateX(4px);
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-container {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        margin: 0;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        padding-right: 1.5rem;
        padding-top: 4rem; /* Space for close button */
    }
    
    .modal-header {
        top: 1rem;
        right: 1rem;
    }
    
    .modal-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-subtitle {
        font-size: 1.2rem;
    }
    
    .modal-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .modal-image {
        height: 150px;
    }
    
    .modal-section {
        margin-bottom: 2rem;
    }
}

/* Tablet Modal Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .modal-container {
        width: 95%;
        height: 95%;
    }
    
    .modal-content {
        padding: 2.5rem;
        padding-right: 3rem;
    }
    
    .modal-title {
        font-size: 2.2rem;
    }
}
