:root {
    --primary-color: #00BFA6;
    --secondary-color: #B0E0E6;
    --text-color: #333;
    --bg-light: #f4f7f6;
}

body {
    background-color: var(--bg-light);
    font-family: 'Arial', sans-serif;
}

/* Navbar Styles */
.navbar {
    padding: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    position: fixed !important;
    width: 100%;
    z-index: 999;
    top: 0;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: white;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    width: 100%;
    max-width: 1400px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar-collapse {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    justify-content: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--white) !important;
    padding: 6px 8px !important;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--active-nav) !important;
    background: rgba(255, 255, 255, 0.1);
}

.btn-certificate {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 6px 12px !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: -10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-certificate:hover {
    background-color: #00a090;
    color: var(--primary-color) !important;
    border-color: var(--white);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 10px;
    z-index: 1000;
}

.dropdown-item {
    padding: 8px 15px;
    font-size: 12px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-certificate {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 15px !important;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-certificate:hover {
    background-color: #00a090;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 191, 166, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar {
        height: auto;
        padding: 8px 0;
    }

    .navbar > .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 55px;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        padding: 20px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 10px 0 20px;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 12px !important;
        font-size: 14px;
        text-align: center;
        width: 100%;
    }

    .btn-certificate {
        width: 200px;
        margin: 10px auto;
        padding: 12px 20px !important;
    }

    .dropdown-menu {
        width: 200px;
        margin: 5px auto;
        text-align: center;
        background: rgba(255,255,255,0.98);
    }

    .navbar-collapse::-webkit-scrollbar {
        width: 5px;
    }

    .navbar-collapse::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }
}

.navbar-nav .nav-link.dropdown-toggle {
    position: relative;
}

.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 12rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.navbar-nav .dropdown-menu.show {
    display: block;
}

@media (max-width: 1199.98px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .navbar-nav .dropdown-menu.show {
        max-height: 500px;
        transition: max-height 0.5s ease-in;
    }
}

@media (max-width: 576px) {
    .navbar > .container {
        padding: 0 10px;
    }

    .logo-img {
        height: 55px;
    }

    .nav-link {
        font-size: 15px;
    }
}

.navbar-toggler {
    background: transparent;
    border: none;
    padding: 10px;
    width: 45px;
    height: 45px;
    position: relative;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    position: relative;
    width: 24px;
    height: 2px;
    background: transparent;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: transform 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
    transform-origin: left;
}

.navbar-toggler-icon::after {
    bottom: -8px;
    transform-origin: left;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    width: 28px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    width: 28px;
}

.navbar-toggler:hover .navbar-toggler-icon::before,
.navbar-toggler:hover .navbar-toggler-icon::after {
    background-color: var(--primary-color);
}

.membership-hero {
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.8) 0%, rgba(176, 224, 230, 0.9) 100%);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    margin-top: -50px;
}

@media (max-width: 768px) {
    .membership-hero {
        padding: 150px 15px 60px;
    }

    .membership-hero h1 {
        font-size: 2.2rem;
    }
}

.membership-tiers {
    padding: 80px 0;
    background-color: #f8f9fa;
    align-items: center;
}

.membership-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.membership-card:hover {
    transform: translateY(-10px);
}

.membership-card h3 {
    color: #00BFA6;
    margin-bottom: 20px;
}

.membership-card .price {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
}

.membership-card .features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.membership-card .features li {
    margin-bottom: 10px;
    color: #666;
}

.btn-membership {
    background-color: #00BFA6;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-membership:hover {
    background-color: #00a090;
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 768px) {
    .membership-tiers {
        padding: 40px 15px;
    }

    .membership-card {
        margin-bottom: 30px;
    }

    .membership-card:hover {
        transform: none;
    }

    .btn-membership:hover {
        transform: none;
    }
}

.certificate-section, .certificate-display {
    padding: 80px 0;
    text-align: center;
}

.certificate-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.certificate-card h3 {
    color: #00BFA6;
    margin-bottom: 20px;
}

.certificate-card input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.certificate-card #certificateContent {
    margin-bottom: 20px;
}

.certificate-card #certificateContent h2 {
    color: #00BFA6;
    margin: 20px 0;
}

 /* Custom CSS for Certificate Section */
 #certificateContent {
    background-image: url(img/esegooo.jpg); /* Path to your image template */
    background-size: cover; /* Ensure the image covers the entire div */
    background-position: center; /* Center the image */
    width: 800px; /* Set the width of the certificate */
    height: 600px; /* Set the height of the certificate */
    padding: 50px; /* Add padding to align text properly */
    text-align: center; /* Center the text */
    color: #000 !important; /* Text color */
    position: relative; /* For positioning text */
}

#certificateName {
    font-size: 36px; /* Adjust font size for the name */
    font-weight: bold; /* Make the name bold */
    position: absolute; /* Position the name absolutely */
    top: 50%; /* Adjust this value to position the name vertically */
    left: 50%; /* Adjust this value to position the name horizontally */
    transform: translate(-50%, -50%); /* Center the name */
}

        /* Footer Section */

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path-to-pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.footer-top {
    padding: 80px 0 60px;
    position: relative;
}

.main-widget p {
    font-size: 15px;
    line-height: 1.8;
    margin: 25px 0;
    opacity: 0.9;
}

.footer-logo {
    height: 120px;
    width: 200px;
    margin-bottom: 20px;
    object-fit: contain;

}

.download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateY(-2px);
}

.app-btn i {
    font-size: 24px;
}

.app-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-btn small {
    font-size: 11px;
    opacity: 0.8;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    list-style-type: none;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.newsletter-form {
    margin: 25px 0;
}

.newsletter-form .input-group {
    background: rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 8px;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.btn-subscribe {
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
 }
 
 .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
 }
 
 .contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
 }
 
 .contact-item i {
    width: 35px;
    height: 35px;
    min-width: 35px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
 }
 
 .contact-item p {
    /* margin: 0; */
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.4;
 }

.footer-middle {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.social-bar {
    display: flex;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 15px;
    
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0,0,0,0.1);
    padding: 20px 0;
}

.copyright {
    margin: 0;
    opacity: 0.9;
}

.footer-bottom-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .main-widget {
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-widget {
        text-align: center;
    }
    .contact-info {
        max-width: 400px;
        margin: 30px auto;
    }
    .contact-item {
        text-align: left;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin: 25px auto;
    }
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .copyright {
        text-align: center;
    }
}