/* Reset default margin, padding, and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root colors */
:root {
    --white: #EBE6E0;
    --black: #050608;
    --blue: #0000FF;
    --gray: #485058;
    --mustard-yellow: #FFDB58;
}

/* Body setup */
body {
    display: flex;
    flex-direction: column;
    background-color: var(--black);
    height: 100vh;
}

/* Header container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align logo and nav at the same level */
    background-color: #111111;
    padding: 20px 50px;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}

/* Logo styling */
.logo-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-style: italic;
    letter-spacing: 5px;
    color: var(--white);
}

.logo-name span {
    color: var(--blue);
}

.nav-icons-group {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-left: auto;
}

/* Navigation styling */
nav {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
}

/* Navigation links styling */
nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0;
    font-size: 14px;
}

nav a:hover {
    color: var(--mustard-yellow);
    text-decoration: underline;
}

/* Main content container */
.content-container {
    flex: 1;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    gap: 50px;
    color: var(--white);
}

/* Home section styling */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
}

.home-content {
    max-width: 600px;
}

.home-content h4 {
    font-size: 18px;
    color: var(--mustard-yellow);
}

.home-content h3 {
    font-size: 45px;
    font-weight: bolder;
}

.home-content span {
    color: var(--mustard-yellow);
}

.home-content p {
    font-size: 16px;
    margin: 20px 0 40px;
    text-align: justify;
    letter-spacing: 1px;
}

/* Flexbox container for buttons */
.btn-box {
    display: flex;
    gap: 22px; /* Adds space between buttons */
}

/* Button styling */
.btn-box a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    border: 2px solid var(--mustard-yellow);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 8px;
    transition: 0.3s ease;
}

.home-content .btn {
    background: var(--gray);
    border: 2px solid var(--gray);
}

.btn-box a:hover {
    transform: scale(1.2);
}

.home-content .btn:hover {
    background-color: transparent;
}

/* Social icon container */
.social-icons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

/* Social icon styling */
.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

/* Hover effect for social icons */
.social-icon:hover {
    transform: scale(1.2);
}

/* Footer styling */
footer {
    background: #111111;
    color: var(--gray);
    padding: 10px;
    text-align: center;
    margin-top: auto; /* Pushes the footer to the bottom */
}

/* Image Styling and Layout */
.side-img {
    width: 350px;
    height: 400px;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--mustard-yellow);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    cursor: pointer;
}

.side-img:hover {
    box-shadow: 0 0 30px var(--mustard-yellow), 0 0 60px var(--mustard-yellow), 0 0 90px var(--mustard-yellow);
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Mobile Responsiveness adjustments */
@media (max-width: 768px) {
    
    .header-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .nav-icons-group {
        flex-direction: column;
        align-items: center;
        gap: 15pxx;
        margin-left: 0;
        margin-top: 10px;
    }

    .logo-name {
        text-align: center;
        width: 100%;
        justify-content: center;
        display: flex;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        text-align: center;
        font-size: 14px;
        margin: 8px 0;
    }

    /* Content layout for smaller screens */
    .content-container {
        flex-direction: column;
        align-items: center;
        padding: 0 5%;
        gap: 20px;
        text-align: center;
    }

    .home {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Make image responsive */
    .side-img {
        margin-top: 100px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        box-shadow: 0 0 15px var(--mustard-yellow);
    }

    /* Adjust home section text for small screens */
    .home-content h3 {
        font-size: 32px;
    }

    .home-content p {
        font-size: 14px;
    }

    .btn-box {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
        align-items: center;
    }
    /* Adjust button layout on smaller screens */
    .btn-box a {
        width: 100px;
        font-size: 16px;
    }

    .social-icons {
        justify-content: center;
    }
    
    /* Adjust social icon size */
    .social-icon {
        width: 25px;
        height: 25px;
    }
}