/* Global Styles */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #4ecdc4;
    --accent-color: #ffbf69;
    --dark-color: #292f36;
    --light-color: #f7fff7;
    --gray-color: #6c757d;
    --border-color: #e2e8f0;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e55a2b;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-logo {
    height: 40px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .header-logo {
        height: 32px;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: var(--primary-color);
}

.header-buttons .btn {
    margin-left: 10px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: #f9f9ff;
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.hero-buttons .btn {
    margin-right: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

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

/* Testimonial Highlight */
.testimonial-highlight {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 0;
}

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.toggle-option {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    padding: 0 15px;
}

.toggle-option.active {
    color: #0070f3;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #0070f3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #0070f3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-plans {
    display: none;
}

.pricing-plans.active {
    display: block;
}

/* Restored Program Cards Layout */
.plans-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 30px;
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.course-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-image {
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f8ff;
}

.course-image img {
    max-height: 100px;
    width: auto;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.course-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: #777;
}

.course-meta span {
    display: flex;
    align-items: center;
}

.course-meta i {
    margin-right: 5px;
    color: #0070f3;
}

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

.course-features h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #444;
}

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

.course-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.course-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0070f3;
    font-weight: bold;
}

.course-cta {
    text-align: center;
    margin-top: 20px;
}

.pricing-plan {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 40px;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-10px);
}

.plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.plan-header p {
    color: #666;
}

.plan-price {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.plan-price h4 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.plan-price h4 span {
    font-size: 24px;
}

.plan-price p {
    color: #666;
    text-decoration: line-through;
}

.plan-price span {
    font-size: 14px;
    color: #999;
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features h5 {
    font-size: 18px;
    margin: 20px 0 15px;
    color: var(--dark-color);
}

.plan-features ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.plan-features ul li:last-child {
    border-bottom: none;
}

.plan-features ul li span {
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.plan-features ul li p {
    font-size: 14px;
    color: #666;
}

.plan-cta {
    text-align: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #f9f9ff;
}

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

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #fff;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    background-color: #f9f9ff;
    border-radius: 10px;
    padding: 30px;
    min-width: 300px;
    flex: 1;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f9f9ff;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 20px;
}

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

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: block;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex: 2;
}

.footer-column {
    flex: 1;
    min-width: 150px;
    margin-bottom: 30px;
}

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

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

.footer-column ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Form validation and message styles */
.form-success-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.form-error-message {
    background-color: #f2dede;
    color: #a94442;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #a94442;
}

.form-group .error-message {
    color: #a94442;
    font-size: 12px;
    margin-top: 5px;
}
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lab-setup-content {
        flex-direction: column;
    }
    
    .lab-setup-image {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .lab-details {
        width: 100%;
    }
    
    .pricing-plans {
        flex-direction: column;
    }
    
    .pricing-plan {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .testimonials-slider {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--box-shadow);
        z-index: 100;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu li {
        margin: 10px 0;
    }

    .header-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 10px 0;
        width: 80%;
    }

    .section-header h2 {
        font-size: 28px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-content p {
        font-size: 20px;
    }

    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .program-card {
        padding: 15px;
    }
    
    .program-card h3 {
        font-size: 18px;
    }
    
    .pricing-toggle {
        flex-direction: column;
    }
    
    .toggle-option {
        margin: 5px 0;
    }
    
    .switch {
        margin: 10px 0;
    }

    .pricing-plan {
        min-width: 100%;
        padding: 15px;
    }
    
    .plan-features ul li {
        padding: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom p {
        margin-bottom: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .lab-features li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feature-icon {
        margin-bottom: 10px;
    }
}
}