
:root {
    --primary-color: #EB5A3C;
    --secondary-color:#DF9755 ;
    --accent-color: #3b82f6;
    --dark-color: 
    #015551;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white !important;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #EDF4C2 0%, #f7f4e9 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(59, 130, 246, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    animation: float 6s ease-in-out infinite;
}

.tech-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.tech-icon:nth-child(3) {
    bottom: 15%;
    left: 8%;
    animation-delay: 2s;
}

.tech-icon:nth-child(4) {
    bottom: 25%;
    right: 5%;
    animation-delay: 3s;
}

/* Search Box */
.search-container {
    position: relative;
    max-width: 400px;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    padding-left: 3rem;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: white;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
}

.about-content {
    margin-bottom: 2rem;
}

.about-points {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.about-points h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-points ul {
    list-style: none;
    padding-left: 0;
}

.about-points li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.about-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Courses Section */
.courses-section {
    padding: 5rem 0;
    background-color: white;
}

.course-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 2rem;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.course-img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    margin: 1.5rem auto;
    display: block;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.course-details {
    color: var(--text-light);
    text-align: center;
    padding: 0 1rem 1.5rem;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 1rem;
    height: 100%;
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-color);
}

/* Gallery */
.gallery-section {
    padding: 5rem 0;
    background-color: white;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    margin-bottom: 1.5rem;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Newsletter */
.newsletter-section {
    padding: 5rem 0;
    background-color: white;
    color: white;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background-color: #e2e8f0;
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-about {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .search-container {
        margin: 0 auto 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .course-card {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}
