/* ==========================================
   GLOBAL RESET & FONTS
   ========================================== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #050505;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Ambient Glows */
body::before {
    content: '';
    position: fixed;
    width: 500px;
    height: 500px;
    background: #00eaff20;
    filter: blur(180px);
    left: -150px;
    top: -150px;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    width: 450px;
    height: 450px;
    background: #00ffff18;
    filter: blur(180px);
    right: -120px;
    bottom: -100px;
    z-index: -1;
}

/* ==========================================
   HEADER NAVIGATION
   ========================================== */
header {
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #00f7ff;
    text-decoration: none;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 35px;
    transition: .4s;
    font-weight: 500;
}

nav a:hover, nav a.active {
    color: #00f7ff;
}

/* ==========================================
   HERO / MAIN LAYOUT
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 8% 60px 8%;
    gap: 60px;
    flex-wrap: wrap;
}

.left {
    flex: 1;
    min-width: 320px;
}

.left h3 {
    color: #00f7ff;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.left h1 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.left h1 span {
    color: #00f7ff;
}

.left p {
    color: #bdbdbd;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .4s;
    display: inline-block;
}

.btn-primary {
    background: #00f7ff;
    color: #000;
    box-shadow: 0 0 30px #00f7ff;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px #00f7ff;
}

.btn-outline {
    border: 2px solid #00f7ff;
    color: #00f7ff;
}

.btn-outline:hover {
    background: #00f7ff;
    color: #000;
}

/* ==========================================
   IMAGE & 4-BORDER BLEND COMPOSITION
   ========================================== */
.right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 320px;
    position: relative;
}

.image-box {
    position: relative;
    width: 440px;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blend-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    
    /* Perfect 4-edge border blend */
    -webkit-mask-image: 
        linear-gradient(to bottom, transparent, black 12%, black 88%, transparent),
        linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-composite: source-in;
    
    mask-image: 
        linear-gradient(to bottom, transparent, black 12%, black 88%, transparent),
        linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    mask-composite: intersect;
}

/* Floating Particles */
.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 15px cyan;
    animation: float 5s infinite alternate;
}

.dot:nth-child(1){ top: 12%; left: 12%; }
.dot:nth-child(2){ right: 18%; top: 22%; animation-delay: 1s; }
.dot:nth-child(3){ bottom: 18%; left: 20%; animation-delay: 2s; }
.dot:nth-child(4){ bottom: 28%; right: 10%; animation-delay: 3s; }
.dot:nth-child(5){ top: 45%; left: 5%; animation-delay: 2.5s; }

@keyframes float {
    from { transform: translateY(0px); opacity: .4; }
    to { transform: translateY(-25px); opacity: 1; }
}
/* ==========================================
   SOCIAL MEDIA ICONS (UPDATED FOR SVGs)
   ========================================== */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 247, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: .4s ease-in-out;
    padding: 11px; /* Ensures proportional vector sizing inside circle frames */
}

.social-icons a svg {
    width: 100%;
    height: 100%;
    fill: currentColor; /* Dynamically inherits the changing text color properties */
    transition: .4s ease-in-out;
}

/* Bright glow effect matching the page ambient theme */
.social-icons a:hover {
    color: #000;
    background: #00f7ff;
    border-color: #00f7ff;
    box-shadow: 0 0 15px #00f7ff;
    transform: translateY(-5px);
}

/* Adjust layout alignment for smaller screens */
@media(max-width: 992px){
    .social-icons {
        justify-content: center;
    }
}



/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media(max-width: 992px){
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 160px;
    }
    .buttons {
        justify-content: center;
    }
    .left h1 {
        font-size: 46px;
    }
    .image-box {
        width: 360px;
        height: 420px;
    }
}

@media(max-width: 576px){
    header {
        padding: 20px;
    }
    nav {
        display: flex;
        gap: 15px;
    }
    nav a {
        margin-left: 0;
        font-size: 14px;
    }
    .left h1 {
        font-size: 34px;
    }
}
