/* =============================================
   Climax Systems / ICT Training Center
   Clean Professional Stylesheet
   All greens replaced with #004488
   Fully responsive | No Bootstrap
   ============================================= */

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', system-ui, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ---------- Header ---------- */
.header {
    background-color: #002244;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav ul li a {
    text-decoration: none;
    color: #e0f0ff;
    padding: 8px 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav ul li a:hover,
.nav ul li a.active,
.nav ul li a.btn {
    background-color: #004488;
    color: #ffffff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 9px 18px;
    background-color: #004488;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #003366;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #004488;
}

.btn-primary:hover {
    background-color: #003366;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
}

.btn-secondary:hover {
    background-color: #004488;
    border-color: #004488;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    height: 3px;
    width: 26px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 0 60px;
    background-color: #f4f4f4;
    position: relative;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e2937;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    margin-right: 12px;
}

.hero-media {
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

/* Slider */
.hero-media .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-media .slide {
    min-width: 100%;
    box-sizing: border-box;
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-media .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.hero-media .slider-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.hero-media .slider-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* ---------- Featured Courses ---------- */
.featured-courses {
    padding: 70px 0;
    background-color: #ffffff;
    text-align: center;
}

.featured-courses h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1e2937;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.course-card {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 68, 136, 0.12);
}

.course-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: #004488;
}

.course-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 18px;
}

.course-card .btn {
    background-color: #004488;
}

.course-card .btn:hover {
    background-color: #003366;
}

/* ---------- Benefits ---------- */
.benefits {
    padding: 70px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.benefits h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1e2937;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.benefit-item {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-6px);
}

.benefit-item i {
    font-size: 2.2rem;
    color: #004488;
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #1e2937;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #555;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 70px 0;
    background-color: #ffffff;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1e2937;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.testimonial-item {
    background-color: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #004488;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonial-item p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-item h4 {
    color: #004488;
    font-weight: 600;
}

.testimonials-link {
    margin-top: 35px;
}

.testimonials-link .btn {
    background-color: #004488;
}

.testimonials-link .btn:hover {
    background-color: #003366;
}

/* ---------- Blog ---------- */
.blog {
    padding: 70px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.blog h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1e2937;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.blog-post {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-8px);
}

.blog-post img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.blog-post h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #004488;
}

.blog-post p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.blog-post .btn {
    background-color: #004488;
}

.blog-post .btn:hover {
    background-color: #003366;
}

/* ---------- Footer (Professional) ---------- */
.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 70px 0 30px;
}

.footer .container {
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #004488;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #60a5fa;
}

.footer-column p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    margin-bottom: 18px;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #004488;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Newsletter */
.newsletter-form,
.footer-column form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input[type="email"],
.footer-column form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #1e293b;
    color: #e2e8f0;
    outline: none;
}

.newsletter-form input::placeholder,
.footer-column form input::placeholder {
    color: #94a3b8;
}

.newsletter-form button,
.footer-column form button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background-color: #004488;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover,
.footer-column form button:hover {
    background-color: #003366;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 50px;
    }

    .hero-content,
    .hero-media {
        max-width: 100%;
    }

    .nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #002244;
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .nav ul.active {
        display: flex;
    }

    .nav ul li {
        margin: 0;
    }

    .nav ul li a {
        display: block;
        padding: 12px 16px;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .courses-grid,
    .benefits-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}