/* Modern Professional Portfolio Styles */

:root {
    --primary-color: #172c4e;
    --secondary-color: #c5c7c2;
    --accent-color: #1e40af;
    --text-dark: #1f2937;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #172c4e 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #172c4e 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Text color overrides for proper contrast */
.hero-section {
    color: var(--white);
}

.hero-section * {
    color: var(--white);
}

.about-section {
    color: var(--text-dark);
}

.about-section * {
    color: var(--text-dark);
}

.projects-section {
    color: var(--text-dark);
}

.projects-section * {
    color: var(--text-dark);
}

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

.contact-section * {
    color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.text-gradient {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #172c4e 0%, #0f172a 50%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: translateY(-10px);
}

.hero-profile-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: center 80%;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
    clip-path: circle(50%);
}

.hero-profile-img:hover {
    transform: scale(1.05);
}

/* Energy Effects */
.energy-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 600px;
    height: 600px;
}

.energy-ring {
    position: absolute;
    border: 1px solid #0ea5e9;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: energy-pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.energy-ring-1 {
    width: 450px;
    height: 450px;
    animation-delay: 0s;
    opacity: 0.8;
}

.energy-ring-2 {
    width: 500px;
    height: 500px;
    animation-delay: 1.3s;
    opacity: 0.6;
}

.energy-ring-3 {
    width: 550px;
    height: 550px;
    animation-delay: 2.6s;
    opacity: 0.4;
}

.energy-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #0ea5e9 0%, #3b82f6 50%, transparent 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(250px);
    animation: energy-orbit 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 15px #0ea5e9, 0 0 30px rgba(14, 165, 233, 0.5);
}

.energy-particle-1 {
    animation-delay: 0s;
    animation-duration: 4s;
}

.energy-particle-2 {
    animation-delay: 0.8s;
    animation-duration: 5s;
}

.energy-particle-3 {
    animation-delay: 1.6s;
    animation-duration: 6s;
}

.energy-particle-4 {
    animation-delay: 2.4s;
    animation-duration: 4.5s;
}

.energy-particle-5 {
    animation-delay: 3.2s;
    animation-duration: 5.5s;
}

.energy-particle-6 {
    animation-delay: 4s;
    animation-duration: 6.5s;
}

@keyframes energy-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.3;
    }
}

@keyframes energy-orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(250px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(250px) rotate(-180deg);
        opacity: 0.6;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(250px) rotate(-360deg);
        opacity: 0.8;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--white);
    opacity: 0.8;
}

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

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin-top: 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(23, 44, 78, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(23, 44, 78, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* HTML Email Development Section */
.email-development-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.email-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.email-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.email-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.email-feature i {
    color: var(--primary);
    font-size: 1.1rem;
}

.email-preview {
    text-align: center;
}

.email-preview img {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.email-preview img:hover {
    transform: scale(1.02);
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Dedicated Project Sections */
.standup-section, .tcg-section, .atlantic-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.standup-section::before, .tcg-section::before, .atlantic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(23, 44, 78, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.project-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.project-overview {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    height: 100%;
}

.project-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.project-features h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.screenshots-gallery {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.main-screenshot {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-screenshot img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.main-screenshot:hover img {
    transform: scale(1.02);
}

.screenshot-thumbnails .thumbnail {
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.screenshot-thumbnails .thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.project-image-placeholder {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    color: var(--text-light);
}

.placeholder-content i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.placeholder-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.project-image-container:hover img {
    transform: scale(1.02);
}

.project-links-overlay {
    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;
    gap: 1rem;
}

.project-image-container:hover .project-links-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.project-links .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.project-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.links-section {
    margin-bottom: 1.5rem;
}

.links-section:last-child {
    margin-bottom: 0;
}

.links-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.links-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.screenshot-thumbnails .project-image-placeholder {
    height: 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-thumbnails .project-image-placeholder:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.screenshot-thumbnails .placeholder-content {
    text-align: center;
    color: var(--text-light);
}

.screenshot-thumbnails .placeholder-content h6 {
    font-size: 0.8rem;
    margin: 0;
    font-weight: 500;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background: var(--white);
}

.project-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(23, 44, 78, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    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;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.client-sites {
    position: relative;
    z-index: 10;
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content .project-tech {
    margin-top: auto;
}

.project-content .project-links {
    margin-top: auto;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-docs {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.doc-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.doc-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-dark);
    color: var(--white);
}

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

.contact-section .section-title::after {
    background: var(--gradient-secondary);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    color: var(--white);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--text-dark);
}

.btn-light {
    background: var(--white);
    color: var(--text-dark);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section .row {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-image {
        margin-bottom: 2rem;
    }
    
    .energy-container {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-profile-img {
        width: 300px;
        height: 300px;
    }
    
    .energy-ring-1 {
        width: 350px;
        height: 350px;
    }
    
    .energy-ring-2 {
        width: 400px;
        height: 400px;
    }
    
    .energy-ring-3 {
        width: 450px;
        height: 450px;
    }
}

/* Medium screens (tablets in landscape, 768px-1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Hero Section - Medium View */
    .hero-section {
        padding: 2rem 0;
        min-height: 100vh;
    }
    
    .hero-section .row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 0;
    }
    
    .hero-section .col-lg-6 {
        width: 48%;
        max-width: 48%;
        flex: 0 0 48%;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    .hero-buttons .btn {
        width: auto;
        max-width: 200px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin: 0;
    }
    
    .hero-image {
        text-align: center;
        margin-top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-profile-img {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        display: block;
    }
    
    .energy-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 300px;
        height: 300px;
    }
    
    .hero-profile-img {
        position: relative;
        z-index: 10;
        width: 200px;
        height: 200px;
    }
    
    .energy-ring-1 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 250px;
    }
    
    .energy-ring-2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: 300px;
    }
    
    .energy-ring-3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 350px;
        height: 350px;
    }
    
    /* Email Development Section */
    .email-development-section {
        padding: 1.75rem;
        margin: 2rem 0;
    }
    
    .email-section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .email-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .email-features {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .email-feature {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .dropdown-menu {
        text-align: center;
    }
    
    /* Hero Section - Mobile Optimization */
    .hero-section {
        padding: 1rem 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-section .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
    }
    
    .hero-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        margin: 0.1rem 0;
        border-radius: 8px;
    }
    
    .hero-image {
        text-align: center;
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-profile-img {
        width: 160px;
        height: 160px;
        margin: 0 auto;
        display: block;
    }
    
    .energy-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 250px;
        height: 250px;
    }
    
    .hero-profile-img {
        position: relative;
        z-index: 10;
        width: 160px;
        height: 160px;
    }
    
    .energy-ring-1 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
    }
    
    .energy-ring-2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 240px;
        height: 240px;
    }
    
    .energy-ring-3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 280px;
        height: 280px;
    }
    
    .scroll-indicator {
        position: absolute;
        bottom: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    /* About Section */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 2rem;
    }
    
    .skill-item {
        padding: 1rem 0.5rem;
        text-align: center;
    }
    
    .skill-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .skill-item span {
        font-size: 0.8rem;
    }
    
    /* Dedicated Project Sections */
    .standup-section, .tcg-section, .atlantic-section {
        padding: 3rem 0;
    }
    
    .project-intro {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .project-overview {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .project-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .project-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .screenshots-gallery {
        padding: 1.5rem;
    }
    
    .main-screenshot {
        margin-bottom: 1rem;
    }
    
    .screenshot-thumbnails .col-6 {
        margin-bottom: 0.5rem;
    }
    
    .project-tech {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .project-links .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .links-section {
        margin-bottom: 1rem;
    }
    
    .links-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .links-group .btn {
        width: 100%;
        text-align: center;
        padding: 0.5rem 1rem;
    }
    
    .client-sites .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .screenshot-thumbnails .project-image-placeholder {
        height: 60px;
    }
    
    .screenshot-thumbnails .placeholder-content h6 {
        font-size: 0.7rem;
    }
    
    .screenshot-thumbnails .placeholder-content i {
        font-size: 1.5rem;
    }
    
    /* Projects Section */
    .projects-section {
        padding: 3rem 0;
    }
    
    .project-card {
        margin-bottom: 2rem;
        height: auto;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .project-tech {
        margin-top: 1rem;
    }
    
    .project-tech .tech-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.25rem;
    }
    
    /* Email Development Section */
    .email-development-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .email-section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .email-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .email-features {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .email-feature {
        font-size: 0.9rem;
    }
    
    .email-preview {
        margin-top: 1.5rem;
    }
    
    .email-preview img {
        max-width: 100%;
        height: auto;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 0 1rem;
    }
    
    .contact-form .form-control {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* General Mobile Optimizations */
    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .row {
        margin: 0;
        width: 100%;
    }
    
    .col-lg-6, .col-lg-8 {
        padding: 0 0.5rem;
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .mb-4, .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-4, .mt-5 {
        margin-top: 1.5rem !important;
    }
    
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }
    
    /* Ensure proper spacing between sections */
    section {
        margin-bottom: 0;
        padding: 2rem 0;
    }
    
    /* Fix any potential overlapping elements */
    .hero-section .row {
        align-items: center;
        justify-content: center;
    }
    
    .hero-section .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    /* Text and Typography */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    p {
        line-height: 1.6;
    }
    
    /* Button Optimizations */
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        border-radius: 6px;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .btn-sm {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Dedicated project sections responsive */
    .project-overview {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .screenshots-gallery {
        padding: 1.5rem;
    }
    
    .project-image-placeholder {
        padding: 2rem;
    }
    
    .screenshot-thumbnails .col-6 {
        margin-bottom: 1rem;
    }
    
    /* Enhanced mobile optimizations */
    .standup-section, .tcg-section, .atlantic-section {
        padding: 3rem 0;
    }
    
    .project-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .project-subtitle {
        font-size: 1.25rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .main-screenshot {
        margin-bottom: 1rem;
    }
    
    .project-tech {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-links .btn {
        width: 100%;
        text-align: center;
    }
    
    .links-section {
        margin-bottom: 1rem;
    }
    
    .links-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .links-group .btn {
        width: 100%;
        text-align: center;
    }
    
    .client-sites .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .screenshot-thumbnails .project-image-placeholder {
        height: 60px;
    }
    
    .screenshot-thumbnails .placeholder-content h6 {
        font-size: 0.7rem;
    }
    
    .screenshot-thumbnails .placeholder-content i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .hero-profile-img {
        width: 250px;
        height: 250px;
    }
    
    .energy-ring-1 {
        width: 300px;
        height: 300px;
    }
    
    .energy-ring-2 {
        width: 350px;
        height: 350px;
    }
    
    .energy-ring-3 {
        width: 400px;
        height: 400px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .skill-item {
        padding: 0.8rem;
    }
    
    .skill-item i {
        font-size: 1.5rem;
    }
    
    .skill-item span {
        font-size: 0.8rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-profile-img {
        width: 200px;
        height: 200px;
    }
    
    .energy-ring-1 {
        width: 250px;
        height: 250px;
    }
    
    .energy-ring-2 {
        width: 300px;
        height: 300px;
    }
    
    .energy-ring-3 {
        width: 350px;
        height: 350px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .skill-item {
        padding: 0.6rem;
    }
}

/* Utility Classes */
.min-vh-100 {
    min-height: 100vh;
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded-4 {
    border-radius: 1rem;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

/* Extra small mobile optimizations for dedicated sections */
@media (max-width: 576px) {
    .project-overview {
        padding: 1rem;
    }
    
    .screenshots-gallery {
        padding: 1rem;
    }
    
    .project-intro {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .project-subtitle {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .feature-list li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .project-links .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .client-sites .btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.3rem;
    }
    
    .screenshot-thumbnails .project-image-placeholder {
        height: 50px;
    }
    
    .screenshot-thumbnails .placeholder-content h6 {
        font-size: 0.6rem;
    }
    
    .screenshot-thumbnails .placeholder-content i {
        font-size: 1.2rem;
    }
    
    .links-group .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* HTML Email Development mobile optimization */
    .email-development-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .email-section-title {
        font-size: 1.25rem;
    }
    
    .email-description {
        font-size: 0.9rem;
    }
    
    .email-features {
        gap: 0.5rem;
    }
    
    .email-feature {
        font-size: 0.9rem;
    }
    
    .email-preview img {
        max-width: 100%;
        height: auto;
    }
}

/* Extra Small Mobile Devices (576px and below) */
@media (max-width: 576px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Hero Section - Extra Small Mobile */
    .hero-section {
        padding: 0.5rem 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-section .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
    }
    
    .hero-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
        text-align: center;
        padding: 0 0.25rem;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 1rem;
        padding: 0 0.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.75rem;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 220px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        margin: 0.05rem 0;
        border-radius: 6px;
    }
    
    .hero-image {
        text-align: center;
        margin-top: 0.75rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-profile-img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        display: block;
    }
    
    .energy-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 200px;
        height: 200px;
    }
    
    .hero-profile-img {
        position: relative;
        z-index: 10;
        width: 120px;
        height: 120px;
    }
    
    .energy-ring-1 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150px;
        height: 150px;
    }
    
    .energy-ring-2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 180px;
        height: 180px;
    }
    
    .energy-ring-3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 210px;
        height: 210px;
    }
    
    .scroll-indicator {
        position: absolute;
        bottom: 0.25rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    /* About Section */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .skill-item {
        padding: 0.75rem 0.25rem;
    }
    
    .skill-item i {
        font-size: 1.25rem;
    }
    
    .skill-item span {
        font-size: 0.75rem;
    }
    
    /* Dedicated Project Sections */
    .standup-section, .tcg-section, .atlantic-section {
        padding: 2rem 0;
    }
    
    .project-intro {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .project-overview {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .project-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .project-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .feature-list li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .screenshots-gallery {
        padding: 1rem;
    }
    
    .main-screenshot {
        margin-bottom: 0.75rem;
    }
    
    .screenshot-thumbnails .col-6 {
        margin-bottom: 0.25rem;
    }
    
    .project-tech {
        gap: 0.25rem;
        margin-top: 0.75rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .project-links {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .project-links .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .links-section {
        margin-bottom: 0.75rem;
    }
    
    .links-group {
        gap: 0.25rem;
    }
    
    .links-group .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .client-sites .btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.25rem;
    }
    
    .screenshot-thumbnails .project-image-placeholder {
        height: 50px;
    }
    
    .screenshot-thumbnails .placeholder-content h6 {
        font-size: 0.6rem;
    }
    
    .screenshot-thumbnails .placeholder-content i {
        font-size: 1.2rem;
    }
    
    /* Projects Section */
    .projects-section {
        padding: 2rem 0;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .project-description {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .project-tech .tech-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        margin-bottom: 0.2rem;
    }
    
    /* Email Development Section */
    .email-development-section {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .email-section-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .email-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .email-features {
        gap: 0.25rem;
        margin-bottom: 1rem;
    }
    
    .email-feature {
        font-size: 0.8rem;
    }
    
    .email-preview {
        margin-top: 1rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 1rem 0 2rem 0;
    }
    
    .contact-form {
        padding: 0 0.5rem;
    }
    
    .contact-form .form-control {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .contact-form .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .contact-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* General Mobile Optimizations */
    .container {
        padding: 0 0.5rem;
    }
    
    .col-lg-6, .col-lg-8 {
        padding: 0 0.25rem;
    }
    
    .mb-4, .mb-5 {
        margin-bottom: 1rem !important;
    }
    
    .mt-4, .mt-5 {
        margin-top: 1rem !important;
    }
    
    /* Button Optimizations */
    .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        border-radius: 4px;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .btn-sm {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}