
.hero-section{
    background-image: linear-gradient(#f5f5f2f0),url(../images/grid.png);
    background-position: 50%;
    background-size: 20%;
    backdrop-filter: blur(50px);
    display: grid;
    justify-items: center;
    height: 80vh;
    align-content: center;
    gap: 20px;
    background-color: #f5f5f2;
    position: relative;
    cursor: url('../icon/cursor.png'), pointer;
}
.fancy{
      position: relative;
      display: inline-block;
}
.fancy::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 100%;
    height: 5px;
    z-index: -1;
    /*background-color: #c8e82a;*/
    background-color:var(--secondary-color);
}
.hero-section h1,.hero-section p{
   text-align: center;
}
.hero-section h1{
    color: var(--primary-color);
    font-size: 3.1em;
    font-weight: 600;
    width: 70%;
    margin: 10px 0;
}
.hero-section p{
    font-size: large;
    width: 70%;
}
.hero-section .cta a{
    background-color: var(--primary-color);
    color:white;
    padding: 15px 25px;
    border-radius: 18px;
    transition: all 0.5s ease-in;
}
.hero-section .cta a:hover{
    background-color: var(--secondary-color);
}
.tech-companies h3{
    font-size:x-large;
}
.tech-companies div{
    display: flex;
    gap: 100px;
    animation: scroll 15s linear infinite;
    margin: 50px 0;
}
.tech-companies div img{
    width: 100px;
    opacity: 0.6;
}
@keyframes scroll {
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-100%);
    }
}
.program{
    background-color: var(--primary-color);
    color: white;
    padding-bottom: 40px;
    padding-top: 40px;
}
.program h2{
    text-align: center;
}
.program h2{
    font-size: 2.5em;
}
.all-program-cards{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}
.program-card{
    border: 1px solid var(--secondary-color);
    padding: 17px;
    border-radius: 18px;
}
.program-card img{
    width:100%;
    height: 230px;
    border-radius: 20px;
}
.program-card div a{
    background-color: var(--secondary-color);
    color:white;
    padding: 12px 15px;
    border-radius: 18px;
    transition: all 0.5s ease-in;
}
.program-card div a:hover{
    background-color: white;
    color: black;
}
.benefits{
    padding-bottom: 80px;
    padding-top: 80px;
}
.benefits .cont{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}
.benefits h2, .benefits > p{
    text-align: center;
}
.benefits h2{
    font-size: 2.5em;
}
.benefits p{
    font-size: 1.2em;
}
.benefit-card{
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.426);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    background-color: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 20px;
}
.benefit-card p{
  opacity: 0.8;
}
.benefit-card div{
    display: flex;
    justify-content: space-between;
    align-content: center;
}
.benefit-card div span{
    font-size: 1.5em;
}
.benefit-card div img{
    width: 30px;
    filter: var(--white-filter);
}

/* Apply Section */
.apply {
    padding: 80px 20px;
    background-image: linear-gradient(#f5f5f2f0),url(../images/grid.png);
    background-position: 50%;
    background-size: 20%;
    backdrop-filter: blur(50px);
    color: black;
}

.apply-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.apply-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.apply-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.apply-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
}

.apply-form {
    background: var(--primary-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.apply-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.internship-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cbd5e1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
}

.form-group input.error:focus,
.form-group select.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    /*color: #1f2937;*/
    color: white;
    font-size: 0.95rem;
}

/* Required field indicator */
.required-field::after {
    content: ' *';
    color: #ef4444;
    font-weight: 700;
}

/* Form improvements */
.form-group select {
    cursor: pointer;
}

.form-group select option {
    padding: 0.5rem;
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    color: #4b5563;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

/*.radio-label input[type="radio"] {
    display: none;
}*/

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #4c0082;
    background: #4c0082;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-text {
    font-weight: 500;
    color: white;
}

/* Checkbox Styles */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.5;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #4c0082;
    background: #4c0082;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text {
    font-weight: 500;
    color: white;
}

/* File Upload Styles */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    border-color: #4c0082;
    background: #f5f3ff;
}

.file-upload-label i {
    font-size: 2rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.file-upload-label span {
    color: #6b7280;
    font-weight: 500;
}

.file-info {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #f5f3ff;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #4c0082;
    display: none;
}

.file-info.show {
    display: block;
}

.submit-button {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 0, 130, 0.3);
}
.newsletter{
    padding-bottom: 40px;
    padding-top: 40px;
    display: grid;
    justify-content: center;
    background-image: linear-gradient(#f5f5f2f0),url(../images/grid.png);
    background-position: 50%;
    background-size: 10%;
}
.newsletter h3{
    text-align: center;
    font-size: 1.8em;
}
.newsletter input,.newsletter button{
    font-size: 1.2em;
    border-radius: 20px;
}
.newsletter button{
    border: none;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 12px;
    transition: all 0.5s ease;
}
.newsletter button:hover{
    background-color: var(--primary-color);
}
.newsletter input{
    width: 30vw;
    border: none;
    outline: none;
    padding: 0 10px;
    background:transparent;
}
.newsletter div{
    border: 1px solid var(--secondary-color);
    width: fit-content;
    display: flex;
    border-radius: 20px;
}

@media screen and (max-width:767px) {
    .hero-section{
         background-image: linear-gradient(rgba(245, 245, 242, 0.912)),url(../images/grid.png);
         background-position: 50%;
         background-size: 70%;
    }
    .hero-section h1{
        color: var(--primary-color);
        font-size: 2.3em;
        font-weight: 600;
        width: 100%;
        margin: 2px 0;
    }
    .hero-section p{
        font-size: large;
        width: 100%;
    }
    .hero-section .cta a{
        padding-left: 22px;
        padding-right: 22px;
        font-size: 1.2em;
    }
    .tech-companies h3{
        font-size:1.3em;
    }
    .tech-companies div{
        display: flex;
        gap: 50px;
        animation: scroll 20s linear infinite;
        margin: 50px 0;
    }
    .tech-companies div img{
        width: 60px;
        opacity: 0.8;
    }
    .program h2{
        font-size: 1.8em;
    }
    .all-program-cards{
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .program-card{
        padding: 20px 17px;
    }

    

    .program-card img{
    width:100%;
    height: 250px;
    border-radius: 20px;
}
    .benefits .cont{
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .benefits h2, .benefits > p{
        text-align: center;
    }
    .benefits h2{
        font-size: 2em;
    }
    .newsletter h3{
        font-size: 1.5em;
    }
    .newsletter input{
        width: 100%;
    }
    .apply-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
        align-items: start;
    }
    .apply-form{
        padding:20px 10px;
    }
    .fancy::after{
        bottom: 8px;
    }
}

@media  screen and (max-width:480px) {
     .hero-section{
        height: 80vh;
     }
}

@media  screen and (max-width:330px) {
     .hero-section{
        height:90vh;
     }
     .hero-section h1{
        font-size: 1.8em;
     }
}



