* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background-color: #fff1f1;
    position: relative;
    overflow-x: hidden;
    
} 


/*-------------------------------------Contact Us For A Free Consultation------------------------------*/

.two {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.cta-section {
    background-color: #8BC34A; /* Bright green background */
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin-top: 50px;
}

.top-text {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.heading {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 25px;
}

.description {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #ff0000; /* Purple button */
    color: white;
}

.btn-secondary {
    background-color: white;
    color: #666;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*--------------------------welcome to ccsi computer---------------------------




/* Hero Section */
.hero-section {
    display: flex;
    padding: 20px;
    position: relative;
}

.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);
}








/*------------------------------------------registration form--------------------------*/

.three {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.regis {
    background-color: #f5f5f5;
    color: #333;
    padding: 15px 0;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.container-regis {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
    font-size: 16px;
    background-color: transparent;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 10px;
    color: #999;
    pointer-events: none;
}

.form-control.select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: A30px;
}

.btn-register {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, #ff0000, #a70000);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register:hover {
    opacity: 0.9;
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.chat-header {
    font-weight: bold;
    margin-bottom: 5px;
}

.chat-message {
    color: #777;
    font-size: 14px;
}

/* Success message */
.success-message {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: #dff0d8;
    color: #3c763d;
    border-radius: 5px;
    margin-top: 20px;
}


/*-------------------------------------------------media query--------------------------------------*/





/*-------------------------------------Contact Us For A Free Consultation query------------------------------*/

@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .heading {
        font-size: 28px;
    }
    
    .description {
        padding: 0 10px;
    }
}


/* Large screens (desktop) - 1200px and above */
@media screen and (min-width: 1200px) {
    .cta-section {
        padding: 80px 40px;
    }
    
    .top-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .heading {
        font-size: 42px;
        margin-bottom: 30px;
    }
    
    .description {
        font-size: 18px;
        max-width: 900px;
        margin-bottom: 35px;
    }
    
    .btn {
        padding: 16px 40px;
        font-size: 18px;
    }
}

/* Medium screens (tablet) - 768px to 1199px */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .cta-section {
        padding: 50px 30px;
    }
    
    .heading {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .description {
        font-size: 16px;
        max-width: 700px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* Small screens (mobile) - up to 767px */
@media screen and (max-width: 767px) {
    .two {
        min-height: 40vh;
    }
    
    .cta-section {
        padding: 40px 15px;
    }
    
    .top-text {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .heading {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .description {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
        width: 80%;
        margin: 0 auto;
    }
}

/* Extra small screens - up to 480px */
@media screen and (max-width: 480px) {
    .two {
        min-height: 30vh;
    }
    
    .cta-section {
        padding: 30px 10px;
    }
    
    .heading {
        font-size: 22px;
    }
    
    .description {
        font-size: 14px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
}
/*---------------------------------welcome to cci computer education- query-------------------------------------*/
/*------------------------------------larger,medium,smaller query----------------------------------*/

/* Large Screens (Desktop and Larger) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-content {
        padding: 40px;
    }
    
    /*.mascot-container {
        left: 40px;
        top: 100px;
    }*/
    
    .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;
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 32px;
        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;
    }
}


/*------------------------------------------registration form query--------------------------*/

/* Large screens (desktop) - 1200px and above */
@media screen and (min-width: 1200px) {
    .container-regis {
        max-width: 600px;
        padding: 40px;
    }
    
    .regis {
        font-size: 28px;
        padding: 20px 0;
    }
    
    h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .form-control {
        font-size: 18px;
        padding: 12px 0;
    }
    
    .btn-register {
        padding: 18px;
        font-size: 20px;
    }
    
    .chat-widget {
        padding: 20px;
        bottom: 30px;
        right: 30px;
    }
    
    .chat-header {
        font-size: 18px;
    }
    
    .chat-message {
        font-size: 16px;
    }
}

/* Medium screens (tablet) - 768px to 1199px */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .container-regis {
        max-width: 500px;
        padding: 25px;
    }
    
    .regis {
        font-size: 22px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}

/* Small screens (mobile) - up to 767px */
@media screen and (max-width: 767px) {
    .container-regis {
        max-width: 100%;
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .regis {
        font-size: 20px;
        padding: 12px 0;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        font-size: 15px;
        padding: 8px 0;
    }
    
    .btn-register {
        padding: 12px;
        font-size: 16px;
    }
    
    .chat-widget {
        width: 250px;
        padding: 10px;
        bottom: 15px;
        right: 15px;
    }
    
    .chat-header {
        font-size: 14px;
    }
    
    .chat-message {
        font-size: 12px;
    }
}

/* Extra small screens - up to 480px */
@media screen and (max-width: 480px) {
    .container-regis {
        padding: 15px 10px;
    }
    
    .regis {
        font-size: 18px;
        padding: 10px 0;
    }
    
    h1 {
        font-size: 22px;
    }
    
    .subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        font-size: 14px;
    }
    
    .btn-register {
        padding: 10px;
        font-size: 15px;
    }
    
    .chat-widget {
        width: 200px;
        padding: 8px;
        bottom: 10px;
        right: 10px;
    }
    
    .success-message {
        padding: 15px;
        font-size: 14px;
    }
}



