/* ============================================
   BRAND COLORS
   ============================================ */
:root {
    --navy: #1B2A4A;
    --teal: #2D9B8E;
    --cream: #FFF8F0;
    --gold: #D4AF37;
    --gold-light: #E0C874;
    --white: #FFFFFF;
    --gray-light: #D0D8E0;
    --gray-muted: #8A9AAA;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 48px rgba(212, 175, 55, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--navy);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 1001;
    transition: width 0.1s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ============================================
   GLOW TRAIL
   ============================================ */
.glow-trail {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    opacity: 0;
}

.glow-trail.active {
    opacity: 1;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    opacity: 0;
}

.custom-cursor.active {
    opacity: 1;
}

.custom-cursor.hover {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.08);
}

/* ============================================
   GEOMETRIC SHAPES
   ============================================ */
.geometric-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geometric-shapes .shape {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatShape 20s infinite alternate ease-in-out;
}

.geometric-shapes .shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-duration: 25s;
}
.geometric-shapes .shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: -2%;
    animation-duration: 18s;
    border-radius: 0;
    transform: rotate(45deg);
}
.geometric-shapes .shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 5%;
    animation-duration: 22s;
}
.geometric-shapes .shape:nth-child(4) {
    width: 400px;
    height: 400px;
    bottom: 0;
    left: 20%;
    animation-duration: 30s;
    border-color: rgba(212, 175, 55, 0.04);
}
.geometric-shapes .shape:nth-child(5) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 40%;
    animation-duration: 15s;
    border-radius: 0;
    transform: rotate(30deg);
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    100% {
        transform: translate(30px, -30px) scale(1.1) rotate(10deg);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 95%;
    z-index: 1000;
    background: rgba(27, 42, 74, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 60px;
    padding: 10px 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(27, 42, 74, 0.95);
    border-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    top: 16px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    text-decoration: none;
    flex-shrink: 0;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 0.8rem;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.7rem;
    transition: var(--transition);
    letter-spacing: 0.04em;
    position: relative;
    padding: 4px 6px;
    border-radius: 40px;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: var(--transition);
    border-radius: 2px;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
}

/* ============================================
   HERO — Navy → Teal gradient + Gold glow
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #1B2A4A 0%, #2D9B8E 100%);
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -40%;
    left: -20%;
    width: 80%;
    height: 180%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: flex;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-reverse {
    flex-direction: row-reverse;
}

/* ---- LEFT: Content ---- */
.hero-content-right {
    flex: 1 1 50%;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    padding: 6px 18px;
    border-radius: 40px;
    border: 1.5px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hero-title span {
    color: var(--gold);
}

.typewriter-wrapper {
    display: inline-block;
    position: relative;
}

#typewriterText {
    color: var(--gold-light);
    font-weight: 600;
}

.cursor-blink {
    display: inline-block;
    color: var(--gold);
    font-weight: 300;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-trust-badges span {
    background: rgba(255, 255, 255, 0.04);
    padding: 5px 16px;
    border-radius: 40px;
    font-size: 0.7rem;
    color: var(--gray-light);
    border: 1.5px solid rgba(255, 255, 255, 0.06);
}

.hero-trust-badges span i {
    color: var(--gold);
    margin-right: 6px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---- RIGHT: Image Frame (FIXED RESPONSIVE) ---- */
.hero-image-right {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

.hero-image-new-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    padding: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    animation: frameRotate 8s linear infinite;
    flex-shrink: 0;
}

@keyframes frameRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-image-new-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: var(--navy);
}

.hero-image-new-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.hero-image-new-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 40%, transparent 40%, rgba(27, 42, 74, 0.2));
    pointer-events: none;
}

.hero-image-new-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.15);
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.hero-image-new-dots {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.03), transparent 70%);
    pointer-events: none;
}

.hero-image-new-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 6px 20px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    border: 2px solid var(--navy);
    z-index: 2;
}

/* ---- STATS BAR ---- */
.hero-stats-bar {
    display: flex;
    gap: 20px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 60px;
    border: 1.5px solid rgba(212, 175, 55, 0.1);
    width: 100%;
    max-width: 380px;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-stats-bar .stat-item {
    text-align: center;
    flex: 1;
}

.hero-stats-bar .stat-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}

.hero-stats-bar .stat-item span:not(.counter) {
    font-size: 0.55rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-top: 1px;
}

.hero-stats-bar .stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    height: 30px;
    align-self: center;
}

/* ============================================
   PARTICLES
   ============================================ */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: floatParticle var(--duration) linear infinite;
    animation-delay: var(--delay);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: var(--opacity);
    }

    90% {
        opacity: var(--opacity);
    }

    100% {
        transform: translateY(-10vh) translateX(var(--drift)) scale(1);
        opacity: 0;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1ebe5c;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ===== DOWNLOAD CV BUTTON ===== */
.btn-download {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-download:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   3D TILT
   ============================================ */
.tilt-card {
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    will-change: transform;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg)) translateY(-4px);
}

/* ============================================
   SECTION COMMON
   ============================================ */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.15;
}

.section-title span {
    color: var(--gold);
}

.section-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 16px;
    border-radius: 40px;
    margin-bottom: 8px;
    border: 1.5px solid rgba(212, 175, 55, 0.15);
}

.section-sub {
    font-size: 1rem;
    color: var(--gray-muted);
    font-weight: 400;
    max-width: 500px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream);
    padding: 80px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text-side p {
    color: var(--gray-muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
    line-height: 1.8;
}

.about-highlights-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-card {
    background: white;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(27, 42, 74, 0.04);
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 40px rgba(27, 42, 74, 0.08);
}

.highlight-card i {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 4px;
    display: block;
}

.highlight-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--gray-muted);
}

/* ============================================
   TOOLS (20 Cards)
   ============================================ */
.tools-section {
    background: var(--navy);
    padding: 60px 0 70px;
}

.tools-section .section-title {
    color: var(--white);
}

.tools-section .section-tag {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.15);
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.tool-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.85rem;
}

.tool-card:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.tool-card i {
    font-size: 1.2rem;
    color: var(--gold);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--navy);
    padding: 80px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 48px;
}

.services-header .section-title {
    color: var(--white);
}

.services-header .section-sub {
    color: var(--gray-light);
    margin: 0 auto;
}

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-new {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-new:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}

.service-new-icon {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.service-new h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.service-new p {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.5;
}

.service-new-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.15);
}

/* ============================================
   EXPERIENCE
   ============================================ */
.experience {
    background: var(--cream);
    padding: 80px 0;
}

.experience-header {
    margin-bottom: 40px;
}

.experience-grid-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exp-new {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.exp-new-marker {
    width: 14px;
    height: 14px;
    min-width: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 3px var(--gold);
    margin-top: 18px;
}

.exp-new-content {
    flex: 1;
    background: white;
    padding: 24px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(27, 42, 74, 0.04);
    transition: var(--transition);
}

.exp-new-content:hover {
    box-shadow: 0 12px 40px rgba(27, 42, 74, 0.08);
    transform: translateX(6px);
}

.exp-new-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-bottom: 4px;
}

.exp-new-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}

.exp-new-company {
    font-size: 0.85rem;
    color: var(--gray-muted);
}

.exp-new-date {
    font-size: 0.7rem;
    color: var(--gray-muted);
    margin-left: auto;
}

.exp-new-content p {
    font-size: 0.85rem;
    color: var(--gray-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.exp-new-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.exp-new-skills span {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 2px 14px;
    border-radius: 40px;
    font-size: 0.6rem;
    font-weight: 600;
}

/* ============================================
   WORK (Case Studies)
   ============================================ */
.work {
    background: var(--navy);
    padding: 80px 0;
}

.work-header {
    text-align: center;
    margin-bottom: 40px;
}

.work-header .section-title {
    color: var(--white);
}

.work-header .section-sub {
    color: var(--gray-light);
    margin: 0 auto;
}

.work-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-new {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.work-new:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}

.work-new-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 8px;
    display: block;
}

.work-new h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.work-new p {
    font-size: 0.75rem;
    color: var(--gray-light);
    line-height: 1.4;
    margin-bottom: 8px;
}

.work-new-cta {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
    display: inline-block;
}

.work-new:hover .work-new-cta {
    transform: translateX(4px);
}

/* ============================================
   CASE STUDY MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--cream);
    border: 1px solid rgba(212, 175, 55, 0.15);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 44px;
    position: relative;
    border-radius: 20px;
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--gray-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 4px 8px;
}

.modal-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.modal-content .modal-subtitle {
    color: var(--gray-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.modal-content .modal-section {
    margin-bottom: 16px;
}

.modal-content .modal-section h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.modal-content .modal-section p {
    color: var(--gray-muted);
    font-weight: 400;
    line-height: 1.7;
    font-size: 0.9rem;
}

.modal-content .modal-result {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 8px;
}

.modal-content .modal-result p {
    color: var(--navy);
    font-weight: 400;
    margin: 0;
    font-size: 0.9rem;
}

.modal-content .modal-result strong {
    color: var(--gold);
}

.modal-content .modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.modal-content .modal-tags span {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 500;
}

/* ============================================
   WORK SAMPLES (Auto-scrolling Image Carousel)
   ============================================ */
.work-samples {
    background: var(--cream);
    padding: 80px 0;
}

.work-samples .section-sub {
    margin-bottom: 32px;
}

.work-samples-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.work-samples-track {
    display: flex;
    gap: 24px;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.work-sample-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

.work-sample-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
    aspect-ratio: 16/10;
}

.work-sample-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.work-sample-image:hover img {
    transform: scale(1.05);
}

.work-sample-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 42, 74, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
}

.work-sample-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.work-sample-overlay p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ============================================
   TESTIMONIALS (10 Testimonials - Continuous Auto Carousel)
   ============================================ */
.testimonials {
    background: var(--cream);
    padding: 80px 0;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-carousel-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
}

.testimonial-carousel-content {
    background: white;
    padding: 32px 28px;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(27, 42, 74, 0.04);
    border-top: 4px solid var(--gold);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-carousel-quote {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    line-height: 0.8;
    margin-bottom: 8px;
    opacity: 0.3;
}

.testimonial-carousel-content p {
    font-size: 1rem;
    color: var(--gray-muted);
    font-style: italic;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.testimonial-carousel-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-carousel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-carousel-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--navy);
}

.testimonial-carousel-author span {
    font-size: 0.75rem;
    color: var(--gray-muted);
}

.testimonial-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.testimonial-carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.testimonial-carousel-dots .dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 8px;
}

/* ============================================
   BOOKING
   ============================================ */
.booking {
    background: var(--navy);
    padding: 80px 0;
}

.booking-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.booking-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.booking-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.booking-content h2 span {
    color: var(--gold);
}

.booking-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 20px;
}

.booking-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    align-items: center;
}

.booking-details a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.booking-details a i {
    color: var(--gold);
    width: 20px;
}

.booking-details a:hover {
    color: var(--white);
}

.booking-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--cream);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-left p {
    color: var(--gray-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 400px;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(27, 42, 74, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: var(--transition);
    text-decoration: none;
}

.contact-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.contact-right form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(27, 42, 74, 0.06);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: white;
    transition: var(--transition);
    outline: none;
    color: var(--navy);
}

.contact-right input:focus,
.contact-right textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.06);
}

.contact-right textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 28px 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

footer p {
    color: var(--gray-muted);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

footer .footer-tagline {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
    margin-top: 2px;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column !important;
        text-align: center;
    }

    .hero-content-right {
        order: 1;
    }

    .hero-image-right {
        order: 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-highlights-cards {
        align-items: center;
    }

    .highlight-card {
        width: 100%;
        max-width: 500px;
        text-align: left;
    }

    .services-grid-new {
        grid-template-columns: 1fr 1fr;
    }

    .work-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-sample-item {
        flex: 0 0 calc(50% - 12px);
    }

    .testimonial-carousel-item {
        flex: 0 0 calc(50% - 15px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-left p {
        margin: 0 auto 20px;
    }

    .contact-social {
        justify-content: center;
    }

    .glow-trail {
        display: none;
    }

    .custom-cursor {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 12px;
        padding: 8px 16px;
        border-radius: 40px;
        width: calc(100% - 20px);
        background: rgba(27, 42, 74, 0.6);
        max-width: 100%;
    }

    .navbar.scrolled {
        background: rgba(27, 42, 74, 0.92);
        top: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        padding: 16px 0 8px;
        border-top: 1.5px solid rgba(212, 175, 55, 0.15);
        margin-top: 10px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 4px 8px;
        white-space: normal;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
    }

    /* FIXED: Hero image responsive */
    .hero-image-new-frame {
        max-width: 280px;
    }

    .hero-stats-bar {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 16px;
    }

    .hero-stats-bar .stat-item strong {
        font-size: 0.9rem;
    }

    .hero-stats-bar .stat-item span:not(.counter) {
        font-size: 0.4rem;
    }

    .hero-stats-bar .stat-divider {
        height: 25px;
    }

    .tools-grid {
        gap: 10px;
    }

    .tool-card {
        padding: 10px 14px;
        font-size: 0.75rem;
    }

    .tool-card i {
        font-size: 1rem;
    }

    .services-grid-new {
        grid-template-columns: 1fr;
    }

    .work-grid-new {
        grid-template-columns: 1fr 1fr;
    }

    .work-sample-item {
        flex: 0 0 calc(100% - 0px);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonial-carousel-item {
        flex: 0 0 100%;
    }

    .exp-new-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .exp-new-date {
        margin-left: 0;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .particles-container {
        display: none;
    }

    .glow-trail {
        display: none;
    }

    .custom-cursor {
        display: none;
    }

    .noise-overlay {
        opacity: 0.02;
    }

    .contact-right input,
    .contact-right textarea {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* FIXED: Even smaller screens */
    .hero-image-new-frame {
        max-width: 220px;
    }

    .hero-stats-bar {
        gap: 8px;
        padding: 8px 12px;
    }

    .hero-stats-bar .stat-item strong {
        font-size: 0.8rem;
    }

    .hero-stats-bar .stat-item span:not(.counter) {
        font-size: 0.35rem;
    }

    .hero-stats-bar .stat-divider {
        height: 20px;
    }

    .tools-grid {
        gap: 8px;
    }

    .tool-card {
        padding: 8px 12px;
        font-size: 0.7rem;
        gap: 6px;
    }

    .tool-card i {
        font-size: 0.9rem;
    }

    .work-grid-new {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .particles-container {
        display: none;
    }

    .glow-trail {
        display: none;
    }

    .custom-cursor {
        display: none;
    }

    .noise-overlay {
        opacity: 0.01;
    }

    .contact-right input,
    .contact-right textarea {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

/* Add this at the very end of your CSS file */
.hero-image-right {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-image-new-frame {
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-image-new-frame {
        max-width: 260px !important;
    }
}

@media (max-width: 480px) {
    .hero-image-new-frame {
        max-width: 200px !important;
        padding: 6px !important;
    }
    .hero-image-new-badge {
        font-size: 0.5rem !important;
        padding: 3px 10px !important;
        bottom: 5px !important;
    }
}
