html{
    scroll-behavior:smooth;
}
/* ================= GENERAL ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#f5f7fa;
    color:#333;
    line-height:1.6;
}

/* ================= NAVBAR ================= */
.navbar{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    background:#0b2545;
    color:white;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.logo{
    font-weight:600;
}

.nav-links{
    list-style:none;
    display:flex;
}

.nav-links li{
    margin-left:25px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    font-weight:500;
    transition:0.3s;
}

.nav-links a:hover{
    color:#00c2ff;
}

.hero h1{
    font-size:42px;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    margin:auto;
    margin-bottom:25px;
}

/* ================= BUTTON ================= */
.btn{
    display:inline-block;
    background:#00c2ff;
    color:white;
    padding:12px 25px;
    border-radius:6px;
    text-decoration:none;
    transition:0.3s;
}

.btn:hover{
    background:#009ed1;
}

/* ================= ABOUT ================= */
.about{
    padding:60px 80px;
    text-align:center;
    background:white;
}

.about h2{
    margin-bottom:20px;
    color:#0b2545;
}

/* ================= SERVICES ================= */
.services{
    padding:60px 40px;
    text-align:center;
}

.services h2{
    margin-bottom:30px;
    color:#0b2545;
}

.service-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
}

.service-card{
    background:white;
    width:300px;
    padding:25px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.service-card:hover{
    transform:translateY(-8px);
}

.service-card h3{
    margin-bottom:10px;
    color:#0b2545;
}

/* ================= WHATSAPP BUTTON ================= */
.whatsapp{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#25D366;
    color:white;
    padding:15px 20px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
    transition:0.3s;
}

.whatsapp:hover{
    background:#1ebe5d;
}

/* ================= FOOTER ================= */
footer{
    background:#0b2545;
    color:white;
    text-align:center;
    padding:20px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .navbar{
        flex-direction:column;
    }

    .about,
    .services,
    .contact{
        padding:40px 20px;
    }
}

/* ================= PROFILE ================= */
.profile{
    background:white;
    padding:70px 40px;
}

.profile-container{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:50px;
    flex-wrap:wrap;
}

.profile-image img{
    width:300px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.profile-text{
    max-width:500px;
}

.profile-text h2{
    color:#0b2545;
    margin-bottom:15px;
}

.memberships{
    margin-top:15px;
    list-style:none;
}

.memberships li{
    margin-bottom:8px;
    font-weight:500;
}

/* ================= SCROLL ANIMATION ================= */
.fade-in{
    opacity:0;
    transform:translateY(30px);
    transition:all 1s ease;
}

.fade-in.show{
    opacity:1;
    transform:translateY(0);
}

.service-icon {
    font-size: 40px;
    color: #0077b6;
    margin-bottom: 15px;
}

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        right: 0;
        top: 60px;
        background: white;
        width: 100%;
        flex-direction: column;
        display: none;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

.service-card {
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

button {
    background: #0077b6;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #023e8a;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.hero {
    height: 90vh;
    background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.6)
    ),
    url("../images/edwin.jpg") center/cover no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn {
    background: #0077b6;
    padding: 12px 25px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.contact {
    padding: 60px 20px;
    text-align: center;
    background: #f5f5f5;
}

.contact-info p {
    margin: 10px 0;
    font-size: 18px;
}

/* section {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
} */

/* CONTACT FORM */
.contact-form{
    max-width:500px;
    margin:20px auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    padding:12px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
}

.contact-form button{
    border:none;
    cursor:pointer;
}

.contact-container{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:40px;
    flex-wrap:wrap;
    margin-top:30px;
}

.contact-info{
    max-width:350px;
    text-align:left;
}

/* ================= CONTACT PROFESSIONAL LAYOUT ================= */

.contact-container{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* LEFT SIDE */
.contact-info{
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
}

.contact-info p{
    margin: 15px 0;
    font-size: 17px;
}

/* RIGHT SIDE FORM */
.contact-form{
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* INPUT STYLE IMPROVEMENT */
.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* BUTTON CENTER */
.contact-form button{
    width: 100%;
    margin-top: 10px;
}



/* ===== CAREERS FORM ===== */

.careers {
    padding: 80px 10%;
    background: #f9f9f9;
}

.careers-form {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.careers-form input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.careers-form input:focus {
    border-color: #0b63f6;
    outline: none;
}

.careers-form button {
    width: 100%;
    padding: 14px;
    background: #0b63f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.careers-form button:hover {
    background: #084cd1;
    transform: translateY(-2px);
}



/* ===== PAGE FADE TRANSITION (SAFE) ===== */

body {
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

body.fade-out {
    opacity: 0;
}

/* ===== CAREERS HERO ===== */

.careers-hero {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.6),
                rgba(0,0,0,0.6)),
                url("../images/office.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.careers-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.careers-hero p {
    max-width: 600px;
}

.nav-links a.active {
    color: #0b63f6;
    font-weight: 600;
}

button, .btn {
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* LOGO CONTAINER */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

/* ================= ICON ================= */
.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    margin-right: 12px;
}

/* Lines forming X */
.line {
    position: absolute;
    width: 100%;
    height: 4px;
    top: 50%;
    left: 0;
    border-radius: 10px;
}

/* Diagonal lines */
.l1 {
    transform: rotate(45deg);
    background: linear-gradient(90deg, #8A2BE2, #00BFFF);
}

.l2 {
    transform: rotate(-45deg);
    background: linear-gradient(90deg, #00BFFF, #8A2BE2);
}

/* Nodes (dots) */
.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8A2BE2, #00BFFF);
}

/* Dot positions */
.d1 { top: 0; left: 0; }
.d2 { top: 0; right: 0; }
.d3 { bottom: 0; left: 0; }
.d4 { bottom: 0; right: 0; }

/* ================= BREATHING EFFECT ================= */
@keyframes breathe {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(138,43,226,0.4));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(0,191,255,0.9));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(138,43,226,0.4));
    }
}

.logo-icon {
    animation: breathe 3.5s ease-in-out infinite;
}

/* ================= TEXT ================= */

.logo-text {
    font-size: 26px;
    font-weight: 600;
}

.ed { color: #EAEAF0; }

.x {
    background: linear-gradient(135deg, #8A2BE2, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.cel { color: #EAEAF0; }

.ai {
    color: #FFFFFF;
    margin-left: 8px;
    font-weight: 500;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* NAVBAR */
.navbar {
    background: #050B1E;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO SIZE */
.logo-svg {
    width: 170px;
    height: auto;
}

/* ================= SVG TEXT ================= */

.text-ed {
    fill: #E5E7EB;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.text-xcel {
    fill: url(#grad1);
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.text-ai {
    fill: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

/* ================= BREATHING ================= */

.logo-svg {
    animation: breathe 3.5s ease-in-out infinite;
}

@keyframes breathe {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

/* ================= NAV LINKS ================= */

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #EAEAF0;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.nav-links a:hover {
    color: #00BFFF;
}

/* MENU ICON */
.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .logo-svg {
        width: 140px;
    }
}