/* hiring_theme.css */
:root {
    --brand-blue: #387BFF;
    --brand-yellow: #FFC107;
    --brand-dark: #0f172a;
    --bg-light-blue: #F0F5FF;
    --text-main: #334155;
    --text-heading: #0f172a;
    --border-light: #e2e8f0;
    
    --font-sans: 'Poppins', sans-serif;
    --font-cursive: 'Caveat', cursive;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    margin-top: 0;
}

.cursive-accent {
    font-family: var(--font-cursive);
    color: var(--brand-yellow);
    font-size: 1.2em;
    font-weight: normal;
}

.text-blue { color: var(--brand-blue); }

/* Top Bar */
.top-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    font-size: 0.85rem;
    color: #64748b;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left span, .top-bar-right span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.top-bar-social a {
    color: #64748b;
    margin-left: 10px;
    text-decoration: none;
}

/* Header */
.main-header {
    background: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-cursive);
    font-size: 2.5rem;
    color: var(--text-heading);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}
.logo-icon { 
    color: var(--brand-yellow); 
    font-size: 1.5rem; 
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--text-heading);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--brand-blue); }

/* Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-yellow {
    background: var(--brand-yellow);
    color: var(--text-heading);
}
.btn-yellow:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}
.btn-blue {
    background: var(--brand-blue);
    color: #fff;
}
.btn-blue:hover {
    background: #2365eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 123, 255, 0.2);
}
.btn-outline {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--text-heading);
}
.btn-outline i {
    width: 30px; height: 30px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Hero Section */
.hero {
    background: var(--bg-light-blue);
    padding: 0 0 80px 0;
    overflow: hidden;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hero-content {
    flex: 1;
    max-width: 550px;
}
.hero-tag {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}
.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
}
.hero p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-light-blue) 100%);
    z-index: 4;
    pointer-events: none;
}
.blob-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: var(--brand-yellow);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}
.hero-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}
@keyframes floatBadge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.badge-float {
    position: absolute;
    background: #fff;
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 5;
    text-align: center;
    transition: transform 0.3s;
    animation: floatBadge 4s ease-in-out infinite;
}
.badge-float:hover {
    transform: translateY(-5px) scale(1.05);
    animation-play-state: paused;
}
.badge-1 { top: 35%; left: -25%; animation-delay: 0.2s; }
.badge-2 { bottom: 15%; left: -15%; animation-delay: 1.5s; }
.badge-3 { top: 10%; right: 40%; animation-delay: 0.8s; }
.badge-4 { top: 15%; right: -5%; animation-delay: 2.1s; }
.badge-5 { top: 45%; right: -15%; animation-delay: 1.1s; }
.badge-6 { bottom: 25%; right: -5%; animation-delay: 2.5s; }
.badge-float h4 { font-size: 1.8rem; margin: 0; color: var(--text-heading); }
.badge-float p { font-size: 0.8rem; margin: 0; color: #64748b; }
.badge-icon {
    position: absolute;
    top: -10px; right: -10px;
    background: var(--brand-blue);
    color: #fff;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Section Common */
.section-pad { padding: 80px 0; }
.section-bg-light { background: #f8fafc; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* Cards */
.ui-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}
.ui-card:hover { transform: translateY(-5px); }

/* Work / Case Studies */
.work-intro h2 { font-size: 2.5rem; margin-bottom: 20px; }
.work-card { padding: 15px; }
.work-img {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 220px;
    background: #f1f5f9;
    position: relative;
}
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-info h4 { margin: 0 0 5px; font-size: 1.2rem; }
.work-info p { margin: 0; color: #64748b; font-size: 0.9rem; }
.work-btn {
    position: absolute;
    bottom: 15px; right: 15px;
    width: 40px; height: 40px;
    background: var(--brand-yellow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none;
}

/* Skills/Stats/Experience */
.skill-card {
    text-align: center;
}
.skill-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

/* Contact CTA Banner */
.cta-banner {
    background: var(--brand-blue);
    border-radius: 30px;
    margin: 80px 0;
    padding: 60px;
    position: relative;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}
.cta-banner-bg {
    position: absolute; right: -50px; bottom: -50px; opacity: 0.1;
    font-size: 20rem; pointer-events: none;
}
.cta-card {
    background: var(--brand-yellow);
    color: var(--text-heading);
    padding: 30px;
    border-radius: 20px;
    width: 300px;
    position: relative;
    z-index: 2;
    transform: rotate(-3deg);
}
.cta-card h3 { font-family: var(--font-cursive); font-size: 2.5rem; margin:0; line-height:1.2; }
.cta-content {
    flex: 1;
    margin-left: 60px;
    z-index: 2;
}
.cta-content h2 { color: #fff; font-size: 2.5rem; margin-bottom: 10px; }
.cta-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.cta-form input {
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    flex: 1;
    outline: none;
}

/* Footer */
.main-footer {
    background: var(--brand-dark);
    color: #94a3b8;
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    color: #fff;
    font-family: var(--font-cursive);
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}
.footer-logo i { color: var(--brand-yellow); }
.main-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--brand-yellow); }
.footer-contact li { margin-bottom: 15px; display: flex; gap: 10px; }
.footer-contact i { color: var(--brand-yellow); margin-top: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Creative Gallery */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.gallery-tab {
    background: transparent;
    border: 2px solid var(--border-light);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.gallery-tab.active, .gallery-tab:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: #f1f5f9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
    padding: 30px 20px 15px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h4 { color: #fff; margin: 0 0 5px; font-size: 1.1rem; }
.gallery-overlay p { margin: 0; font-size: 0.85rem; color: #cbd5e1; }
.gallery-icon {
    position: absolute;
    top: 15px; right: 15px;
    width: 35px; height: 35px;
    background: #fff;
    color: var(--brand-blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .cta-banner { flex-direction: column; padding: 40px 20px; text-align: center; }
    .cta-card { transform: none; margin-bottom: 30px; }
    .cta-content { margin-left: 0; }
    .cta-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
}

/* Custom Mobile Optimizations */
@media (max-width: 768px) {
    /* Hero Adjustments */
    .hero {
        position: relative;
        overflow: hidden;
        text-align: left !important;
        padding: 40px 0 150px 0 !important;
    }
    .hero-container {
        text-align: left !important;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .hero-actions .btn-primary, .hero-actions .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
        max-width: 220px;
    }
    .hero-visual {
        display: none !important;
    }
    
    /* Mobile Hero Yellow Circle & Badge */
    .hero::after {
        content: '';
        position: absolute;
        right: -80px;
        bottom: 0;
        width: 250px;
        height: 350px;
        background: var(--brand-yellow);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        z-index: 1;
        animation: morph 8s ease-in-out infinite;
    }
    .mobile-hero-badge {
        display: block !important;
        position: absolute;
        bottom: 20px;
        right: 10px;
        background: #fff;
        border-radius: 15px;
        padding: 15px 20px;
        z-index: 2;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }
    .mobile-hero-badge .heart {
        position: absolute;
        top: -10px;
        right: -10px;
        background: #3b82f6;
        color: white;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        font-size: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
    }
    .mobile-hero-badge h4 { font-size: 1.8rem; margin: 0; color: #000; font-weight: 800; line-height: 1; }
    .mobile-hero-badge p { font-size: 0.75rem; color: #64748b; margin: 0; line-height: 1.2; margin-top: 5px; }

    /* Skills Grid Mobile */
    .skills-mobile-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        padding-top: 10px !important;
    }
    .skill-card {
        padding: 20px 15px !important;
    }
    .skill-card.full-width {
        grid-column: span 2 !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        text-align: left !important;
        align-items: flex-start;
    }
    .skill-card.full-width .skill-icon {
        margin-bottom: 0 !important;
        margin-right: 15px;
        display: inline-flex !important;
    }
    .skill-card.full-width .skill-icon > div {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    .skill-card.full-width > h3 {
        flex: 1;
        margin-top: 5px;
        margin-bottom: 5px !important;
        font-size: 1.05rem !important;
    }
    .skill-card.full-width .skill-desc {
        width: 100%;
        padding-left: 65px;
        margin-bottom: 5px;
    }
    .skill-card.full-width .skill-desc p {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }
    .skill-card.full-width .skill-btn-wrapper {
        width: 100%;
        margin-top: 10px !important;
    }
    
    .skill-card.half-width {
        grid-column: span 1 !important;
        padding: 15px 10px !important;
    }
    .skill-card.half-width .skill-icon { margin-bottom: 10px !important; }
    .skill-card.half-width .skill-icon > div {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
    .skill-card.half-width h3 {
        font-size: 0.85rem !important;
        margin-bottom: 5px !important;
        line-height: 1.3 !important;
    }
    .skill-card.half-width p {
        font-size: 0.75rem !important;
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
    }
    .skill-card.half-width .btn-pill {
        font-size: 0.8rem;
        padding: 8px 0 !important;
    }
    
    /* Popular badge positioning adjustment */
    .skill-card.full-width .popular-badge {
        left: 20px !important;
        transform: none !important;
        top: -12px !important;
    }
}

@media (max-width: 768px) {
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
}
