/* ==========================================================================
   CSS Variables & Global Styles
   ========================================================================== */

:root {
    --primary: #0a0a0a;
    --secondary: #f5f5f5;
    --accent: #dc2626;
    --accent-light: #fecaca;
    --gray-light: #f9fafb;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* ==========================================================================
   Animation Styles
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--primary) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.75rem;
    position: relative;
    color: rgba(0, 0, 0, 0.7) !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: -1;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.badge {
    background-color: var(--gray-light);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.badge i {
    color: var(--accent);
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 0.875rem 2.25rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 0.875rem 2.25rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Profile Image Styles
   ========================================================================== */

.profile-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.profile-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* ==========================================================================
   Common Section & Card Styles
   ========================================================================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.card-modern {
    background-color: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 1.75rem;
    transition: var(--transition);
}

.card-icon:hover {
    transform: scale(1.1);
    background-color: var(--accent);
    color: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   About Section Styles
   ========================================================================== */

#about {
    background-color: white;
}

.expertise-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.expertise-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(254, 202, 202, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    transition: var(--transition);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent), #e53e3e);
    color: white;
}

.expertise-badge {
    background: rgba(220, 38, 38, 0.08);
    color: var(--accent);
    border-radius: 20px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.expertise-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.expertise-description {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expertise-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.expertise-details .detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
}

.expertise-details .detail-item i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tech-tag {
    background-color: var(--gray-light);
    border-radius: 12px;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.expertise-platforms {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.platform-icon:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-minimal {
    background: transparent;
    border: 2px solid var(--accent);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    width: 100%;
}

.btn-minimal:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.1);
}

.btn-minimal i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-minimal:hover i {
    transform: translateX(3px);
}

/* ==========================================================================
   Software Engineering Section Styles
   ========================================================================== */

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tech-badge {
    background-color: var(--gray-light);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tech-badge:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    transform: translateY(-2px);
}

.specialty-item {
    padding: 1rem;
    background-color: var(--gray-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.specialty-item:hover {
    background-color: rgba(220, 38, 38, 0.05);
    transform: translateX(5px);
}

.specialty-item .text-accent {
    color: var(--accent) !important;
}

.quick-facts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-facts li:last-child {
    border-bottom: none;
}

/* GitHub CTA Styles */
.github-cta {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid rgba(220, 38, 38, 0.1);
}

.github-icon-wrapper {
    animation: float 3s ease-in-out infinite;
}

.github-header .lead {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.highlight-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.project-preview {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.github-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #333333 100%);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.github-btn:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #e53e3e 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.3);
}

.github-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.github-btn:hover::after {
    left: 100%;
}

/* ==========================================================================
   Contact Section Styles
   ========================================================================== */

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}

.contact-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(254, 202, 202, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.75rem;
}

.contact-badge {
    background: rgba(220, 38, 38, 0.08);
    color: var(--accent);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.contact-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card-description {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.collab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.collab-tag {
    background-color: rgba(220, 38, 38, 0.08);
    color: var(--accent);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.coaching-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.coaching-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background-color: rgba(249, 250, 251, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.coaching-feature i {
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.contact-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-contact {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-contact:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}

.btn-coaching {
    background-color: var(--accent);
}

.btn-coaching:hover {
    background-color: #b91c1c;
}

.contact-note {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.social-contact-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.social-info {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    height: 100%;
}

.social-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.social-stat i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.social-link-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
}

.social-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-link-card a {
    text-decoration: none;
    color: inherit;
}

.social-link-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.social-link-card:hover i {
    transform: scale(1.1);
}

.social-link-card.linkedin { border-color: rgba(0, 119, 181, 0.2); }
.social-link-card.linkedin i { color: #0077b5; }
.social-link-card.linkedin:hover { background-color: rgba(0, 119, 181, 0.05); }

.social-link-card.twitter { border-color: rgba(29, 161, 242, 0.2); }
.social-link-card.twitter i { color: #1da1f2; }
.social-link-card.twitter:hover { background-color: rgba(29, 161, 242, 0.05); }

.social-link-card.instagram { border-color: rgba(225, 48, 108, 0.2); }
.social-link-card.instagram i { color: #e1306c; }
.social-link-card.instagram:hover { background-color: rgba(225, 48, 108, 0.05); }

.social-link-card.github { border-color: rgba(51, 51, 51, 0.2); }
.social-link-card.github i { color: #333; }
.social-link-card.github:hover { background-color: rgba(51, 51, 51, 0.05); }

.social-link-card.youtube { border-color: rgba(255, 0, 0, 0.2); }
.social-link-card.youtube i { color: #ff0000; }
.social-link-card.youtube:hover { background-color: rgba(255, 0, 0, 0.05); }

.social-link-card.envelope { border-color: rgba(220, 38, 38, 0.2); }
.social-link-card.envelope i { color: var(--accent); }
.social-link-card.envelope:hover { background-color: rgba(220, 38, 38, 0.05); }

/* ==========================================================================
   Collaborations Section Styles
   ========================================================================== */

#collaborations {
    background-color: var(--gray-light);
}

.collab-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.collab-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(220, 38, 38, 0.1);
}

.collab-feature-card:hover::before {
    opacity: 1;
}

.collab-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(254, 202, 202, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.collab-feature-card:hover .collab-feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent), #e53e3e);
    color: white;
}

.collab-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.collab-feature-description {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.collab-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.7);
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.example-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.example-tag {
    background-color: rgba(220, 38, 38, 0.08);
    color: var(--accent);
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.collab-platforms {
    margin-bottom: 1.5rem;
}

.platform-icons {
    display: flex;
    gap: 1rem;
}

.platform-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.platform-icon:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.collab-stats {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.collab-stats .stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.collab-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Coaching Section - Minimalist Gallery Design
   ========================================================================== */

.section-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin-top: 1rem;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.gallery-header {
    padding: 1.5rem 1.5rem 0;
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.08);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gallery-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.certificate-frame {
    padding: 1.5rem;
}

.certificate-container {
    position: relative;
    width: 100%;
    padding-top: 141.4%;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.certificate-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 4px;
}

.certificate-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.certificate-container:hover .certificate-hover {
    opacity: 1;
}

.certificate-container:hover .certificate-image {
    transform: scale(1.02);
}

.hover-content {
    text-align: center;
    color: white;
}

.hover-content i {
    display: block;
    margin-bottom: 0.5rem;
}

.ebook-frame {
    padding: 1.5rem;
}

.ebook-container {
    position: relative;
    width: 100%;
    padding-top: 155%;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ebook-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 4px;
}

.ebook-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ebook-container:hover .ebook-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.gallery-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

.certification-details,
.ebook-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
}

.detail i {
    color: var(--accent);
    font-size: 0.9rem;
}

.btn-buy {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.service-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-description {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.stats-minimal {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-minimal {
    text-align: center;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.btn-cta:hover {
    background: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
    color: white;
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

.cta-note {
    margin-top: 0.75rem;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

footer {
    background-color: var(--primary);
    color: white;
    padding-bottom: 2rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Screens (1200px and below) */
@media (max-width: 1200px) {
    .hero {
        text-align: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero::before {
        background: none;
    }

    .profile-image {
        max-width: 400px;
        margin-top: 3rem;
    }

    footer {
        text-align: center;
    }

    .profile-container {
        margin-bottom: 3rem;
    }

    section {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 4rem;
    }

    .badge-container {
        font-size: 0.875rem;
        padding: 0.375rem 1rem;
        justify-content: center;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
    }
}

/* Medium Screens (992px and below) */
@media (max-width: 992px) {
    .expertise-card {
        padding: 2rem 1.5rem;
    }

    .expertise-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .expertise-title {
        font-size: 1.35rem;
    }

    .expertise-description {
        font-size: 0.9rem;
    }

    .expertise-details .detail-item {
        font-size: 0.85rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .platform-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .btn-minimal {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    #home .col-lg-6:first-child {
        order: 2;
    }

    #home .col-lg-6:last-child {
        order: 1;
    }

    .col-lg-5, .col-lg-7 {
        width: 100%;
        margin-bottom: 2rem;
    }

    .github-cta {
        padding: 3rem !important;
    }

    .highlight-number {
        font-size: 2.5rem;
    }

    .contact-card {
        margin-bottom: 2rem;
    }

    .contact-divider {
        margin: 3rem 0;
    }

    .coaching-card,
    .certificate-card {
        margin-bottom: 2rem;
    }

    .coaching-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificate-image-container {
        height: 220px;
    }

    #coaching .section-title {
        text-align: center !important;
    }

    .collab-feature-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .collab-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .collab-feature-title {
        font-size: 1.35rem;
    }

    .collab-feature-description {
        font-size: 0.95rem;
    }

    .detail-item {
        font-size: 0.9rem;
    }

    .example-tag {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    .platform-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .collab-stats .stat-number {
        font-size: 1.75rem;
    }

    .cta-card {
        padding: 1.5rem !important;
    }
}

/* Small Screens (768px and below) */
@media (max-width: 768px) {
    .expertise-card {
        padding: 1.75rem 1.5rem;
    }

    .expertise-header {
        margin-bottom: 1.25rem;
    }

    .expertise-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .expertise-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .expertise-title {
        font-size: 1.25rem;
    }

    .expertise-description {
        font-size: 0.9rem;
    }

    .expertise-details .detail-item {
        font-size: 0.85rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .platform-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .btn-minimal {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .expertise-card {
        margin-bottom: 1.5rem;
    }

    .expertise-card:last-child {
        margin-bottom: 0;
    }

    .profile-image {
        max-width: 350px;
        transform: none !important;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    footer {
        text-align: center;
    }

    .project-stats .row {
        justify-content: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .tech-stack {
        justify-content: center;
    }

    .github-cta {
        padding: 2rem !important;
    }

    .github-header .lead {
        font-size: 1.1rem;
    }

    .highlight-number {
        font-size: 2rem;
    }

    .github-btn {
        width: 100%;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .collab-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .stat-item .stat-number {
        font-size: 1.75rem;
    }

    .coaching-stats {
        padding: 1.5rem;
    }

    .coaching-cta {
        text-align: center;
    }

    .coaching-cta .btn {
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }

    .coaching-card {
        padding: 2rem;
    }

    .coaching-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .audience-tags {
        gap: 0.5rem;
    }

    .audience-tag {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }

    .certificate-image-container {
        height: 200px;
    }

    .certificate-header,
    .certificate-details,
    .testimonial-content {
        padding: 1.25rem;
    }

    .collab-feature-card {
        padding: 1.75rem;
    }

    .collab-feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .detail-item {
        font-size: 0.9rem;
    }

    .example-tags {
        justify-content: center;
    }

    .platform-icons {
        justify-content: center;
    }

    .cta-card .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .social-contact-card .row {
        flex-direction: column;
    }

    .social-info {
        padding: 2rem !important;
    }

    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem !important;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .contact-badge {
        align-self: flex-start;
    }

    .contact-card-title {
        font-size: 1.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .collab-tags {
        gap: 0.5rem;
    }

    .collab-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .coaching-feature {
        padding: 0.5rem;
    }

    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-link-card {
        min-height: 120px;
    }
}

/* Extra Small Screens (576px and below) */
@media (max-width: 576px) {
    .expertise-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-card {
        padding: 1.75rem;
    }

    .contact-card-title {
        font-size: 1.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .collab-tags {
        gap: 0.5rem;
    }

    .collab-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .coaching-feature {
        padding: 0.5rem;
    }

    .social-links-grid {
        grid-template-columns: 1fr;
    }

    .social-link-card {
        min-height: 120px;
    }

    .contact-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-card:last-child {
        margin-bottom: 0;
    }

    .contact-card-header {
        margin-bottom: 1.25rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .contact-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .btn-contact {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .social-stats {
        gap: 0.75rem;
    }

    .social-stat {
        padding: 0.5rem;
    }

    .social-stat i {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .collab-feature-card {
        padding: 1.5rem;
    }

    .collab-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .collab-feature-title {
        font-size: 1.25rem;
    }

    .collab-feature-description {
        font-size: 0.9rem;
    }

    .detail-item {
        font-size: 0.85rem;
    }

    .example-tags {
        justify-content: center;
    }

    .platform-icons {
        justify-content: center;
    }

    .cta-card .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .certificate-container,
    .ebook-container {
        padding-top: 120%;
    }

    .gallery-item {
        margin-bottom: 2rem;
    }

    .stats-minimal {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .gallery-header {
        padding: 1.25rem 1.25rem 0;
    }

    .certificate-frame,
    .ebook-frame {
        padding: 1rem;
    }

    .gallery-footer {
        padding: 0 1.25rem 1.25rem;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .stats-minimal .row {
        gap: 1rem;
    }

    .col-6 {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .gallery-title {
        font-size: 1.25rem;
    }

    .certification-details,
    .ebook-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    .btn-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .certificate-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }

    .certificate-details {
        padding: 1.25rem;
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .coaching-card {
        padding: 1.5rem;
    }

    .coaching-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .offer-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .certificate-image-container {
        height: 180px;
    }

    .coaching-cta .btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}
