:root {
    --primary-yellow: #0083ff;
    --text-dark: #1a1a1a;
    --text-grey: #666;
    --bg-grey: #e6e7e8;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f0f0f0;
    color: var(--text-dark);
}

ul {
    padding-left: 0 !important;
}

/* --- CONTACT SECTION CUSTOM --- */
.contact-card,
.contact-form-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover,
.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: #f4f5f6;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* default */
}

.social-btn:hover {
    background-color: var(--primary-yellow);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(254, 203, 0, 0.4);
}

.form-control:focus {
    background-color: #fff !important;
    border: 1px solid var(--primary-yellow) !important;
    box-shadow: none;
}

.resume-container {
    width: 95%;
    /* max-width: 1200px; */
    /* margin: 20px auto; */
    display: flex;
    flex-direction: row;
    position: relative;
    /* overflow: hidden; */
    min-height: 100vh;
    /* Ensure it takes full height */
}

/* --- SIDEBAR --- */
.sidebar {
    width: 35%;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Profile Image Area */
.profile-section {
    position: relative;
    height: 450px;
    /* Adjust as needed */
    z-index: 1;
}

.timeline-item .details p.first {
    font-weight: 700;
    color: #212529;
    margin: 7px 0 0px 0;
}

.highlight {
    color: var(--primary-yellow);
    font-weight: 600;
}

.yellow-shape-bg {
    position: absolute;
    top: 250px;
    left: 0;
    width: 90%;
    /* height: 300px; */
    /* background-color: var(--primary-yellow); */
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    z-index: -1;
}

.profile-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Align image to bottom of this section */
    padding-right: 20px;
}

.profile-img {
    width: 90%;
    max-width: 300px;
    height: auto;
    filter: grayscale(100%);
    /* Make image B&W */
    object-fit: cover;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    /* Fade out bottom slightly if needed, or just cut */
}

/* Contact / QR Section */
.contact-section {
    padding: 20px;
    margin-top: 20px;
}

.qr-block {
    background-color: var(--primary-yellow);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    /* Assuming rounded left side from image context */
    border-top-right-radius: 30px;
    /* Make it a rounded card */
    border-bottom-right-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-left: -20px;
    /* Pull it slightly off canvas if desired, or keep inside */
    margin-right: 20px;
    position: relative;
}

.lets-work h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--white);
    text-decoration-color: var(--text-dark);
}

.contact-list {
    list-style: none;
    font-size: 0.85rem;
}

.contact-list li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
}

.contact-list li i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}


/* --- MAIN CONTENT --- */
.main-content {
    width: 65%;
    padding: 40px 40px 20px 0;
}

.header-section {
    margin-bottom: 40px;
    margin-left: -20px;
    /* Pull closer to image */
}

.header-section h1 {
    font-family: 'Montserrat', sans-serif;
    /* Handwritten style */
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
    /* transform: rotate(-3deg); */
    /* Slight tilt */
    display: inline-block;
}

.header-section h1::before {
    content: '"';
    color: var(--primary-yellow);
    margin-right: 5px;
}

.header-section h1::after {
    content: '.';
    color: var(--primary-yellow);
}

.intro-text {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
    font-size: 0.95rem;
    max-width: 90%;
}

/* Grid for 2 Columns Below Header */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Equal columns */
    gap: 40px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Yellow underline effect */
.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--primary-yellow);
    margin-top: 5px;
    border-radius: 2px;
}

/* Education Timeline */
.timeline-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.timeline-item .year {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
    color: #555;
    min-width: 60px;
}

.timeline-item .details h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.timeline-item .details p {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-bottom: 2px;
}

/* Experience List */
.exp-item {
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.exp-item.border-left {
    border-left: 2px solid #555;
}

.exp-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.exp-item .company {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0;
}

.exp-item .date {
    font-size: 0.75rem;
    color: var(--text-grey);
    font-style: italic;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.skill-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

/* Mocking software colors */
.app-pr {
    background-color: #00005b;
    color: #d08aff;
}

/* Premiere */
.app-ai {
    background-color: #330000;
    color: #ff9a00;
    border: 1px solid #ff9a00;
}

/* Illustrator - dark bg */
.app-ps {
    background-color: #001e36;
    color: #31a8ff;
}

/* Photoshop */
.app-lr {
    background-color: #001e36;
    color: #31a8ff;
}

/* Lightroom */
.app-canva {
    background: linear-gradient(45deg, #00c4cc, #7d2ae8);
    font-size: 0.7rem;
}

.app-capcut {
    background-color: #000;
    font-size: 1.5rem;
}

.app-vscode {
    background-color: #007acc;
    font-size: 1.5rem;
}

.app-figma {
    background-color: #2c2c2c;
    font-size: 1.5rem;
}

/* Responsive Adjustments */

/* Tablet (Portrait) and Mobile */
@media (max-width: 1024px) {
    .resume-container {
        flex-direction: column;
        width: 100%;
        margin: 0;
        box-shadow: none;
    }

    /* Sidebar becomes top banner */
    .sidebar {
        width: 100%;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
    }

    .profile-section {
        height: auto;
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .yellow-shape-bg {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 0 0 50% 50% / 0 0 20px 20px;
        /* Curve at bottom */
        z-index: -1;
    }

    .profile-image-container {
        padding-right: 0;
        margin-top: 40px;
        /* Space from top */
    }

    .profile-img {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        /* Circle profile on mobile */
        border: 5px solid white;
    }

    .contact-section {
        width: 90%;
        margin-top: 0;
    }

    .qr-block {
        margin-left: 0;
        margin-right: 0;
        border-radius: 15px;
        justify-content: center;
    }

    /* Main Content adjustments */
    .main-content {
        width: 100%;
        padding: 30px 20px;
    }

    .header-section {
        margin-left: 0;
        text-align: center;
    }

    .content-grid {
        display: flex;
        /* Stack columns */
        flex-direction: column;
        gap: 40px;
    }

    /* Portfolio becomes 2 columns on tablet */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Small */
@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        /* 1 Column on mobile */
    }

    .header-section h1 {
        font-size: 22px !important;
    }

    .intro-text {
        font-size: 14.5px !important;
    }

    .qr-block {
        flex-direction: column;
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .qr-block::before {
        display: none;
        /* Hide the yellow stripe on mobile card */
    }

    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
        /* Keep 4 cols for icons even on mobile */
    }
}

/* --- PORTFOLIO SECTION (Redesign) --- */
.portfolio-section {}

.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-subtitle {
    font-size: 0.7rem;
    color: var(--primary-yellow);
    /* Pinkish red from image */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    margin-bottom: 15px;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
}

.card-image img:hover {
    opacity: 0.9;
}

.card-content {
    padding: 10px 5px;
}

.card-meta {
    display: flex;
/*     justify-content: space-between; */
    align-items: center;
    margin-bottom: 10px;
    gap: 15px;
}

.card-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #3d8dfc;
    padding: 1px 7px;
    border-radius: 35px;
}

.text-pink {
    color: #3b8dfc;
}

.text-orange {
    color: #3b8dfc;
}

.card-likes {
    font-size: 0.75rem;
    color: #888;
}

.portfolio-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.portfolio-card ul li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    margin-top: 8px;
    color: var(--text-grey);
}

.portfolio-card ul li span {
    font-size: 11px;
    position: absolute;
    left: 0;
    top: 5px;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.short-title{
  font-size: 16px;
  font-weight: 500;
  margin: 15px 0 0;
}


.portfolio-card p {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-bottom: 2px;
    margin-top: 9px;
}

footer {
    background: #000;
    padding: 15px 0;
    margin-top: 50px;
}

footer p {
    color: #fff;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0;
}

footer p a {
    color: #fff;
    text-decoration: none;
}

/* Responsive for Portfolio */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .header-section {
        margin-bottom: 6px !important;
    }

    .container.contact-me-section .section-header {
        margin-bottom: 25px !important;
    }

    .container.contact-me-section {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    .portfolio-title,
    .contact-me-section h2 {
        font-size: 25px !important;
    }

    .contact-me-section h5 {
        font-size: 13px !important;
    }

    .content-grid {
        gap: 0 !important;
    }

    .portfolio-section.prince-resum,
    .portfolio-section.gaurav-resume {
        margin-bottom: 40px !important;
    }

    .prince-resume .header-section {
        margin-bottom: 20px !important;
    }

    .prince-resume .sidebar {
        padding-bottom: 30px !important;
    }

    .prince-resume .section-title,
    .md-najish-resume .section-title,
    .gaurav-resume .section-title,
    .sk-sarfaraz-resume .section-title {
        margin-top: 0 !important;
    }

    .prince-resume .skills-list,
    .md-najish-resume .skills-list,
    .gaurav-resume .skills-list,
    .sk-sarfaraz-resume .skills-list {
        margin-bottom: 10px !important;
    }

    .header-section {
        text-align: left !important;
    }

    .portfolio-header {
        margin-bottom: 20px !important;
        margin-top: 10px !important;
    }

    .lets-work h3 {
        font-size: 19px !important;
    }

    .contact-section {
        padding: 0 !important;
    }

    .contact-section .qr-block {
        text-align: left !important;
    }

    .contact-section .contact-list li {
        justify-content: left !important;
    }

}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 0 !important;
    }

    #contact-toggle-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
}

/* --- NEW CONTACT SECTION STYLES --- */

.contact-me-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.contact-me-section .contact-info-card,
.contact-me-section .contact-form-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-me-section .contact-info-card:hover,
.contact-me-section .contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--text-grey);
    /* margin-bottom: 2px; */
    margin-top: 9px;
}

.contact-me-section .social-btn {
    width: 50px;
    height: 50px;
    background-color: #f8f9fa;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-form-wrapper button {
    font-size: 14px;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.contact-me-section .social-btn:hover {
    background-color: var(--primary-yellow);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 131, 255, 0.3);
    /* Blue shadow based on primary color */
}

.contact-me-section .form-control {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    background-color: #fff !important;
    border: 1px solid #e6e6e6 !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    /* Light gray input bg */
}

.contact-me-section .form-control:focus {
    background-color: #fff;
    border: 1px solid var(--primary-yellow) !important;
    /* box-shadow: 0 0 0 4px rgba(0, 131, 255, 0.1); */
}

.contact-me-section label {
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* --- FLOATING CONTACT WIDGET --- */
#contact-toggle-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-yellow);
    color: #fff;
    border: none;
    border-radius: 50%;
    /* Circle shape */
    box-shadow: 0 4px 15px rgba(0, 131, 255, 0.4);
    z-index: 1000;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#contact-toggle-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 131, 255, 0.6);
}

#contact-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    /* Start hidden */
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

#contact-sidebar.active {
    right: 0;
}

/* Overlay Backdrop */
#contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

#contact-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 20px;
    background-color: var(--primary-yellow);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.sidebar-content {
    padding: 30px 20px;
    flex: 1;
    overflow-y: auto;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: #f0f8ff;
    color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.contact-item small {
    display: block;
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-item p {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.contact-item a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--primary-yellow);
}

.sidebar-socials {
    text-align: center;
    margin-top: 20px;
}

.sidebar-socials p {
    font-weight: 700;
    margin-bottom: 15px;
    color: #555;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-yellow);
    color: #fff;
    border-color: var(--primary-yellow);
}

/* --- NEW HERO SECTION (HUB & SPOKE) --- */

.hero-text-content button{
    border-radius: 0.5rem !important;
}
.hero-hub-style {
    position: relative;
    padding-top: 10px;
    padding-bottom: 30px;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
    /* min-height: 85vh; */
}

/* Dotted Background Pattern */
.hero-bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e0e0e0 2px, transparent 2px);
    /* Gray dots */
    background-size: 30px 30px;
    /* Grid spacing */
    opacity: 0.6;
    z-index: 0;
}

/* Network Container */
.network-container {
    position: relative;
    width: 800px;
    height: 500px;
    margin: 0 auto;
    /* border: 1px dashed red; debug */
    margin-bottom: -50px;
    /* Pull text up a bit */
}

/* SVG Lines */
.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.connector-line {
    fill: none;
    stroke: #dcdcdc;
    /* Light gray lines */
    stroke-width: 2;
    stroke-dasharray: 6 4;
    /* Dotted effect */
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 100;
    }
}

/* Central Hub */
.center-hub {
    position: absolute;
    top: 130px;
    left: 50%;
    /* 400px x coordinate */
    transform: translate(-50%, -50%);
    width: 230px;
    height: 100px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hub-img {
    width: 80%;
    height: auto;
    /* border-radius: 50%; */
}

/* Tech Nodes */
.tech-node {
    position: absolute;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
    animation: floatNode 6s ease-in-out infinite;
    max-width: 120px;
}

.tech-node img {
    width: 40px;
    height: 40px;
}

.node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
}

/* Specific Node Positioning (Matches SVG coordinates) */
/* svg viewbox 0 0 800 400. node positions should align with line ends */
.node-1 {
    left: 100px;
    top: 120px;
    animation-delay: 0s;
    transform: translate(-50%, -50%);
}

/* HTML5 */
.node-2 {
    left: 700px;
    top: 120px;
    animation-delay: 1s;
    transform: translate(-50%, -50%);
}

/* CSS3 */

.node-3 {
    left: 50px;
    top: 250px;
    animation-delay: 2s;
    transform: translate(-50%, -50%);
}

/* React */
.node-4 {
    left: 750px;
    top: 250px;
    animation-delay: 1.5s;
    transform: translate(-50%, -50%);
}

/* Bootstrap */

.node-5 {
    left: 150px;
    top: 350px;
    animation-delay: 0.5s;
    transform: translate(-50%, -50%);
}

/* JQuery */
.node-6 {
    left: 650px;
    top: 350px;
    animation-delay: 2.5s;
    transform: translate(-50%, -50%);
}

/* Less */

@keyframes floatNode {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -10px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .network-container {
        width: 100%;
        transform: scale(0.8);
    }
}

@media (max-width: 600px) {
    .hero-hub-style {
        min-height: auto;
    }

    .network-container {
        width: 100%;
        height: 350px;
        /* Shorten container */
        transform: scale(0.6);
        transform-origin: center top;
        margin-bottom: -100px;
    }

    .hero-title {
        font-size: 2rem;
    }

}

@media (min-width: 320px) and (max-width: 380px) {

    .node-1 {
        left: -10px !important;
        top: 40px !important;
    }

    .node-2 {
        left: 350px !important;
        top: 40px !important;
    }

    .node-3 {
        left: -20px !important;
        top: 210px !important;
    }

    .node-4 {
        left: 309px !important;
        top: 210px !important;
    }

    .node-5 {
        left: 70px !important;
        top: 350px !important;
    }

    .node-6 {
        left: 230px !important;
        top: 350px !important;
    }

}

@media (min-width: 381px) and (max-width: 480px) {

    .node-1 {
        left: -10px !important;
        top: 40px !important;
    }

    .node-2 {
        left: 400px !important;
        top: 40px !important;
    }

    .node-3 {
        left: -20px !important;
        top: 210px !important;
    }

    .node-4 {
        left: 400px !important;
        top: 210px !important;
    }

    .node-5 {
        left: 70px !important;
        top: 350px !important;
    }

    .node-6 {
        left: 280px !important;
        top: 350px !important;
    }

}

@media (min-width: 481px) and (max-width: 580px) {

    .node-1 {
        left: -10px !important;
        top: 40px !important;
    }

    .node-2 {
        left: 500px !important;
        top: 40px !important;
    }

    .node-3 {
        left: -20px !important;
        top: 210px !important;
    }

    .node-4 {
        left: 490px !important;
        top: 210px !important;
    }

    .node-5 {
        left: 70px !important;
        top: 350px !important;
    }

    .node-6 {
        left: 320px !important;
        top: 350px !important;
    }

}

@media (min-width: 581px) and (max-width: 680px) {

    .node-1 {
        left: -10px !important;
        top: 40px !important;
    }

    .node-2 {
        left: 500px !important;
        top: 40px !important;
    }

    .node-3 {
        left: -20px !important;
        top: 210px !important;
    }

    .node-4 {
        left: 490px !important;
        top: 210px !important;
    }

    .node-5 {
        left: 70px !important;
        top: 350px !important;
    }

    .node-6 {
        left: 320px !important;
        top: 350px !important;
    }

}

@media (min-width: 681px) and (max-width: 767px) {

    .node-1 {
        left: -10px !important;
        top: 40px !important;
    }

    .node-2 {
        left: 440px !important;
        top: 40px !important;
    }

    .node-3 {
        left: -20px !important;
        top: 210px !important;
    }

    .node-4 {
        left: 500px !important;
        top: 210px !important;
    }

    .node-5 {
        left: 70px !important;
        top: 350px !important;
    }

    .node-6 {
        left: 390px !important;
        top: 350px !important;
    }

}

@media (min-width: 768px) and (max-width: 991px) {

    .node-1 {
        left: -10px !important;
        top: 40px !important;
    }

    .node-2 {
        left: 700px !important;
        top: 40px !important;
    }

    .node-3 {
        left: -20px !important;
        top: 210px !important;
    }

    .node-4 {
        left: 700px !important;
        top: 210px !important;
    }

    .node-5 {
        left: 70px !important;
        top: 350px !important;
    }

    .node-6 {
        left: 620px !important;
        top: 350px !important;
    }

}