/* main.css - Acavia Systems */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    background-color: #0a0c14;
    color: #edf2fb;
    line-height: 1.5;
    overflow-x: hidden;
}

/* full-width hero wrapper */
.full-hero {
    width: 100%;
    background-color: #0a0c14;
    position: relative;
    overflow: hidden;
}

.container {
    margin: 0 auto;
    padding: 0 2rem;
    max-width: 1400px;
}

/* navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid #1f2740;
    backdrop-filter: blur(8px);
    background-color: rgba(10, 12, 20, 0.7);
    position: relative;
    z-index: 20;
    margin: 0 -2rem;
}

.logo a {
    font-weight: 800;
    font-size: 2.1rem;
    text-decoration: none;
    background: linear-gradient(130deg, #ffffff, #b8ceff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    background: linear-gradient(130deg, #7da2ff, #3f6edb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.logo img {
    max-height: 80px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.8rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 530;
    color: #ccd9fc;
    font-size: 1.05rem;
    transition: 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: #4f8cff;
    color: #ffffff;
}

.btn-outline {
    border: 1.5px solid #31415e;
    border-radius: 100px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    color: #e3ecff;
    transition: 0.2s;
}

.btn-outline:hover {
    border-color: #6d9eff;
    background: #14203a;
}

/* HERO with SLIDES + CENTERED content */
.hero-outer {
    width: 100%;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem 5rem 1rem;
    z-index: 15;
    position: relative;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(140deg, #ffffff, #c7dbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    animation: slideUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 1000px;
}

.hero-content .text-glow {
    background: linear-gradient(145deg, #97bbff, #3f7eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(63, 126, 255, 0.5);
}

.hero-content p {
    font-size: 1.35rem;
    color: #b6cbf5;
    margin-bottom: 2.5rem;
    max-width: 700px;
    animation: slideUp 1s cubic-bezier(0.2, 0.9, 0.3, 1) 0.15s both;
}

.hero-pills {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideUp 1s cubic-bezier(0.2, 0.9, 0.3, 1) 0.3s both;
}

.pill-dark {
    background: rgba(18, 28, 50, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 100px;
    padding: 0.7rem 2rem;
    font-weight: 530;
    color: #c4d7ff;
    border: 1px solid #314e80;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

/* Page Hero (for inner pages) */
.page-hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(140deg, #ffffff, #c7dbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: #b6cbf5;
    max-width: 700px;
    margin: 0 auto;
}

/* HERO SLIDER (images) */
.hero-slider {
    width: 100%;
    max-width: 1100px;
    margin: 2rem auto 0 auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 70px -15px #00000080;
    border: 1px solid #2a4070;
    aspect-ratio: 16 / 7;
    position: relative;
    z-index: 20;
    background: #0b1020;
}

.slides-container {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slideShow 15s infinite ease-in-out;
}

.slide {
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slide::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #0a0c1420, #1a254590);
    pointer-events: none;
}

.slide-1 { background-image: linear-gradient(45deg, #0e1a2eb0, #0e1a2eb0), url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?q=80&w=2070&auto=format&fit=crop'); }
.slide-2 { background-image: linear-gradient(45deg, #132237b0, #132237b0), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=2070&auto=format&fit=crop'); }
.slide-3 { background-image: linear-gradient(45deg, #101f33b0, #101f33b0), url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?q=80&w=2070&auto=format&fit=crop'); }

@keyframes slideShow {
    0%, 28% { transform: translateX(0); }
    33%, 61% { transform: translateX(-33.333%); }
    66%, 94% { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
}

/* glowing background blobs */
.hero-glow {
    position: absolute;
    top: -250px;
    right: -50px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at 30% 50%, rgba(35, 90, 220, 0.35), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: floatMove 18s infinite alternate ease-in-out;
}

.hero-glow-left {
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(80, 60, 220, 0.25), transparent 75%);
    filter: blur(70px);
    z-index: 1;
    animation: floatMove2 22s infinite alternate;
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatMove {
    0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    100% { transform: translate(100px, 50px) scale(1.3); opacity: 0.9; }
}

@keyframes floatMove2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(-70px, -30px) scale(1.4); opacity: 0.8; }
}

/* section titles */
.section-title {
    font-size: 2.6rem;
    font-weight: 750;
    margin: 4rem 0 2rem 0;
    letter-spacing: -0.02em;
    background: linear-gradient(130deg, #f6faff, #b2cbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    border-left: 7px solid #3f6edb;
    padding-left: 1.5rem;
}

/* WHY + ABOUT cards with images */
.why-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

.info-card {
    background: #111a2b;
    border-radius: 40px;
    padding: 2rem 2rem 2.2rem 2rem;
    border: 1px solid #293a5a;
    backdrop-filter: blur(4px);
    transition: transform 0.25s ease, border-color 0.2s;
    box-shadow: 0 30px 40px -30px #00000080;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    border-color: #4b74d4;
    transform: scale(1.01);
}

/* image inside card */
.card-img-inline {
    width: 100%;
    height: 200px;
    border-radius: 30px;
    margin-bottom: 1.8rem;
    background-size: cover;
    background-position: center;
    border: 1px solid #3f5690;
    box-shadow: inset 0 -40px 40px -20px #000000b3;
}

.why-img {
    background-image: linear-gradient(0deg, #0d1a2c90, #16263f90), url('../images/office.jpg');
}

.about-img {
    background-image: linear-gradient(0deg, #10223190, #1c2d4a90), url('../images/team.jpg');
}

.info-card h2 {
    font-size: 2.2rem;
    font-weight: 750;
    margin-bottom: 1.5rem;
    background: linear-gradient(130deg, #ffffff, #bdcfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card h2 i {
    background: #1d3155;
    padding: 0.5rem;
    border-radius: 60%;
    color: #7da5ff;
}

.info-card p {
    color: #cbd9fc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    margin-bottom: 1rem;
    font-weight: 450;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d2e0ff;
}

.info-card li i {
    color: #5282ff;
    font-size: 1.2rem;
    width: 24px;
}

/* product cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.2rem;
    margin: 2rem 0 4rem 0;
}

.product-card {
    background: #111b2c;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid #2c3e64;
    box-shadow: 0 30px 40px -25px black;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #4f7ee0;
    box-shadow: 0 40px 60px -20px #0b1a32;
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.img-campus { background-image: linear-gradient(0deg, #0c1427e0, #18243ee0), url('../images/campus.jpg'); }
.img-campus-jr { background-image: linear-gradient(0deg, #0c1427e0, #1b2c46e0), url('../images/campus-jr.jpg'); }
.img-skillup { background-image: linear-gradient(0deg, #0c1427e0, #1b2c46e0), url('../images/skillup.jpg'); }
.img-lumiel { background-image: linear-gradient(0deg, #0c1427e0, #1b2c46e0), url('../images/lumiel.jpg'); }
.img-autonaija { background-image: linear-gradient(0deg, #102031e0, #1f314fe0), url('../images/autonaija.jpg'); }

.img-badge {
    background: #1f3256e5;
    backdrop-filter: blur(5px);
    padding: 0.3rem 1.2rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #5b83e0;
}

.card-content {
    padding: 2rem 2rem 2rem 2rem;
    background: #0f1829;
}

.product-card h3 {
    font-size: 2.3rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    background: linear-gradient(130deg, #ffffff, #c7dbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-tagline {
    color: #88aaf2;
    font-weight: 550;
    text-transform: uppercase;
    margin: 0.2rem 0 0.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #adc5ff;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    transition: 0.2s;
    margin-top: 1rem;
}

.card-link:hover {
    color: white;
    border-bottom-color: #5b8cff;
    gap: 15px;
}

/* Services Grid (extended) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0 4rem;
}

.service-item {
    background: #121d31;
    border-radius: 32px;
    padding: 2rem 1.2rem;
    text-align: center;
    border: 1px solid #2a3d62;
    transition: 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: #4f7ee0;
}

.service-item i {
    font-size: 2.6rem;
    background: linear-gradient(130deg, #98b9ff, #3f6edb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.service-item h4 {
    font-weight: 700;
    font-size: 1.3rem;
    color: #eef4ff;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: #b0c4f0;
    font-size: 0.95rem;
}

/* Service detail cards */
.service-detail-card {
    background: #111a2b;
    border-radius: 40px;
    padding: 2rem;
    border: 1px solid #293a5a;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
}

.service-detail-img {
    height: 250px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    border: 1px solid #3f5690;
}

.service-detail-content h3 {
    font-size: 2rem;
    font-weight: 750;
    background: linear-gradient(130deg, #ffffff, #bdcfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.service-detail-content p {
    color: #cbd9fc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Company page styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.team-member {
    background: #111a2b;
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #293a5a;
}

.member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-size: cover;
    background-position: center;
    border: 3px solid #3f6edb;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #88aaf2;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: #b0c4f0;
    font-size: 0.95rem;
}

/* Contact page styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.contact-info-card {
    background: #111a2b;
    border-radius: 40px;
    padding: 2rem;
    border: 1px solid #293a5a;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: #5282ff;
    width: 40px;
}

.contact-form {
    background: #111a2b;
    border-radius: 40px;
    padding: 2rem;
    border: 1px solid #293a5a;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #c4d7ff;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #1a2540;
    border: 1px solid #31415e;
    border-radius: 15px;
    color: #fff;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #5282ff;
}

.btn-primary {
    background: #1e2f50;
    color: white;
    border: 1px solid #4c71c0;
    border-radius: 60px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-primary:hover {
    background: #2a4070;
    border-color: #6d9eff;
}

/* domain strip */
.domain-strip {
    background: #0d1525;
    border: 1px solid #314e84;
    border-radius: 100px;
    padding: 1.2rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
}

.domain-strip .url {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(130deg, #fff, #b2cbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-dark-cta {
    background: #1e2f50;
    color: white;
    border-radius: 60px;
    padding: 0.7rem 2.2rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #4c71c0;
    transition: 0.3s;
}

.btn-dark-cta:hover {
    background: #2a4070;
    border-color: #6d9eff;
}

/* footer */
.footer {
    border-top: 1px solid #202b44;
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    color: #9fb1da;
    flex-wrap: wrap;
}
.footer-links a {
    color: #c3d4ff;
    margin-left: 2rem;
    text-decoration: none;
}
.footer-links a:hover { color: #fff; }

/* responsive */
@media (max-width: 800px) {
    .hero-content h1 { font-size: 3.2rem; }
    .why-about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .navbar { flex-direction: column; gap: 1rem; }
    .hero-slider { aspect-ratio: 16/9; }
    .service-detail-card { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-links a { margin: 0 1rem; }
}
@media (max-width: 500px) {
    .services-grid { grid-template-columns: 1fr; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
}