:root {
    --blue: #2563eb;
    --dark-blue: #1d4ed8;
    --dark: #0f172a;
    --slate: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth; 
}

body { background-color: var(--white); color: var(--dark); overflow-x: hidden; }

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    text-decoration: none;
}

.icon-box {
    background: var(--blue);
    color: white;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links li a:hover { color: var(--blue); }

/* --- Mega Menu Dropdown --- */
.dropdown { position: relative; }

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 500px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mega-menu-grid a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px !important;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.mega-menu-grid a:hover { background: #eff6ff; color: var(--blue) !important; }



/* HAMBURGER */
/* HAMBURGER */

.hamburger{
    display:none;
    flex-direction:column;
    justify-content:center;
    cursor:pointer;
    width:30px;
    height:24px;
    position:relative;
}

.hamburger span{
    position:absolute;
    width:100%;
    height:3px;
    background:#1e293b;
    border-radius:5px;
    transition:0.35s ease;
}

/* 3 lines position */

.hamburger span:nth-child(1){
    top:0;
}

.hamburger span:nth-child(2){
    top:10px;
}

.hamburger span:nth-child(3){
    top:20px;
}

/* ACTIVE (X icon animation) */

.hamburger.active span:nth-child(1){
    transform:rotate(45deg);
    top:10px;
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg);
    top:10px;
}

/* MOBILE */
@media (max-width:900px){

.nav-links{
    position:absolute;
    top:70px;
    left:-100%;
    flex-direction:column;
    background:white;
    width:100%;
    padding:20px 0;
    gap:20px;
    transition:0.3s;
}

.nav-links.active{
    left:0;
}

.hamburger{
    display:flex;
}

.dropdown-content{
    position:static;
    min-width:100%;
    padding:10px;
    box-shadow:none;
    border:none;
    display:none;
}

.dropdown.open .dropdown-content{
    display:block;
}

.mega-menu-grid{
    grid-template-columns:1fr;
}

}
/* --- Hero --- */
.hero { 
    display: flex; align-items: center; padding: 6rem 8%; gap: 60px; 
    background: radial-gradient(circle at top right, #eff6ff, transparent);
    position: relative;
    overflow: hidden;
}
.hero-text { flex: 1.2; z-index: 2; }
.badge { background: #dbeafe; color: var(--blue); padding: 8px 16px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.hero-text h1 { font-size: 3.5rem; margin: 1.5rem 0; line-height: 1.1; font-weight: 800; }
.hero-text h1 span { color: var(--blue); }
.hero-text p { color: var(--slate); font-size: 1.1rem; margin-bottom: 2.5rem; line-height: 1.6; }

.hero-img { flex: 0.8; z-index: 2; }
.hero-img img { width: 100%; border-radius: 30px; box-shadow: var(--shadow); }

/* --- Stats --- */
.stats-bar { 
    background: var(--dark); color: white; display: flex; 
    justify-content: space-around; padding: 3rem 8%; margin: 0 4%;
    border-radius: 24px; text-align: center;
}
.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-item h2::after {
    content: '+';
    margin-left: 2px;
}

/* --- Services Grid --- */
.section-title { text-align: center; margin: 6rem 0 3rem; }
.section-title h1 { font-size: 2.5rem; font-weight: 800; }
.section-title p { color: var(--slate); margin-top: 10px; }

.services-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; padding: 0 8%; 
}
.service-card { 
    padding: 30px; border-radius: 24px; background:var(--light);
    border: 1px solid #f1f5f9; transition: all 0.4s ease;
    cursor: pointer;
}
.service-card:hover { 
    background-color: var(--blue);
    color: var(--light);
    border-color: var(--blue); transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(50,50,93,0.1);
}
.service-card .icon-circle {
    width: 60px; height: 60px; background: #eff6ff; color: var(--blue);
    border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 15px; font-weight: 700; color: var(--blue);}
.service-card:hover h3 { color: white; }
.service-card p { color: var(--slate); line-height: 1.6; margin-bottom: 20px; font-size: 0.95rem; }
.service-card:hover p { color: white; opacity: 0.9; }
.service-card a { text-decoration: none; color: var(--blue); font-weight: 700; font-size: 0.9rem; transition: 0.3s; }
.service-card:hover a { color: white; }

/* --- Buttons --- */
.btn-blue { background: var(--blue); color: white; border: none; padding: 16px 32px; border-radius: 12px; font-weight: 600; transition: 0.3s; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-blue:hover { background: var(--dark-blue); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }

.btn-white { background: white; color: var(--blue); padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-white:hover { background: #f8fafc; transform: translateY(-2px); }

.btn-outline-white { border: 1px solid white; color: white; padding: 12px 25px; border-radius: 8px; text-decoration: none; transition: 0.3s; }
.btn-outline-white:hover { background: white; color: var(--blue); }

.btn-primary { background: var(--blue); color: white; border: none; padding: 14px 28px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--dark-blue); transform: translateY(-2px); }

/* --- Footer Sections --- */
.footer-cta { 
    background: var(--blue); width: 84%; margin: 6rem auto -4rem; 
    padding: 4rem 2rem; border-radius: 30px; text-align: center; color: white;
    position: relative; z-index: 2;
}
.cta-btns { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }

.main-footer { background: var(--dark); color: white; padding: 10rem 8% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; }
.footer-col h4 { margin-bottom: 25px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; color: #94a3b8; transition: var(--transition); }
.footer-col ul li a { color: inherit; text-decoration: none; transition: var(--transition); }
.footer-col ul li:hover a { color: white; }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { color: white; font-size: 1.2rem; opacity: 0.7; transition: 0.3s; }
.social-links a:hover { opacity: 1; color: var(--blue); }

.copyright-bar { text-align: center; padding-top: 40px; margin-top: 40px; border-top: 1px solid #1e293b; color: #64748b; font-size: 0.9rem; }

/* --- Hamburger Menu --- */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--dark); transition: 0.3s; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .navbar { padding: 1rem 4%; }
    .nav-links {
        position: fixed; top: 70px; left: -100%; width: 100%; height: 100vh;
        background: white; flex-direction: column; padding: 40px; transition: 0.4s;
        z-index: 999;
    }
    .nav-links.active { left: 0; }
    .hamburger { display: flex; }
    
    .dropdown-content { position: static; min-width: 100%; opacity: 1; visibility: visible; display: none; box-shadow: none; padding: 10px 0; }
    .dropdown.active .dropdown-content { display: block; }
    .mega-menu-grid { grid-template-columns: 1fr; }

    .hero { flex-direction: column; text-align: center; padding: 4rem 5%; }
    .hero-text h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-direction: column; gap: 30px; }
}

/* --- Service Page Specific Sections --- */
/* ABOUT SECTION */

.about-section{
    padding:6rem 8%;
    display:flex;
    align-items:center;
    gap:70px;
    position:relative;
}

/* subtle background glow */
.about-section::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(37,99,235,0.08);
    filter:blur(120px);
    top:-80px;
    left:-120px;
    z-index:-1;
}

/* CONTENT */

.about-content{
    flex:1;
}

.about-content h2{
    font-size:2.4rem;
    font-weight:800;
    margin-bottom:20px;
}

.about-content p{
    color:var(--slate);
    line-height:1.8;
    font-size:1rem;
    margin-bottom:20px;
}

/* IMAGE */

.about-image{
    flex:1;
    position:relative;
}

.about-image img{
    width:100%;
    border-radius:26px;
    box-shadow:0 30px 60px rgba(0,0,0,0.08);
    transition:all 0.4s ease;
}

/* hover effect */

.about-image:hover img{
    transform:scale(1.04);
}

/* floating border effect */

.about-image::after{
    content:"";
    position:absolute;
    top:-15px;
    right:-15px;
    width:100%;
    height:100%;
    border:3px solid rgba(37,99,235,0.25);
    border-radius:26px;
    z-index:-1;
}

/* MOBILE */

@media (max-width:900px){

.about-section{
    flex-direction:column;
    text-align:center;
    gap:40px;
}

.about-content h2{
    font-size:2rem;
}

}

.tools-section { padding: 6rem 8%; background: var(--light); text-align: center; }
.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; }
.tool-item { background: white; padding: 15px 30px; border-radius: 12px; font-weight: 600; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

.workflow-section { padding: 6rem 8%; text-align: center; }
.workflow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.flow-card { background: var(--light); padding: 30px; border-radius: 20px; border-left: 5px solid var(--blue); text-align: left; }
.flow-card h3 { margin-bottom: 10px; color: var(--blue); }

/* --- Register Page --- */
.register-section { padding: 6rem 8%; display: flex; justify-content: center; background: radial-gradient(circle at bottom left, #eff6ff, transparent); }
.register-card { background: white; padding: 40px; width: 100%; max-width: 500px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.register-icon { width: 60px; height: 60px; background: #eff6ff; color: var(--blue); border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 20px; }
.register-card h2 { text-align: center; margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: 10px; font-family: inherit; }
.terms { font-size: 0.75rem; color: var(--slate); text-align: center; margin-top: 20px; }

/* --- Scroll Animations --- */
.hidden { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.show { opacity: 1; transform: translateY(0); }


/* SECTION TITLE */

h2{
text-align:center;
font-size:2.7rem;
margin-bottom:10px;
}

h2 span{
color:#2563eb;
}

.subtitle{
text-align:center;
color:#64748b;
margin-bottom:60px;
}


/* WORKFLOW */

/* --- Horizontal Corporate Workflow --- */
.workflow {
    padding: 6rem 8%;
    background: #ffffff;
    text-align: center;
    overflow-x: hidden;
}

.workflow-grid {
    display: flex;
    flex-direction: row; /* Horizontal Layout */
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
    perspective: 1000px;
}

.workflow-card {
    flex: 1; /* All cards start with equal width */
    display: block;
    flex-direction: column;
    align-items: flex-start;
    background: var(--blue);
    padding: 40px 30px;
    border-radius: 24px;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    min-height: 300px;
    text-align: left;
}

/* Number Styling */
.workflow-card .number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2); /* Faded look initially */
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

/* Heading Styling */
.workflow-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin: 0; /* Important: removes the bottom margin for alignment */
    transition: var(--transition);
}

/* Hidden Description State */
.workflow-card p {
    opacity: 0;
    transform: translateY(20px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.4s ease;
    margin-top: 20px;
}

/* --- Hover Interactive State --- */
.workflow-card:hover {
    flex: 2; /* The card grows wider on hover */
    background: var(--dark-blue);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    transform: translateY(-10px);
}

.workflow-card:hover .number {
    color: #ffffff;
    transform: scale(1.1);
}

/* Reveal Text on Hover */
.workflow-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .workflow-grid {
        flex-wrap: wrap; /* Wraps to next line on tablets */
    }
    .workflow-card {
        flex: 1 1 calc(50% - 20px); /* 2 per row */
    }
}

@media (max-width: 600px) {
    .workflow-grid {
        flex-direction: column; /* Stack vertically on small phones */
    }
    .workflow-card {
        width: 100%;
    }
}

/* TESTIMONIAL */

.testimonials{
padding:80px 8%;
}

.testimonial-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.testimonial-card{

background:white;
padding:30px;

border-radius:16px;

box-shadow:0 10px 30px rgba(0,0,0,0.08);

transition:0.3s;
}

.testimonial-card:hover{
transform:translateY(-6px);
}

.stars{
color:#fbbf24;
margin-bottom:20px;
}

.review{
font-style:italic;
color:#475569;
margin-bottom:20px;
line-height:1.6;
}

.testimonial-card h4{
margin-bottom:4px;
}

.testimonial-card span{
color:#64748b;
font-size:14px;
}


/* RESPONSIVE */

@media(max-width:1024px){

.workflow-grid,
.testimonial-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.workflow-grid,
.testimonial-grid{
grid-template-columns:1fr;
}

h2{
font-size:2rem;
}

}


/* --- Parallax Base & Hero Enhancements --- */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.workflow-card {
    /* ... keep your previous styles ... */
    animation: float 4s ease-in-out infinite;
    /* Stagger the animations so they don't move at the same time */
}

.workflow-card:nth-child(even) {
    animation-delay: 1s;
}

/* --- Scroll-Triggered Parallax Class --- */
/* You can apply this class to any element to make it 'pop' on scroll */
.parallax-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.parallax-item.revealed {
    opacity: 1;
    transform: translateY(0);
}