:root {
    --primary: #089da3;
    --primary-dark: #067a7f;
    --primary-light: #3bb4b9;
    --blue: #0a3967;
    --blue-dark: #07284d;
    --blue-light: #0c4a8a;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Header Styles */
.top-bar {
    background: var(--blue) !important;
    font-size: 0.9rem;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-nav .nav-link {
    color: var(--blue) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #2fbcc3 !important;
}

.dropdown-menu.mega-menu {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary);
    margin-top: 0;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    padding: 0 !important;
    border-radius: 0 0 8px 8px !important;
}

/* Mega Menu Content */
.mega-menu-content {
    max-height: 70vh;
    overflow-y: auto;
}

.mega-menu-column {
    padding: 0 15px;
    border-right: 1px solid #f0f0f0;
}

.mega-menu-column:last-child {
    border-right: none;
}

.mega-menu .service-category {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.mega-menu ul li a {
    color: #555;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.8rem;
}

.mega-menu ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Mega Menu Category Styles */
.category-icon {
    width: 30px;
    height: 30px;
    background: rgba(8, 157, 163, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.category-icon i {
    color: #089da3;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.service-category {
    margin-bottom: 0;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-category a {
    color: #000 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    display: block;
}

.service-category a:hover {
    color: #ffffff !important;
    background: var(--blue) !important;
}

/* Hover effects for category items */
.col-lg-3.col-md-6:hover .category-icon {
    background: #089da3;
    color: #ffffff !important;
    transform: scale(1.1);
}

.col-lg-3.col-md-6:hover .category-icon i {
    color: white;
}

.col-lg-3.col-md-6:hover .service-category a {
    color: #ffffff !important;
}

/* Service list items */
.mega-menu-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px 0;
}

.mega-menu-scroll ul li {
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.mega-menu-scroll ul li i {
    color: #089da3;
    font-size: 0.6rem;
}

.mega-menu-scroll ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 3px 0;
    font-size: 0.8rem;
}

.mega-menu-scroll ul li:hover {
    transform: translateX(5px);
}

.mega-menu-scroll ul li:hover a {
    color: #089da3;
}

/* Custom scrollbar for mega menu */
.mega-menu-scroll::-webkit-scrollbar {
    width: 6px;
}

.mega-menu-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.mega-menu-scroll::-webkit-scrollbar-thumb {
    background: #089da3;
    border-radius: 10px;
}

.mega-menu-scroll::-webkit-scrollbar-thumb:hover {
    background: #067a7f;
}

/* Sub-service dropdown */
.sub-service-dropdown {
    display: none;
    background: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    margin-top: 5px;
    border-left: 3px solid var(--primary);
}

.service-link {
    position: relative;
    transition: all 0.3s ease;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    z-index: 1; /* ensure content is above the image */
    overflow: hidden; /* fixes overflow issues */
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: url('https://bureautek.com/assets/image/about_us.webp')
                center/cover no-repeat;

    opacity: 0.12;
    z-index: -1; /* ensures it sits BELOW the gradient + text */
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Certificate Hero Section */
.certificate-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    padding: 100px 0 80px;
    color: white;
    text-align: center;
}

.certificate-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.certificate-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
.section {
    padding: 40px 0 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

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

.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

/* Search Section */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.search-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary);
}

/* Content Cards */
.content-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.content-card.text-center {
    padding: 2rem;
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--blue);
    transform: scale(1.1);
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--blue);
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

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

.service-card h4 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
    transition: padding-left 0.3s;
    font-size: 0.9rem;
}

.service-card ul li:hover {
    padding-left: 1.8rem;
}

.service-card ul li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-card ul li:last-child {
    border-bottom: none;
}

/* Certificate Card */
.certificate-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border-top: 4px solid var(--primary);
}

.certificate-header {
    background: var(--blue);
    color: white;
    padding: 2rem;
    text-align: center;
}

.certificate-body {
    padding: 2.5rem;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.verification-badge.verified {
    background: rgba(8, 157, 163, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.verification-badge.not-verified {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.student-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    margin-bottom: 1rem;
}

.certificate-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: 600;
    color: var(--blue);
}

.detail-value {
    color: #555;
}

.certificate-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.faq-section {
    padding: 80px 0;
}

.accordion-button {
    font-weight: 600;
    color: var(--blue);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(8, 157, 163, 0.1);
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 157, 163, 0.3);
    color: white;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 157, 163, 0.3);
    color: white;
}

.btn-outline-light {
    color: white;
    border-color: white;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--blue);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
    margin-right: 1rem;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Contact Items */
.contact-item {
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.25rem;
    color: white;
}

/* Button Group Fix */
.btn-group-fix {
    display: flex;
    gap: 1rem;
}

/* Animation for cards */
.content-card,
.value-card,
.service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.row.g-4 > div:nth-child(1) .value-card { animation-delay: 0.1s; }
.row.g-4 > div:nth-child(2) .value-card { animation-delay: 0.2s; }
.row.g-4 > div:nth-child(3) .value-card { animation-delay: 0.3s; }
.row.g-4 > div:nth-child(4) .value-card { animation-delay: 0.4s; }
.row.g-4 > div:nth-child(5) .value-card { animation-delay: 0.5s; }
.row.g-4 > div:nth-child(6) .value-card { animation-delay: 0.6s; }



/* Ensure proper dropdown positioning */
.position-static .dropdown-menu {
    margin-top: 0 !important;
}

/* Smooth animations */
.dropdown-menu {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section - Full Width */
.hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    width: 100%;
}

.hero-slide {
    height: 70vh;
    min-height:1000px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Services Section */
.services-provide-section {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

/* Stylish Flip Card Styles - UPDATED for your HTML structure */
.simple-flip-card {
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%), var(--bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid transparent;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
}

/* Animated gradient border effect */
.simple-flip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

/* Glow effect */
.simple-flip-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: all 0.6s ease;
    z-index: 0;
}

.simple-flip-card:hover {
    transform: rotateY(180deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb, 52, 152, 219), 0.4);
}

.simple-flip-card:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

.simple-flip-card:hover::after {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1);
}

@keyframes borderRotate {
    0% {
        background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    }
    25% {
        background: linear-gradient(135deg, var(--secondary), var(--primary), var(--secondary));
    }
    50% {
        background: linear-gradient(225deg, var(--primary), var(--secondary), var(--primary));
    }
    75% {
        background: linear-gradient(315deg, var(--secondary), var(--primary), var(--secondary));
    }
    100% {
        background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    }
}

.simple-flip-card .service-content {
    position: relative;
    z-index: 2;
    color: white;
    backface-visibility: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.simple-flip-card .front-content,
.simple-flip-card .back-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 30px;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backface-visibility: hidden;
    border-radius: 14px;
    box-sizing: border-box;
    overflow: hidden;
}

.simple-flip-card .front-content {
    transform: rotateY(0deg);
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
    backdrop-filter: blur(10px);
}

.simple-flip-card .back-content {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 30px;
}

/* Image container for back content - SIMPLIFIED for your HTML */
.simple-flip-card .back-content .image-container {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.simple-flip-card .back-content .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.simple-flip-card .back-content .image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.simple-flip-card:hover .back-content .image-container img {
    transform: scale(1.05);
}

/* Text content styling for back content */
.simple-flip-card .back-content .service-content {
    height: 100%;
    justify-content: space-between;
}

.simple-flip-card .back-content .service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-transform: uppercase;
    font-weight: 700;
}

.simple-flip-card .back-content .service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

/* Read More Button Styling */
.simple-flip-card .back-content .read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    margin-top: 10px;
    gap: 8px;
}

.simple-flip-card .back-content .read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, var(--secondary), var(--primary));
}

/* Front content text styling - MATCHING YOUR HTML */
.simple-flip-card .front-content .service-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, white, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    font-weight: 700;
}

.simple-flip-card .front-content .service-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    font-style: italic;
}

/* Animation for flip */
@keyframes flipIn {
    0% {
        transform: rotateY(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

.simple-flip-card:hover .back-content {
    animation: flipIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .simple-flip-card {
        min-height: 280px;
        padding: 30px 20px;
    }
    
    .simple-flip-card .front-content,
    .simple-flip-card .back-content {
        padding: 30px 20px;
    }
    
    .simple-flip-card .back-content .image-container {
        height: 150px;
    }
    
    .simple-flip-card .front-content .service-title {
        font-size: 1.5rem;
    }
    
    .simple-flip-card .back-content .service-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .simple-flip-card {
        min-height: 260px;
    }
    
    .simple-flip-card .back-content .image-container {
        height: 130px;
        margin-bottom: 15px;
    }
    
    .simple-flip-card .back-content .service-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .simple-flip-card .back-content .read-more-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.service-description {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    font-size: 0.9rem;
}

.read-more-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 157, 163, 0.4);
}

/* Alternative Highlight Card */
.highlight-card {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-card .service-content {
    position: relative;
    z-index: 2;
    color: white;
    transition: all 0.3s ease;
}

.highlight-card:hover .service-content {
    transform: scale(1.05);
}

/* About Section */
.slider-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.slider-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-image img {
    width: 100%;
    height:auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.slider-image:hover img {
    transform: scale(1.02);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #2fbcc3 !important;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: #2fbcc3 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--blue);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--blue);
}

/* Capability Cards */
.capability-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

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

.capability-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.capability-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}

.capability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.capability-card:hover .capability-image img {
    transform: scale(1.05);
}

.capability-content {
    padding: 1.5rem;
}

.capability-content h3 {
    color: #0a3967;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.capability-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #089da3;
}

.capability-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.capability-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capability-content ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.capability-content ul li:last-child {
    border-bottom: none;
}

.capability-content ul li::before {
    content: "✓";
    color: #089da3;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.capability-content ul li:hover {
    color: #0a3967;
    padding-left: 1.8rem;
}



.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(21, 144, 220);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0;
}

.partner-visual {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.partner-cta {
    border-left: 4px solid var(--primary);
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

/* Testimonials */
.testimonials-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 3px solid var(--primary-light);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: var(--blue);
}

/* Animation for cards */
.simple-flip-card,
.highlight-card,
.feature-card,
.capability-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Stagger animation for cards */
.row.g-4 > div:nth-child(1) .simple-flip-card { animation-delay: 0.1s; }
.row.g-4 > div:nth-child(2) .simple-flip-card { animation-delay: 0.2s; }
.row.g-4 > div:nth-child(3) .simple-flip-card { animation-delay: 0.3s; }
.row.g-4 > div:nth-child(4) .simple-flip-card { animation-delay: 0.4s; }
.row.g-4 > div:nth-child(5) .simple-flip-card { animation-delay: 0.5s; }
.row.g-4 > div:nth-child(6) .simple-flip-card { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1199.98px) {
    .mega-menu-column {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 20px;
        margin-bottom: 10px;
    }
    
    .mega-menu-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 40px 0 !important;
    }
    
    .section-title h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .about-hero {
        padding: 100px 0 60px;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .certificate-hero {
        padding: 80px 0 60px;
    }
    
    .certificate-hero-title {
        font-size: 2rem;
    }
    
    .content-card,
    .value-card,
    .service-card {
        padding: 2rem;
    }
    
    .search-form {
        padding: 2rem;
    }
    
    .certificate-body {
        padding: 1.5rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .dropdown-menu.mega-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
    }
    
    .mega-menu .container {
        padding: 0;
    }
    
    .mega-menu-scroll {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
    }
    
    .services-provide-section,
    .slider-section,
    .partner-section,
    .testimonials-section {
        padding: 60px 0;
    }
    
    .simple-flip-card,
    .highlight-card {
        min-height: 250px;
        padding: 30px 20px;
    }
    
    .service-title {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .partner-visual {
        margin-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0 !important;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-subtitle {
        font-size: 1rem;
    }

    .certificate-hero-subtitle {
        font-size: 1rem;
    }

    .content-card,
    .value-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .btn-group-fix {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .btn-group-fix .btn {
        width: 100%;
        text-align: center;
    }
    
    .certificate-actions {
        justify-content: center;
    }
    
    .services-provide-section,
    .slider-section,
    .testimonials-section {
        padding: 50px 0;
    }
    
    .simple-flip-card,
    .highlight-card {
        min-height: 220px;
        padding: 25px 20px;
    }
    
    .service-title {
        font-size: 0.9rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .read-more-btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .mega-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
        overflow-y: auto;
    }
    
    .mega-menu-content {
        max-height: none;
        padding: 20px 0;
    }
    
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.6rem;
        padding-bottom: 10px;
    }
    
    .section-title h2::after {
        width: 60px;
        height: 2px;
    }
    
    .about-hero {
        padding: 80px 0 40px;
    }
    
    .about-hero-title {
        font-size: 1.8rem;
    }
    
    .about-hero-subtitle {
        font-size: 0.9rem;
    }
    
    .certificate-hero {
        padding: 60px 0 40px;
    }
    
    .certificate-hero-title {
        font-size: 1.8rem;
    }
    
    .content-card,
    .value-card,
    .service-card {
        padding: 1.25rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navbar-brand img {
        width: 150px !important;
    }
    
    .simple-flip-card,
    .highlight-card {
        min-height: 200px;
        padding: 20px 15px;
    }
    
    .service-title {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .read-more-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .capability-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slide {
        height: 45vh;
        min-height: 300px;
    }
}

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .navbar-expand-lg .navbar-nav {
        font-size: 12px !important;
    }
}
