/* Basic styles for IATM website */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.main-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header.edu-header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1050;
}

header.edu-header .navbar-nav .nav-link {
    color: #07407d;
    padding: 0.75rem 1rem;
    font-weight: bold;
}

header.edu-header .navbar-nav .nav-link:hover,
header.edu-header .navbar-nav .nav-link:focus {
    color: #0056b3;
    font-weight: bold;
}


.dropdown-menu-custom {
    background: rgba(0, 0, 0, 0.85);
    border: none;
    min-width: 240px;
}

.dropdown-menu-custom .dropdown-item {
    color: #fff;
}

.dropdown-menu-custom .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

footer {
    margin-top: auto;
}

@media (max-width: 1199px) {
    .header-right {
        justify-content: flex-end;
    }
}

/* Find Courses Section */
.find-courses-area {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.find-courses-bg {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 0;
    border-radius: 10px;
}

.find-courses-from-bg {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.single-counter {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    color: white;
}

.single-counter.bg-172f41 {
    background: #172f41;
}

.single-counter i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
}

.count-title h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.count-title h4 {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.default-btn {
    background: #007bff;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.default-btn:hover {
    background: #0056b3;
    color: white;
}

.button-icon {
    margin-left: 10px;
}

.heading-divider {
    width: 50px;
    height: 3px;
    background: white;
    margin: 10px 0;
}

/* New Feature Section */
.newfeature-section {
    background-color: #000000;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.newfeature {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.newfeature:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.newfeature-icon {
    font-size: 3.5rem;
    color: #007bff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.newfeature:hover .newfeature-icon {
    color: #00d4ff;
    transform: rotate(5deg) scale(1.1);
}

.newfeature-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.newfeature-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Animation for fade-in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newfeature {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animation */
.newfeature:nth-child(1) { animation-delay: 0.1s; }
.newfeature:nth-child(2) { animation-delay: 0.2s; }
.newfeature:nth-child(3) { animation-delay: 0.3s; }
.newfeature:nth-child(4) { animation-delay: 0.4s; }
.newfeature:nth-child(5) { animation-delay: 0.5s; }
.newfeature:nth-child(6) { animation-delay: 0.6s; }
.newfeature:nth-child(7) { animation-delay: 0.7s; }
.newfeature:nth-child(8) { animation-delay: 0.8s; }
.newfeature:nth-child(9) { animation-delay: 0.9s; }
.newfeature:nth-child(10) { animation-delay: 1.0s; }
.newfeature:nth-child(11) { animation-delay: 1.1s; }
.newfeature:nth-child(12) { animation-delay: 1.2s; }
.newfeature:nth-child(13) { animation-delay: 1.3s; }
.newfeature:nth-child(14) { animation-delay: 1.4s; }
.newfeature:nth-child(15) { animation-delay: 1.5s; }
