
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Cal+Sans&family=DM+Serif+Text:ital@0;1&family=Federo&family=Jost:ital,wght@0,100..900;1,100..900&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&family=Limelight&family=Oxygen:wght@300;400;700&family=Prata&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sail&display=swap');


/* ============================================
   NEW COLOR PALETTE
   ============================================ */
:root {
    --color-primary: #3A353F;      /* Dark charcoal - primary text, headers */
    --color-secondary: #505668;    /* Slate gray - secondary text, borders */
    --color-light: #F1ECE1;        /* Cream - backgrounds, light sections */
    --color-accent: #C05850;       /* Terracotta - CTAs, highlights */
    --color-accent-light: #E2AB7F; /* Peach - secondary accents, hover states */
}

body {
    font-family: "Cal Sans", sans-serif;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 20%, #E2AB7F, transparent 68%),
        radial-gradient(ellipse 70% 60% at 20% 80%, #E2AB7F, transparent 68%),
        radial-gradient(ellipse 60% 50% at 60% 65%, #F1ECE1, transparent 68%),
        radial-gradient(ellipse 65% 40% at 50% 60%, #C05850, transparent 68%),
        linear-gradient(180deg, #ffffff 0%, #C05850 100%);
}

/* Heading Structure */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #3A353F 10%, #C05850 40%, #505668 70%, #C05850 40%,#3A353F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    background: linear-gradient(135deg, #3A353F 10%, #C05850 40%, #505668 70%, #C05850 40%, #3A353F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Gradient text effect for headings */
.gradient-text,
.hero-title {
    background: linear-gradient(135deg, #3A353F 10%, #C05850 40%, #505668 70%, #C05850 40%, #3A353F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
}

.gradient-bg {
    background: radial-gradient(135deg, #3A353F 0%, #E2AB7F 50%, #F1ECE1 100%);
}

.gradient-primary {
    background: linear-gradient(135deg, #3A353F 0%, #505668 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, #C05850 0%, #E2AB7F 100%);
}

.gradient-soft {
    background: linear-gradient(135deg, #F1ECE1 0%, rgba(226, 171, 127, 0.3) 100%);
}

.gradient-soft-hamburger {
    background: linear-gradient(135deg, #F1ECE1 100%, rgba(226, 171, 127, 1) 100%);
}

.gradient-soft-product {
    background: linear-gradient(135deg, #F1ECE1 100%, rgba(226, 171, 127, 0.3) 1%);
}


/* Glass Morphism Effect */
.glass-effect-bg {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.glass-effect { 
    background: radial-gradient(circle at top left, rgba(241, 236, 225, 0.8) 0%, #e2ab7f99 50%, rgba(192, 88, 80, 0.5) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
}

.glass-dark {
    background: radial-gradient(circle at center, rgba(192, 88, 80, 0.9) 0%, rgba(226, 171, 127, 0.7) 60%, rgba(241, 236, 225, 0.5) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-card {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0%, rgba(241, 236, 225, 0.8) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Header scroll effect */
header {
    transition: all 0.3s ease;
    will-change: transform, background-color;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(241, 236, 225, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(58, 53, 63, 0.1);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(192, 88, 80, 0.2);
}

.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(192, 88, 80, 0.25);
    background: #F1ECE1;
}

.category-card {
    background: linear-gradient(135deg, rgba(241, 236, 225, 0.8) 0%, rgba(226, 171, 127, 0.3) 100%) !important;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    background: linear-gradient(135deg, #E2AB7F 0%, #C05850 100%) !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(192, 88, 80, 0.3);
}

.category-card:hover h3,
.category-card:hover p {
    color: white !important;
}

.category-card:hover .bg-white {
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.job-card:hover {
    border-color: #C05850;
    box-shadow: 0 10px 25px rgba(192, 88, 80, 0.15);
}

.search-input:focus {
    outline: none;
    border-color: #C05850;
    box-shadow: 0 0 0 3px rgba(192, 88, 80, 0.2);
}

.nav-link:hover {
    color: #C05850;
    border-bottom: 2px solid #C05850;
}
             
.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E2AB7F;
    margin: 0 4px;
}

.dot-active {
    background-color: #C05850;
}

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

/* Fade-in and slide-up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide-in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide-in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale-up animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating animation for CEO image */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Initial hidden state for scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ESSENTIAL FOR SMOOTH REPLAY */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Header fade-in from top */
header {
    animation: fadeIn 0.8s ease-out;
}

/* Hero section animations */
.hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-tech {
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-image {
    animation: slideInRight 1s ease-out 0.5s both, float 3s ease-in-out infinite 2s;
}

.hero-name-card {
    animation: fadeIn 1s ease-out 1.5s both;
}

/* Category cards stagger animation */
.category-card {
    background: linear-gradient(135deg, rgba(241, 236, 225, 0.8) 0%, rgba(226, 171, 127, 0.3) 100%) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card.animate-on-scroll.animated {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Project cards animation */
.project-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.animate-on-scroll.animated {
    animation: scaleUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Section headers animation */
section h2.animate-on-scroll.animated {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Section descriptions animation */
section p.animate-on-scroll.animated {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Footer columns animation */
footer > div > div.animate-on-scroll.animated {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed header */
}

/* ============================================
   CLIENT LOGOS RUNNING ANIMATION
   ============================================ */

/* Infinite scrolling animation for client logos */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-track {
    animation: scroll-logos 15s linear infinite;
    width: max-content;
}

/* Pause animation on hover for better UX */
.logo-track:hover {
    animation-play-state: paused;
}

/* Logo item hover effects */
.logo-item {
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.1);
}

/* Button hover pulse effect */
button:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(192, 88, 80, 0.3);
}

button:active {
    transform: translateY(0);
}

/* Contact Form Styling */
#contactForm input,
#contactForm textarea {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

#contactForm input:focus,
#contactForm textarea:focus {
    box-shadow: 0 0 0 3px rgba(192, 88, 80, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

/* Enquiries section card animation */
.bg-white.rounded-2xl.shadow-xl.animate-on-scroll.animated {
    animation: scaleUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}


