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

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimize paint and layout operations */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
    contain: layout style paint;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

/* Container and layout */
.container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 0;
    background: #FFFFFF;
    box-shadow: -1px 1px 11.7px rgba(0, 0, 0, 0.15);
    z-index: 120;
    transition: 0.4s linear;
    -webkit-transition: 0.4s linear;
}

.navbar-brand img {
    max-width: 100%;
    height: 50px;
}

/* Hero banner styles */
.hero-banner {
    padding: 250px 0 170px;
    background: #FAFAFA;
    position: relative;
}

.banner-data h1 {
    font-weight: 600;
    font-size: 42px;
    line-height: 134%;
    letter-spacing: -0.02em;
    color: #4F4F4F;
    margin: 0 0 10px;
}

.banner-data h1 span {
    color: #fff;
    padding: 4px 9px;
    background: linear-gradient(270deg, #FDCB6E 0%, #EC4891 100%);
    border-radius: 17px;
    line-height: 46px;
    display: inline-block;
}

.btn-main {
    padding: 4px;
    border-radius: 50px;
    background: #FBCFE3;
    color: #fff;
    display: block;
    width: fit-content;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.02em;
    transition: .4s linear;
    -webkit-transition: .4s linear;
    text-decoration: none;
}

.btn-main span {
    padding: 10px 20px;
    border-radius: 50px;
    background: #DB2777;
    display: block;
    transition: .4s linear;
    -webkit-transition: .4s linear;
}

.banner-img-box {
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 400/460;
    background: #f0f0f0;
}

.banner-img-box img {
    width: 100%;
    aspect-ratio: 400/460;
    object-fit: cover;
    border-radius: 20px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .banner-data h1 {
        font-size: 28px;
        line-height: 120%;
    }
    
    .hero-banner {
        padding: 180px 0 100px;
    }
    
    .banner-img-box {
        max-width: 300px;
    }
    
    .navbar-brand img {
        height: 40px;
    }
}

/* Prevent layout shifts */
.banner-img-box {
    aspect-ratio: 400/460;
    background: #f0f0f0;
}

/* Optimize animations for mobile */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
    contain: layout style paint;
}

/* Prevent layout shifts for images */
picture {
    display: block;
    width: 100%;
}

picture img {
    width: 100%;
    height: auto;
    display: block;
}

/* Optimize transitions */
a, button {
    transition: 0.4s linear;
    -webkit-transition: 0.4s linear;
    text-decoration: none;
    will-change: transform, opacity;
}

