/* --- Global Styles --- */
:root {
    --primary-color: #0D47A1; /* Dark Blue - Professional */
    --secondary-color: #42A5F5; /* Lighter Blue - Accents */
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --background-color: #FFFFFF;
    --light-gray-bg: #f8f9fa;
    --border-color: #dee2e6;
    --font-family: 'Roboto', 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #0B3A80; /* Darker shade of primary */
}


/* --- Header --- */
header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--light-text-color);
    text-decoration: none;
}
header .logo a:hover {
    text-decoration: none;
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--light-text-color);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
}

header nav ul li a:hover,
header nav ul li a.active {
    background-color: var(--secondary-color);
    text-decoration: none;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none; /* Hidden by default */
    font-size: 1.5rem;
    color: var(--light-text-color);
    background: none;
    border: none;
    cursor: pointer;
}


/* --- Footer --- */
footer {
    background-color: #333;
    color: var(--light-text-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto; /* Pushes footer to bottom */
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-content {
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

footer .footer-section {
    flex: 1;
    min-width: 200px;
    margin: 1rem;
    text-align: left;
}
footer .footer-section.contact-info {
    text-align: center;
}
@media (min-width: 768px) {
    footer .footer-section.contact-info {
        text-align: left;
    }
}


footer .footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

footer .footer-section p,
footer .footer-section a {
    color: #ccc;
    font-size: 0.9rem;
}
footer .footer-section a:hover {
    color: var(--light-text-color);
}

footer .social-media a {
    margin: 0 10px;
    font-size: 1.5rem; /* For icon fonts if used */
    color: var(--light-text-color);
}
footer .social-media a:hover {
    color: var(--secondary-color);
}
/* Placeholder for social icons if using font-awesome or similar */
/* .fa-whatsapp, .fa-facebook, .fa-instagram, .fa-linkedin { ... } */

footer .copyright {
    margin-top: 1rem;
    font-size: 0.8rem;
    border-top: 1px solid #555;
    padding-top: 1rem;
    width: 100%;
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}
.my-2 { margin-top: 2rem; margin-bottom: 2rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.section-bg-light { background-color: var(--light-gray-bg); }

/* --- Page Specific Sections --- */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-background.jpg') no-repeat center center/cover;
    color: var(--light-text-color);
    padding: 80px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--light-text-color); /* Override default h1 color */
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section (Homepage snippet) */
.about-snippet, .why-kict, .courses-overview, .testimonials {
    padding: 40px 0;
}

/* Grid for courses/features */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-item {
    background-color: var(--background-color);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.grid-item img.course-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    /* background-color: var(--secondary-color); 
    padding: 10px; border-radius: 50%; */
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--light-gray-bg);
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 15px;
    border-radius: 0 5px 5px 0;
}
.testimonial-card p.quote {
    font-style: italic;
}
.testimonial-card p.author {
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}
.contact-info-block p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.contact-info-block i { /* For icons if you add them */
    margin-right: 10px;
    color: var(--primary-color);
}
.map-container {
    margin-top: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden; /* Important for iframe border-radius */
}
.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    header nav {
        width: 100%;
        margin-top: 10px;
        display: none; /* Hidden by default on mobile */
    }
    header nav.active {
        display: block; /* Show when toggled */
    }
    header nav ul {
        flex-direction: column;
        width: 100%;
    }
    header nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    header nav ul li a {
        display: block;
        padding: 10px;
    }
    .menu-toggle {
        display: block; /* Show hamburger icon */
        position: absolute;
        top: 1.2rem;
        right: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }

    .grid-container {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    footer .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    footer .footer-section {
        text-align: center;
        margin-bottom: 1.5rem;
    }
     footer .footer-section.contact-info {
        text-align: center;
    }
}