/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 60px; /* Set a fixed height for consistent calculations */
    box-sizing: border-box;
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
    flex-shrink: 0;
}

.logo-text {
    display: block;
}

.logo-badge {
    background-color: #fef3c7;
    color: #d97706;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.lang-switcher {
    margin-right: 15px;
}

#langToggle {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-weight: 500;
    color: #333;
}

#langToggle:hover {
    background: #f1f5f9;
}

.lang-option {
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.lang-option.active {
    background: #e2e8f0;
    color: #1e293b;
    font-weight: 600;
}

.lang-option:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.lang-separator {
    color: #cbd5e1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0 15px; /* Add space between nav links and support button */
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.menu-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    margin-top: 4px;
    display: block;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active:nth-child(2) {
    opacity: 0;
}

.hamburger.active:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px;
    display: block;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #2563eb;
}

.support-button {
    display: flex;
    align-items: center;
}

.coffee-btn {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 10px;
    border-radius: 50%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coffee-btn:hover {
    background: #e2e8f0;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
    animation: slideIn 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover {
    color: #1e293b;
    background-color: #f1f5f9;
}

.modal-content h2 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-content p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.qr-code {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #cbd5e1;
}

.qr-decoration {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.support-note {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
}

.cta-button:hover {
    background-color: transparent;
    color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.cta-button.secondary:hover {
    background-color: #2563eb;
    color: white;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;  /* Adjusted padding */
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    text-align: center;
    scroll-margin-top: 60px;  /* Space for fixed header when scrolling to anchor */
}

/* Make sure the main element accounts for fixed header */
main {
    scroll-margin-top: 60px; /* Account for fixed header height */
    margin-top: 60px; /* Add margin to account for fixed header */
}

/* Make sure the first section after header has proper top spacing */
main > section:first-of-type {
    margin-top: 0;
    scroll-margin-top: 60px;
}

/* Add specific spacing between hero and services for better visual separation */
.hero + .services-section {
    margin-top: 40px; /* Add space between hero and services */
}

/* Adjustment for mobile devices */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;  /* Adjusted for mobile */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 40px;  /* Adjusted for small screens */
    }
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 180px;
}

.cta-button.primary {
    background-color: #2563eb;
    color: white;
}

.cta-button.primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.cta-button.secondary:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* Services Section */
.services-section {
    padding: 80px 0 60px; /* Increased top padding for more breathing room from hero */
    background-color: white;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px; /* Add space between heading and cards */
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 380px; /* Minimum height for consistency */
    position: relative;
    overflow: visible; /* Ensure nothing gets cut off */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
    flex-shrink: 0; /* Prevent heading from shrinking */
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    align-self: stretch; /* Make sure text area has full width */
    display: flex;
    align-items: flex-start; /* Align text to top */
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #fef3c7;
    color: #d97706;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0; /* Prevent badge from shrinking */
    z-index: 2; /* Ensure badge stays on top */
}

.card-button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: center;
    width: fit-content;
    border: 2px solid transparent;
    cursor: pointer;
    margin-top: auto; /* Push button to bottom */
    flex-shrink: 0; /* Prevent button from shrinking */
}

.card-button.primary {
    background-color: #2563eb;
    color: white;
}

.card-button.primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.card-button.waitlist {
    background-color: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.card-button.waitlist:hover {
    background-color: #e2e8f0;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 232, 240, 0.5);
}

/* About & Contact Section */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.about-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #dbeafe;
    color: #0369a1;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #f1f5f9; /* Slightly darker background for contact side */
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 350px;
}

.profile-avatar {
    margin-bottom: 20px;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 4px solid #e0f2fe;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-info h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.role {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.about-me {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e2e8f0;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background-color: #2563eb;
    color: white;
}

.social-link:hover {
    background-color: #e2e8f0;
    color: #2563eb;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #93c5fd;
}

.footer-coffee-btn {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 10px;
    display: block;
}

.footer-coffee-btn:hover {
    background: #d97706;
}

.footer-note {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #334155;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .service-card {
        min-height: 350px;
        padding: 25px 20px;
    }
    
    .about-contact-content {
        gap: 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header and Navigation */
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
    
    .nav-links {
        display: none;
    }
    
    .lang-switcher {
        display: none;
    }
    
    .support-button {
        margin-left: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .cta-button {
        min-width: 200px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Services Section */
    .services-section {
        padding: 80px 0 60px; /* Maintain vertical spacing on mobile */
    }
    
    .services-section h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem; /* Reduced for mobile */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 15px; /* Reduced margin for mobile */
    }
    
    .service-card {
        min-height: auto;
        padding: 25px 20px;
        margin: 0;
        min-height: 320px; /* Set minimum height to ensure consistency */
    }
    
    .card-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.95rem;
        margin-bottom: 15px;
        min-height: auto; /* Reset min-height for text */
    }
    
    .coming-soon-badge {
        position: static;
        margin-bottom: 15px;
        display: inline-block;
    }
    
    .card-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    /* About Section */
    .about-section {
        padding: 60px 0;
    }
    
    .about-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .badges {
        gap: 8px;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .contact-info {
        padding: 25px;
        margin-top: 20px;
    }
    
    .profile-card {
        width: 100%;
        max-width: 100%;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .profile-info h3 {
        font-size: 1.3rem;
    }
    
    .role {
        font-size: 0.9rem;
    }
    
    .about-me {
        font-size: 0.95rem;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .social-link {
        padding: 8px 16px;
        font-size: 0.9rem;
        margin: 0 2px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
    }
    
    /* Modal */
    .modal-content {
        width: 90%;
        max-width: 350px;
        padding: 25px;
        margin: 10% auto;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .modal-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .qr-placeholder {
        width: 160px;
        height: 160px;
        font-size: 0.9rem;
    }
    
    .support-note {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header and Navigation */
    .logo {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        margin-left: 5px;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-button {
        min-width: 180px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Services Section */
    .services-section {
        padding: 70px 0 50px; /* Slightly reduced padding for small screens */
    }
    
    .services-section h2 {
        font-size: 1.8rem;
        margin-bottom: 0.7rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .services-grid {
        gap: 20px;
        margin-top: 10px;
    }
    
    .service-card {
        padding: 20px 15px;
        min-height: 300px; /* Minimum height to ensure visibility */
    }
    
    .card-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 10px; /* Reduced margin */
    }
    
    .card-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Ensure no cutoff on very small screens */
    .service-card {
        overflow: visible;
        position: relative;
    }
}
    
    /* About Section */
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .avatar-placeholder {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }
    
    .profile-info h3 {
        font-size: 1.2rem;
    }
    
    .about-me {
        font-size: 0.9rem;
    }
    
    .social-link {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-section ul li {
        margin-bottom: 6px;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .footer-coffee-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .footer-note {
        font-size: 0.8rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 15% auto;
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
    }
    
    .modal-content p {
        font-size: 0.9rem;
    }
    
    .qr-placeholder {
        width: 140px;
        height: 140px;
        font-size: 0.8rem;
    }
    
    .support-note {
        font-size: 0.8rem;
    }
}

/* Extra small devices (phones, 320px and up) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        min-width: 160px;
        padding: 9px 12px;
        font-size: 0.85rem;
    }
    
    .services-section h2 {
        font-size: 1.6rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
    }
}