/* General Reset */
body, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Enhanced Styling with Animation */
.site-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.site-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
}

/* Main Menu Styles with Enhanced Hover Effects */
.main-menu {
    list-style: none;
    display: flex;
}

.main-menu li {
    margin: 0 15px;
    position: relative;
}

.main-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 10px 15px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
}

.main-menu li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #007bff, #00c3ff);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.main-menu li a:hover:before {
    width: calc(100% - 30px);
}

.main-menu li a:hover {
    color: #007bff;
    transform: translateY(-2px);
}

.main-menu li:hover > ul {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Dropdown Menu Styles with Animations */
.main-menu li ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 220px;
    z-index: 1000;
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-menu li ul li {
    padding: 0;
    margin: 10px 0;
}

.main-menu li ul li a {
    color: #333;
    padding: 10px 15px;
    display: block;
    border-radius: 10px;
    font-weight: 500;
}

.main-menu li ul li a:hover {
    background-color: rgba(0, 123, 255, 0.05);
    color: #007bff;
    transform: translateX(5px);
}

/* Certifications Carousel Styles */
.Certifications-area {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.Certifications-area:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0,123,255,0), rgba(0,123,255,0.5), rgba(0,123,255,0));
}

.Certifications-carousel .Certifications-item {
    transition: transform 0.3s ease;
    padding: 15px;
}

.Certifications-carousel .Certifications-item:hover {
    transform: translateY(-5px);
}

.Certifications-carousel .Certifications-item img {
    max-width: 180px;
    height: auto;
    margin: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.Certifications-carousel .Certifications-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Logo Sizes with Animations */
.home-logo {
    max-width: 220px;
    height: auto;
    transition: all 0.3s ease;
}

.page-logo {
    max-width: 180px;
    height: auto;
    transition: all 0.3s ease;
}

/* Owl Carousel enhanced style */
.owl-carousel .owl-item img {
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.owl-carousel .owl-item:hover img {
    transform: scale(1.1);
}

.owl-nav button {
    background: linear-gradient(135deg, #007bff, #00c3ff) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.owl-nav button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.owl-prev {
    left: -20px;
}

.owl-next {
    right: -20px;
}

.owl-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.owl-dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 123, 255, 0.2) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: linear-gradient(135deg, #007bff, #00c3ff) !important;
    width: 20px;
    border-radius: 5px !important;
}

/* Footer Styles with Enhanced Visual Appeal */
.footer {
    background: linear-gradient(to right, #1a1a2e, #16213e);
    color: rgba(255, 255, 255, 0.9);
    padding: 70px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #007bff, #00c3ff);
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #007bff, #00c3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, #007bff, #00c3ff);
    margin: 15px 0 25px;
    border: none;
    border-radius: 1.5px;
}

.footer-links,
.contact-info,
.social-links {
    list-style: none;
    padding: 0;
}

.footer-links li,
.contact-info li,
.social-links li {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-links li:hover,
.contact-info li:hover {
    transform: translateX(5px);
}

.footer-links a,
.contact-info a,
.social-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover,
.contact-info a:hover,
.social-links a:hover {
    color: #fff;
}

.social-links i,
.contact-info i {
    margin-right: 10px;
    color: #007bff;
    transition: transform 0.3s ease;
}

.footer-links a:hover i,
.contact-info a:hover i,
.social-links a:hover i {
    transform: translateY(-2px);
    color: #00c3ff;
}

/* Enhanced Responsive Styles */
@media (max-width: 992px) {
    .site-navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-menu {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .main-menu.active {
        display: flex;
        animation: fadeInDown 0.4s ease-out;
    }

    .main-menu li {
        width: 100%;
        text-align: left;
        margin: 8px 0;
    }

    .main-menu li ul {
        position: static;
        box-shadow: none;
        min-width: unset;
        padding-left: 15px;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 123, 255, 0.03);
        border-radius: 10px;
    }
    
    /* Mobile Menu Toggle Button */
    .menu-toggle {
        display: block;
        width: 50px;
        height: 50px;
        position: relative;
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 195, 255, 0.1));
        border-radius: 50%;
        cursor: pointer;
        z-index: 1000;
        transition: all 0.3s ease;
    }
    
    .menu-toggle:hover {
        transform: scale(1.05);
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 195, 255, 0.2));
    }
    
    .menu-toggle span,
    .menu-toggle span:before,
    .menu-toggle span:after {
        content: '';
        position: absolute;
        height: 2px;
        width: 24px;
        background: linear-gradient(135deg, #007bff, #00c3ff);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle span {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .menu-toggle span:before {
        top: -8px;
        left: 0;
    }
    
    .menu-toggle span:after {
        bottom: -8px;
        left: 0;
    }
    
    .menu-toggle.active span {
        background: transparent;
    }
    
    .menu-toggle.active span:before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .menu-toggle.active span:after {
        bottom: 0;
        transform: rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .home-logo {
        max-width: 180px;
    }

    .page-logo {
        max-width: 160px;
    }

    .Certifications-area {
        padding: 30px 0;
    }

    .Certifications-carousel .Certifications-item img {
        max-width: 140px;
    }

    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-title {
        font-size: 18px;
    }
    
    .footer-line {
        margin: 10px 0 20px;
    }
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Utility Classes */
.animate-fade-in-down {
    animation: fadeInDown 0.5s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Modern Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #00c3ff);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00c3ff, #007bff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.btn-primary:hover:before {
    opacity: 1;
}

.btn-primary i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(-3px);
}
