/* */
/* --- FONTS: Cabinet Grotesk --- */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --primary-color: #F7012A; /* */
    --dark-text: #0f0f0f;
    --light-text: #555555;
    --font-heading: 'Cabinet Grotesk', sans-serif; /* UPDATED FONT */
    --font-body: 'DM Sans', sans-serif;
    --blob-1: rgba(247, 1, 42, 0.15);
    --blob-2: rgba(65, 105, 225, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    overflow-x: hidden;
    background-color: #fff;
}

/* Typography Updates */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800; /* ExtraBold as requested */
    color: var(--dark-text);
    letter-spacing: -0.5px;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }

/* --- UTILITIES --- */
.section-padding { padding: 100px 0; }

/* Blobs (Kept same as before) */
.blob-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -1; pointer-events: none;
}
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px); animation: floatBlob 10s infinite alternate;
}
.blob-1 { width: 500px; height: 500px; background: var(--blob-1); top: -10%; right: -10%; }
.blob-2 { width: 400px; height: 400px; background: var(--blob-2); bottom: 10%; left: -5%; animation-delay: 2s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.1); }
}

/* --- NAVIGATION --- */
.navbar {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
}
.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-text) !important;
    margin-left: 25px;
}

/* Buttons */
.btn-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    font-family: var(--font-heading);
}
.btn-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* --- HERO SECTION (UPDATED ALIGNMENT) --- */
.hero-section {
    padding: 180px 0 100px 0;
    position: relative;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
/* Mobile First Alignment handled in HTML classes, styles here for support */
@media (min-width: 992px) {
    .hero-title { font-size: 4.5rem; }
}

/* --- PROJECT CARDS (UPDATED) --- */
.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    cursor: pointer; /* Indicates clickability */
    position: relative;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.project-thumb {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover .project-thumb {
    transform: scale(1.05);
}
.project-overlay-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255,255,255,0.9);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    opacity: 0;
}
.project-card:hover .project-overlay-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* --- PROJECT MODAL & SLIDER (NEW) --- */
.modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
}
.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 30px;
}
.modal-body {
    padding: 0;
    background: #f4f4f4;
}
.carousel-caption-custom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Ensure images fit well in modal */
.carousel-item {
    text-align: center;
    background: #e9ecef;
    height: 500px; /* Fixed height for consistency */
}
.carousel-item img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain; /* Ensures mobile screenshot fits inside */
    display: inline-block !important;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100); /* Dark arrows */
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    background-size: 60%;
}

/* --- SERVICE CARDS --- */
.service-card {
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.icon-box { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 25px; }

/* --- MOBILE MENU (EXISTING) --- */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-links a {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800;
    color: var(--dark-text); text-decoration: none; margin: 10px 0; display: block;
}
/* */
/* --- LOGO SLIDER (Restored) --- */
.logo-slider-section {
    padding: 40px 0;
    background: #fafafa;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo-slider {
    white-space: nowrap;
    overflow: hidden;
}
.logo-track {
    display: inline-block;
    animation: slideLogos 40s linear infinite;
}
.client-logo {
    height: 35px;
    margin: 0 50px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: 0.3s;
}
.client-logo:hover { opacity: 1; filter: grayscale(0); }

@keyframes slideLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- NEW: PROCESS SECTION --- */
.process-step-card {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.process-step-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(247, 1, 42, 0.05); /* Subtle huge number */
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
}

/* --- NEW: TESTIMONIALS --- */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}
.user-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}
/* */
/* --- EXISTING STYLES REMAIN THE SAME --- */
/* (Keep all your previous variables, fonts, blobs, etc.) */

/* --- MOBILE MENU UPDATE --- */
.mobile-menu-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex; 
    flex-direction: column; 
    justify-content: center; /* Centers the links vertically */
    align-items: center;
    opacity: 0; 
    visibility: hidden; 
    transition: var(--transition);
}

.mobile-menu-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-nav-links a {
    font-family: var(--font-heading); 
    font-size: 2.5rem; 
    font-weight: 800;
    color: var(--dark-text); 
    text-decoration: none; 
    display: block;
    transition: 0.3s;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
}

/* FIXED BOTTOM CTA */
.mobile-menu-cta {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    padding: 0 30px;
    text-align: center;
}

/* LOGO SLIDER ANIMATION (Keep from previous step) */
.logo-slider-section {
    padding: 40px 0;
    background: #fafafa;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo-slider { white-space: nowrap; overflow: hidden; }
.logo-track { display: inline-block; animation: slideLogos 40s linear infinite; }
.client-logo { height: 35px; margin: 0 50px; opacity: 0.4; filter: grayscale(100%); transition: 0.3s; }
.client-logo:hover { opacity: 1; filter: grayscale(0); }

@keyframes slideLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}