/* ===== AWARD-WINNING MODERN DESIGN ===== */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --dark: #0F172A;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-lg: 0 30px 90px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(99, 102, 241, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(15, 23, 42, 0);
    backdrop-filter: blur(0px);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.navbar-brand .logo-img {
    height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--light) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 20px !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link:hover::after {
    width: 30px;
}

/* ===== HERO SECTION ===== */
.banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(99,102,241,0.2) 30%);
    z-index: 2;
}

.banner .container {
    position: relative;
    z-index: 3;
}

.banner-caption {
    text-align: center;
    padding: 60px 0;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.banner-caption h1 {
    font-size: 80px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-caption h1 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cd-headline {
    font-size: 28px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 30px;
}

.cd-words-wrapper {
    display: inline-block;
    position: relative;
    text-align: left;
}

.cd-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
    color: var(--primary);
}

.hero-desc {
    font-size: 20px;
    color: rgba(248,250,252,0.8);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-modern.primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(99,102,241,0.3);
}

.btn-modern.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99,102,241,0.4);
    color: var(--white);
}

.btn-modern.secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-modern.secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .num {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stats .label {
    display: block;
    font-size: 14px;
    color: rgba(248,250,252,0.7);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.arrow a {
    color: var(--white);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.arrow a:hover {
    opacity: 1;
    color: var(--primary);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 120px 0;
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.about-badge i {
    font-size: 30px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-label.light {
    color: var(--white);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.section-title.light {
    color: var(--white);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 20px;
}

.skills-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.skills-pills span {
    padding: 10px 20px;
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skills-pills span:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    padding: 120px 0;
    background: var(--dark);
}

.section-header {
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
}

.section-subtitle.light {
    color: rgba(248,250,252,0.7);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.philosophy-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.philosophy-card:hover::before {
    opacity: 0.1;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 20px 60px rgba(99,102,241,0.2);
}

.card-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    line-height: 1;
}

.philosophy-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.philosophy-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.philosophy-card p {
    font-size: 15px;
    color: rgba(248,250,252,0.7);
    line-height: 1.7;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-modern {
    padding: 120px 0;
    background: var(--light);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.portfolio-filter ul {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 8px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.portfolio-filter li {
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.portfolio-filter li:hover,
.portfolio-filter li.sel-item {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.item-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .item-image img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99,102,241,0.95), rgba(236,72,153,0.95));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.portfolio-item:hover .item-overlay {
    opacity: 1;
}

.item-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .item-content {
    transform: translateY(0);
}

.item-cat {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.9;
}

.item-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.item-content p {
    font-size: 15px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.item-content a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.item-content a:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===== INSIGHTS SECTION ===== */
.insights-section {
    padding: 120px 0;
    background: var(--light);
}

.insights-carousel {
    margin: 60px 0;
}

.insight-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 15px;
    transition: all 0.4s ease;
}

.insight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.insight-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.insight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.insight-card:hover .insight-img img {
    transform: scale(1.1);
}

.insight-img .cat {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: var(--gradient);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
}

.insight-content {
    padding: 30px;
}

.insight-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
}

.insight-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.insight-content p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 20px;
}

.insight-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.insight-content a:hover {
    gap: 12px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 120px 0;
    background: var(--white);
}

.contact-desc {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-methods .method {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(99,102,241,0.05);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-methods .method:hover {
    background: rgba(99,102,241,0.1);
    transform: translateX(10px);
}

.method i {
    font-size: 24px;
    color: var(--primary);
}

.method div span:first-child {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.method div a,
.method div span:last-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
}

.contact-form {
    background: rgba(99,102,241,0.03);
    padding: 50px;
    border-radius: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form button {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer-modern {
    background: var(--dark);
    padding: 80px 0 40px;
    color: rgba(248,250,252,0.7);
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
}

.footer-modern h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-modern ul {
    list-style: none;
    padding: 0;
}

.footer-modern ul li {
    margin-bottom: 12px;
}

.footer-modern ul li a {
    color: rgba(248,250,252,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-modern ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}

.footer-bottom i {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
}

/* ===== BACK TO TOP ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
    transition: all 0.3s ease;
}

#back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .banner-caption h1 { font-size: 48px; }
    .section-title { font-size: 36px; }
    .philosophy-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 30px; }
    .contact-form { padding: 30px; }
}
