/* Professional Hero Section Styles */
:root {
    --primary-color: #00436b;
    --secondary-color: #747574;
    --accent-color: #2563eb;
    --light-color: #ffffff;
    --dark-color: #0f172a;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Playfair Display', serif;
}

/* Hero Background Slideshow */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: none; /* Remove the static background */
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #051525;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 67, 107, 0.9), rgba(15, 23, 41, 0.7));
}

.hero-bg.active {
    opacity: 1;
    z-index: 2;
}

/* Define the three background images */
.hero-bg-1 {
    background-image: url('../assets/photos/hero-background-all/index.png');
}

.hero-bg-2 {
    background-image: url('../assets/photos/hero-background-all/index2.png');
}

.hero-bg-3 {
    background-image: url('../assets/photos/hero-background-all/index3.png');
}

.hero-bg-4 {
    background-image: url('../assets/photos/hero-background-all/index4.png');
}
/* Make sure other hero content stays above the background */
.hero-container, .scroll-indicator {
    position: relative;
    z-index: 3;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.2), transparent 70%);
    pointer-events: none;
}

.hero-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    /*border-style: solid;*/
}

.hero-content-left {
    flex: 1;
    max-width: 600px;
    color: white;
    z-index: 2;
    padding-right: 40px;
    /* border-style: solid; */
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.btn-hero {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    position: relative;
    overflow: hidden;
}

.btn-hero:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s ease;
}

.btn-hero:hover::after {
    transform: translateX(100%) skewX(-15deg);
}

.hero-content-right {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    /* border-style: solid; */
    margin-bottom: -150px;
    
}

.founder-image {
    max-width: 90%;
    max-height: 80vh;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25));
    opacity: 0;
    transform: translateY(30px);
    animation: founderAppear 1.2s ease 0.6s forwards;
}

.founder-glow {
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.4), transparent 70%);
    filter: blur(10px);
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 26px;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes founderAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        
        height: 100%;
    }
    
    .hero-content-left {
        padding: 0;
        margin-bottom: 0px;
    }
    
    .hero-content-right {
        max-width: 500px;
    }
    
    .founder-image{
        margin-top: 0px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-tagline {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    
    
    .hero-content-right {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    
}