/*HOME PAGE CSS*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    background: #2c4a5f;
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h2 {
    font-size: 1.3rem;
    color: #2c4a5f;
    font-weight: 600;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.login-btn {
    background: #0066cc;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #0052a3;
}

/* Navigation */
.main-nav {
    background: #1a3a52;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

nav li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    padding: 15px 20px;
    display: block;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

nav a.has-dropdown::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Dropdown Menu */
/* Parent link styling */
nav li.has-dropdown {
    position: relative;
}

/* Single column dropdown hidden by default */
.dropdown-single {
    display: none;
    position: absolute;
    top: 100%;
    /* Below the parent link */
    left: 0;
    background: #ffffff;
    /* Same as nav bg */
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Show dropdown on hover */
nav li.has-dropdown:hover .dropdown-single {
    display: block;
}

/* Dropdown links */
.dropdown-single li a {
    display: block;
    padding: 12px 20px;
    color: rgb(0, 0, 0);
    font-weight: 400;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-single li a:hover {
    /* background: #ff9800; */
    /* Highlight color */
    color: #ff9800;
}

/* Multi-column dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 900px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: none;
    padding: 40px;
    z-index: 1000;
}

nav li:hover .dropdown {
    display: block;
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.dropdown-section h3 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.dropdown-section ul {
    flex-direction: column;
    gap: 0;
}

.dropdown-section li {
    margin-bottom: 12px;
}

.dropdown-section a {
    color: #666;
    padding: 0;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.dropdown-section a:hover {
    color: #ff9800;
    background: none;
}

.dropdown-section a::after {
    content: none;
}

.membership-quote {
    background: #1a3a52;
    color: white;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.membership-quote::before {
    content: '"';
    font-size: 4rem;
    color: #ff9800;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.membership-quote::after {
    content: '"';
    font-size: 4rem;
    color: #ff9800;
    position: absolute;
    bottom: -10px;
    right: 20px;
    line-height: 1;
}

.membership-quote p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c4a5f;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 74, 95, 0.8), rgba(44, 74, 95, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232c4a5f" width="1200" height="600"/></svg>');
    background-size: cover;
    color: rgb(0, 0, 0);
    padding: 80px 20px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero .highlight {
    color: #ff9800;
}

.hero-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 20px;
    position: relative;
    animation: heartbeat 2s infinite;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

.play-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.play-btn:hover {
    animation-play-state: paused;
}

.play-btn:hover::before {
    animation-play-state: paused;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.1);
    }

    20% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.1);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.director-card {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    min-height: 250px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.quote-icon {
    font-size: 3rem;
    color: #ff9800;
    line-height: 1;
    margin-bottom: 15px;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-btn {
    width: 40px;
    height: 40px;
    background: #ff9800;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: #e68900;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 30px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #ff9800;
    width: 25px;
    border-radius: 5px;
}

.director-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 150px;
    height: 150px;
    border: 3px solid #ff9800;
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
}

/* Welcome Section */
.welcome {
    padding: 80px 20px;
    background: white;
}

.welcome-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.welcome h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.welcome .highlight {
    color: #ff9800;
}

.welcome p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.building-img img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #4a90e2;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #357abd;
}

/* Certifications */
.certifications {
    padding: 80px 20px;
    background: #f9f9f9;
    position: relative;
}

.certifications-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.certifications h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.cert-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.cert-slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.cert-card {
    min-width: calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
    flex-shrink: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
}

.cert-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.cert-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cert-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover .cert-image::before {
    opacity: 1;
}

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

.cert-card:nth-child(3n+2) .cert-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cert-card:nth-child(3n+3) .cert-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.cert-card:nth-child(4) .cert-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.cert-card:nth-child(5) .cert-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.cert-card:nth-child(6) .cert-image {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.cert-card:nth-child(7) .cert-image {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.cert-card:nth-child(8) .cert-image {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.cert-card:nth-child(9) .cert-image {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.cert-info {
    padding: 20px;
}

.cert-info h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cert-price {
    color: #4caf50;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 15px;
}

.cert-tags {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.cert-tag {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.cert-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ff9800;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.cert-nav-btn:hover {
    background: #e68900;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
}

.cert-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.cert-nav-btn.prev {
    left: 0;
}

.cert-nav-btn.next {
    right: 0;
}

.cert-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.cert-dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-dot:hover {
    background: rgba(255, 152, 0, 0.5);
    transform: scale(1.2);
}

.cert-dot.active {
    background: #ff9800;
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}

/* News Section */
.news {
    padding: 80px 20px;
    background: white;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
}

.news h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

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

.news-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.news-image {
    height: 200px;
    background: #e0e0e0;
}

.news-info {
    padding: 20px;
}

.logo-slider {
    background: white;
    overflow: hidden;
    padding: 40px 0;
}

.slider-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 20s linear infinite;
}

.slider-track img {
    width: 180px;
    margin: 0 30px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s;
}

.slider-track img:hover {
    filter: none;
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.membership-section {
    position: relative;
    background-color: #f8fafc;
    text-align: center;
    padding: 100px 40px;
    overflow: hidden;
}

.membership-header {
    margin-bottom: 50px;
}

.membership-header .subtext {
    color: #6b7280;
    font-size: 16px;
}

.membership-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
}

.membership-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.membership-card {
    background: #fff;
    border-radius: 12px;
    width: 250px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.membership-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-top: 15px;
}

.membership-card p {
    font-size: 15px;
    color: #1e3a8a;
    margin-top: 5px;
}

.icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.icon.blue {
    color: #0ea5e9;
}

.icon.orange {
    color: #f97316;
}

.icon.teal {
    color: #06b6d4;
}

.icon.green {
    color: #10b981;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #ec407a 0%, #d81b60 100%);
    color: white;
    padding: 60px 20px;
    margin: 80px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-white {
    background: white;
    color: #d81b60;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Newsletter */
.newsletter {
    background: #ffc107;
    padding: 60px 20px;
    margin: 80px 20px;
    border-radius: 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
}

.newsletter-form button {
    background: #2c4a5f;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #19364e;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    position: relative;
}

.footer-logo img {
    width: 400px;
    margin-bottom: 15px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: #cfd8e3;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    margin: 0 8px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #f6c02f;
}

#scrollTopBtn {
    position: absolute;
    right: 30px;
    bottom: 30px;
    background: #0a4a7b;
    color: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

#scrollTopBtn:hover {
    background: #f6c02f;
    color: #111;
}

.copyright {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #cfd8e3;
}

/* Responsive */
@media (max-width: 768px) {
    .welcome h2 {
        font-size: 1.5rem;
    }

    .welcome p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .building-img {
        text-align: center;
    }

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

    .cert-card {
        min-width: 100%;
        max-width: 100%;
    }

    .cert-slider-container {
        padding: 0 50px;
    }

    .header-content>div:last-child {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
        align-items: flex-end;
    }

    .dropdown {
        display: none !important;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 20px;
    }

    .nav-content {
        width: 100%;
        max-width: 400px;
        margin-top: 20px;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
        background: #1a3a52;
        border-radius: 10px;
    }

    nav>ul>li {
        width: 100%;
    }

    nav a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        width: 100%;
    }

    nav li:last-child>a {
        border-bottom: none;
    }

    nav li.has-mobile-dropdown.open>.dropdown {
        display: block !important;
        position: static;
        background: #0f2738;
        min-width: 100%;
        padding: 15px;
        box-shadow: none;
        margin-top: 0;
    }

    nav li.has-mobile-dropdown>a::after {
        content: ' ▼';
        font-size: 0.7rem;
        margin-left: 5px;
        transition: transform 0.3s;
    }

    nav li.has-mobile-dropdown.open>a::after {
        transform: rotate(180deg);
    }

    .dropdown-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 15px;
    }

    .dropdown-section h3 {
        color: #fff;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .dropdown-section a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.85rem;
        padding: 8px 0;
        display: block;
    }

    .dropdown-section a:hover {
        color: #ff9800;
    }

    .dropdown-section li {
        margin-bottom: 8px;
    }

    .membership-quote {
        background: #1a3a52;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
    }

    .membership-quote::before,
    .membership-quote::after {
        font-size: 2rem;
    }

    .membership-quote p {
        font-size: 0.85rem;
    }

    .menu-toggle {
        display: block;
        order: 1;
    }

    .login-btn {
        order: 2;
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    .hero-content,
    .welcome-content {
        grid-template-columns: 1fr;
    }

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

    .director-card::after {
        display: none;
    }

    .cta-content {
        flex-direction: column;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .top-bar-content {
        font-size: 0.75rem;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }
}



