/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Main Container - Consistent sizing for all sections */
.main-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .main-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0 0.75rem;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}



.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.navigation {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    cursor: pointer;
    padding: 10px 0;
    font-weight: 600;
    font-size: 1.25rem;
    color: #3B3939;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #4F8FE5;
}

.nav-item.active {
    color: #4F8FE5;
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #4F8FE5;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    scroll-margin-top: 100px; 
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
}

.hero-text {
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    background: white;
    color: #333;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Desktop Styles */
@media (min-width: 1024px) {
    
    .hero-content {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .contact-form-container {
        max-width: 1000px;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .form-section {
        margin-bottom: 3rem;
    }

    .contact-form {
        padding: 3rem;
    }

    .form-title {
        font-size: 3rem;
    }

    .form-subtitle {
        font-size: 1.5rem;
    }

    .form-description {
        font-size: 1.25rem;
    }

    .why-partner-container {
        padding: 0 8rem;
    }

    .partner-cards-grid {
        gap: 3rem;
    }

    .custom-dropdown-input {
        padding: 1rem 2.5rem 1rem 1rem;
        font-size: 1.1rem;
    }

    .custom-dropdown-option {
        padding: 1rem 1.25rem;
        font-size: 1.1rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1023px) {
    

    .hero-content {
        max-width: 60rem;
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .contact-form-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .why-partner-container {
        padding: 0 3rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .navigation {
        gap: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .header-container {
        padding: 0;
    }
    .logo img {
        height: 40px;
    }
    .hero-content {
        margin-top: 7rem;
    }

    .about-bg-image {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .navigation {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        font-size: 14px;
    }
}

/* About Us Section */
.about-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: #F7FAFF;
}

.about-bg-image {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.about-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #003071;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #3B3939;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.03rem;
    font-weight: 400;
}

/* Features Section */
.features-section {
    padding: 20px 0 20px 0;
    background-color: #fff;
    scroll-margin-top: 100px; 
}

.features-container {
    width: 100%;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    padding: 1rem;
    min-width: 200px;
}

.feature-text {
    font-size: 1rem;
    color: #3B3939;
    line-height: 1.5;
    font-weight: 400;
}

.feature-divider {
    width: 1px;
    height: 60px;
    background: #d1d5db;
    margin: 0 1rem;
    flex-shrink: 0;
}

/* Responsive Design for About Section */
@media (max-width: 1024px) {
    .about-content {
        padding: 0 3rem;
    }

    .features-container {
        padding: 0 3rem;
        max-width: 1700px;
    }

    .features-grid {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feature-item {
        flex: 1 1 calc(50% - 1rem);
        min-width: 250px;
    }

    .feature-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        padding: 0 2rem;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .features-section {
        padding: 60px 0;
    }

    .features-container {
        padding: 0 2rem;
        max-width: 1700px;
    }

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

    .feature-item {
        flex: none;
        width: 100%;
        padding: 0.5rem;
        border-bottom: 1px solid #B8B8B8;
        padding-bottom: 2rem;
    }

    .feature-divider {
        display: none;
    }

    .why-saudi-container {
        padding: 0 3rem;
        gap: 3rem;
        margin-left: 0 !important;
    }

    .why-saudi-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        gap: 1.5rem;
        display: block !important;
    }

    .stat-item {
        min-width: 180px;
        margin-bottom: 1rem;
    }

    .logo-image {
        max-width: 200px;
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: 0 1rem;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 0.9rem;
    }

    .features-container {
        padding: 0 1rem;
        max-width: 1700px;
    }

    .why-saudi-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 2rem;
    }

    .why-saudi-title {
        font-size: 2rem !important;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-item {
        min-width: 150px;
        padding: 1rem;
    }

    .why-saudi-visual {
        min-height: 300px;
    }

    .logo-image {
        max-width: 150px;
        max-height: 150px;
    }
}

/* Contact Form Section */
.contact-form-section {
    background-color: #F8FAFC;
    padding: 5rem 0;
    scroll-margin-top: 100px; 
}

.contact-form-container {
    max-width: 800px;
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
}

.form-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #003071;
    margin-bottom: 1rem;
}

.form-subtitle {
    font-size: 1.25rem;
    color: #3B3939;
    font-size: 1.25rem;
    font-weight: 400;
}

.form-description {
    font-size: 1.25rem;
    color: #3B3939;
    font-weight: 400;
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

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

.form-label {
    font-size: 1rem;
    font-weight: 400;
    color: #001B40;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea,
.form-multiselect {
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    color: #374151;
    background-color: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-multiselect:focus {
    outline: none;
    border-color: #052D67;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-multiselect {
    min-height: 120px;
    padding: 0.5rem;
}

/* Custom Multiselect Styles */
.custom-multiselect {
    position: relative;
    width: 100%;
}

.multiselect-input {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 48px;
    padding: 0.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.multiselect-input:focus-within {
    border-color: #052D67;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-right: 0.5rem;
}

.selected-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #052D67;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    animation: tagSlideIn 0.2s ease-out;
}

.tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.tag-remove:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.multiselect-search {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 1rem;
    color: #374151;
    background: transparent;
    min-width: 120px;
}

.multiselect-search::placeholder , input::placeholder{
    color: #909090;
    font-size: 0.875rem;
    font-weight: 400;
}

.multiselect-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    transition: transform 0.2s ease;
}

.multiselect-input.open .multiselect-arrow {
    transform: rotate(180deg);
}

.multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #D1D5DB;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.multiselect-dropdown.show {
    display: block;
    animation: dropdownSlideIn 0.2s ease-out;
}

.dropdown-options {
    padding: 0.5rem 0;
}

.dropdown-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-option:hover {
    background-color: #F3F4F6;
}

.dropdown-option.selected {
    background-color: #EBF8FF;
    color: #1E40AF;
}

.dropdown-option.selected::after {
    content: "✓";
    color: #052D67;
    font-weight: bold;
}

.dropdown-option.hidden {
    display: none;
}

@keyframes tagSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Use Cases Section */
.use-cases-container {
    margin-top: 1.5rem;
}

.use-case-item {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.use-case-item:last-child {
    margin-bottom: 0;
}

.use-case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.use-case-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.use-case-industry {
    background-color: #052D67;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.delete-use-case {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.delete-use-case:hover {
    background-color: #FEF2F2;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* File Upload Section */
.file-upload-container {
    text-align: center;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 5px;
    border: 1px dashed #A8A8A7;
    border-radius: 0.25rem;
    background-color: #F8FAFC;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    width: 100%;
    height: 100%;
    position: relative;
}

.file-upload-text {
    color: #909090;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
    letter-spacing: 0.02em;
}

.file-upload-label:hover {
    background-color: #EBF8FF;
    border-color: #3B82F6;
}

.file-upload-info {
    font-size: 0.875rem;
    color: #909090;
    margin-top: 0.5rem;
    text-align: start;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    background-color: #57C5E0;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.submit-btn:hover {
    background-color: #3B82F6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

/* Contact Form Responsive Design */
@media (max-width: 768px) {
    .why-saudi-content {
        padding-right: 0 !important;
    }
    .contact-form-section {
        padding: 3rem 0;
    }

    .contact-form-container {
        padding: 0 1rem;
    }

    .form-title {
        font-size: 2rem;
    }

    .form-subtitle {
        font-size: 1.125rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .use-case-item {
        padding: 1rem;
    }

    .file-upload-label {
        padding: 1.5rem;
        min-width: 150px;
    }

    .submit-btn {
        padding: 0.875rem 2rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 2rem 0;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .form-subtitle {
        font-size: 1rem;
    }

    .form-description {
        font-size: 0.875rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-section {
        margin-bottom: 2rem;
    }

    .use-case-item {
        padding: 0.75rem;
    }

    .file-upload-label {
        padding: 1rem;
        min-width: 120px;
    }
}

/* Footer Section */
.footer {
    background-color: #1a2332;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-container {
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-section {
    flex: 1;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-row {
    display: flex;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    width: 38%;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #57C5E0;
}

.contact-text {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    text-align: start;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Address Section */
.address-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.address-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 0.25rem;
}

.address-text {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
}

/* Logo Section */
.logo-section {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-logo-image {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.company-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
    line-height: 1.2;
}

.company-tagline {
    color: white;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    opacity: 0.9;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.copyright {
    font-size: 0.875rem;
    color: white;
    margin: 0;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        gap: 1.5rem;
    }

    .footer-logo-image {
        max-width: 190px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem 0;
    }

    .contact-section {
        margin-left: 2rem;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-content {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .address-section {
        justify-content: center;
    }

    .logo-section {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo-image {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem 0;
    }

    .contact-row {
        display: block;
    }

    .contact-item {
        width: 100%;
        margin-bottom: 1rem;
    }

    .address-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-logo-image {
        max-width: 160px;
    }
}

/* Why Saudi Arabia for AI Section */
.why-saudi-section {
    background-color: #003071;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    scroll-margin-top: 100px;
}

.why-saudi-container {
    display: flex;
    gap: 4rem;
    min-height: 500px;
    margin-left: 2rem;
    width: 100%;
}

.right-image {
    position: relative;
    z-index: 2;
    height: initial;
    min-height: 500px;
    max-width: 33%;
}
.right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-saudi-content {
    flex: 1;
    color: white;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 4rem;
}

.why-saudi-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 2rem;
    line-height: 1.2;
    color: #4F8FE5;
}

.why-saudi-text {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    letter-spacing: -0.03rem;
    font-weight: 500;
}

.stats-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.stat-item {
    background: #003071;
    backdrop-filter: blur(10px);
    border: 1px solid #4F8FE5;
    border-radius: 0.5rem;
    padding: 1.5rem;
    flex: 1;
    min-width: 14.5rem;
    text-align: start;
    font-size: 1rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #4F8FE5;
}

.stat-label {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: #FFF;
}

.why-saudi-visual {
    flex: 1;
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 500px;
    /*background-image: url('https://static.codia.ai/image/2025-09-28/bdSXYF6qPg.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: 2rem;
}

.ax-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-image {
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.7));
}

/* Why Partner with Us Section */
.why-partner-section {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

.why-partner-container {
    margin: 0 auto;
}

.why-partner-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003071;
    margin-bottom: 1.5rem;
}

.why-partner-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #3B3939;
    margin: 0 auto 3rem auto;
    font-weight: 500;
}

.partner-cards-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-card {
    background-color: #F7FAFF;
    border-radius: 1.5rem;
    padding: 1rem;
    flex-direction: column;
    text-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 20.9rem;
    min-height: 15.875rem;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}



.card-icon img {
    width: 100%;

}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #57C5E0;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 1.125rem;
    color: #3B3939;
    line-height: 1.6;
    font-weight: 400;
}

/* Responsive Design for Why Partner Section */
@media (max-width: 1024px) {
    .why-partner-container {
        padding: 0 3rem;
    }

    .partner-cards-grid {
        gap: 1.5rem;
    }

    .partner-card {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .right-image {
        min-height: 410px;
        max-width: 100%;
    }
    .why-saudi-text {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }
    .why-saudi-section {
        flex-direction: column;
    }
    .why-partner-section {
        padding: 20px 0;
    }

    .why-partner-container {
        padding: 0 2rem;
    }

    .why-partner-title {
        font-size: 2rem;
    }

    .why-partner-description {
        font-size: 1rem;
    }

    .partner-cards-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .partner-card {
        flex: none;
        width: 100%;
        min-width: 100%;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .why-partner-container {
        padding: 0 1rem;
    }

    .why-partner-title {
        font-size: 1.75rem;
    }


    .card-icon img {
        width: 100%;
        height: 80px;
    }
}

/* File Upload Preview Styles */
.file-preview-container {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.file-preview-item {
    position: relative;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f9fafb;
    min-width: 200px;
    max-width: 200px;
}

.file-preview-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.file-preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-preview-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    word-break: break-all;
}

.file-preview-size {
    font-size: 0.75rem;
    color: #6b7280;
}

.file-preview-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background-color 0.2s;
}

.file-preview-remove:hover {
    background-color: #dc2626;
}

.file-preview-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    border-radius: 4px;
}

.file-preview-icon svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    color: #374151;
    background-color: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.custom-dropdown-input:focus {
    outline: none;
    border-color: #052D67;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.custom-dropdown-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.custom-dropdown.open .custom-dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #D1D5DB;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.custom-dropdown.open .custom-dropdown-menu {
    display: block;
}

.custom-dropdown-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #374151;
}

.custom-dropdown-option:hover {
    background-color: #F3F4F6;
}

.custom-dropdown-option.selected {
    background-color: #EFF6FF;
    color: #052D67;
    font-weight: 500;
}

/* Phone validation styles */
#valid-msg, #error-msg {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

#valid-msg {
    color: #10B981;
}

#error-msg {
    color: #EF4444;
}

#valid-msg.hide, #error-msg.hide {
    display: none;
}

.form-input.error {
    border-color: #EF4444;
}

/* intl-tel-input styling */
.iti {
    width: 100%;
}

input[type="tel"] {
    width: 100%;
}
/* intl-tel-input dropdown positioning */
.iti__country-list {
    z-index: 1000 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 4px !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    min-width: 300px !important;
    background: white !important;
}

/* intl-tel-input search styling */
.iti__search-container {
    padding: 8px 12px !important;
    border-bottom: 1px solid #E5E7EB !important;
    background-color: #F9FAFB !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.iti__search-input {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    outline: none !important;
    background-color: white !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.iti__search-input:focus {
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.iti__search-input::placeholder {
    color: #9CA3AF !important;
    font-size: 14px !important;
}

/* Style individual country options */
.iti__country {
    padding: 8px 12px !important;
    font-size: 14px !important;
    transition: background-color 0.2s ease !important;
}

.iti__country:hover {
    background-color: #F3F4F6 !important;
}

.iti__country.iti__highlight {
    background-color: #EFF6FF !important;
    color: #052D67 !important;
}

/* Style the flag and country name */
.iti__country-name {
    margin-left: 8px !important;
    color: #374151 !important;
}

.iti__flag {
    width: 20px !important;
    height: 10px !important;
}

.iti__selected-flag {
    background-color: white !important;
    border-radius: 8px !important;
}

.iti__selected-dial-code {
    color: #3B3939;
    font-size: 14px;
    font-weight: 400;
}

.iti__arrow {
    width: 21px !important;
    height: 8px !important;
    background-image: url('/ai-partnership/images/arrow-down.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    border: none !important;
    margin: 0 !important;
    transition: transform 0.2s ease !important;
}

.iti__arrow--up {
    transform: rotate(180deg) !important;
}

/* Mobile responsiveness for intl-tel-input */
@media (max-width: 768px) {
    .iti__country-list {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90vw !important;
        max-width: 400px !important;
        max-height: 70vh !important;
        z-index: 1000 !important;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
        border-radius: 12px !important;
        background: white !important;
        border: 1px solid #E5E7EB !important;
    }
    
    .iti__search-container {
        padding: 12px 16px !important;
        border-radius: 12px 12px 0 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        background-color: #F9FAFB !important;
    }
    
    .iti__search-input {
        padding: 12px 16px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background-color: white !important;
        border: 1px solid #D1D5DB !important;
    }
    
    .iti__country {
        padding: 12px 16px !important;
        font-size: 16px !important;
    }
    
    /* Mobile search styling */
    .iti__search-container,
    .iti__search-input {
        height: auto !important;
        min-height: 44px !important;
    }
    
    /* Ensure search is always at the top of the dropdown */
    .iti__country-list .iti__search-container {
        order: -1 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        background: #F9FAFB !important;
        border-bottom: 1px solid #E5E7EB !important;
    }
    
    /* Make sure search input is functional when dropdown is open */
    .iti__country-list .iti__search-input {
        width: 100% !important;
        background: white !important;
        border: 1px solid #D1D5DB !important;
        border-radius: 6px !important;
        padding: 12px 16px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
    }
}

/* Country dropdown search styles */
.dropdown-search-container {
    padding: 8px 12px;
    border-bottom: 1px solid #E5E7EB;
    background-color: #F9FAFB;
}

.dropdown-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.dropdown-search-input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dropdown-options-container {
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-options-container::-webkit-scrollbar {
    width: 6px;
}

.dropdown-options-container::-webkit-scrollbar-track {
    background: #F3F4F6;
}

.dropdown-options-container::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

.dropdown-options-container::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Hide outer scrollbar for the main dropdown container */
.custom-dropdown-menu {
    overflow: hidden;
}

.custom-dropdown-menu::-webkit-scrollbar {
    display: none;
}

.custom-dropdown-menu {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
