/* Custom Colors */
:root {
    --primary: #4e7aac;
    --secondary: #6c757d;
    --accent: #f8b042;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-container {
    background-color: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-text {
    color: var(--primary);
    font-size: 1.5rem;
    position: relative;
}

.brand-text:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    bottom: 5px;
    right: -10px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(78, 122, 172, 0.65), rgba(78, 122, 172, 0.75)), 
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') 
                no-repeat center center;
    background-size: cover;
    height: 100vh;
    color: var(--white);
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e9a53a;
    border-color: #e9a53a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Services Cards */
.service-card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
}

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

.service-img {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 25px 20px;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card .card-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Testimonial Cards */
.testimonial-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.testimonial-img-container {
    text-align: center;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-card .card-text {
    font-style: italic;
    position: relative;
    padding: 0 15px;
}

.testimonial-card .card-text:before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-author {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(78, 122, 172, 0.9), rgba(44, 82, 130, 0.9)), 
                url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') 
                no-repeat center center;
    background-size: cover;
    color: var(--white);
    position: relative;
}

/* Contact Form */
.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(78, 122, 172, 0.25);
    border-color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
}

footer a {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Gallery Section */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 250px;
    margin-bottom: 20px;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Resources Section */
#resources {
    background-color: #f8f9fa;
}

.resource-category-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.resource-category-subtitle {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
}

.resource-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.resource-card .card-body {
    padding: 25px;
}

.resource-icon {
    text-align: center;
    margin-bottom: 20px;
}

.resource-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.resource-card .card-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.resource-card .card-text {
    color: var(--dark);
    margin-bottom: 20px;
    text-align: center;
}

.resource-features {
    margin-bottom: 25px;
}

.resource-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: var(--dark);
}

.resource-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.resource-card .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Resource Tool Cards */
.resource-tool-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.resource-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.resource-tool-card .card-body {
    padding: 30px;
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tool-icon {
    margin-right: 15px;
}

.tool-icon i {
    font-size: 2rem;
    color: var(--accent);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(248, 176, 66, 0.1);
    border-radius: 50%;
}

.resource-tool-card .card-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0;
}

.resource-tool-card .card-text {
    color: var(--dark);
    margin-bottom: 25px;
}

.tool-features h5 {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.tool-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.tool-features li {
    padding: 3px 0;
    position: relative;
    padding-left: 18px;
    color: var(--dark);
    font-size: 0.95rem;
}

.tool-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.resource-tool-card .btn {
    margin-top: 15px;
}

/* Resource CTA */
.resource-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #3d6a9a 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.resource-cta h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
}

.resource-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.resource-cta .btn {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
    font-weight: 600;
}

.resource-cta .btn:hover {
    background-color: #e9a53a;
    border-color: #e9a53a;
}

/* Books Section Styles */
#books {
    background-color: var(--light);
}

.books-content {
    padding: 30px;
}

.book-category {
    margin-bottom: 40px;
}

.book-category-title {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.book-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}

.book-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.book-title {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.book-item p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.book-item ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.book-item li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.5;
}

.skillstreaming-list .btn {
    margin-bottom: 10px;
    margin-right: 10px;
}