@import url('https://fonts.googleapis.com/css2?family=Bemio&display=swap');

:root {
    --theme-gold: #c69b00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #111111;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.bemio-font {
    font-family: 'Bemio', sans-serif;
    letter-spacing: 1.5px;
}

.highlight {
    color: #ffcd00;
}

.highlight-custom {
    color: var(--theme-gold);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
}

section {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 6%;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
}

.logo {
    font-family: 'Bemio', sans-serif;
    font-size: 1.5rem;
    color: #111;
    letter-spacing: 1px;
}

.logo span {
    color: var(--theme-gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--theme-gold);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--theme-gold) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(198, 155, 0, 0.3);
}

.btn-cta:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(198, 155, 0, 0.5);
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 6%;
    min-height: 85vh;
    background: radial-gradient(circle at center, #ebd15e 0%, #c49917 60%, #4a3804 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 550px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-pill {
    display: inline-block;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInScale 1s ease-out;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    color: #f0f0f0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.hero-stats-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.stat-box {
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 1.6rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-box p {
    font-size: 0.75rem;
    color: #e0e0e0;
}

.btn-primary {
    display: inline-block;
    background: #111;
    color: #ffdb4d;
    border: 1.5px solid #ffdb4d;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background: #ffdb4d;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Floating Card Wrapper Effect */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatSlow 5s ease-in-out infinite;
}

.floating-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 240, 150, 0.6);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.5);
}

.hero-real-img {
    width: 270px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s ease;
}

.floating-card:hover .hero-real-img {
    transform: scale(1.02);
}

/* About Section */
.about-section {
    padding: 80px 6%;
    background: #ffffff;
    color: #222;
}

.about-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.circular-frame {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid var(--theme-gold);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(198, 155, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.circular-frame:hover {
    transform: scale(1.06) rotate(3deg);
}

.about-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-real-img:hover {
    transform: scale(1.1);
}

.section-tag {
    color: var(--theme-gold);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.about-content-side h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #111;
}

.about-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.services-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.services-chips span {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    color: #333;
    padding: 7px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.services-chips span:hover {
    background: var(--theme-gold);
    color: #fff;
    border-color: var(--theme-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(198, 155, 0, 0.3);
}

/* Skills Section */
.skills-section {
    padding: 80px 6%;
    background: #f9f9f9;
}

.skills-header {
    text-align: center;
    margin-bottom: 45px;
}

.skills-header h2 {
    font-size: 2.4rem;
    margin-top: 5px;
    color: #111;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.skill-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--theme-gold);
    box-shadow: 0 15px 30px rgba(198, 155, 0, 0.15);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #222;
}

.progress-bar {
    width: 100%;
    height: 7px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffdb4d, var(--theme-gold));
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

/* Social Channels Section */
.social-channels {
    padding: 80px 6%;
    background: #ffffff;
    text-align: center;
}

.social-channels h3 {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: #111;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.social-card {
    background: #fcfcfc;
    border: 1px solid #e8e8e8;
    padding: 22px 15px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.social-card:hover {
    background: var(--theme-gold);
    border-color: var(--theme-gold);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(198, 155, 0, 0.35);
}

.social-card:hover .platform-name,
.social-card:hover .platform-stat {
    color: #fff;
}

.platform-name {
    font-family: 'Bemio', sans-serif;
    font-size: 1.2rem;
    color: #111;
    transition: color 0.3s ease;
}

.platform-stat {
    font-size: 0.75rem;
    color: #666;
    transition: color 0.3s ease;
}

/* Footer */
.footer {
    padding: 60px 6% 30px 6%;
    text-align: center;
    background: #f4f4f4;
    color: #222;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #111;
}

.footer p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-bottom-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--theme-gold), transparent);
    margin-bottom: 20px;
    border-radius: 2px;
}

.footer-bottom {
    font-size: 0.75rem;
    color: #777;
}

.people-shadow {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Why Choose Me Section Styling */
.why-choose-section {
    padding: 80px 6%;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1150px;
    margin: 0 auto;
}

.why-card {
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--theme-gold);
    box-shadow: 0 15px 35px rgba(198, 155, 0, 0.15);
    background: #ffffff;
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* Services Page Styling */
.services-page-section {
    padding: 120px 6% 80px 6%;
    background: #f9f9f9;
}

.section-desc {
    color: #666;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Page Styling */
.contact-page-section {
    padding: 120px 6% 80px 6%;
    background: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-box,
.contact-form-box {
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.contact-info-box h3,
.contact-form-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.contact-info-box p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 1.4rem;
    background: #fff8e6;
    padding: 10px 12px;
    border-radius: 12px;
}

.info-item h4 {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item a {
    font-size: 0.95rem;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #c69b00;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    background: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #c69b00;
    background: #fff;
}

.submit-btn {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 5px;
}

.submit-btn:hover {
    background: #c69b00;
    color: #111;
    transform: translateY(-2px);
}

/* Portfolio Page Styling */
.portfolio-page-section {
    padding: 120px 4% 80px 4%;
    background: #f9f9f9;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: #c69b00;
    box-shadow: 0 10px 25px rgba(198, 155, 0, 0.12);
}

.portfolio-img-box {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img-box img {
    transform: scale(1.03);
}

.portfolio-info {
    padding: 12px 15px;
}

.portfolio-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.portfolio-info p {
    font-size: 0.75rem;
    color: #c69b00;
    font-weight: 600;
}

/* --- MOBILE RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .circular-frame {
        margin: 0 auto;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 50px 5%;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats-row {
        justify-content: center;
    }

    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        gap: 15px;
    }
}

/* Tablet & Mobile View: Force 2 Cards Per Row */
@media (max-width: 900px) {

    .skills-grid,
    .why-grid,
    .social-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 25px 20px;
    }

    section,
    .about-section,
    .skills-section,
    .social-channels,
    .why-choose-section,
    .services-page-section,
    .contact-page-section,
    .portfolio-page-section {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

/* Extra Small Devices (Below 480px) */
@media (max-width: 480px) {
    .hero-real-img {
        width: 100%;
        max-width: 240px;
        height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .stat-box h3 {
        font-size: 1.3rem;
    }
}