/* ====================== */
/* === GLOBAL STYLES === */
/* ====================== */
:root {
    --primary-color: #3f51b5;
    --secondary-color: #ff4081;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --gray-color: #757575;
    --white-color: #ffffff;
    --black-color: #000000;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section {
    padding: 80px 0;
}

/* ====================== */
/* === UTILITY CLASSES === */
/* ====================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #303f9f;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* ====================== */
/* === CARD COMPONENTS === */
/* ====================== */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    background-color: var(--white-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ====================== */
/* === BADGE STYLES === */
/* ====================== */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.badge i {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* ====================== */
/* === Wave Background === */
/* ====================== */
.wave-background {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ====================== */
/* === NAVIGATION === */
/* ====================== */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Container adjustment */
.navbar > .container-md {
    max-width: 1200px; /* Sesuaikan dengan section lain */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.navbar-brand {
    font-size: 1.8rem;
    padding: 0;
    margin: 0 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    position: relative;
    margin: 0 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Avatar Image Styles */
.avatar-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.nav-item:hover .avatar-img {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(63, 81, 181, 0.3);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    order: -1;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .navbar > .container-md {
        max-width: 960px;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand {
        position: static;
        transform: none;
        margin: 0 auto;
        order: 0;
    }
    
    .navbar-collapse {
        order: 1;
        margin-top: 1rem;
        width: 100%;
    }
    
    .nav-link {
        margin: 0.25rem 0;
        padding: 0.5rem 0;
    }
    
    .nav-link::after {
        left: 0;
        right: 0;
    }
    
    .avatar-img {
        width: 32px;
        height: 32px;
        margin-left: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .navbar > .container-md {
        max-width: 720px;
    }
}

@media (max-width: 575.98px) {
    .navbar > .container-md {
        max-width: 540px;
    }
    
    .avatar-img {
        width: 28px;
        height: 28px;
    }
}

/* ====================== */
/* === HERO SECTION === */
/* ====================== */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background-color: transparent;
}

.hero-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title span {
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(63, 81, 181, 0.3);
    z-index: -1;
    border-radius: 5px;
}

.hero-image-container {
    position: relative;
    text-align: center;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 400px;
}

.hero-image {
    border: 10px solid var(--white-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

.experience-badge,
.projects-badge {
    position: absolute;
    background: var(--white-color);
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.experience-badge {
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
}

.projects-badge {
    bottom: 20px;
    left: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: calc(100vh - 70px);
        padding: 80px 0 40px;
    }

    .hero-card {
        padding: 25px;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }
}

/* ====================== */
/* === ABOUT SECTION === */
/* ====================== */
.about-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.about-bio p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 0;
}

.about-info {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 1.5rem;
    min-width: 30px;
    color: var(--primary-color);
}

.info-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.info-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    white-space: nowrap;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--gray-color);
    margin: 0;
}

.skills-section {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.skills-section h3 {
    color: var(--dark-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.skills-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.skill-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    margin-bottom: 20px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--light-color);
}

.progress-bar {
    transition: width 1.5s ease-out;
    will-change: width;
}

/* ====================== */
/* === EXPERIENCE SECTION === */
/* ====================== */
.experience-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 100px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--white-color);
    z-index: 1;
}

.timeline-date {
    position: absolute;
    left: -100px;
    top: 5px;
    width: 80px;
    text-align: right;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.timeline-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.timeline-header h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.company {
    display: inline-block;
    margin-right: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.timeline-body p {
    color: var(--gray-color);
    margin-bottom: 15px;
    line-height: 1.7;
}

.skills-used {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-color);
    color: var(--dark-color);
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 991.98px) {
    .experience-card {
        padding: 30px;
    }

    .experience-timeline {
        padding-left: 80px;
    }

    .timeline-item::before {
        left: -50px;
    }

    .timeline-date {
        left: -80px;
        width: 70px;
    }
}

@media (max-width: 767.98px) {
    .experience-card {
        padding: 20px;
    }

    .experience-timeline {
        padding-left: 0;
    }

    .experience-timeline::before,
    .timeline-item::before {
        display: none;
    }

    .timeline-date {
        position: static;
        text-align: left;
        width: auto;
        margin-bottom: 10px;
        color: var(--primary-color);
        font-weight: 500;
    }
}

@media (max-width: 575.98px) {
    .skills-used {
        gap: 6px;
    }

    .skill-badge {
        padding: 3px 10px;
        font-size: 0.75rem;
    }

    .timeline-header {
        flex-wrap: wrap;
    }

    .company {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
}

/* ====================== */
/* === SERVICES SECTION === */
/* ====================== */
.services-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 100%;
}

.service-features {
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.service-features p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--gray-color);
}

.service-features i {
    margin-right: 10px;
    color: var(--primary-color);
}

.pricing-section {
    margin-top: 60px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(63, 81, 181, 0.2);
}

.pricing-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.pricing-header h4 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--gray-color);
}

.pricing-features i {
    margin-right: 10px;
    font-size: 1rem;
}

.testimonials-section {
    margin-top: 60px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-item {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

.testimonial-content {
    position: relative;
    padding: 0 20px;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--gray-color);
    line-height: 1.8;
}

.testimonial-content i {
    font-size: 1.5rem;
    opacity: 0.3;
    position: absolute;
}

.testimonial-content i:first-child {
    top: -10px;
    left: 0;
}

.testimonial-content i:last-child {
    bottom: -20px;
    right: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--light-color);
}

.testimonial-author h5 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

.clients-section {
    margin-top: 60px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.client-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin: 15px;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 991.98px) {
    .services-card {
        padding: 30px;
    }

    .pricing-section,
    .testimonials-section,
    .clients-section {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {

    .services-card,
    .pricing-section,
    .testimonials-section,
    .clients-section {
        padding: 20px;
    }

    .service-card {
        margin-bottom: 20px;
    }
}

/* ====================== */
/* === PORTFOLIO SECTION === */
/* ====================== */
.portfolio-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.portfolio-filter .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.portfolio-filter .btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(63, 81, 181, 0.9);
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s ease;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.portfolio-view-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--white-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.portfolio-view-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.gslide-image img {
    max-height: 80vh;
    border-radius: 8px;
}

.gslide-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.gslide-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.glightbox-desc {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 15px;
}

.glightbox-desc p {
    margin-bottom: 8px;
}

@media (max-width: 991.98px) {
    .portfolio-card {
        padding: 30px;
    }

    .portfolio-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .glightbox-container {
        padding: 0 15px;
    }

    .gslide-image img {
        max-height: 60vh;
    }
}

@media (max-width: 767.98px) {
    .portfolio-card {
        padding: 20px;
    }

    .portfolio-filter {
        gap: 8px;
    }

    .portfolio-filter .btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 575.98px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-overlay {
        padding: 20px;
    }

    .portfolio-overlay h3 {
        font-size: 1.3rem;
    }

    .portfolio-view-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 20px;
        right: 20px;
    }
}

/* ====================== */
/* === BLOG SECTION === */
/* ====================== */
.blog-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.blog-search .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.blog-search .form-control {
    border: none;
    padding: 12px 20px;
    background: var(--white-color);
}

.blog-search .btn {
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
}

.blog-post {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .blog-thumbnail img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1.2;
}

.blog-date .date-day {
    font-size: 1.1rem;
}

.blog-date .date-month {
    font-size: 0.65rem;
    text-transform: uppercase;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.blog-meta i {
    margin-right: 5px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.blog-excerpt {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.blog-widget {
    background: var(--white-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.widget-list {
    list-style: none;
    padding: 0;
}

.widget-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.widget-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-list a {
    color: var(--gray-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.widget-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-color);
    color: var(--gray-color);
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: white;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-item:hover {
    color: var(--primary-color);
}

.recent-post-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post-item h5 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.recent-post-item span {
    font-size: 0.8rem;
}

.blog-pagination .page-item .page-link {
    color: var(--gray-color);
    border: none;
    margin: 0 5px;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
}

.blog-pagination .page-item:not(.active) .page-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .blog-card {
        padding: 30px;
    }

    .blog-thumbnail {
        height: 150px;
    }
}

@media (max-width: 767.98px) {
    .blog-card {
        padding: 20px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-widget {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .blog-thumbnail {
        height: 180px;
    }

    .blog-meta {
        font-size: 0.8rem;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .tag-cloud a {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    .recent-post-item {
        gap: 10px;
    }

    .recent-post-item img {
        width: 50px;
        height: 50px;
    }

    .recent-post-item h5 {
        font-size: 0.9rem;
    }
}

/* ====================== */
/* === CONTACT SECTION === */
/* ====================== */
.contact-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--white-color);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.2);
}

.contact-info {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.info-item {
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: var(--light-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h5 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.social-links h5 {
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.social-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 991.98px) {
    .contact-card {
        padding: 30px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .contact-card {
        padding: 20px;
    }

    .contact-info {
        margin-top: 30px;
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .contact-form .row>div {
        width: 100%;
    }

    .info-item {
        padding: 10px;
    }
}

/* ====================== */
/* === FOOTER STYLES === */
/* ====================== */
.footer {
    position: relative;
    padding: 80px 0 0;
    background-color: transparent;
}

.footer-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-brand {
    color: var(--dark-color);
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-brand:hover {
    color: var(--primary-color);
}

.footer-brand i {
    font-size: 1.8rem;
}

.footer-text {
    color: var(--gray-color);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.8rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
}

.footer-contact a {
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact i {
    font-size: 1.2rem;
    min-width: 20px;
}

.subscribe-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.subscribe-form .form-control {
    border: none;
    padding: 12px 20px;
    background: var(--light-color);
}

.subscribe-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
}

.footer-bottom {
    padding-top: 20px;
}

.copyright-text {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.footer-bottom-links a {
    color: var(--gray-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .footer-card {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .footer {
        padding: 60px 0 0;
    }

    .footer-card {
        padding: 20px;
    }

    .footer-heading {
        font-size: 1.1rem;
    }

    .footer-links li,
    .footer-contact li {
        margin-bottom: 8px;
    }
}

@media (max-width: 575.98px) {
    .footer-bottom-links {
        gap: 10px;
    }

    .footer-bottom-links a {
        font-size: 0.8rem;
    }

    .subscribe-form .form-control {
        padding: 10px 15px;
    }
}

/* ====================== */
/* === POPUP STYLES === */
/* ====================== */
.white-popup-block {
    background: white;
    padding: 30px;
    max-width: 500px;
    margin: 40px auto;
    position: relative;
    border-radius: 10px;
}

/* ====================== */
/* === RESPONSIVE STYLES === */
/* ====================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white-color);
        padding: 20px;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-item {
        margin: 5px 0;
    }

    .nav-link {
        padding: 10px 15px;
        border-radius: 4px;
    }

    .nav-link:hover {
        background-color: var(--light-color);
    }

    .hero-image-wrapper {
        max-width: 300px;
        margin-top: 50px;
    }

    .about-card,
    .services-card {
        padding: 30px;
    }

    .skills-section {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        text-align: center;
    }

    .hero-card,
    .about-card,
    .services-card,
    .portfolio-card,
    .contact-card {
        padding: 20px;
    }

    .about-content {
        text-align: left;
    }

    .badge-container {
        justify-content: flex-start;
    }

    .info-item {
        justify-content: flex-start;
        text-align: left;
    }

    .skills-section h3 {
        text-align: left;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .hero-buttons .btn-secondary {
        margin-left: 0;
    }

    .social-icons {
        justify-content: center;
    }

    .experience-badge,
    .projects-badge {
        transform: scale(0.8);
    }

    .service-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}