/* Variables */
:root {
    --eagle-orange: #FF6633;
    --eagle-blue: #7CD4F4;
    --eagle-dark: #333333;
    /*--eagle-bluedark: #0072BB;*/
    --eagle-bluedark: #00438E;
	
}
/* Variables FINE */

/* Header & Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0;
}

.navbar-brand img {
    height: 50px;
    padding: 5px 0;
}

.nav-link {
    color: var(--eagle-dark);
    font-weight: 500;
    padding: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--eagle-orange);
}



/* Header & Navigation FINE */

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--eagle-dark);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--eagle-blue);
    color: white;
}
/* Dropdown Menu FINE */

/* Multi-level dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
/* Multi-level dropdown FINE */

/* Hero Section */
.hero {
    padding: 0;
    background-color: var(--eagle-bluedark);
    position: relative;
    overflow: hidden;
    height: 85vh;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.hero .row {
    padding: 2rem 0;
}

.video-container {
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero h1::after {
    display: none;
}

.hero .btn-eagle {
    background-color: var(--eagle-orange);
    color: white;
    border: 2px solid var(--eagle-orange);
    font-weight: 500;
}

.hero .btn-eagle:hover {
    background-color: #ff5722;
    border-color: #ff5722;
}

.hero .btn-light {
    background-color: white;
    color: var(--eagle-dark);
    border: 2px solid white;
    font-weight: 500;
}

.hero .btn-light:hover {
    background-color: transparent;
    color: white;
}
	/* Hero button FINE */
	.hero-image .btn-primary {
		background-color: var(--eagle-orange);
		border-color: var(--eagle-orange);
		padding: 0.8rem 2rem;
		transition: all 0.3s ease;
	}
	
	.hero-image .btn-primary:hover {
		background-color: #ff5722;
		border-color: #ff5722;
	}
	
	.hero-image .btn-outline-light {
		padding: 0.8rem 2rem;
		transition: all 0.3s ease;
	}
	
	.hero-image .btn-outline-light:hover {
		background-color: white;
		color: var(--eagle-bluedark);
	}	
	/* Hero button FINE */

/* Hero Section FINE */

/* Hero Section with Background Image */
.hero-image {
    position: relative;
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,114,187,0.9) 0%, rgba(0,114,187,0.7) 100%);
}

.hero-image .container {
    z-index: 1;
}

.hero-image h1::after {
    display: none;
}
/* Hero Section with Background Image FINE */

/* Content Styles */
h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--eagle-orange);
    margin-top: 10px;
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
/* Content Styles FINE */

/* Button Styles */
.btn-eagle {
    background-color: var(--eagle-orange);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-eagle:hover {
    background-color: var(--eagle-blue);
    color: white;
}

.btn-light {
    color: var(--eagle-orange);
    font-weight: 500;
}

.btn-light:hover {
    color: var(--eagle-dark);
}
/* Button Styles FINE */

/* Icons & Features */
.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--eagle-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.feature {
    padding: 1.5rem;
}
/* Icons & Features FINE */

/* Cards */
.hover-card {
    transition: transform 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
}

.img-fluid {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* Cards FINE */

/* Categories Section */
.categories-section {
    background-color: #f8f9fa;
}

.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-icon {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--eagle-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.category-icon i {
    color: white;
    font-size: 1.5rem;
}

.category-content {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.category-content h3 {
    color: var(--eagle-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-outline-eagle {
    color: var(--eagle-orange);
    border: 2px solid var(--eagle-orange);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-eagle:hover {
    background-color: var(--eagle-orange);
    color: white;
}
/* Categories Section FINE */

/* Footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    background-color: var(--eagle-bluedark);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    /* filter: brightness(0) invert(1); */
}

footer h5 {
    color: var(--eagle-orange);
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--eagle-orange);
    text-decoration: none;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}
/* Footer FINE */



/* Sidebar Styles */
.sidebar {
    padding-left: 1.5rem;
}

.widget {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--eagle-orange);
}

	/* Widget List */
	.widget-list {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	
	.widget-list li {
		border-bottom: 1px solid #eee;
	}
	
	.widget-list li:last-child {
		border-bottom: none;
	}
	
	.widget-list a {
		display: block;
		padding: 0.8rem 0;
		color: var(--eagle-dark);
		text-decoration: none;
		transition: color 0.3s ease;
	}
	
	.widget-list a:hover {
		color: var(--eagle-orange);
	}
	/* Widget List FINE*/

	/* Recent Posts Widget */
	.recent-posts {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	
	.recent-post-item {
		margin-bottom: 1rem;
		padding-bottom: 1rem;
		border-bottom: 1px solid #eee;
	}
	
	.recent-post-item:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	
	.recent-post-item a {
		display: flex;
		align-items: center;
		text-decoration: none;
		color: var(--eagle-dark);
	}
	
	.recent-post-image {
		width: 70px;
		height: 70px;
		margin-right: 1rem;
	}
	
	.recent-post-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 4px;
	}
	
	.recent-post-info h5 {
		font-size: 0.9rem;
		margin-bottom: 0.3rem;
	}
	
	.post-date {
		font-size: 0.8rem;
		color: #666;
	}
	/* Recent Posts Widget FINE*/

	/* CTA Widget */
	.cta-widget {
		background: var(--eagle-blue);
		color: white;
	}
	
	.cta-content i {
		font-size: 2rem;
		display: block;
	}
	
	.cta-content h4 {
		color: white;
	}
	/* CTA Widget fine*/
/* Sidebar Styles FINE*/



/* media query per il mobile */
@media (max-width: 991.98px) {
    .hero-image {
        height: auto;
        padding: 4rem 0;
    }
    
    .video-container {
        margin-top: 2rem;
    }
}
/* media query per il mobile FINE */



/* Blog Styles */
.card-img-top {
    height: 250px;
    object-fit: cover;
}

.post-meta i {
    color: var(--eagle-orange);
}

.pagination .page-link {
    color: var(--eagle-dark);
}

.pagination .page-item.active .page-link {
    background-color: var(--eagle-orange);
    border-color: var(--eagle-orange);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .sidebar {
        margin-top: 3rem;
        padding-left: 0;
    }
}











/* Course Styles */
.bg-eagle-blue {
    background-color: var(--eagle-blue);
}

.course-meta {
    color: #666;
}

.course-meta i {
    color: var(--eagle-orange);
    margin-right: 5px;
}

.course-features {
    list-style: none;
    padding: 0;
}

.course-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.course-features i {
    color: var(--eagle-orange);
    position: absolute;
    left: 0;
    top: 4px;
}

.nav-tabs .nav-link {
    color: var(--eagle-dark);
}

.nav-tabs .nav-link.active {
    color: var(--eagle-orange);
    border-bottom-color: var(--eagle-orange);
}

.program-list {
    list-style: none;
    padding: 0;
}

.program-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.program-list li:last-child {
    border-bottom: none;
}

.course-cta-box {
    border-left: 4px solid var(--eagle-orange);
}

.price {
    font-size: 1.5rem;
}

/* Accordion customization */
.accordion-button:not(.collapsed) {
    background-color: rgba(124, 212, 244, 0.1);
    color: var(--eagle-dark);
}

.accordion-button:focus {
    border-color: var(--eagle-blue);
    box-shadow: 0 0 0 0.25rem rgba(124, 212, 244, 0.25);
}





/* Page Hero */
.page-hero {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,114,187,0.9) 0%, rgba(0,114,187,0.7) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.category-badge {
    background-color: var(--eagle-orange);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.page-hero h1 {
    margin: 0;
}

.page-hero h1::after {
    display: none;
}

@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        margin-left: 1rem;
    }
    
    .dropdown-submenu .dropdown-menu.show {
        display: block;
    }
}
