/* Hero Section with Network Background */

.network-bg {
    position: relative;
    min-height: 100vh;
    background-color: #1a237e; /* Dark blue base color */
    background-image: url('../images/network-bg.jpg'); /* If you have your own network background image */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

/* If you don't have a network background image, you can use this CSS to generate one */
.network-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    animation: gradientBG 15s ease infinite;
    z-index: 1;
}

@keyframes gradientBG {
    0% { background-position: 0 0, 25px 25px; }
    50% { background-position: 50px 50px, 75px 75px; }
    100% { background-position: 0 0, 25px 25px; }
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 3;
    padding: 2rem 0;
    text-align: center;
}

.hero-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); }
}

/* Typewriter styling */
.typewriter {
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.typewriter-cursor {
    display: inline-block;
    color: #ffffff;
    font-weight: normal;
}

/* Wave separator */
.wave-separator {
    position: absolute;
    bottom: -2px; /* To ensure no gap between the wave and the next section */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 4;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

/* Enhanced scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px; /* Position above the wave */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    animation: fade-in 1.5s ease forwards;
    animation-delay: 2s;
    opacity: 0;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 500;
}

.mouse {
    width: 26px;
    height: 44px;
    border: 2px solid #ffffff;
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.arrows {
    width: 20px;
    height: 30px;
    position: relative;
    left: 50%;
    margin-left: -10px;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin: -5px;
    animation: arrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrows span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes arrows {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* Button styling */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    font-weight: 500;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    z-index: -1;
    transition: all 0.7s ease;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn:hover::after {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .network-bg {
        min-height: 80vh;
    }
    
    .typewriter {
        font-size: 2.5rem;
    }
    
    .scroll-indicator {
        bottom: 100px;
    }
}

@media (max-width: 767.98px) {
    .typewriter {
        font-size: 2rem;
    }
    
    .wave-separator svg {
        height: 60px;
    }
    
    .scroll-indicator {
        bottom: 80px;
    }
}

@media (max-width: 575.98px) {
    .typewriter {
        font-size: 1.75rem;
    }
    
    .hero-logo img {
        width: 80px;
    }
    
    .wave-separator svg {
        height: 40px;
    }
}
/* Hero Section with Full Background Image and Hover Effect */

.hero-full-bg {
    position: relative;
    min-height: 100vh;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Background image with your specific image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/SompalliandCo.jpeg');
    background-size: cover;
    background-position: center;
    transition: all 1.5s ease;
    z-index: 1;
}

/* Hover effect on the background image */
.hero-full-bg:hover .hero-bg-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Dark overlay to ensure text readability */
.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(29, 38, 113, 0.75) 100%);
    z-index: 1;
}

/* Particles container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Hero content */
.hero-content {
    position: relative;
    width: 100%;
    z-index: 3;
    padding: 2rem 0;
    text-align: center;
}

/* Logo styling */
.hero-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); }
}

/* Typewriter styling */
.typewriter {
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.typewriter-cursor {
    display: inline-block;
    color: #ffffff;
    font-weight: normal;
}

/* Wave separator */
.wave-separator {
    position: absolute;
    bottom: -2px; /* To ensure no gap between the wave and the next section */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

/* Enhanced scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px; /* Position above the wave */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    animation: fade-in 1.5s ease forwards;
    animation-delay: 2s;
    opacity: 0;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 500;
}

.mouse {
    width: 26px;
    height: 44px;
    border: 2px solid #ffffff;
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.arrows {
    width: 20px;
    height: 30px;
    position: relative;
    left: 50%;
    margin-left: -10px;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin: -5px;
    animation: arrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrows span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes arrows {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* Button styling */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    font-weight: 500;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    z-index: -1;
    transition: all 0.7s ease;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn:hover::after {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-full-bg {
        min-height: 80vh;
    }
    
    .typewriter {
        font-size: 2.5rem;
    }
    
    .scroll-indicator {
        bottom: 100px;
    }
}

@media (max-width: 767.98px) {
    .typewriter {
        font-size: 2rem;
    }
    
    .wave-separator svg {
        height: 60px;
    }
    
    .scroll-indicator {
        bottom: 80px;
    }
}

@media (max-width: 575.98px) {
    .typewriter {
        font-size: 1.75rem;
    }
    
    .hero-logo img {
        width: 80px;
    }
    
    .wave-separator svg {
        height: 40px;
    }
}