/* Reset and base styles - ULTRA COMPACT */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #ffffff;
}

/* Header */
header {
    background: #ffffff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

/* Mobile Navigation Styles */
#nav-items-section-mobile {
    display: none;
}

/* Mobile topnav styles */
.topnav {
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
    width: 100%;
}

.topnav #myLinks {
    display: none;
    background-color: #ffffff;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.topnav a {
    color: #333;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

.topnav a.icon {
    background: #ffffff;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    padding: 14px 16px;
}

.topnav a:hover {
    background-color: #f1f1f1;
    color: #667eea;
}

.active {
    background-color: #ffffff;
    color: #333;
    font-weight: bold;
}

/* Hero Section - ULTRA COMPACT */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 30px 0;
    text-align: center;
    margin-bottom: 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Content Section - ULTRA COMPACT */
.content-section {
    padding: 30px 0;
    margin-bottom: 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.content-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.2;
}

.content-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Sections - ULTRA COMPACT */
.section {
    padding: 30px 0;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 0.95rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid - ULTRA COMPACT */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.feature-card {
    background: #f8f9fa;
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.8rem;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.3;
    font-size: 0.9rem;
}

/* CTA Section - ULTRA COMPACT */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 20px;
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer - ULTRA COMPACT */
#footer {
    background: #1a3a5f !important;
    color: white !important;
    padding: 20px 0 10px 0;
    margin-top: 10px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-big-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff !important;
}

.footer-small-text {
    font-size: 0.9rem;
    color: #ffffff !important;
}

.logo-text {
    font-size: 1.4rem !important;
    font-weight: bold;
    color: #ffffff !important;
}

/* FOOTER BUTTON - GOLD WITH BLACK TEXT */
.footer-btn, .nav-btn.footer-btn {
    background-color: #D4AF37 !important;
    color: #000000 !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    margin-top: 10px !important;
    width: fit-content !important;
}

.footer-btn:hover, .nav-btn.footer-btn:hover {
    background-color: #E6C158 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.footer-text-section {
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
}

.footer-text-section p {
    color: #ffffff !important;
    font-size: 0.8rem;
}

.footer-text-section a {
    color: #D4AF37 !important;
    text-decoration: none;
}

.footer-text-section a:hover {
    color: #E6C158 !important;
    text-decoration: underline;
}

#footer hr {
    border: none;
    border-top: 1px solid #4a5568;
    margin: 20px auto;
    max-width: 1200px;
}

/* Buttons - ULTRA COMPACT */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-lg {
    padding: 12px 25px;
    font-size: 1rem;
}

/* Fix typing animation overlap with mobile navbar */
#intro-animated-text {
    position: relative !important;
    z-index: 1 !important;
}

/* Mobile Responsive - ULTRA COMPACT */
@media (max-width: 768px) {
    /* Navigation */
    #nav-items-section {
        display: none;
    }
    
    #nav-items-section-mobile {
        display: block;
    }
    
    #nav-logo-section {
        display: none;
    }
    
    .topnav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1001 !important;
        height: 60px !important;
        min-height: 60px !important;
    }
    
    /* Fix mobile navbar overlap */
    body {
        padding-top: 70px !important;
    }
    
    header {
        z-index: 1000 !important;
        height: 60px !important;
        min-height: 60px !important;
    }
    
    /* Fix typing animation spacing */
    #intro-animated-text {
        margin-top: 20px !important;
        padding-top: 10px !important;
    }
    
    /* Hero Section */
    .hero {
        padding: 20px 0 20px 0 !important;
        margin-bottom: 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .hero-buttons .btn {
        width: 200px;
        text-align: center;
    }
    
    /* Content Sections */
    .content-section {
        padding: 20px 0;
        margin-bottom: 15px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .content-text h2 {
        font-size: 1.5rem;
    }
    
    .content-text p {
        font-size: 0.9rem;
    }
    
    /* Sections */
    .section {
        padding: 20px 0;
        margin-bottom: 15px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        gap: 10px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 30px 0;
        margin-bottom: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    /* Footer */
    #footer {
        padding: 15px 0 8px 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-section {
        text-align: center;
        align-items: center;
    }
    
    /* Center everything */
    .hero-content,
    .content-text,
    .section-title,
    .cta-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .btn {
        margin: 0 auto;
    }
}

@media (min-width: 769px) {
    #nav-items-section-mobile {
        display: none;
    }
    
    #nav-items-section {
        display: block;
    }
    
    #nav-logo-section {
        display: flex;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    body {
        padding-top: 60px !important;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.85rem;
    }
    
    .content-text h2 {
        font-size: 1.3rem;
    }
    
    .footer-big-text {
        font-size: 1.1rem;
    }
    
    .footer-small-text {
        font-size: 0.8rem;
    }
    
    #intro-animated-text {
        margin-top: 15px !important;
        padding-top: 8px !important;
        font-size: 0.9rem !important;
    }
    
    .hero {
        padding-top: 15px !important;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}