/* Add here all your CSS customizations */

/* Services Section Styles */
#services {
    background: #fff;
    padding: 80px 0;
}

#services .section-title h2 {
    color: #000;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

#services .title-separator {
    width: 80px;
    height: 3px;
    background: #ff0000;
    margin: 0 auto;
}

.services-airplane {
    margin-bottom: 3rem;
}

/* Services Grid Layout - 3 columns with middle empty for airplane */
.service-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: #ff0000;
}

.service-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.services-airplane-vertical {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.services-airplane-vertical i.fas.fa-plane {
    font-size: 8rem;
    color: #000;
    transition: all 0.8s ease;
    animation: flyInFromBottomRotated 1.2s ease-out forwards, floatGently 3s ease-in-out 1.2s infinite;
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.services-airplane-vertical i.fas.fa-plane:hover {
    transform: scale(1.05) rotate(5deg);
}

.services-airplane-img {
    max-width: 200px;
    height: auto;
    transition: all 0.8s ease;
    animation: flyInFromBottom 1.2s ease-out forwards, floatGently 3s ease-in-out 1.2s infinite;
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.services-airplane-img:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* Enhanced Airplane fly-in animation from bottom to middle */
@keyframes flyInFromBottom {
    0% {
        transform: translateY(100vh) scale(0.5) rotate(-15deg);
    }
    25% {
        transform: translateY(50vh) scale(0.7) rotate(-8deg);
    }
    50% {
        transform: translateY(-20px) scale(1.1) rotate(2deg);
    }
    75% {
        transform: translateY(10px) scale(0.95) rotate(-1deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Enhanced fly-in animation for rotated plane icon */
@keyframes flyInFromBottomRotated {
    0% {
        transform: translateY(100vh) scale(0.5) rotate(0deg);
    }
    25% {
        transform: translateY(50vh) scale(0.7) rotate(3deg);
    }
    50% {
        transform: translateY(-20px) scale(1.1) rotate(0deg);
    }
    75% {
        transform: translateY(10px) scale(0.95) rotate(-3deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes floatGently {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

.service-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    margin-top: 0.25rem;
}

.service-icon i {
    font-size: 1.2rem;
    color: #000;
}

.service-text {
    flex: 1;
}

.service-title {
    color: #E04040;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: 0.3px;
}

.service-description {
    color: #000;
    line-height: 1.5;
    margin: 0;
    font-size: 0.8rem;
}

/* Responsive adjustments for services */
@media (max-width: 768px) {
    #services {
        padding: 3rem 0;
    }
    
    #services .section-title h2 {
        font-size: 2rem;
    }
    
    .service-item {
        margin-bottom: 1.5rem;
    }
    
    .service-content {
        flex-direction: column;
        text-align: center;
    }
    
    .services-airplane-vertical {
        margin: 2rem 0;
        height: auto;
        min-height: 200px;
    }
    
    .services-airplane-vertical i.fas.fa-plane {
        font-size: 4rem;
    }
    
    .services-airplane-img {
        max-width: 150px;
    }
    
    /* Optimize animations for mobile */
    .services-airplane-vertical i.fas.fa-plane,
    .services-airplane-img {
        animation-duration: 0.8s, 2s;
        will-change: auto;
    }
}

html:not(.sticky-header-active) #header.header-semi-transparent-dark .header-body {

    background-color: rgba(0, 0, 0, 1) !important;

}

/* Header Layout Styles */
#header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    min-height: 70px;
    display: flex;
    align-items: center;
    position:absolute;
    opacity:0.7;
}

#header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 100%;
    min-height: 60px;
}

/* Logo Section */
.navbar-brand-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
}

.logo-image {
    max-height: 50px;
    max-width: 200px;
    object-fit: contain;
}

.logo-graphic {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.logo-graphic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff0000;
    letter-spacing: 1px;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Navigation Center */
.navbar-nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.navbar-nav-center .navbar-nav {
    display: flex;
    gap: 2rem;
    margin: 0;
    align-items: center;
    height: 100%;
}

.navbar-nav-center .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
    align-items: center;
}

.navbar-nav-center .nav-link:hover {
    color: #ff0000 !important;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: #ff0000;
    margin-left: 0.25rem;
}

/* Contact Section */
#contactus {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override animation classes for contact form */
#contactus .fade-in,
#contactus .slide-in-left,
#contactus .slide-in-right,
#contactus .scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

#contactus .fade-in.visible,
#contactus .slide-in-left.visible,
#contactus .slide-in-right.visible,
#contactus .scale-in.visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Override animation classes for experiences section */
#experiences .fade-in,
#experiences .slide-in-left,
#experiences .slide-in-right,
#experiences .scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

#experiences .fade-in.visible,
#experiences .slide-in-left.visible,
#experiences .slide-in-right.visible,
#experiences .scale-in.visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Override animation classes for services section */
#services .fade-in,
#services .slide-in-left,
#services .slide-in-right,
#services .scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

#services .fade-in.visible,
#services .slide-in-left.visible,
#services .slide-in-right.visible,
#services .scale-in.visible {
    opacity: 1 !important;
    transform: none !important;
}

.navbar-contact-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    display: none;
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    color: white;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Collapse Menu - Hidden on Desktop */
#navbarNav {
    display: none !important;
}

#navbarNav.show {
    display: block !important;
}

/* Override Bootstrap collapse behavior on desktop */
@media (min-width: 992px) {
    #navbarNav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    #navbarNav.show {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar-nav-center .navbar-nav {
        gap: 1.5rem;
    }
    
    .contact-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    #header .container-fluid {
        flex-direction: column;
        align-items: stretch;
    }
    
    .navbar-nav-center {
        order: 2;
        margin: 1rem 0;
    }
    
    .navbar-contact-section {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .navbar-toggler {
        display: block;
        order: 3;
        align-self: flex-end;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .contact-buttons {
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav-center {
        display: none !important;
    }
    
    .navbar-toggler {
        display: block !important;
    }
    
    #navbarNav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
        z-index: 1000;
    }
    
    #navbarNav.show {
        display: block !important;
    }
    
    #navbarNav .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #navbarNav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    #navbarNav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-btn {
        padding: 0.4rem 0.8rem;
    }
    
    .contact-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-graphic {
        width: 35px;
        height: 35px;
    }
    
    .navbar-nav-center .navbar-nav {
        gap: 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-graphic {
        width: 30px;
        height: 30px;
    }
    
    .contact-text {
        font-size: 0.75rem;
    }
}

/* Pilot Experience Section Styles */
.pilot-experience-section {
    background: #ffffff;
    position: relative;
    overflow: visible;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    font-family: 'Georgia', serif;
    text-align: center;
}

/* Override theme's blue line */
.section-title::after {
    display: none !important;
}

.image-slider-container {
    position: relative;
    z-index: 3;
}

.image-slider {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 40px;
}

.image-slider .slide {
    display: none;
    position: relative;
}

.image-slider .slide.active {
    display: block;
    z-index: 2;
}

.image-slider .slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4; /* Vertical/portrait orientation */
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    z-index: 3;
    position: relative;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slider-dots .dot.active {
    background: #ff0000;
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.slider-dots .dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-dots .dot:hover::before {
    border-color: #ff0000;
    transform: scale(1.1);
}

/* Content wrapper with grey box that overlaps */
.content-wrapper {
    background: #f8f9fa;
    padding: 40px;
    padding-left:190px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: -220px; /* Overlap the image */
    z-index: 2;
    border: 1px solid #e9ecef;
}

.feature-blocks {
    position: relative;
}

.feature-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    transition: all 0.3s ease;
    margin-bottom:60px;
}

.feature-block:last-child {
    border-bottom: none;
}

.feature-block:hover {
    transform: translateX(5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-block:hover .feature-icon {
    transform: scale(1.1);
}

/* Feature icon image styling */
.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.feature-content h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-block:hover .feature-content h4 {
    color: #ff0000;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .image-slider {
        margin-bottom: 30px;
    }
    
    .feature-block {
        padding: 15px 0;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .content-wrapper {
        margin-left: 0; /* No overlap on mobile */
    }
}

@media (max-width: 767.98px) {
    .pilot-experience-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-title::after {
        width: 60px;
        margin: 15px auto 0;
    }
    
    .image-slider {
        margin-bottom: 25px;
    }
    
    .feature-blocks {
        padding: 0;
    }
    
    .feature-block {
        padding: 15px 0;
        gap: 15px;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .content-wrapper {
        padding: 30px 25px;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .image-slider {
        margin-bottom: 20px;
    }
    
    .feature-block {
        padding: 12px 0;
        gap: 12px;
    }
    
    .feature-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .feature-content h4 {
        font-size: 1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .content-wrapper {
        padding: 25px 20px;
    }
}