* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: #f3f4f6;
}

#profile{
    z-index: 99;
    width: 200px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #2563eb ;
}

/* Header Styles */
header {
    position: relative;
    background: #111;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(43, 0, 255, 0.274) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(25, 0, 255, 0.322) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    text-align: center;
}

.header-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    max-width: 100%;
}

/* About Section Styles */
.about-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 2.5rem auto;
}

.about-text-content {
    flex: 1;
    min-width: 0;
}

.about-image {
    flex: 0;
    display: flex;
    justify-content: flex-end;
}

.about-image img {
    width: auto;
    height: 600px;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.04) rotate(-2deg);
}

@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        padding: 1.5rem 0.5rem;
    }
    .about-image {
        justify-content: center;
    }
    .about-image img {
        width: auto;
        height: 300px;
    }
}

/* Portfolio Filter Buttons */
.portfolio-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #e5e7eb;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #d1d5db;
}

.filter-btn.active {
    background-color: #2563eb;
    color: white;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-item-content {
    padding: 1.5rem;
}

.portfolio-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.portfolio-item p {
    color: #6b7280;
    line-height: 1.5;
}

/* Tools Grid - match Portfolio Grid layout and design */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.tool-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    width: 100%;
}

.tool-item:hover {
    transform: translateY(-5px);
}

.tool-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
}

.tool-item span {
    color: #1f2937;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tool-item .tool-desc {
    color: #6b7280;
    font-size: 1rem;
    margin-top: 0.25rem;
    text-align: center;
    line-height: 1.5;
}

/* Footer Styles */
footer {
    background: #111;
    color: white;
    padding: 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(43, 0, 255, 0.274) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(25, 0, 255, 0.322) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Footer Floating Icons */
.footer-floating-icons {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-floating-icons .fi {
    position: absolute;
    font-size: 2.2rem;
    color: rgba(0, 38, 255, 0.829);
    opacity: 0.7;
    top: -10%;
    animation: fallIconNoRotate 7s linear infinite;
}

/* Optionally, randomize these in JS for more effect, or use static positions like header */
.footer-floating-icons .fi:nth-child(1)  { left: 7%;   animation-delay: 0s; }
.footer-floating-icons .fi:nth-child(2)  { left: 22%;  animation-delay: 1.2s; }
.footer-floating-icons .fi:nth-child(3)  { left: 38%;  animation-delay: 2.4s; }
.footer-floating-icons .fi:nth-child(4)  { left: 53%;  animation-delay: 3.1s; }
.footer-floating-icons .fi:nth-child(5)  { left: 68%;  animation-delay: 4.3s; }
.footer-floating-icons .fi:nth-child(6)  { left: 83%;  animation-delay: 2.7s; }
.footer-floating-icons .fi:nth-child(7)  { left: 15%;  animation-delay: 1.7s; }
.footer-floating-icons .fi:nth-child(8)  { left: 45%;  animation-delay: 3.8s; }
.footer-floating-icons .fi:nth-child(9)  { left: 60%;  animation-delay: 0.9s; }
.footer-floating-icons .fi:nth-child(10) { left: 77%;  animation-delay: 2.2s; }

/* Matrix Text Animation */
.matrix-text {
    font-family: monospace;
    letter-spacing: 2px;
    color: #2563eb;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #2563eb;
    min-height: 1.5em;
    transition: color 0.3s;
}

/* Floating Icons Animation */
.floating-icons {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icons .fi {
    position: absolute;
    font-size: 3.5rem;
    color: rgba(0, 38, 255, 0.562);
    opacity: 0.7;
    z-index: 1;
    top: -10%;
    /* Remove left and animation-delay from here, will be set by JS */
    animation: fallIconNoRotate 7s linear infinite;
}

/* Randomly distribute icons horizontally, all start above header and fall to bottom */
.floating-icons .fi:nth-child(1)  { left: 5%;   top: -10%; animation-delay: 0s; }
.floating-icons .fi:nth-child(2)  { left: 20%;  top: -15%; animation-delay: 1.2s; }
.floating-icons .fi:nth-child(3)  { left: 35%;  top: -8%;  animation-delay: 2.4s; }
.floating-icons .fi:nth-child(4)  { left: 55%;  top: -12%; animation-delay: 3.1s; }
.floating-icons .fi:nth-child(5)  { left: 70%;  top: -18%; animation-delay: 4.3s; }
.floating-icons .fi:nth-child(6)  { left: 90%;  top: -10%;  animation-delay: 2.7s; }
.floating-icons .fi:nth-child(7)  { left: 15%;  top: -20%; animation-delay: 1.7s; }
.floating-icons .fi:nth-child(8)  { left: 40%;  top: -13%; animation-delay: 3.8s; }
.floating-icons .fi:nth-child(9)  { left: 60%;  top: -17%; animation-delay: 0.9s; }
.floating-icons .fi:nth-child(10) { left: 80%;  top: -22%; animation-delay: 2.2s; }

@keyframes fallIconNoRotate {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(120vh) scale(1.1);
        opacity: 0;
    }
}

/* Pitch Section Styles */
.pitch-section {
    background: #111;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pitch-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
       linear-gradient(to right, rgba(43, 0, 255, 0.274) 1px, transparent 1px),
       linear-gradient(to bottom, rgba(25, 0, 255, 0.322) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.pitch-flex,
.pitch-section > * {
    position: relative;
    z-index: 1;
}

.pitch-section h2 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.pitch-section p {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.pitch-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pitch-text {
    flex: 2;
    min-width: 0;
}

.pitch-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.pitch-image img {
    width: 250px;
    height: 500px; /* 9:16 aspect ratio */
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fff;
    border: 3px solid #2563eb;
}

.pitch-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.pitch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 1.5rem;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

.pitch-btn:hover {
    background: #1e40af;
    transform: translateY(-3px) scale(1.08);
    color: #fff;
}

@media (max-width: 900px) {
    .pitch-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .pitch-image {
        justify-content: center;
    }
    .pitch-image img {
        width: 140px;
        height: 140px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-content p {
        font-size: 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

.profile-verified-wrapper {
    position: relative;
    display: inline-block;
}

.profile-verified-badge {
    position: absolute;
    bottom: 12px;
    right: 25px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    z-index: 4;
    pointer-events: none;
}

/* New Portfolio Link Button Styles */
.portfolio-link-btn {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.6rem 1.5rem;
    background: #2563eb;
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
    border: none;
    font-size: 0.8rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    float: right; /* Align button to the right */
    margin-right: 0; /* Remove extra margin if any */
}

.portfolio-link-btn:hover {
    background: #1e40af;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 16px rgba(37,99,235,0.18);
    color: #fff;
}

/* Footer Content Flex Layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

/* Footer Links (keep your previous styles) */
.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.3em 0.8em;
    border-radius: 0.3em;
    transition: background 0.2s, color 0.2s;
}

.footer-links a:hover {
    background: #2563eb;
    color: #fff;
    text-decoration: none;
}

/* Responsive: Stack vertically on small screens */
@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    .footer-links {
        justify-content: center;
        gap: 1.2rem;
        margin-top: 0.5rem;
    }
}

/* Responsive video showcase layout */
.video-item-responsive {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2em;
    margin-bottom: 2em;
}
.video-frame {
    flex: 1 1 60%;
    min-width: 300px;
}
.video-desc {
    flex: 1 1 40%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 700px) {
    .video-item-responsive {
        flex-direction: column;
        gap: 1em;
    }
    .video-frame, .video-desc {
        min-width: 0;
        width: 100%;
    }
}


