/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background-color: #f0f8ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(240, 248, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(135, 206, 250, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #3498db;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero-image.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 100, 150, 0.3), rgba(0, 50, 100, 0.3));
    animation: waveMotion 20s ease-in-out infinite;
}

@keyframes waveMotion {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(5px) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(5px); }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #f39c12;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-hook {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f39c12;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.8;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

/* Tool card button alignment */
.tool-card .btn {
    margin-top: auto;
    align-self: center;
    width: fit-content;
}


/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #87ceeb);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 100%);
}

.project-description {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.project-description p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.documentation-section {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(135, 206, 250, 0.3);
}

.documentation-section p {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #666;
}

.documentation-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.documentation-icon:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.documentation-icon i {
    font-size: 1.2rem;
}

.about-profile {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Composite Design Lab Introduction Section */
.tools-intro {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 60px 0 40px;
}

.tools-intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.description-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(135, 206, 250, 0.15);
    border: 1px solid rgba(135, 206, 250, 0.2);
    text-align: left;
}

.tools-intro-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

/* CV Section */
.cv-section {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.cv-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.cv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.cv-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 70px rgba(102, 126, 234, 0.3);
}

.cv-content {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.cv-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cv-card:hover .cv-icon-wrapper {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.cv-text {
    flex: 1;
    color: white;
}

.cv-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cv-text p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.cv-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cv-card:hover .cv-arrow {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.3);
}

/* CV Modal Styles */
.cv-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
}

.cv-modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    animation: cvModalSlideIn 0.5s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

@keyframes cvModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cv-modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 60px;
}

.cv-modal-title h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.cv-modal-title p {
    margin: 0.2rem 0 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

.cv-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.cv-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cv-viewer {
    flex: 1;
    padding: 0;
    overflow: hidden;
    background: #f8f9fa;
}

.cv-viewer iframe {
    border: none;
    width: 100%;
    height: 100%;
    min-height: calc(90vh - 80px);
}

.cv-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem;
    text-align: center;
    background: #f8f9fa;
}

.cv-fallback i {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.cv-fallback h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cv-fallback p {
    color: #666;
    margin-bottom: 2rem;
}

.cv-download-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cv-download-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

/* Tools Section */
.tools {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 80px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.tool-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(135, 206, 250, 0.15);
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid rgba(135, 206, 250, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card.featured {
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 25px 60px rgba(52, 152, 219, 0.2);
}

.tool-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #f39c12);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(135, 206, 250, 0.25);
    border-color: rgba(135, 206, 250, 0.5);
}

.tool-card.featured:hover {
    box-shadow: 0 35px 80px rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
}

.tool-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    text-align: center;
    font-weight: 700;
}

.tool-description {
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tool-instructions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.instruction-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.instruction-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    border-left-color: #2980b9;
}

.instruction-section h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instruction-section h4 i {
    color: #3498db;
    font-size: 1rem;
}

.instruction-section p {
    color: #555;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.instruction-tip {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #f39c12;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.instruction-tip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.15);
    border-left-color: #e67e22;
}

.instruction-tip small {
    color: #8b4513;
    line-height: 1.5;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.instruction-tip i {
    color: #f39c12;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.tool-summary {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: center;
    font-style: italic;
}

.tool-features, .tool-specifications {
    margin-bottom: 1.5rem;
}

.tool-features h4, .tool-specifications h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(52, 152, 219, 0.2);
    padding-bottom: 0.3rem;
}

.tool-features ul, .tool-specifications ul {
    list-style: none;
    padding: 0;
}

.tool-features li, .tool-specifications li {
    color: #666;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    font-size: 0.95rem;
}

.tool-features li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.tool-specifications li::before {
    content: '🎯';
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}

.tools-summary {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(135, 206, 250, 0.3);
}

.tools-summary-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

/* Compact About Section */
.about-compact {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.about-compact-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-compact-image {
    flex-shrink: 0;
}

.circular-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
}

.about-compact-text {
    flex: 1;
}

.about-compact-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

.footer-email {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-email:hover {
    color: #3498db;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(240, 248, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(135, 206, 250, 0.15);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tool-card {
        padding: 2rem;
        height: auto;
    }
    
    .cv-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .cv-text h3 {
        font-size: 1.3rem;
    }
    
    .cv-text p {
        font-size: 0.9rem;
    }
    
    .cv-modal-content {
        width: 98%;
        height: 95vh;
        margin: 1% auto;
    }
    
    .cv-modal-header {
        padding: 0.8rem 1rem;
        flex-direction: row;
        gap: 0.5rem;
        text-align: left;
        min-height: 50px;
    }
    
    .cv-modal-title h2 {
        font-size: 1.2rem;
    }
    
    .cv-modal-title p {
        font-size: 0.75rem;
    }
    
    .cv-close-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .description-card {
        padding: 2rem;
    }
    
    .tool-instructions {
        gap: 1rem;
    }
    
    .instruction-section {
        padding: 1.2rem;
    }
    
    .instruction-tip {
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .hero-container {
        max-width: 400px;
    }
}

/* Tablet/iPad specific fixes */
@media (min-width: 768px) and (max-width: 1024px) {
    .main-container {
        margin: 20px;
        padding: 20px !important;
        max-width: calc(100vw - 40px);
    }
    
    .display-4 {
        font-size: 2.5rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
    
    /* Fix card margins and padding */
    .card {
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .card-body {
        padding: 20px !important;
    }
    
    .card-header {
        padding: 20px !important;
        font-size: 1.1rem;
    }
    
    /* Fix summary cards specifically */
    .card .card-title,
    .card h5,
    .card h6 {
        font-size: 1rem !important;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Fix text overflow in cards */
    .card-text,
    .card-body p,
    .card-body div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Fix button sizing */
    .btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .btn-sm {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    /* Fix footer spacing */
    .footer-section {
        padding: 30px 0 !important;
        margin-top: 40px !important;
    }
    
    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
    }
    
    .container-fluid {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix footer scroll issue on tablet */
    .footer-section {
        margin-bottom: 0 !important;
    }
    
    /* Fix hero section for tablets */
    .hero-container {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
}

