﻿/* General Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a0a0a, #1e3a8a); /* Deeper dark blue gradient */
    color: #333;
}

/* Style for the header */
header {
    background: #333;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center; /* Vertically align items in the center */
    height: 100px; /* Adjust header height as necessary */
    position: relative;
}

    /* Style for the logo */
    header .logo {
        position: absolute; /* Position the logo on the left */
        left: 20px; /* Space from the left side */
    }

        header .logo img {
            width: 60px; /* Adjust the size of the logo */
            height: auto;
        }

    /* Style for the title and bridging message (Centered) */
    header div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-grow: 1; /* Allow this section to take up available space */
    }

    header h1 {
        margin: 0;
        font-size: 2em; /* Adjust font size for the heading */
    }

    header p {
        margin: 10px 0; /* Adds margin between the heading and the paragraph */
        font-size: 1.2em;
    }

/* Add responsiveness */
@media (max-width: 700px) {
    header {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px 0;
    }

    /* Center logo on mobile */
    header .logo {
        position: relative;
        display: block;
        margin-bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
    }

    header .logo img {
        width: 60px;
        height: auto;
    }

    /* Adjust title and paragraph section */
    header div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-grow: 1;
        width: 100%;
        padding: 0 20px; /* ✅ ADDED: horizontal padding to prevent edge hugging */
        box-sizing: border-box; /* ✅ ENSURES padding doesn't cause overflow */
    }

    header h1 {
        margin: 10px 0;
        font-size: 2em;
        max-width: 700px; /* ✅ OPTIONAL: prevents overly wide text on larger phones */
    }

    header p {
        margin: 5px 0;
        font-size: 1.2em;
        line-height: 1.4; /* ✅ ADDED: improves legibility */
        max-width: 700px; /* ✅ OPTIONAL: keep it visually balanced */
    }
}


/* Regular Navigation */
nav {
    display: flex;
    justify-content: center;
    background-color: #222;
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 0px;
    position: relative;
}

.nav-toggle {
    display: none; /* Hidden unless mobile */
}

/* Wrapper for 'Menu' + hamburger */
.nav-toggle-wrapper {
    display: none; /* hidden on desktop */
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    margin: 0 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    background-color: transparent;
    border: 2px solid transparent;
}

.nav-links li a:hover {
    color: white;
    border-color: white;
}

@media screen and (max-width: 1100px) {
  nav {
    position: relative; /* required for absolute dropdown positioning */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    z-index: 10;
  }

  .nav-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    z-index: 20; /* ensure it’s above the dropdown */
  }

  .menu-label {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: inline-block;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 100%; /* directly below the nav */
    left: 0;
    width: 100%;
    background-color: #222;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-links.show {
    max-height: 400px;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    width: 100%;
    font-size: 1.1rem;
    padding: 8px 12px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
  }

  .nav-links li a:hover {
    border-color: white;
  }
}

/* Overview Section Styles */
.overview {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px 30px;
    margin: 25px auto;
    width: 85%;
    max-width: 1000px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .overview:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.1);
    }

    .overview::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
        opacity: 0.6;
        z-index: 0;
    }

    .overview h2 {
        font-size: 2em;
        color: #ffffff;
        letter-spacing: 2px;
        position: relative;
        z-index: 1;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        font-family: 'SF Pro Display', sans-serif;
        animation: fadeInDown 1s ease-out;
    }

    .overview p {
        font-size: 1.1em;
        line-height: 1.8;
        color: #d0d0d0;
        margin-top: 20px;
        text-align: left;
        position: relative;
        z-index: 1;
        opacity: 0;
        animation: fadeInUp 1s ease-out 0.3s forwards;
        font-family: 'SF Pro Text', sans-serif;
    }

/* Projects Section */
.projects {
    padding: 50px 30px;
    background: linear-gradient(to bottom, #0f0f0f 0%, #1c1c1c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

    .projects::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="0.6" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="20" r="0.8" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="80" r="0.5" fill="rgba(255,255,255,0.12)"/></svg>');
        opacity: 0.1;
        pointer-events: none;
    }

/* Project Container (Unused but kept for consistency) */
.project-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 45px auto;
    flex-wrap: wrap;
    max-width: 1080px;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    backdrop-filter: blur(8px);
}

    .project-container:hover {
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.1);
        transform: translateY(-5px);
    }

/* Main Content */
main {
    width: 94%;
    max-width: 1080px;
    margin: 45px auto;
    padding: 20px;
    color: #d0d0d0;
    background: linear-gradient(to bottom, #0f0f0f, #1c1c1c);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Featured Section - Resume */
#featured {
    background: rgba(30, 30, 30, 0.9);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(74, 110, 224, 0.1);
    text-align: center;
    margin-bottom: 45px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    border: 1px solid rgba(74, 110, 224, 0.2);
}

    #featured:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(74, 110, 224, 0.15);
        transform: scale(1.02);
    }

    #featured h2 {
        font-size: 2em;
        color: #ffffff;
        letter-spacing: 2px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        font-family: 'SF Pro Display', sans-serif;
    }

.resume-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

    .resume-container img {
        width: 92%;
        max-width: 740px;
        display: block;
        margin: 25px auto;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
        filter: brightness(90%) contrast(110%);
    }

        .resume-container img:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(74, 110, 224, 0.3);
            filter: brightness(100%) contrast(115%);
        }

.resume-info {
    text-align: center;
    max-width: 640px;
    color: #d0d0d0;
}

    .resume-info p {
        font-size: 1.25rem;
        margin-bottom: 20px;
        line-height: 1.6;
        font-family: 'SF Pro Text', sans-serif;
    }

.btn {
    display: inline-block;
    text-align: center;
    padding: 12px 24px;
    background: #4a6ee0;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    margin-top: 12px;
    letter-spacing: 0.5px;
    font-family: 'SF Pro Display', sans-serif;
}

    .btn:hover {
        background: #5b81ff;
        box-shadow: 0 6px 18px rgba(74, 110, 224, 0.4);
        transform: translateY(-2px);
    }

.business-development {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px 30px;
    margin: 25px auto;
    width: 94%;
    max-width: 1000px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-development:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.business-development::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
}

.business-development h2 {
    font-size: 2em;
    color: #ffffff;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-family: 'SF Pro Display', sans-serif;
    animation: fadeInDown 1s ease-out;
    text-align: center;
}

.business-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.company-logo {
    max-width: 140px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    filter: brightness(0.9) contrast(1.1);
    flex-shrink: 0;
}

.business-text {
    color: #d0d0d0;
    font-family: 'SF Pro Text', sans-serif;
    flex: 1;
    text-align: left;
}

.business-text p {
    margin: 6px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.business-text ul {
    margin-top: 15px;
    padding-right: 20px;
    list-style-type: disc;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #c0c0c0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-align: left;
}

.section-label {
  text-align: center;
  font-size: 1.3rem;
  color: #bbbbbb;
  margin: 30px 0 10px;
  font-family: 'SF Pro Display', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.section-divider {
    border: none;            /* Remove any default borders */
    height: 3px;             /* Thicker line */
    background-color: #bbbbbb;  
    margin: 30px 0;          /* Space above and below */
    width: 100%;             /* Full width */
}

/* Case Studies Section */
#case-studies {
    text-align: center;
    padding: 20px;
    background: rgba(30, 30, 30, 0.9); /* Matches inner sections */
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

    #case-studies h2 {
        font-size: 2em;
        color: #ffffff;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        letter-spacing: 2px;
        font-family: 'SF Pro Display', sans-serif;
        text-align: center;
    }

.case-study {
    background: rgba(40, 40, 40, 0.9);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-left: 3px solid #4a6ee0;
}

    .case-study:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(255, 255, 255, 0.1);
    }

    .case-study h3 {
        font-size: 1.65rem;
        margin-bottom: 12px;
        color: #ffffff;
        font-weight: 600;
        font-family: 'SF Pro Display', sans-serif;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .case-study p {
        font-size: 1.15rem;
        color: #c0c0c0;
        margin-bottom: 15px;
        text-align: left;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        font-family: 'SF Pro Text', sans-serif;
    }

/* Project Box (Unused but kept for consistency) */
.project {
    width: 270px;
    height: 160px;
    background: linear-gradient(145deg, #252525, #383838);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    border-left: 4px solid #4a6ee0;
}

    .project:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(74, 110, 224, 0.3);
    }

/* Keyframe Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer Styling */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    width: 100%;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}