/*home css start*/

/* Simple Home Section with Image Slider Only */
.home {
    min-height: 100vh;
    display: flex;
    padding: 0rem 5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.typing-title{
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(240, 16, 39, 0.15);
    animation: typingBlink 1s steps(1) infinite;
    margin-bottom: 10px;

    @keyframes typingBlink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.6; }
    }
}
.home-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 2.5s ease-in-out;
    box-shadow: 
        0 0 80px rgba(0, 0, 0, 0.8),
        0 0 150px rgba(0, 0, 0, 0.6),
        0 0 250px rgba(0, 0, 0, 0.4),
        inset 0 0 200px rgba(0, 0, 0, 0.5);
    filter: brightness(0.8) contrast(1.1);
}

.home-slide:nth-child(1) {
    background-image: url('../image/home-slider/diwali-feature-1.jpg');
}

.home-slide:nth-child(2) {
    background-image: url('../image/home-slider/img2.jpg');
}

.home-slide:nth-child(3) {
    background-image: url('../image/home-slider/img7.jpg');
}

.home-slide:nth-child(4) {
    background-image: url('../image/home-slider/img4.jpg');
}

.home-slide:nth-child(5) {
    background-image: url('../image/home-slider/img3.jpg');
}

.home-slide:nth-child(6) {
    background-image: url('../image/home-slider/img1.jpg');
}

.home-slide[style*="opacity: 1"] {
    box-shadow: 
        0 0 90px rgba(0, 0, 0, 0.9),
        0 0 180px rgba(0, 0, 0, 0.7),
        0 0 300px rgba(0, 0, 0, 0.5),
        inset 0 0 250px rgba(0, 0, 0, 0.6);
    filter: brightness(0.9) contrast(1.2);
}

/* Enhanced text content styling with beautiful red and white theme */
.home .contant {
    max-width: 70rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
    border-radius: 20px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Main title - Event Planner */
.home .main-title {
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 900;
    text-align: center;
}

/* Subtitle - Babu Decoraters */
.home .subtitle {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #f01027;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 0 0 20px rgba(240, 16, 39, 0.5);
    animation: subtitlePulse 2s ease-in-out infinite;
}

/* Add animation to home content */
.home .contant {
    animation: fadeIn 1s ease-out;
}

.home .contant h3 {
    animation: float 3s ease-in-out infinite;
}
@keyframes subtitlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Description text */
.home .description {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.6;
    padding: 2rem;
    color: #ffffff;
    border-radius: 12px;
    background: rgba(240, 16, 39, 0.1);
    border-left: 4px solid #f01027;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    animation: descriptionSlide 1.5s ease-out 0.5s both;
    max-width: 60rem;
    font-family: "Tangerine";
    font-size: 2rem;
    text-align: center;
    font-weight: 400;
    font-style: normal;
    
}

@keyframes descriptionSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced button styling with red theme */
.home-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.home .btn {
    background: linear-gradient(45deg, #f01027, #ff1a1a);
    cursor: pointer;
    color: #fff;
    display: inline-block;
    padding: 1.5rem 4rem;
    font-size: 1.6rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    border: none;
    box-shadow: 
        0 10px 25px rgba(240, 16, 39, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.home .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.home .btn:hover::before {
    left: 100%;
}

.home .btn:hover {
    background: linear-gradient(45deg, #ff1a1a, #f01027);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(240, 16, 39, 0.6),
        0 0 0 4px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(240, 16, 39, 0.4);
}

/* Enhanced social icons with red accents */
.home .social-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.home .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 2.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: iconFloat 3s ease-in-out infinite;
}

.home .social-icon:nth-child(1) { animation-delay: 0s; }
.home .social-icon:nth-child(2) { animation-delay: 0.5s; }
.home .social-icon:nth-child(3) { animation-delay: 1s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.home .social-icon:hover {
    background: rgba(240, 16, 39, 0.2);
    transform: translateY(-6px) scale(1.08);
    border-color: #f01027;
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.4),
        0 0 0 3px rgba(240, 16, 39, 0.3),
        0 0 20px rgba(240, 16, 39, 0.4);
}

.home .social-icon i {
    font-size: 2.5rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.home .social-icon:hover i {
    transform: scale(1.1);
    color: #ffffff;
}

/* Simple responsive design */
@media (max-width: 1200px) {
    .home {
        padding: 0rem 4rem;
    }
    
    .home .main-title {
        font-size: 5.5rem;
    }
    
    .home .company-logo {
        height: 7rem;
        max-width: 250px;
    }
    
    .home .description {
        font-size: 1.7rem;
    }
}

@media (max-width: 991px) {
    .home {
        padding: 0rem 3rem;
    }

    .home .contant {
        max-width: 100%;
        padding: 2.5rem;
    }

    .home .main-title {
        font-size: 5rem;
    }

    .home .company-logo {
        height: 6.5rem;
        max-width: 220px;
    }

    .home .description {
        font-size: 1.6rem;
    }

    .home-buttons {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .home {
        padding: 0rem 2rem;
        min-height: 90vh;
    }
    
    .home-slide {
        background-attachment: scroll;
    }
    
    .home .contant {
        padding: 2rem;
        margin: 0 1rem;
    }

    .home .main-title {
        font-size: 4.5rem;
        letter-spacing: 1.5px;
    }

    .home .company-logo {
        height: 6rem;
        max-width: 200px;
    }

    .home .description {
        font-size: 1.5rem;
        padding: 1.5rem;
    }

    .home .btn {
        padding: 1.3rem 3.5rem;
        font-size: 1.5rem;
        width: 100%;
        max-width: 280px;
    }

    .home .social-icon {
        width: 4.8rem;
        height: 4.8rem;
        font-size: 2rem;
    }
    
    .home .social-icon i {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .home {
        padding: 0rem 1.5rem;
        min-height: 85vh;
    }

    .home .contant {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .home .main-title {
        font-size: 4rem;
        letter-spacing: 1px;
    }

    .home .company-logo {
        height: 5rem;
        max-width: 180px;
    }

    .home .description {
        font-size: 1.4rem;
        padding: 1.5rem;
        line-height: 1.5;
    }

    .home-buttons {
        gap: 1.5rem;
    }

    .home .btn {
        padding: 1.2rem 3rem;
        font-size: 1.4rem;
    }

    .home .social-icons {
        gap: 1.8rem;
    }

    .home .social-icon {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 1.8rem;
    }
    
    .home .social-icon i {
        font-size: 2rem;
    }
    .main-title{
        margin-top: 20px;
    }
}

@media (max-width: 360px) {
    .home .main-title {
        font-size: 3.5rem;
    }
    
    .home .company-logo {
        height: 4.5rem;
        max-width: 150px;
    }
    
    .home .description {
        font-size: 1.3rem;
    }
    
    .home .btn {
        padding: 1rem 2.5rem;
        font-size: 1.3rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .home {
        min-height: 100vh;
        padding: 1rem 3rem;
    }
    
    .home .contant h3 {
        font-size: 4rem;
        margin-bottom: 1rem;
    }
    
    .home .contant p {
        font-size: 1.6rem;
        padding: 1rem;
    }
    
    .home-buttons {
        margin-top: 1.5rem;
        gap: 2rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .home-slide {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .home-slide,
    .home .contant,
    .home .contant h3,
    .home .btn,
    .home .social-icon {
        animation: none;
        transition: opacity 0.3s ease;
    }
    
    .home::before,
    .home::after {
        animation: none;
    }
}

/* Add WhatsApp specific styles */
.home .social-icon .fa-whatsapp,
.footer .social-icon .fa-whatsapp {
    color: #25D366;
}

.home .social-icon:hover .fa-whatsapp,
.footer .social-icon:hover .fa-whatsapp {
    color: #fff;
}

.home .social-icon:hover[href*="whatsapp"]::before,
.footer .social-icon:hover[href*="whatsapp"]::before {
    background-color: #25D366;
}

/* Add animation for WhatsApp icon */
/* whatsappPulse defined once above; remove duplicates to reduce CSS bloat */

/* Social Media Brand Colors */
/* Facebook */
.home .social-icon .fa-facebook-f,
.footer .social-icon .fa-facebook-f {
    color: #1877F2;
}

.home .social-icon:hover .fa-facebook-f,
.footer .social-icon:hover .fa-facebook-f {
    color: #fff;
}

.home .social-icon:hover[href*="facebook"]::before,
.footer .social-icon:hover[href*="facebook"]::before {
    background-color: #1877F2;
}

/* Instagram */
.home .social-icon .fa-instagram,
.footer .social-icon .fa-instagram {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home .social-icon:hover .fa-instagram,
.footer .social-icon:hover .fa-instagram {
    -webkit-text-fill-color: #fff;
}

.home .social-icon:hover[href*="instagram"]::before,
.footer .social-icon:hover[href*="instagram"]::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Add animations for social icons */
@keyframes facebookPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes instagramPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes whatsappPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.home .social-icon .fa-facebook-f,
.footer .social-icon .fa-facebook-f {
    animation: facebookPulse 2s infinite;
}

.home .social-icon .fa-instagram,
.footer .social-icon .fa-instagram {
    animation: instagramPulse 2s infinite;
}

.home .social-icon .fa-whatsapp,
.footer .social-icon .fa-whatsapp {
    animation: whatsappPulse 2s infinite;
}

/* Add hover effects for all social icons */
.home .social-icon:hover,
.footer .social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Enhanced interactive elements */
.slide-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    z-index: 10;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced loading states */
body:not(.loaded) .home {
    opacity: 0;
    transform: scale(0.95);
}

body.loaded .home {
    opacity: 1;
    transform: scale(1);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects for interactive elements */
.home-slide:hover {
    cursor: pointer;
}

.home-slide:hover::after {
    content: 'Click to advance';
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    opacity: 0;
    animation: fadeInUp 0.3s ease forwards;
    z-index: 5;
}

/* Enhanced focus states for accessibility */
.home .btn:focus,
.home .social-icon:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
    transform: scale(1.05);
}

/* Enhanced mobile touch feedback */
@media (hover: none) and (pointer: coarse) {
    .home-slide:active {
        transform: scale(0.98);
    }
    
    .home .btn:active {
        transform: scale(0.95);
    }
    
    .home .social-icon:active {
        transform: scale(0.9);
    }
}

/* Enhanced performance optimizations */
.home-slide {
    will-change: opacity, transform, filter;
    backface-visibility: hidden;
    perspective: 1000px;
}

.home .contant {
    will-change: transform;
    backface-visibility: hidden;
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    .home-slide,
    .home .contant,
    .home .contant h3,
    .home .btn,
    .home .social-icon,
    .slide-progress,
    .slide-counter {
        animation: none;
        transition: opacity 0.3s ease;
    }
    
    .home::before,
    .home::after {
        animation: none;
    }
    
    .home-slide[style*="opacity: 1"] {
        transform: none;
        filter: none;
    }
}

/* Enhanced print styles */
@media print {
    .home {
        background: white !important;
        color: black !important;
    }
    
    .home-slide {
        display: none;
    }
    
    .slide-progress,
    .slide-counter {
        display: none;
    }
}

/* Enhanced high contrast mode support */
@media (prefers-contrast: high) {
    .home .contant {
        background: rgba(0, 0, 0, 0.9);
        border: 3px solid white;
    }
    
    .home .btn {
        background: white;
        color: black;
        border: 3px solid black;
    }
    
    .home .social-icon {
        background: white;
        color: black;
        border: 3px solid black;
    }
}

/* Enhanced dark mode support */
@media (prefers-color-scheme: dark) {
    .home::before {
        background: linear-gradient(
            45deg, 
            rgba(102, 126, 234, 0.9), 
            rgba(118, 75, 162, 0.9),
            rgba(255, 107, 107, 0.9),
            rgba(255, 193, 7, 0.9)
        );
    }
}

/* Enhanced light mode support */
@media (prefers-color-scheme: light) {
    .home::before {
        background: linear-gradient(
            45deg, 
            rgba(102, 126, 234, 0.6), 
            rgba(118, 75, 162, 0.6),
            rgba(255, 107, 107, 0.6),
            rgba(255, 193, 7, 0.6)
        );
    }
}

/* Logo responsive adjustments */
@media (max-width: 900px) {
    .logotext {
        height: 5rem;
    }
    
    .logotext img {
        max-width: 150px;
    }
}

@media (max-width: 760px) {
    .logotext {
        height: 4.5rem;
    }
    
    .logotext img {
        max-width: 120px;
    }
}

@media (max-width: 450px) {
    .logotext {
        height: 4rem;
    }
    
    .logotext img {
        max-width: 100px;
    }
}

/* Logo container - replacing subtitle */
.home .logo-container {
    margin-bottom: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
    background: transparent;
    border: none;
    padding: 0;
}

.home .company-logo {
    height: 8rem;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

.home .company-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
}
/*home css end*/


