* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}


.Projects-container{
    margin-top: 50px;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    
}

   /* Partners Section */
   .partners-container {
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
}


.partners-container h2 {
    color: #254B72;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.partners-bg {
    width: 100%;
    max-width: 900px;
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
   
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.partner-logo {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partners-description {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #254B72;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

.gallery-title {
    font-weight: 600;
    color: #254B72;
    margin-bottom: 40px;
    text-align: center;
}

.gallery {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.photos-section{
    display: flex;
    justify-content: center;
}

.image-container {
    position: absolute;
    height: 220px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    overflow: hidden;
}

.image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Position styles for centering with left and right stacks */
.main {
    z-index: 50;
    width: 400px;
    transform: translateX(0);
    height: 100%;
}

.right-1 {
    z-index: 45;
    width: 400px;
    transform: translateX(20px);
    height: 80%;
}

.right-2 {
    z-index: 40;
    width: 400px;
    height: 60%;
    transform: translateX(40px);
}

.right-3 {
    z-index: 35;
    width: 400px;
    transform: translateX(60px);
    height: 40%;
}



.left-1 {
    z-index: 45;
    width: 400px;
    transform: translateX(-20px);
    height: 80%;
}

.left-2 {
    z-index: 40;
    width: 400px;
    height: 60%;
    transform: translateX(-50px);
}

.left-3 {
    z-index: 35;
    width: 400px;
    transform: translateX(-60px);
    height: 40%;
}

@media  (max-width: 570px) {
    .gallery {
        height: 220px; 
    }
    
    .image-container {
        height: 160px; 
    }
    
   
    .main {
        width: 240px; 
        height: 100%;
    }
    
    
    .right-1 {
        width: 240px;
        transform: translateX(15px);
        height: 80%;
    }
    
    .right-2 {
        width: 240px;
        transform: translateX(30px);
        height: 60%;
    }
    
    .right-3 {
        width: 240px;
        transform: translateX(45px);
        height: 40%;
    }
    
   
    .left-1 {
        width: 240px;
        transform: translateX(-15px);
        height: 80%;
    }
    
    .left-2 {
        width: 240px;
        transform: translateX(-30px);
        height: 60%;
    }
    
    .left-3 {
        width: 240px;
        transform: translateX(-45px);
        height: 40%;
    }
    
   
    .gallery-title {
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    .partners-description {
        margin: 10px;
    }
}


@media (max-width: 400px) {
    .gallery {
        height: 180px;
    }
    
    .image-container {
        height: 140px;
    }
    
    
    .main {
        width: 200px;
        height: 100%;
    }
    
    
    .right-1 {
        width: 200px;
        transform: translateX(10px);
        height: 80%;
    }
    
    .right-2 {
        width: 200px;
        transform: translateX(20px);
        height: 60%;
    }
    
    .right-3 {
        width: 200px;
        transform: translateX(30px);
        height: 40%;
    }
    
    
    .left-1 {
        width: 200px;
        transform: translateX(-10px);
        height: 80%;
    }
    
    .left-2 {
        width: 200px;
        transform: translateX(-20px);
        height: 60%;
    }
    
    .left-3 {
        width: 200px;
        transform: translateX(-30px);
        height: 40%;
    }
}


/* ------Dark mode------ */
body.dark-mode ,body.dark-mode .section-four {
    background-color: #010A16;  }

    body.dark-mode .form-control {
        background-color: transparent;
        color: white !important;
    }
    
    body.dark-mode .form-group label{
        color: #FFFFFFC7;
    }
    
    
    body.dark-mode select.form-control {
        background-color: #010A16!important;
    }
    
    
    body.dark-mode input::placeholder {
        color: #FFFFFFC7;  
    }
    
    
    
    
    body.dark-mode .phone-number-styles{
        background-color: transparent;
    }
    
    body.dark-mode .partners-description {
        color: rgb(255, 255, 255,0.7);
    }

    body.dark-mode .gallery-title{
        color: white;
    }












 /* -----------contact us section------- */

.section-four {
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-heading {
    color: #254B72;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #254B72;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;

}

.form-control {
    padding: 12px 15px;
    border: 1px solid #C6C9CE;
    border-radius: 6px;
    font-size: 14px;
    color: #8987A1;
    width: 100%;
    font-weight: 400px;
}

.form-control::placeholder {
    color: #AFAFAF;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.half-width {
    width: 50%;
}

/* Phone input styling */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #C6C9CE;
    border-radius: 6px;
    overflow: hidden;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background-color: #F8F8F8;
    border: 1px solid #C6C9CE;
    height: 44px;
    gap: 8px;
}

.flag {
    width: 24px;
    height: 16px;
    display: flex;
    align-items: center;
}

.flag img {
    width: 100%;
    height: auto;
}

.phone-number-styles{
    width: 100% !important;padding: 12px 15px;
    border: 1px solid #C6C9CE;
    border-radius: 6px;
    font-size: 14px;
    color: #8987A1;
    width: 100%;
}

/* Select styling */
.select-container {
    position: relative;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.dropdown-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 12px;
    height: 12px;
}





.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.file-upload-container {
    width: 100%;
}

.file-upload-box {
    border: 1px dashed #AFAFAF;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-box.active {
    border-color: #4a90e2;
    background-color: rgba(74, 144, 226, 0.05);
}

#uploadPrompt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.file-upload-box p {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.file-type-hint {
    font-size: 12px;
    color: #AFAFAF;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}


#selectedFilesPreview {
    width: 100%;
}

.file-preview {
    display: flex;
    align-items: center;
    text-align: left;
}

.file-preview-image {
    max-width: 100px;
    max-height: 80px;
    margin-right: 15px;
    border-radius: 4px;
}

.file-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pdf-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23e74c3c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>');
}

.word-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%232b5797" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>');
}

.excel-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23217346" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>');
}

.image-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%233498db" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="8.5" cy="8.5" r="1.5"/><polyline points="21 15 16 10 5 21"/></svg>');
}

.generic-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23888888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"/><polyline points="13 2 13 9 20 9"/></svg>');
}

.file-info {
    flex-grow: 1;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    word-break: break-all;
}

.file-size {
    font-size: 12px;
    color: #888;
}

.remove-file-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    margin-top: 10px;
}

.remove-file-btn:hover {
    background-color: #e9e9e9;
}

/* Multiple files styling */
.multiple-files {
    width: 100%;
    text-align: left;
}

.files-count {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.files-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px;
}

.files-list li {
    display: flex;
    justify-content: space-between;
    padding: 4px 8px;
    border-bottom: 1px solid #f5f5f5;
}

.files-list li:last-child {
    border-bottom: none;
}

/* Submit button */
.submit-btn {
    background-color: #336D94;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #336D94;
}


.form-control:focus ,
.phone-number-styles:focus{
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid #C6C9CE !important;
  }

  

  .phone-field:focus{
    border: none!important;
  }

  /* Custom dropdown styling */
.custom-dropdown {
    position: relative;
    width: 100%;
  }
  
  .custom-dropdown-selected {
    padding: 12px 15px;
    border: 1px solid #C6C9CE;
    border-radius: 6px;
    font-size: 14px;
    color: #8987A1;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
  }
  
  body.dark-mode .custom-dropdown-selected {
    background-color: #010A16;
    color: white;
  }
  
  .custom-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; 
    max-height: 300px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #C6C9CE;
    border-radius: 0 0 6px 6px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  body.dark-mode .custom-dropdown-list {
    background-color: #010A16;
    color: white;
  }
  body.dark-mode  .iti__country-list{
    background-color: #010A16;
    color: white;
  }
  
  .custom-dropdown-option {
    padding: 10px 15px;
    cursor: pointer;
  }
  
  .custom-dropdown-option:hover {
    background-color: #f5f5f5;
  }
  
  body.dark-mode .custom-dropdown-option:hover {
    background-color: #01101C;
  }
  

  .select-container select {
    display: none;
  }

  