/* Program Tracks Grid */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 32px;
    margin-top: 28px;
}

@media (max-width: 900px) {
    .tracks-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
}

.grid {
    display: grid;
    gap: 26px;
}

@media (max-width: 900px) {
    .grid[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

/* Specific styles for internship page */
.hero-section {
    /* background: linear-gradient(rgba(0, 34, 68, 0.8), rgba(0, 34, 68, 0.8)), url('Pictures/ads/global-internship.jpg');
      */
    background-color: #0066cc;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    width: 100%;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
    color: #002244;
}

.internship-benefits {
    background-color: #f5f9fc;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: #002244;
}

.internship-types {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.internship-type {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.type-icon {
    font-size: 3rem;
    color: #0066cc;
    min-width: 80px;
    text-align: center;
}

.internship-content h3 {
    margin-bottom: 1rem;
    color: #002244;
}

.countries-section {
    background: linear-gradient(135deg, #0066cc, #a91fff);
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.countries-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.country-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.country-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.country-flag {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.application-process {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.step-container {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #004aad, #9100ec);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 2rem;
    flex-shrink: 0;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #002244;
}

.step-content p {
    color: #555;
}

.timeline-line {
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -25px;
    width: 2px;
    background: linear-gradient(135deg, #004aad, #9100ec);
}

.step-container:last-child .timeline-line {
    display: none;
}

.cta-section {
    background: linear-gradient(135deg, #004aad, #9100ec);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 0rem;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #004aad;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonials {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-meta h4 {
    margin-bottom: 0.3rem;
    color: #002244;
}

.testimonial-meta p {
    color: #888;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-quote {
    font-size: 2rem;
    color: #0066cc;
    opacity: 0.3;
    margin-right: 0.5rem;
}

.faq-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: white;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #002244;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:focus {
    outline: none;
}

.faq-question:after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    transition: all 0.3s;
}

.faq-question.active:after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.faq-answer-inner {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .internship-type {
        flex-direction: column;
        text-align: center;
    }

    .type-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}