/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Base Styles & Variables */
:root {
    --primary-color: #0a2647;
    --secondary-color: #144272;
    --accent-color: #00a6fb;
    --highlight-color: #4cc9f0;
    --text-color: #e6f1ff;
    --dark-bg: #051630;
    --card-bg: rgba(13, 41, 85, 0.7);
    --overlay: rgba(5, 22, 48, 0.7);
    --gradient-bg: linear-gradient(135deg, #051630, #0a2647, #051630);
    --glow-shadow: 0 0 15px rgba(0, 166, 251, 0.5);
}

/* Tech-inspired Background */
body {
    background: var(--gradient-bg);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Particles JS Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Floating Tech Elements */
.floating-tech {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.tech-element {
    position: absolute;
    width: var(--size);
    height: var(--size);
    top: var(--top);
    left: var(--left);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 15s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.15;
}

.tech-element i {
    font-size: calc(var(--size) - 20px);
    color: var(--highlight-color);
    filter: drop-shadow(0 0 5px var(--accent-color));
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(5px) rotate(-3deg);
    }
    75% {
        transform: translateY(-8px) rotate(2deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(10, 38, 71, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: navAppear 0.8s ease-out;
    width: 100%;
}

@keyframes navAppear {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar Links */
.navbar nav {
    display: flex;
    align-items: center;
}

.navbar a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.navbar a:hover {
    color: var(--highlight-color);
}

.navbar a:hover:before,
.navbar a.active:before {
    width: 100%;
}

.navbar a.active {
    color: var(--highlight-color);
}

/* Navbar Logo Animation */
.navbar .logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar .logo img {
    width: 90px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(76, 201, 240, 0.5));
    transition: all 0.3s ease;
}

#lillybellelogo {
    margin-bottom: 40px;
}

.navbar .logo:hover img {
    transform: rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.8));
}

/* Navbar User Section */
.navbar-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-user h2 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}

/* Buttons */
.contact-button {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    color: var(--dark-bg);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 201, 240, 0.4);
}

/* Tech Badge */
.tech-badge {
    display: inline-block;
    background: rgba(76, 201, 240, 0.2);
    color: var(--highlight-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid rgba(76, 201, 240, 0.3);
}

/* About Hero Section */
.about-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 50px;
    margin: 20px auto;
    width: 100%;
    max-width: 1400px;
}

.about-content {
    width: 50%;
    padding-right: 50px;
}

.about-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--highlight-color);
    position: relative;
}

.highlight:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    left: 0;
    background-color: rgba(76, 201, 240, 0.1);
    z-index: -1;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(230, 241, 255, 0.9);
}

/* About Stats */
.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(76, 201, 240, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    flex: 1;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(76, 201, 240, 0.5);
}

.stat-icon {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 10px 0;
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(230, 241, 255, 0.8);
}

/* Visual Content */
.visual-content {
    width: 50%;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--glow-shadow);
}

.visual-content img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 66, 114, 0.3), rgba(10, 38, 71, 0.6));
    border: 1px solid rgba(76, 201, 240, 0.2);
}

.tech-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(76, 201, 240, 0.1) 10px,
        rgba(76, 201, 240, 0.1) 12px
    );
}

.office-location {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid rgba(76, 201, 240, 0.3);
    box-shadow: var(--glow-shadow);
}

.office-location h3 {
    color: var(--highlight-color);
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
}

.office-location p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Vision Section */
.vision-section {
    padding: 80px 50px;
    text-align: center;
    background: linear-gradient(rgba(5, 22, 48, 0.9), rgba(10, 38, 71, 0.9)), url('/imgs/tech-pattern.svg');
    background-size: cover;
    background-position: center;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-top: 10px;
}

.vision-content {
    max-width: 1000px;
    margin: 0 auto;
}

.vision-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(230, 241, 255, 0.9);
}

.vision-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.objective-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.objective-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(76, 201, 240, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(76, 201, 240, 0.5);
}

.objective-card .card-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
}

.objective-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Partners Section */
.partners-section {
    padding: 80px 50px;
    text-align: center;
    margin: 0 auto;
    max-width: 1400px;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.logos-container img {
    max-width: 120px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(90%) brightness(1.2);
    transition: all 0.4s ease;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(76, 201, 240, 0.1);
}

.logos-container img:hover {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1.2);
    box-shadow: var(--glow-shadow);
    border-color: rgba(76, 201, 240, 0.4);
}

/* Footer */
.footer {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 30px 0;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid rgba(76, 201, 240, 0.3);
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(230, 241, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--highlight-color);
    transform: translateY(-3px);
}

.footer-icon {
    font-size: 1.2rem;
}

.text-muted {
    color: rgba(230, 241, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-hero {
        flex-direction: column;
        padding: 50px 30px;
    }
    
    .about-content, .visual-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .objective-cards {
        gap: 20px;
    }
    
    .objective-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    
    .navbar nav {
        margin: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar a {
        margin: 5px 10px;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .logos-container img {
        max-width: 100px;
        height: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .tech-element {
        display: none;
    }
}
