* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fff1f1;
    position: relative;
    overflow-x: hidden;
    
} 


/*----------------------------------------------welcome to ccsi computer-------------------------------*/

.one{
    background-color: #f5f0ff;
    
}


/* Hero Section */
.hero-section {
    display: flex;
    padding: 20px;
    position: relative;
    margin-top: 95px;
}

.hero-content {
    flex: 1;
    padding: 20px;
    position: relative;
    
}

.hero-title {
    font-size: 42px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.hero-image {
    flex: 1;
    position: relative;
    
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
  
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff0000;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #a70000;
    transform: translateY(-3px);
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #ff0000;
    color: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 100;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #a70000;
    transform: translateY(-3px);
}






/*-----------------------------------------------------------------------media query---------------------------------------------------*/

   

/*----------------------------------------------welcome to ccsi computer media query-------------------------------*/

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    
    
    .logo {
        margin-left: 0;
    }
}

/*------------------------------------larger,medium,smaller query----------------------------------*/

/* Large Screens (Desktop and Larger) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-content {
        padding: 40px;
    }
    
   
    .logo {
        margin-left: 150px;
    }
    
    .logo-text {
        font-size: 22px;
    }
}

/* Medium Screens (Tablets and Small Laptops) */
@media (min-width: 769px) and (max-width: 1199px) {
    .hero-section {
        padding: 15px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .hero-text {
        font-size: 14px;
    }
    
 
    
    .logo {
        margin-left: 110px;
    }
    
   
    .learn-more-btn {
        padding: 10px 25px;
    }
}

/* Small Screens (Mobile Devices) */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 10px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-text {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    
    
    .logo {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
   
    
    .learn-more-btn {
        display: block;
        text-align: center;
        padding: 10px 20px;
        margin: 15px auto;
    }
    
    .hero-image {
        margin-top: 20px;
    }
    
    .decorative-element {
        display: none; /* Hide decorative elements on mobile for better performance */
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .header-section {
        padding: 10px;
        flex-direction: column;
    }
   
    .back-to-top {
        width: 30px;
        height: 30px;
        bottom: 10px;
        right: 10px;
    }
}

