/********** AetherBio CSS **********/
:root {
    --primary: #00D4AA;
    --primary-dark: #00B894;
    --secondary: #6C5CE7;
    --accent: #A29BFE;
    --light: #F8FAFC;
    --dark: #1A1A2E;
    --gradient: linear-gradient(135deg, #00D4AA 0%, #6C5CE7 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}

.btn {
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    padding: 12px 30px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00B894 0%, #5B4ED9 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 50px;
    height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background: var(--gradient) !important;
}

.bg-dark {
    background: var(--gradient-dark) !important;
}

/* Animated Background */
.animated-bg {
    position: relative;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    border-radius: 50%;
    z-index: 99;
    background: var(--gradient);
    border: none;
    width: 50px;
    height: 50px;
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.4);
}

/* Navbar */
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 25px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 3px;
        bottom: 20px;
        left: 50%;
        background: var(--gradient);
        transition: all 0.3s ease;
        border-radius: 3px;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

/* Hero Section */
.hero-header {
    background: var(--gradient-dark);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
        url('../img/hero.jpg') center/cover;
    opacity: 0.3;
}

.hero-header .container {
    position: relative;
    z-index: 1;
}

.hero-header h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 2.5rem;
    }
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Floating shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    animation: floatShape 15s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Service Cards */
.service-item {
    position: relative;
    height: 380px;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.15);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item .service-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 25px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-item .service-icon i {
    font-size: 40px;
    color: white;
}

.service-item h4 {
    color: var(--dark);
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

.service-item a.btn {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: -60px;
    left: 50%;
    margin-left: -25px;
    opacity: 0;
    background: var(--gradient);
    border: none;
}

.service-item:hover a.btn {
    bottom: 30px;
    opacity: 1;
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Pricing Cards */
.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    border-radius: 30px;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 8px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
    color: white;
}

/* Team Section */
@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-item {
    transition: all 0.4s ease;
}

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

.team-item .row {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 50px;
    top: calc(50% - 25px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--gradient);
    border-radius: 50%;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.3);
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

/* Testimonials */
.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 6px;
    width: 14px;
    height: 14px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--gradient);
    border: none;
    border-radius: 20px;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
    border: 4px solid var(--primary);
}

.testimonial-item {
    background: white;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

/* About Section */
.about-img {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
}

.feature-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.15);
}

.feature-box i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -250px;
    right: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    bottom: -150px;
    left: -50px;
}

/* Footer */
footer {
    background: var(--gradient-dark);
}

footer h4 {
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

footer a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.social-links a i {
    color: white;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 15px;
    padding: 15px 20px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

/* Contact Info */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    border-radius: 15px;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
}

/* Blog Cards */
.blog-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    background: white;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.15);
}

.blog-card img {
    transition: all 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card .p-4 {
    position: relative;
}

.blog-card h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-header {
        min-height: auto;
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .service-item {
        height: auto;
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* DNA Animation for Bio theme */
.dna-helix {
    position: absolute;
    right: 5%;
    top: 20%;
    opacity: 0.1;
    font-size: 15rem;
    animation: rotateDNA 20s linear infinite;
}

@keyframes rotateDNA {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
