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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Color Variables */
:root {
    --primary-color: #00A7AD;
    --primary-dark: #008C93;
    --accent-color: #F9C74F;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
}

/* Utility Classes */
.highlight {
    color: var(--primary-color);
}

.dark {
    color: var(--text-dark);
    font-weight: 700;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 167, 173, 0.3);
}

/* Header Styles */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cta-button {
    margin-left: 20px;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.application-period {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.wave-bg {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 200px;
    background-image: url('images/wave-bg.svg');
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    max-width: 80%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.dots-bg {
    position: absolute;
    top: -20px;
    right: 60px;
    z-index: 1;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--accent-color) 20%, transparent 20%);
    background-size: 15px 15px;
}

/* Why DevOps Section */
.why-devops {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.why-devops h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 167, 173, 0.1);
    border-radius: 50%;
}

.card-icon img {
    width: 40px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-light);
}

/* Program Section */
.program {
    padding: 100px 0;
}

.program h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 4px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 100px;
}

.timeline-marker {
    position: absolute;
    left: 50px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    transform: translateX(-50%);
}

.timeline-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar {
    height: 5px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.testimonial {
    flex: 0 0 calc(50% - 15px);
    scroll-snap-align: start;
    border-radius: 15px;
    overflow: hidden;
}

.testimonial-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content > p {
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Apply Section */
.apply {
    padding: 100px 0;
    background-image: linear-gradient(to right, var(--primary-color), #00c2c9);
    color: var(--white);
    text-align: center;
}

.apply h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.apply .highlight {
    color: var(--white);
    border-bottom: 3px solid var(--accent-color);
}

.apply p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.apply .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 40px;
}

.apply .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background-color: #333;
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    max-width: 250px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex: 1;
    justify-content: space-around;
    margin-left: 50px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-media {
    display: flex;
    margin-top: 20px;
}

.social-media a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-media img {
    width: 18px;
    height: 18px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .hero-content, .about-content {
        flex-direction: column;
    }

    .hero-text, .about-text {
        max-width: 100%;
        margin-bottom: 50px;
        padding-right: 0;
    }

    .hero-image, .about-image {
        display: flex;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo {
        margin-bottom: 30px;
    }

    .footer-links {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .cta-button {
        margin-left: 0;
    }

    .testimonial {
        flex: 0 0 100%;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-column {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-text h2, .why-devops h2, .program h2, .testimonials h2, .apply h2 {
        font-size: 1.8rem;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}
