@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

/* Heading Structure */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

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

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

.gradient-bg {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

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

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.category-card:hover {
    background-color: #AEA7A3 !important;
}

.job-card:hover {
    border-color: #795238;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: #795238;
    box-shadow: 0 0 0 2px rgba(121, 82, 56, 0.2);
}

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

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

/* ============================================
   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);
}

.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-color: #f5f5f5 !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;
}

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

/* Contact Form Styling */
#contactForm input,
#contactForm textarea {
    transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    box-shadow: 0 0 0 3px rgba(121, 82, 56, 0.1);
}

/* 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;
}


