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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 990;
    padding: 15px 0;
    overflow-x: hidden;
}

.header-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap;
    width: 100%;
}

.header-logo {
    height: 60px;
    width: auto;
    max-width: 30%;
    object-fit: contain;
    flex-shrink: 1;
}

/* Hero Section with Background Image */
.hero-section {
    background-image: url('logos/Frame 1000003382.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 150px 0 80px 0;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
}

.hero-description {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 50px;
    color: #fff;
}

.cta-button {
    display: inline-block;
    background-color: #fff700;
    color: #000;
    padding: 18px 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #ffe600;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 247, 0, 0.4);
}

/* Info Section (Diplomas + Requirements) */
.info-section {
    background-color: #f5f5f5;
    padding: 80px 0 40px 0;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: stretch;
}

.info-column-left {
    display: contents;
}

.info-column-left .text-card:first-child {
    order: 1;
}

.diploma-card {
    order: 2;
}

.info-column-left .how-to-apply-card {
    order: 3;
}

.info-column-right {
    display: none;
}

.text-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.test-scores-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.diploma-card-mobile {
    display: none;
}

.test-scores-desktop {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.info-card {
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.diploma-card {
    padding: 30px;
}

.diploma-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.card-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.card-description {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
}

.highlight {
    color: #00B8D4;
    font-weight: 600;
}

.diploma-single {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.test-scores {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.score-card {
    background-color: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.3s ease;
}

.score-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.score-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.score-value {
    font-size: 28px;
    font-weight: 700;
    color: #00B8D4;
    white-space: nowrap;
}

/* Advantages Section */
.advantages-section {
    background-color: #f5f5f5;
    padding: 20px 0 80px 0;
}

.advantages-section .section-title {
    text-align: center;
}

.advantages-list {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
}

.check-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 5px;
}

.advantage-item p {
    font-size: 20px;
    line-height: 1.5;
    color: #333;
}

/* Form Section */
.form-section {
    background-color: #fff;
    padding: 80px 0;
}

.form-container {
    border: 3px solid #00B8D4;
    border-radius: 40px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background-color: #fff;
}

.form-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #00B8D4;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 40px;
}

.form-logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.form-logo {
    width: 280px;
    height: auto;
    object-fit: contain;
}

.form-logo:last-child {
    width: 350px;
    margin-top: -10px;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.phone-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    font-size: 16px;
    border: 2px solid #00B8D4;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00B8D4;
    box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-group select {
    color: #000;
}

.form-group input,
.form-group select option {
    color: #000;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 45px;
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 120px;
    padding: 18px 15px;
    font-size: 16px;
    border: 2px solid #00B8D4;
    border-radius: 15px;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.submit-button {
    width: 100%;
    background-color: #fff700;
    color: #000;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #ffe600;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 247, 0, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

/* Form Bottom Logos - reuse header-logos style */
.form-bottom-logos {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.form-bottom-logo {
    height: 32px;
    width: auto;
    max-width: 28%;
    object-fit: contain;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.site-footer p {
    font-size: 13px;
    opacity: 0.9;
    white-space: normal;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-logos {
        gap: 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .test-scores {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-container {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 20px;
    }

    .form-left {
        text-align: center;
    }

    .form-subtitle {
        margin-bottom: 0;
    }

    .form-logos {
        display: none;
    }

    .form-bottom-logos {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-logo {
        height: 45px;
        max-width: 28%;
    }

    .header-logos {
        gap: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .card-title {
        font-size: 24px;
    }

    .card-description {
        font-size: 16px;
    }

    .info-section {
        padding: 27px 0 13px 0;
    }

    .info-cards {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .info-column-left {
        display: flex;
        flex-direction: column;
        gap: 15px;
        grid-column: 1;
        grid-row: 1;
    }

    .info-column-left .text-card:first-child,
    .info-column-left .how-to-apply-card {
        order: unset;
    }

    .diploma-card {
        display: none;
        order: unset;
    }

    .info-column-right {
        display: flex;
        flex-direction: column;
        gap: 15px;
        grid-column: 2;
        grid-row: 1;
    }

    .diploma-card-mobile {
        display: block;
    }

    .test-scores-desktop {
        display: none;
    }

    .info-card {
        padding: 30px 20px;
    }

    .how-to-apply-card {
        flex-grow: 1;
    }

    .diploma-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .test-scores {
        display: none;
    }

    .test-scores-mobile {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .score-card {
        padding: 20px 15px;
    }

    .form-container {
        padding: 30px;
        border-radius: 30px;
    }

    .form-main-title {
        font-size: 22px;
    }

    .form-subtitle {
        font-size: 16px;
    }

    .form-logo {
        width: 200px;
    }

    .form-logo:last-child {
        width: 240px;
    }

    .advantage-item p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }

    .header-logo {
        height: 32px;
        max-width: 28%;
    }

    .header-logos {
        gap: 10px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .cta-button,
    .submit-button {
        padding: 15px 35px;
        font-size: 16px;
    }

    .info-card {
        padding: 20px 15px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-description {
        font-size: 14px;
    }

    .test-scores-mobile {
        gap: 6px;
    }

    .score-card {
        padding: 15px 10px;
    }

    .score-logo {
        height: 30px;
    }

    .score-value {
        font-size: 24px;
    }

    .form-container {
        padding: 20px;
    }

    .form-logo {
        width: 180px;
    }

    .form-logo:last-child {
        width: 220px;
    }

    .phone-input-wrapper {
        flex-direction: column;
    }

    .country-code {
        width: 100%;
    }

    .form-bottom-logos {
        gap: 10px;
    }

    .form-bottom-logo {
        height: 28px;
    }
}

@media (max-width: 360px) {
    .header-logo {
        height: 28px;
        max-width: 28%;
    }

    .header-logos {
        gap: 6px;
    }

    .container {
        padding: 0 10px;
    }

    .form-bottom-logos {
        gap: 6px;
    }

    .form-bottom-logo {
        height: 24px;
    }
}
