/* --- 1. GENERAL & ROOT STYLES --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --primary-text-color: #212529; 
    --secondary-text-color: #6c757d; 
    --background-color: #ffffff;
    --border-color: #eaeaea; 
    --accent-color: #10b981; 
    --accent-color-rgb: 16, 185, 129;
    --transition-speed: 0.3s;
}
body.dark-theme {
    --primary-text-color: #f8f9fa; 
    --secondary-text-color: #adb5bd;
    --background-color: #121212; 
    --border-color: #343a40;
}

html {
    scroll-behavior: smooth;
}

/* --- 2. CORE LAYOUT --- */
body {
    font-family: 'Poppins', sans-serif; 
    background-color: var(--background-color);
    color: var(--primary-text-color); 
    transition: background-color var(--transition-speed), color var(--transition-speed);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- 3. FIXED HEADER & NAVIGATION --- */
header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.3s;
}
body.dark-theme header { 
    background-color: rgba(18, 18, 18, 0.85); 
}
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 25px 5%; 
    border-bottom: 1px solid var(--border-color); 
}
/* Updated logo style */
.logo {
    margin-right: auto;
    display: flex;
    align-items: center;
    /* Remove font styles */
}

/* New rule for the logo image */
.logo img {
    max-height: 50px; /* Adjust this height to fit your design */
    width: auto;      /* Maintain aspect ratio */
}
.nav-menu { list-style: none; display: flex; align-items: center; gap: 40px; }
.nav-menu a { color: var(--primary-text-color); text-decoration: none; font-weight: 500; font-size: 15px; transition: color var(--transition-speed); }
.nav-menu a:hover { color: var(--accent-color); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: 40px;
}

/* --- 4. THEME SWITCH --- */
.theme-switch { width: 50px; height: 26px; background-color: #ccc; border-radius: 13px; cursor: pointer; position: relative; transition: background-color var(--transition-speed); }
.theme-switch-slider { width: 20px; height: 20px; background-color: white; border-radius: 50%; position: absolute; top: 3px; left: 3px; transition: transform var(--transition-speed) ease-in-out; }
body.dark-theme .theme-switch { background-color: var(--accent-color); }
body.dark-theme .theme-switch-slider { transform: translateX(24px); }


/* --- 5. PINNED SLIDE STYLES --- */
.slide-pin-container {
    height: 500vh;
    position: relative;
    width: 100%;
}
.slide-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
.fullscreen-slide {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    background-color: var(--background-color);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.95);
}
.fullscreen-slide.is-active {
    opacity: 1;
    z-index: 10;
    transform: scale(1);
}

/* --- 6. HERO SECTION & ONWARDS --- */
#hero { text-align: center; position: relative; }
#hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(var(--secondary-text-color) 1px, transparent 1px); opacity: 0.2; background-size: 20px 20px; z-index: -1; transition: opacity var(--transition-speed); }
body.dark-theme #hero::before { opacity: 0.1; }
#hero::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 560px; height: 560px; background: radial-gradient(ellipse at center, rgba(var(--accent-color-rgb), 0.25) 0%, rgba(var(--accent-color-rgb), 0) 70%); filter: blur(180px); z-index: -2; opacity: 1; transition: opacity 0.6s ease; }
#hero:not(.is-active)::after { opacity: 0; }

.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.subtitle { font-size: 1rem; color: var(--secondary-text-color); max-width: 450px; margin: 0 auto 40px auto; }
.cta-button { display: inline-block; background-color: var(--accent-color); color: #ffffff; padding: 14px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; margin-top: 10px; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(var(--accent-color-rgb), 0.3); }

.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-text-color);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 15;
}
.scroll-down-btn:hover {
    opacity: 1;
}
.scroll-down-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-text-color);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.service-slide-content { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 60px; width: 100%; max-width: 1100px; }
.service-number { display: block; font-size: 1rem; font-weight: 600; color: var(--accent-color); margin-bottom: 10px; }
.service-title { font-size: 3.5rem; font-weight: 700; margin-bottom: 25px; line-height: 1.2; }
.service-details-text p { font-size: 1.1rem; color: var(--secondary-text-color); line-height: 1.8; max-width: 550px; margin-bottom: 35px; }
.service-features { list-style: none; }
.service-features li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-size: 1rem; font-weight: 500; }
.service-features svg { width: 20px; height: 20px; color: var(--accent-color); fill: currentColor; flex-shrink: 0; }
.hero-content h1, .subtitle, .cta-button, .service-number, .service-title, .service-details-text p, .service-features li { opacity: 0; transform: translateY(30px); transition: opacity 0s, transform 0s; }
.fullscreen-slide.is-active .hero-content h1, .fullscreen-slide.is-active .subtitle, .fullscreen-slide.is-active .cta-button, .fullscreen-slide.is-active .service-number, .fullscreen-slide.is-active .service-title, .fullscreen-slide.is-active .service-details-text p, .fullscreen-slide.is-active .service-features li { opacity: 1; transform: translateY(0); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.fullscreen-slide.is-active .hero-content h1, .fullscreen-slide.is-active .service-title { transition-delay: 0.15s; }
.fullscreen-slide.is-active .subtitle, .fullscreen-slide.is-active .service-details-text p { transition-delay: 0.25s; }
.fullscreen-slide.is-active .cta-button, .fullscreen-slide.is-active .service-number { transition-delay: 0.35s; }
.fullscreen-slide.is-active .service-features li:nth-child(1) { transition-delay: 0.4s; }
.fullscreen-slide.is-active .service-features li:nth-child(2) { transition-delay: 0.5s; }
.fullscreen-slide.is-active .service-features li:nth-child(3) { transition-delay: 0.6s; }

.glyph { position: absolute; font-size: 2rem; font-weight: 700; color: var(--border-color); user-select: none; z-index: -1; animation: float 10s infinite ease-in-out; opacity: 0.6; transition: color var(--transition-speed), opacity var(--transition-speed); }
.g1 { top: 15%; left: 85%; animation-duration: 12s; }
.g2 { top: 80%; right: 80%; animation-duration: 8s; }
.g3 { top: 50%; left: 15%; animation-duration: 14s; }
.g4 { bottom: 10%; right: 15%; animation-duration: 10s; }
@keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-30px) rotate(15deg); } }

@keyframes slideInUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.slide-in-on-scroll { opacity: 0; }
.slide-in-on-scroll.is-visible { animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }

/* --- 10. NORMALLY SCROLLED SECTIONS --- */
.normal-section {
    padding: 100px 5% 60px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background-color: var(--background-color);
}

/* --- 11. INTERACTIVE PROCESS SECTION --- */
.process-section-container { width: 100%; }
.process-sticky-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; width: 100%; max-width: 1100px; }
.process-left-sticky { position: sticky; top: 120px; height: calc(100vh - 120px); display: flex; align-items: center; }
.sticky-content { width: 100%; }
.sticky-title { font-size: 3rem; font-weight: 700; margin-bottom: 40px; }
.progress-timeline { position: relative; padding-left: 40px; }
.progress-line { position: absolute; left: 10px; top: 10px; bottom: 10px; width: 2px; background-color: var(--border-color); transition: background-color 0.3s; }
.progress-step { font-size: 1.2rem; font-weight: 600; color: var(--secondary-text-color); margin: 40px 0; position: relative; transition: color 0.4s ease; }
.progress-step::before { content: ''; position: absolute; left: -35px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background-color: var(--border-color); transition: background-color 0.4s ease, transform 0.4s ease; }
.process-right-scroll { padding-top: 25vh; padding-bottom: 25vh; }
.process-step-content { min-height: 50vh; transition: opacity 0.5s ease, transform 0.5s ease; }
.process-step-content.is-visible { opacity: 1; transform: translateY(0); }
.process-step-content:not(.is-visible) { opacity: 0.2; transform: translateY(10px); }
.process-step-content .process-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.process-step-content .process-description { font-size: 1.1rem; color: var(--secondary-text-color); line-height: 1.8; max-width: 500px; }
.process-left-sticky[data-active-step="1"] .progress-step[data-step="1"], .process-left-sticky[data-active-step="2"] .progress-step[data-step="2"], .process-left-sticky[data-active-step="3"] .progress-step[data-step="3"], .process-left-sticky[data-active-step="4"] .progress-step[data-step="4"] { color: var(--accent-color); }
.process-left-sticky[data-active-step="1"] .progress-step[data-step="1"]::before, .process-left-sticky[data-active-step="2"] .progress-step[data-step="2"]::before, .process-left-sticky[data-active-step="3"] .progress-step[data-step="3"]::before, .process-left-sticky[data-active-step="4"] .progress-step[data-step="4"]::before { background-color: var(--accent-color); transform: translateY(-50%) scale(1.5); }


/* --- 12. STATS SECTION --- */
.stats-section {
    padding: 60px 5%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-text-color);
    margin-top: 5px;
}



/* --- 13. FAQ SECTION --- */
.faq-container { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 800px; }
.section-header { text-align: left; width: 100%; }
.faq-accordion { width: 100%; margin-top: 30px; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: none; padding: 10px 0; font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 500; color: var(--primary-text-color); text-align: left; cursor: pointer; }
.faq-icon { width: 24px; height: 24px; fill: var(--secondary-text-color); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); flex-shrink: 0; margin-left: 20px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-answer p { color: var(--secondary-text-color); line-height: 1.8; padding: 0; }
.faq-item.active .faq-answer { max-height: 300px; padding-top: 15px; }
.faq-item.active .faq-icon { transform: rotate(45deg); fill: var(--accent-color); }

/* --- 14. CONTACT SECTION --- */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: center; width: 100%; max-width: 1100px; }
.contact-info { text-align: left; }
.contact-title { font-size: 3rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.contact-subtitle { font-size: 1.1rem; color: var(--secondary-text-color); margin-bottom: 40px; }
.contact-detail-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-weight: 500; }
.contact-detail-item svg { width: 24px; height: 24px; fill: var(--accent-color); }
.contact-socials { display: flex; gap: 20px; margin-top: 40px; }
.contact-socials a { color: var(--secondary-text-color); transition: color 0.3s ease; }
.contact-socials a:hover { color: var(--accent-color); }
.contact-socials svg { width: 28px; height: 28px; fill: currentColor; }
.contact-form { width: 100%; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 15px; background-color: transparent; border: 1px solid var(--border-color); border-radius: 8px; color: var(--primary-text-color); font-family: 'Poppins', sans-serif; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.2); }

/* --- STYLES FOR FORM SUBMIT BUTTON --- */
.form-submit-btn {
    display: block;
    width: 100%;
    padding: 14px 28px;
    background-color: var(--accent-color);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(var(--accent-color-rgb), 0.3);
}

/* --- 15. FEATURED WORK SECTION --- */
.work-section-container { width: 100%; }
.slide-wrapper { width: 100%; max-width: 1100px; display: flex; flex-direction: column; align-items: center; }
.section-title { text-align: center; font-size: 3rem; font-weight: 600; margin-bottom: 40px; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; width: 100%; }
.showcase-card { border: 1px solid var(--border-color); border-radius: 15px; padding: 30px; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.showcase-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1); }
body.dark-theme .showcase-card { background-color: rgba(255, 255, 255, 0.03); }
body.dark-theme .showcase-card:hover { box-shadow: 0 15px 30px -10px rgba(0,0,0,0.2); }
.card-icon { color: var(--accent-color); margin-bottom: 20px; }
.card-icon svg { width: 32px; height: 32px; fill: currentColor; }
.card-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.card-description { color: var(--secondary-text-color); line-height: 1.7; flex-grow: 1; }
.card-link { margin-top: 20px; color: var(--primary-text-color); font-weight: 500; text-decoration: none; transition: color 0.3s ease; }
.card-link:hover { color: var(--accent-color); }
[data-anim="fade-in"] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--delay, 0s); }
.is-visible[data-anim="fade-in"] { opacity: 1; transform: translateY(0); }





/* --- 16. FOOTER --- */
footer { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 25px 5%; border-top: 1px solid var(--border-color); background-color: var(--background-color); transition: background-color var(--transition-speed); }
.footer-copyright { font-size: 0.9rem; color: var(--secondary-text-color); }
.footer-socials { display: flex; gap: 25px; }
.footer-socials a { color: var(--secondary-text-color); transition: color 0.3s ease; }
.footer-socials a:hover { color: var(--accent-color); }
.footer-socials svg { width: 20px; height: 20px; stroke-width: 2px; stroke: currentColor; }


/* --- 17. RESPONSIVE DESIGN --- */
.hamburger-menu { display: none; cursor: pointer; }
.hamburger-menu .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary-text-color); transition: all 0.3s ease-in-out; }

@media (max-width: 992px) {
    .showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { position: fixed; right: -100%; top: 81px; flex-direction: column; background-color: var(--background-color); width: 100%; height: calc(100vh - 81px); text-align: center; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding-top: 40px; gap: 0; align-items: center; }
    .nav-menu.active { right: 0; }
    .nav-menu li { margin: 20px 0; }
    .nav-menu a { font-size: 1.5rem; }

    .hamburger-menu { display: block; }
    .hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
    .hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-content h1 { font-size: 2.5rem; }
    .subtitle { font-size: 0.9rem; padding: 0 10px; }
    .service-slide-content { grid-template-columns: 1fr; text-align: left; }
    .service-visual { display: none; }
    .service-title { font-size: 2.5rem; }
    .service-features { display: inline-block; text-align: left; }
    
    .process-sticky-wrapper { grid-template-columns: 1fr; }
    .process-left-sticky { position: static; height: auto; padding-bottom: 20px; text-align: left; }
    .progress-timeline { display: none; }
    .process-right-scroll { padding: 0; }
    
    /* --- IMPROVED MOBILE PROCESS SECTION --- */
    .process-step-content { min-height: auto; border: 1px solid var(--border-color); border-radius: 15px; padding: 50px 25px 25px 25px; position: relative; overflow: hidden; text-align: left; margin-bottom: 25px; }
    .process-step-content::before { position: absolute; top: -10px; left: 10px; font-size: 4.5rem; font-weight: 700; color: var(--border-color); z-index: 0; transition: color 0.3s ease; }
    #step-1::before { content: '01'; }
    #step-2::before { content: '02'; }
    #step-3::before { content: '03'; }
    #step-4::before { content: '04'; }
    .process-step-content .process-title, .process-step-content .process-description { position: relative; z-index: 1; }
    
    .contact-container { grid-template-columns: 1fr; gap: 25px; text-align: left; }
    .contact-info { text-align: left; }
    .contact-detail-item, .contact-socials { justify-content: flex-start; }

    .contact-title { font-size: 2.5rem; }
    .section-title { font-size: 2.5rem; }
    footer { flex-direction: column; gap: 15px; padding: 20px 5%; }
    .footer-copyright { font-size: 0.8rem; order: 2; }
    .footer-socials { order: 1; }
    /* This is inside your @media (max-width: 768px) block */
    .stats-container { flex-direction: column; gap: 40px; }
    .stat-number { font-size: 3rem; }
}













/* --- FORM STATUS MESSAGE STYLES --- */
.form-status {
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
    min-height: 1.5em; /* Prevents layout shift */
}