/* Critical CSS for above-the-fold content */

/* Reset and base styles */
* { box-sizing: border-box; }
body { 
    margin: 0; 
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header styles */
.topheader {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

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

.logo {
    display: inline-block;
}

.logo img {
    max-width: 300px;
    height: auto;
    display: block;
}

/* Hero banner styles */
.mainbanner {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/homebanner.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hometitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.mainbanner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ae1b2c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: #8a1522;
    color: #fff;
    text-decoration: none;
}

/* Navigation styles */
.infocontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.phonecontainer li {
    display: inline-block;
    margin-right: 20px;
}

.phonecontainer a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

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

.loginbtnbg li {
    display: inline-block;
}

/* Responsive design */
@media (max-width: 768px) {
    .hometitle {
        font-size: 2rem;
    }
    
    .logo img {
        max-width: 200px;
    }
    
    .infocontainer {
        flex-direction: column;
        gap: 10px;
    }
    
    .mainbanner {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hometitle {
        font-size: 1.8rem;
    }
    
    .mainbanner p {
        font-size: 1rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Prevent layout shifts */
img {
    max-width: 100%;
    height: auto;
}

/* Optimize for Core Web Vitals */
.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Critical animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
} 