@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors - Light Creative Theme */
    --color-bg: #ffffff;
    --color-bg-alt: #f0f4f8;
    /* Soft blue-grey for variation */
    --color-text-main: #555c6e;
    --color-text-header: #1a202c;

    /* Gradients & Accents */
    --color-accent-blue: #00c6ff;
    --color-accent-purple: #764ba2;
    --color-accent-pink: #ff4b1f;

    --gradient-primary: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --gradient-text-1: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    /* Cyan Blue */
    --gradient-text-2: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    /* Red Pink */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Shapes */
    --border-radius-card: 24px;
    --border-radius-btn: 50px;
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px -10px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --fz-xs: 14px;
    --fz-sm: 16px;
    --fz-md: 18px;
    --fz-lg: 20px;
    --fz-xl: 24px;
    --fz-xxl: 32px;
    --fz-heading: 48px;
    --fz-hero: clamp(48px, 6vw, 80px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(0, 198, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(118, 75, 162, 0.05) 0%, transparent 40%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

a:hover {
    color: var(--color-accent-blue);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-header);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

section {
    padding: var(--spacing-xl) 0;
    max-width: 1000px;
    margin: 0 auto;
    padding-inline: var(--spacing-md);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-gradient-blue {
    background: var(--gradient-text-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-pink {
    background: var(--gradient-text-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: clamp(32px, 5vw, 42px);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    justify-content: center;
}

.section-title::after {
    display: none;
    /* Removed the line */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    color: var(--color-text-header);
    font-size: var(--fz-xl);
    font-weight: 800;
}

.logo span {
    color: var(--color-accent-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--color-text-main);
    font-size: var(--fz-sm);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-text-header);
    transform: translateY(-2px);
    display: inline-block;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-btn);
    font-size: var(--fz-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(0, 198, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(0, 198, 255, 0.6);
    color: white;
}

.btn-outline {
    background: white;
    color: var(--color-text-header);
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    border-color: var(--color-text-header);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content .highlight {
    background: #e6fffa;
    color: #00bfa5;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: var(--fz-sm);
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.big-heading {
    font-size: var(--fz-hero);
    color: var(--color-text-header);
    margin: 0;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-desc {
    margin-top: 20px;
    max-width: 500px;
    font-size: var(--fz-lg);
    color: var(--color-text-main);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Hero Visual (Right Side) */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, rgba(0, 198, 255, 0.1) 100%);
    filter: blur(60px);
    z-index: -1;
    border-radius: 50%;
}

.photo-placeholder {
    width: 350px;
    height: 450px;
    background-color: transparent;
    /* Use generic placeholder or leave transparent for user provided img logic */
    border-radius: 20px;
    position: relative;
    /* Simulate the 'user photo' area */
    border: 2px dashed #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-weight: 500;
    overflow: hidden;
}

/* Floating Elements overlap the photo */
.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.float-1 {
    top: 50px;
    right: 20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 80px;
    left: -30px;
    animation-delay: 2s;
}

.stat-val {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-header);
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-main);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Hide visual on small screens for cleaner look or stack it */
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.about-text p {
    margin-bottom: 15px;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 0 10px;
    padding: 0;
    margin: 20px 0 0 0;
    overflow: hidden;
    list-style: none;
}

.skills-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
}

.skills-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.img-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.img-placeholder {
    width: 100%;
    padding-bottom: 100%;
    /* Square aspect ratio */
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
}

.img-placeholder::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: var(--border-radius);
    z-index: -1;
    transition: var(--transition);
}

.img-placeholder:hover {
    transform: translate(-5px, -5px);
}

.img-placeholder:hover::after {
    transform: translate(10px, 10px);
}

/* Case Studies Section */
.case-studies-section {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.case-studies-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 230, 255, 0.8) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -40px auto 60px;
    /* Pull closer to title */
    color: var(--color-text-main);
    font-size: var(--fz-md);
    line-height: 1.6;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.case-card {
    background: white;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    /* Softer, deeper shadow */
    transition: var(--transition);
    border: 1px solid white;
    position: relative;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.1);
}

.case-tags {
    margin-bottom: 25px;
    display: flex;
    gap: 12px;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    background: #f0f9ff;
    color: #0284c7;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #e0f2fe;
}

.case-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-text-header);
    letter-spacing: -0.5px;
}

.case-card p {
    font-size: 16px;
    margin-bottom: 40px;
    color: var(--color-text-main);
    line-height: 1.7;
}

.case-metrics {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric .val {
    font-size: 26px;
    font-weight: 800;
}

.metric .lbl {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .img-wrapper {
        margin: 0 auto;
        width: 70%;
    }
}

/* Toolkit Section */
.toolkit-section {
    padding: var(--spacing-xl) 0;
    background: radial-gradient(circle at 100% 0%, rgba(0, 198, 255, 0.03) 0%, transparent 50%);
}

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    /* Lighter base shadow */
    border: 1px solid #f8fafc;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tool-card:hover {
    border-color: rgba(0, 198, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -10px rgba(0, 198, 255, 0.15);
    /* Blue glow on hover */
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.icon-blue {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
}

.icon-pink {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.icon-purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #9333ea;
}

.tool-card h3 {
    font-size: var(--fz-lg);
    font-weight: 700;
    color: var(--color-text-header);
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Contact Section */
.contact-section-new {
    padding: var(--spacing-xl) 0;
    display: flex;
    justify-content: center;
    padding-bottom: 120px;
}

.contact-card {
    width: 100%;
    max-width: 1100px;
    background: white;
    border-radius: 50px;
    /* matched reference */
    padding: 100px 50px;
    text-align: center;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.contact-card .big-heading {
    margin-bottom: 20px;
    font-size: 48px;
}

.contact-desc {
    font-size: var(--fz-lg);
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--color-text-main);
}

.cta-btn {
    padding: 1.2rem 3rem;
    font-size: 18px;
    background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.3);
}

.cta-btn:hover {
    box-shadow: 0 20px 40px rgba(0, 114, 255, 0.5);
    transform: translateY(-5px);
}

.social-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    transition: var(--transition);
}

.social-icon:hover {
    border-color: var(--color-accent-blue);
    color: var(--color-accent-blue);
    background: #f0f9ff;
}

/* Decorative circles for contact card */
.circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    top: -50px;
    left: -50px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.1) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
}

/* Logo Interaction - "Funny/Creative" Wiggle */
.logo-interaction {
    position: relative;
    display: inline-block;
}

.logo-interaction img {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy transition */
    transform-origin: center bottom;
    /* Gentle float animation on load */
    animation: simpleFloat 3s ease-in-out infinite;
}

.logo-interaction:hover img {
    transform: rotate(-5deg) scale(1.15) translateY(-5px);
    animation-play-state: paused;
}

.logo-interaction::after {
    content: "Yep, that's me! 😎";
    position: absolute;
    top: -5px;
    left: 100%;
    transform: translateX(10px) scale(0);
    background: #1a202c;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    border-bottom-left-radius: 0;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    font-weight: 600;
}

.logo-interaction:hover::after {
    opacity: 1;
    transform: translateX(10px) scale(1);
}

@keyframes simpleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-3px) rotate(2deg);
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testi-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
}

.quote-icon-bg {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
}

.testi-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.avatar-pink {
    background: #fce7f3;
    color: #db2777;
}

.avatar-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.author-info h4 {
    font-size: 15px;
    color: var(--color-text-header);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 13px;
    color: #9ca3af;
}

/* Refined Toolkit - Matching 'Pillowy' Image Style */
.toolkit-section {
    background-color: #fcfdfe;
    /* Very subtle background distinction */
}

.tool-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    /* Ultra soft shadow */
    padding: 35px 30px;
    align-items: flex-start;
    /* Left align as per image */
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    /* Softer radius */
    margin-bottom: 20px;
    background: var(--bg-soft);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    /* Subtle inset border */
    font-size: 28px;
}

/* Specific colors for Toolkit Icons to match pastel vibe */
.icon-blue {
    background: #e0f2fe;
    color: #0284c7;
}

/* Blue pastel */
.icon-pink {
    background: #fee2e2;
    color: #dc2626;
}

/* Red/Pink pastel */
.icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

/* Purple pastel */

.tool-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Animations */
.hidden-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.show-section {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile / Responsiveness Refinements --- */
@media (max-width: 768px) {

    /* Adjust grid columns for smaller screens */
    .hero-container,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-container {
        padding-top: 40px;
    }

    /* Grids to single column or smaller 2-col */
    .case-studies-grid,
    .toolkit-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        /* Stack cards on mobile for better readability */
        padding: 0 10px;
        /* Adjust gutter */
    }

    .big-heading {
        font-size: clamp(36px, 8vw, 48px);
    }

    .hero-visual {
        display: none;
        /* Keep hiding visual on mobile as before, or stack if preferred */
    }

    .logo-interaction::after {
        display: none;
        /* Hide wave emoji on mobile to prevent overflow */
    }

    .navbar {
        padding: 0 15px;
        /* Ensure navbar has padding */
    }

    .nav-links {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 15px;
        justify-content: space-around;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        margin: 0;
    }

    .nav-links li {
        width: auto;
    }

    .nav-links a.btn {
        display: none;
        /* Hide CTA button in mobile bottom nav */
    }

    .contact-card {
        padding: 60px 20px;
        border-radius: 30px;
    }
}

/* Floating Socials */
.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-icon-float {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* bouncy */
    color: black;
    border: 1px solid #f1f5f9;
}

.social-icon-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.icon-whatsapp:hover {
    color: #25D366;
    /* WhatsApp Green */
    border-color: #25D366;
}

.icon-linkedin:hover {
    color: #0077b5;
    /* LinkedIn Blue */
    border-color: #0077b5;
}

.social-icon-float svg {
    width: 28px;
    height: 28px;
}