/* -----------------------------
   RESET & BASE
----------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* -----------------------------
   HEADER / NAVIGATION
----------------------------- */
header {
    background-color: #0a2647;
    color: #fff;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

nav .logo {
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1.3;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li a {
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: #6ab187;
}

.tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: #6ab187;
    margin-left: 10px;
}

/* Mobile Navigation */
@media (max-width: 767px) {
    nav {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    nav .logo {
        font-size: 1.2rem;
    }
    
    .tagline {
        margin-left: 0;
        margin-top: 2px;
        font-size: 0.8rem;
    }
    
    nav ul {
        gap: 15px;
        justify-content: center;
        width: 100%;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 5px 0;
    }
}
/* -----------------------------
   HERO SECTION
----------------------------- */
.hero {
    min-height: 60vh;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* CTA Button */
.hero-text .btn {
    background-color: #6AB187;
    color: #0A2647;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.hero-text .btn:hover {
    background-color: #5A9E76;
    transform: translateY(-2px);
}

/* Logo container */
.hero-logo-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 400px;
}

.hero-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards, floatLogo 6s ease-in-out infinite;
}

/* Animations */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes floatLogo {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

/* -----------------------------
   HERO MOBILE
----------------------------- */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-logo-container {
        justify-content: center;
        max-width: 250px;
        margin: 0 auto;
    }
}


/* -----------------------------
   FEATURES SECTION
----------------------------- */
.features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.feature {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(10, 38, 71, 0.15);
}

.feature h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #0a2647;
}

.feature p {
    font-size: 1rem;
    color: #555;
}

/* Features Desktop */
@media(min-width: 768px){
    .features {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    
    .feature {
        flex: 1;
        max-width: 350px;
        padding: 40px 25px;
    }
}

/* -----------------------------
   SLIDESHOW SECTION
----------------------------- */
.slideshow-section {
    padding: 60px 15px;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #0a2647;
    margin-bottom: 10px;
    padding: 0 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    padding: 0 15px;
}

.slideshow-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.slide {
    display: none;
    position: relative;
    animation: fadeIn 1s ease;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
}

.slide-caption h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 5px;
}

.slide-caption p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.9;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(106, 177, 135, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-arrow:hover {
    background-color: rgba(90, 158, 118, 0.9);
}

.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }

.dots-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background-color: white;
}

/* Slideshow Mobile */
@media (max-width: 767px) {
    .slideshow-section {
        padding: 40px 10px;
    }
    
    .slide-caption {
        padding: 20px 15px 15px;
    }
    
    .slide-caption h3 {
        font-size: 1.1rem;
    }
    
    .slide-caption p {
        font-size: 0.85rem;
    }
    
    .slide-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .dots-container {
        bottom: 10px;
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

@keyframes fadeIn {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

/* -----------------------------
   TESTIMONIALS SECTION
----------------------------- */
/* -----------------------------
   TESTIMONIALS SECTION
----------------------------- */
.testimonials-section {
    padding: 60px 15px;
    background-color: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    overflow-x: auto;
    gap: 30px;
    scroll-behavior: smooth;
    padding: 20px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 280px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px 25px;
    transition: transform 0.3s;
    scroll-snap-align: start;
    border-left: 4px solid #6ab187;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    color: #6ab187;
    font-size: 1.3rem;
    opacity: 0.3;
}

.quote-icon:first-child {
    position: absolute;
    top: -10px;
    left: -5px;
}

.quote-icon:last-child {
    position: absolute;
    bottom: -20px;
    right: -5px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    padding: 0 20px;
    margin: 0;
}

.testimonial-author {
    text-align: right;
    margin-top: 15px;
}

.author-info h4 {
    color: #0a2647;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    padding-right: 15px;
    position: relative;
}

.author-info h4:after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 30px;
    height: 2px;
    background: #6ab187;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.testimonial-nav-btn {
    background-color: #0a2647;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.testimonial-nav-btn:hover {
    background-color: #08213a;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-dot.active, .testimonial-dot:hover {
    background-color: #6ab187;
}

/* Testimonials Responsive */
@media (min-width: 768px) and (max-width: 1023px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: 40px 10px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
        min-width: 260px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .testimonial-nav {
        gap: 15px;
    }
    
    .testimonial-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
}

/* For very small screens */
@media (max-width: 380px) {
    .testimonial-card {
        min-width: 240px;
        padding: 20px 15px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/* -----------------------------
   ABOUT PAGE
----------------------------- */
.about {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

.about h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 25px;
    color: #0a2647;
    text-align: center;
}

.about h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2d5016;
}

.about p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

.mission-list {
    list-style-type: none;
    margin: 15px 0 25px 0;
    padding-left: 20px;
    text-align: left;
}

.mission-list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    word-break: break-word;
}

.mission-list li:before {
    content: "?";
    position: absolute;
    left: 0;
    color: #6ab187;
    font-weight: bold;
}

/* Team Members */
.team-member {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-left: 4px solid #6ab187;
}

.team-photo {
    width: 200px;
    height: 240px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-info {
    flex: 1;
}

.team-info h3 {
    color: #0a2647;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.team-info .name {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #333;
}

.team-info p {
    margin-bottom: 5px;
    color: #555;
    line-height: 1.5;
}

/* Team Mobile */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 20px;
    }
    
    .team-photo {
        width: 180px;
        height: 220px;
    }
    
    .team-info {
        text-align: center;
    }
    
    .team-info h3 {
        font-size: 1.2rem;
    }
}

/* -----------------------------
   CPD SECTION
----------------------------- */
.cpd-approved {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 30px 0;
    padding: 25px;
    background-color: #eef5ff;
    border-left: 5px solid #003366;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.cpd-text {
    flex: 1;
    font-size: 16px;
}

.cpd-text p {
    margin: 0;
}

.cpd-logo img {
    max-width: 200px;
    height: auto;
}

/* CPD Mobile */
@media (max-width: 768px) {
    .cpd-approved {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 20px;
    }
    
    .cpd-logo img {
        max-width: 150px;
        margin: 0 auto;
    }
}

/* -----------------------------
   CONTACT PAGE
----------------------------- */
.contact {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.contact h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #0a2647;
    font-size: clamp(2rem, 6vw, 2.8rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #6ab187;
    display: inline-block;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6ab187;
}

.btn-submit {
    background: linear-gradient(135deg, #6ab187, #5a9e76);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #5a9e76, #4a8e66);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 177, 135, 0.3);
}

/* Contact Info Box */
.contact-info-box {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: #0a2647;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    min-width: 200px;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.contact-link {
    color: #0a2647;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 3px;
    transition: color 0.3s;
    word-break: break-all;
}

.contact-link:hover {
    color: #08213a;
    text-decoration: underline;
}

/* Social Media */
.social-media-section {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.social-media-section h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.social-link span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Social Media Colors */
.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }
.social-link.whatsapp { background: #25d366; }
.social-link.email { background: #ea4335; }
.social-link.linkedin { background: #0077B5; }

/* WhatsApp Button */
.whatsapp-float {
    margin: 25px 0;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

/* Quick Links */
.quick-links {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.quick-links h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
}

.quick-links i {
    color: #6ab187;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Direct Contact Note */
.direct-contact-note {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.direct-contact-note p {
    margin: 8px 0;
    font-size: 1rem;
    word-break: break-word;
}

.direct-contact-note a {
    color: #0a2647;
    font-weight: bold;
    text-decoration: underline;
}

/* Contact Mobile */
@media (max-width: 767px) {
    .contact {
        padding: 40px 15px;
    }
    
    .contact h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .contact-info-box,
    .social-media-section,
    .quick-links {
        padding: 20px 15px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .social-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .social-link {
        padding: 12px;
        justify-content: center;
    }
    
    .social-link span {
        white-space: normal;
    }
    
    .whatsapp-btn {
        padding: 12px 15px;
    }
    
    .whatsapp-btn span {
        font-size: 0.95rem;
    }
    
    .direct-contact-note {
        padding: 15px;
    }
    
    .direct-contact-note p {
        font-size: 0.95rem;
    }
}

/* Small Phones */
@media (max-width: 380px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .feature h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .team-photo {
        width: 150px;
        height: 180px;
    }
    
    .social-link {
        font-size: 0.85rem;
        padding: 10px;
    }
}

/* -----------------------------
   FOOTER
----------------------------- */
footer {
    background-color: #0a2647;
    color: #fff;
    text-align: center;
    padding: 25px 15px;
    margin-top: 40px;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
    word-break: break-word;
}

footer .address {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 10px;
}

.footer-social {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-social a {
    color: white;
    font-size: 1.3rem;
    transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
    transform: translateY(-3px);
    color: #6ab187;
}

/* Footer Mobile */
@media (max-width: 767px) {
    footer {
        padding: 20px 10px;
        font-size: 0.85rem;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .footer-social a {
        font-size: 1.2rem;
    }
}

/* -----------------------------
   UTILITY CLASSES
----------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.highlight {
    color: #6ab187;
    font-weight: bold;
}

.btn-outline {
    border: 2px solid #0a2647;
    color: #0a2647;
    background: transparent;
    padding: 10px 25px;
    border-radius: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #0a2647;
    color: white;
}

/* Fix for very small devices */
@media (max-width: 320px) {
    nav ul {
        gap: 8px;
    }
    
    nav ul li a {
        font-size: 0.8rem;
    }
    
    .hero-text h1 {
        font-size: 1.3rem;
    }
    
    .feature {
        padding: 20px 15px;
    }
    
    .testimonial-card {
        min-width: 240px;
        padding: 15px;
    }
}

/* -----------------------------
   OUR WORK PAGE
----------------------------- */
.work-page {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.work-page h1 {
    text-align: center;
    color: #0a2647;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Section Headers */
.past-workshops,
.future-workshops {
    margin-bottom: 60px;
}

.past-workshops h2,
.future-workshops h2 {
    color: #0a2647;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.past-workshops h2 i {
    color: #6ab187;
}

.future-workshops h2 i {
    color: #ff9800;
}

.section-desc {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Workshops Grid */
.workshops-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .workshops-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .workshops-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Workshop Card */
.workshop-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.workshop-card.past {
    border-bottom: 4px solid #6ab187;
}

.workshop-card.future {
    border-bottom: 4px solid #ff9800;
}

.workshop-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.workshop-card:hover .workshop-image img {
    transform: scale(1.05);
}

.workshop-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.workshop-details h3 {
    color: #0a2647;
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.workshop-meta {
    margin-bottom: 15px;
}

.workshop-meta p {
    margin-bottom: 8px;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.workshop-meta i {
    color: #6ab187;
    width: 20px;
    font-size: 1rem;
}

.workshop-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag:first-child {
    background: #6ab187;
    color: white;
}

.tag.topic {
    background: #e9ecef;
    color: #495057;
}

/* Future Workshop Specific */
.flyer-placeholder {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 15px;
}

.flyer-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.register-btn {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    margin-top: 15px;
}

.register-btn:hover {
    background: #1da851;
}

/* No Workshops Message */
.no-workshops {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-workshops i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 15px;
}

.no-workshops p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.no-workshops .small {
    font-size: 0.95rem;
    color: #888;
}

.no-workshops a {
    color: #0a2647;
    font-weight: 500;
    text-decoration: underline;
}

/* Workshop Request Section */
.workshop-request {
    margin-top: 60px;
}

.request-box {
    background: linear-gradient(135deg, #0a2647, #1a3a5f);
    color: white;
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
}

.request-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.request-box p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-request {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #6ab187;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(106, 177, 135, 0.3);
}

.btn-request:hover {
    background: #5a9e76;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 177, 135, 0.4);
}

/* Responsive */
@media (max-width: 767px) {
    .work-page {
        padding: 40px 15px;
    }
    
    .workshop-details h3 {
        font-size: 1.2rem;
    }
    
    .request-box {
        padding: 40px 20px;
    }
    
    .request-box h3 {
        font-size: 1.4rem;
    }
    
    .request-box p {
        font-size: 1rem;
    }
    
    .btn-request {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* For very small screens */
@media (max-width: 380px) {
    .workshop-meta p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .workshop-meta i {
        width: auto;
    }
}

/* -----------------------------
   WORKSHOP GALLERY STYLES
----------------------------- */
.workshop-gallery {
    margin-bottom: 15px;
}

.gallery-main {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-main img:hover {
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.thumbnail:hover {
    opacity: 0.8;
}

.more-photos {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    flex-shrink: 0;
}

.more-photos:hover {
    background: #e0e0e0;
}

.workshop-summary {
    color: #666;
    font-size: 0.95rem;
    margin: 10px 0;
    line-height: 1.5;
}

.btn-view-gallery {
    background: none;
    border: 2px solid #6ab187;
    color: #6ab187;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-view-gallery:hover {
    background: #6ab187;
    color: white;
}

/* -----------------------------
   MODAL STYLES
----------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow-y: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 30px auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: #333;
}

.modal-header {
    margin-bottom: 20px;
    padding-right: 30px;
}

.modal-header h3 {
    color: #0a2647;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.modal-header p {
    color: #666;
    font-size: 0.95rem;
}

.modal-gallery-container {
    margin-bottom: 20px;
}

.modal-main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 5;
}

.modal-arrow:hover {
    background: rgba(255,255,255,0.9);
}

.modal-arrow.prev {
    left: 10px;
}

.modal-arrow.next {
    right: 10px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
}

.modal-thumbnails::-webkit-scrollbar {
    height: 5px;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

.modal-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.modal-thumb:hover {
    opacity: 0.8;
}

.modal-thumb.active {
    border-color: #6ab187;
    opacity: 1;
}

.modal-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.modal-description h4 {
    color: #0a2647;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-description h4 i {
    color: #6ab187;
}

.modal-description p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsive Modal */
@media (max-width: 767px) {
    .modal-content {
        margin: 15px auto;
        padding: 15px;
        width: 95%;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-main-image {
        height: 250px;
    }
    
    .modal-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .modal-thumb {
        width: 50px;
        height: 50px;
    }
    
    .modal-description {
        padding: 15px;
    }
    
    .modal-description p {
        font-size: 0.95rem;
    }
}

/* CPD Approved Section with Animation */
.cpd-approved {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #0a1a3a 0%, #1a2f5a 100%);
    padding: 40px 50px;
    border-radius: 20px;
    margin: 50px 0;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.3), 0 0 0 2px #ffd700 inset, 0 0 0 4px #ffffff inset;
    position: relative;
    overflow: hidden;
}

/* Animated background shine */
.cpd-approved::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(30deg);
    animation: shine 6s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    20%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Logo container - no eclipse */
.cpd-badge-container {
    flex: 0 0 auto;
}

.cpd-logo-wrapper {
    position: relative;
    width: 180px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpd-logo {
    width: 100%;
    height: auto;
    max-width: 180px;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.5));
    animation: float 3s infinite ease-in-out;
    background: transparent;
    padding: 0;
    border-radius: 0; /* Removed border-radius to keep original shape */
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Shine effect on logo */
.cpd-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    animation: logoShine 3s infinite;
    pointer-events: none;
    border-radius: 0; /* Match logo shape */
}

@keyframes logoShine {
    0% { transform: translateX(-100%) rotate(25deg); }
    20% { transform: translateX(100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}

/* Text container */
.cpd-text-container {
    flex: 1;
    color: white; /* White text */
    position: relative;
    z-index: 2;
}

.cpd-badge-tag {
    display: inline-block;
    background: #ffd700;
    color: #0a1a3a;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 30px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    animation: tagPulse 2s infinite;
    box-shadow: 0 0 15px rgba(255,215,0,0.5);
}

@keyframes tagPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cpd-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white; /* White text */
}

.cpd-highlight {
    color: #ffd700;
    text-decoration: underline wavy #ffd700;
    text-underline-offset: 10px;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px #ffd700; }
    50% { text-shadow: 0 0 20px #ffaa00, 0 0 30px #ffd700; }
}

.cpd-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
    color: white;  /* <-- ADD THIS LINE */
}

.cpd-certified-stamp {
    display: inline-block;
    background: #ffd700;
    color: #0a1a3a;
    font-weight: bold;
    padding: 8px 25px;
    border-radius: 50px;
    transform: rotate(-2deg);
    box-shadow: 0 5px 0 #b8860b;
    animation: stampShake 3s infinite;
}

@keyframes stampShake {
    0%, 100% { transform: rotate(-2deg); }
    95% { transform: rotate(0deg); }
    97% { transform: rotate(-2deg); }
    98% { transform: rotate(2deg); }
    99% { transform: rotate(-2deg); }
}

.stamp-text {
    font-size: 18px;
    letter-spacing: 2px;
    position: relative;
    animation: stampPulse 1.5s infinite;
}

@keyframes stampPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Responsive design */
@media (max-width: 768px) {
    .cpd-approved {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .cpd-logo-wrapper {
        width: 140px;
    }
    
    .cpd-logo {
        max-width: 140px;
    }
    
    .cpd-title {
        font-size: 32px;
    }
    
    .cpd-description {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cpd-highlight {
        text-underline-offset: 5px;
    }
}

@media (max-width: 480px) {
    .cpd-title {
        font-size: 28px;
    }
    
    .cpd-badge-tag {
        font-size: 12px;
    }
}

