/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Special Projects Button Styling */
.nav-link[href="/Projects/"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link[href="/Projects/"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: white !important;
}

.nav-link[href="/Projects/"]::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--hero-gradient);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--hero-accent);
    color: white;
    box-shadow: 0 4px 15px var(--hero-shadow);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--hero-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--hero-shadow), 0 0 20px var(--hero-shadow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 25px var(--hero-shadow), 0 0 20px var(--hero-shadow);
    }
    50% {
        box-shadow: 0 10px 25px var(--hero-shadow), 0 0 30px var(--hero-shadow);
    }
    100% {
        box-shadow: 0 10px 25px var(--hero-shadow), 0 0 20px var(--hero-shadow);
    }
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.8s both;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 640px; /* Increased from 560px for better control access */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 6px solid rgba(255, 255, 255, 0.3); /* Increased border thickness */
    aspect-ratio: 16 / 9;
    background: #000;
    padding: 8px; /* Added padding around video for better control access */
    transition: all 0.3s ease; /* Smooth transitions for interactions */
}

.video-container:hover {
    border-color: rgba(255, 255, 255, 0.5); /* Brighter border on hover */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.video-container .video-embed {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%; /* Reduced from 120% to fit better with padding */
    height: 110%;
    transform: translate(-50%, -50%);
    border: none;
    border-radius: 12px; /* Added border radius to video */
}

@supports not (aspect-ratio: 1) {
    .video-container {
        height: 0;
        padding-bottom: 56.25%;
    }
    .video-container .video-embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .video-container {
        max-width: 500px; /* Increased from 420px for better mobile control access */
        padding: 6px; /* Slightly reduced padding on mobile */
    }
}

@media (max-width: 480px) {
    .video-container {
        max-width: 400px; /* Increased from 340px for better mobile control access */
        padding: 4px; /* Minimal padding on very small screens */
    }
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.8);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

/* Section Styles */
section {
    padding: 45px 0;
}

/* Content density improvements */
p, ul, ol {
    margin-bottom: 0.8rem;
}

ul li, ol li {
    margin-bottom: 0.3rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    background: var(--primary-gradient);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px var(--primary-shadow);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-item {
    background: var(--stats-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--stats-border);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--primary-shadow);
    background: white;
    border-color: var(--primary-shadow);
}

.skill-item i {
    font-size: 2rem;
    background: var(--icon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.skill-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

/* Experience Section */
.experience {
    background: #f8fafc;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 2rem;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 2rem;
    text-align: left;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
    background: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.company {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    display: block;
}

.duration {
    color: #6b7280;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
    text-align: center;
}

.timeline-details {
    margin-top: 1rem;
    list-style: none;
}

.timeline-details li {
    margin-bottom: 0.5rem;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-details li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Certifications Section */
.certifications {
    background: white;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px var(--primary-shadow);
}

.cert-icon i {
    font-size: 2rem;
    color: white;
}

.cert-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff0080 0%, #00ffff 100%);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 0, 128, 0.3);
}



.cert-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Education Section */
.education {
    background: #f8fafc;
}

.education-content {
    max-width: 800px;
    margin: 0 auto;
}

.education-main {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--stats-border);
}

.education-main h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    background: var(--primary-gradient);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px var(--primary-shadow);
}



.education-main h3:first-child {
    margin-top: 0;
}

.institution {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.achievements h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px var(--primary-shadow);
}



.achievements {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--stats-bg);
    border-radius: 12px;
    border: 1px solid var(--stats-border);
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.achievement-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--stats-border);
}

.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--primary-shadow);
    border-color: var(--primary-shadow);
}

.achievement-item i {
    font-size: 2rem;
    background: var(--icon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.achievement-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    background: var(--primary-gradient);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 2px 8px var(--primary-shadow);
}

.achievement-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* All sections now have basic visibility without complex rules */



/* Theme Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #ec4899 0%, #1e40af 100%);
    --primary-shadow: rgba(236, 72, 153, 0.3);
    --accent-color: #1e40af;
    --accent-hover: #ec4899;
    --icon-gradient: linear-gradient(135deg, #ec4899 0%, #1e40af 100%);
    --badge-bg: rgba(236, 72, 153, 0.1);
    --badge-border: rgba(236, 72, 153, 0.3);
    --stats-bg: rgba(236, 72, 153, 0.05);
    --stats-border: rgba(236, 72, 153, 0.2);

    /* Hero-specific bright colors for "happy brain" effect */
    --hero-gradient: linear-gradient(135deg, #f472b6 0%, #3b82f6 100%);
    --hero-accent: #3b82f6;
    --hero-accent-hover: #f472b6;
    --hero-shadow: rgba(244, 114, 182, 0.4);
}

/* Force DRM overlay opacity to be respected */
.protected-image-container .overlay {
    /* Let JavaScript control opacity */
    opacity: unset !important;
    background: unset !important;
}

/* Force QR code canvas size - 30% bigger for better mobile scanning */
.protected-image-container .overlay canvas {
    width: 156px !important;
    height: 156px !important;
    max-width: 156px !important;
    max-height: 156px !important;
}

@media (max-width: 768px) {
    .protected-image-container .overlay canvas {
        width: 104px !important;
        height: 104px !important;
        max-width: 104px !important;
        max-height: 104px !important;
    }
}

/* Technical Features Headings - Consistent styling */
.poc-technical h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a; /* Dark blue color */
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* DRM Images - Wider and more scannable */
.protected-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* opacity removed to allow JavaScript control */
}

.protected-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.poc-content {
    max-width: 1200px;
    margin: 0 auto;
}

.poc-intro {
    margin-bottom: 3rem;
}

.poc-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.poc-text {
    text-align: center;
}

.poc-description {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.8;
}

.poc-image-demo {
    text-align: center;
}

.poc-image-demo h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.gallery-description {
    text-align: center;
    font-style: italic;
    color: #6b7280;
    margin-bottom: 2rem;
}

.protected-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.protected-image-container {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.protected-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.protected-image {
    width: 100%;
    height: 250px; /* Reduced for more compact layout */
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.image-caption {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

.drm-notice {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #059669;
    font-weight: 500;
}

.poc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.poc-side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.poc-left {
    width: 100%;
}

.poc-right {
    width: 100%;
}

/* Responsive design for side-by-side layout */
@media (max-width: 1024px) {
    .poc-side-by-side {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .poc-left,
    .poc-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .poc-side-by-side {
        gap: 1.5rem;
    }
    
    .poc-card {
        padding: 1.5rem;
    }
}

.poc-card {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid orange;
}

.poc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.poc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e2e8f0;
}

.poc-header i {
    font-size: 2rem;
    background: var(--icon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.poc-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.poc-content-inner h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: black;
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
}

.poc-content-inner h4:first-child {
    margin-top: 0;
}

.poc-steps {
    list-style: none;
    counter-reset: step-counter;
    margin-bottom: 1.5rem;
}

.poc-steps > li {
    counter-increment: step-counter;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 3rem;
}

.poc-steps > li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-gradient);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.poc-steps > li > strong {
    color: #1f2937;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.poc-steps ul {
    list-style: none;
    margin-top: 0.5rem;
    margin-left: 0;
}

.poc-steps ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.3rem;
    color: #4b5563;
    line-height: 1.6;
}

.poc-steps ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.poc-benefits,
.poc-technical,
.poc-security {
    background: #f8fafc;
    padding: 1.2rem;
    border-radius: 12px;
    margin-top: 1.2rem;
    border-left: 4px solid var(--accent-color);
}

.poc-security {
    border-left-color: #059669;
}

.poc-benefits ul,
.poc-technical ul,
.poc-security ul {
    list-style: none;
    margin: 0;
}

.poc-benefits ul li,
.poc-technical ul li,
.poc-security ul li {
    padding: 0.4rem 0;
    color: #374151;
    font-weight: 500;
    line-height: 1.4;
}

.poc-footer {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.poc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--stats-bg);
    border: 1px solid var(--stats-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: white;
    border-color: var(--primary-shadow);
    box-shadow: 0 4px 12px var(--primary-shadow);
}

.stat-item i {
    font-size: 2.5rem;
    background: var(--icon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.stat-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #4b5563;
    font-weight: 500;
}

/* Code styling */
code {
    background: #1f2937;
    color: #10b981;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content-centered {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-centered {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
    min-width: 280px;
    justify-content: center;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.contact-item i {
    font-size: 1.5rem;
    background: var(--icon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1d4ed8;
}



/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        right: auto;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-centered {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .contact-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .poc-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .poc-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .protected-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .protected-image {
        height: 250px; /* Increased mobile height for better visibility */
    }

    .poc-card {
        padding: 1.5rem;
    }

    .poc-steps > li {
        padding-left: 2.5rem;
    }

    .poc-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .video-container {
        max-width: 350px;
    }
    
    .video-container iframe {
        height: 200px;
    }
    
    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }

    .poc-stats {
        grid-template-columns: 1fr;
    }

    .poc-card {
        padding: 1rem;
    }

    .poc-steps > li {
        padding-left: 2rem;
    }

    .poc-steps > li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
    }
}

.poc-side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.poc-left {
    width: 100%;
}

.poc-right {
    width: 100%;
}

/* Responsive design for side-by-side layout */
@media (max-width: 1024px) {
    .poc-side-by-side {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .poc-left,
    .poc-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .poc-side-by-side {
        gap: 1.5rem;
    }
    
    .poc-card {
        padding: 1.5rem;
    }
}

/* Quick Professional Overview Section */
.quick-overview {
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.overview-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--primary-shadow);
    background: white;
    border-color: var(--primary-shadow);
}

.overview-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px var(--primary-shadow);
}



.overview-card .company {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    display: block;
    margin-top: 1rem;
}

.overview-card .duration {
    color: #6b7280;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
    text-align: center;
    margin-bottom: 1rem;
}

.overview-summary {
    color: #4b5563;
    line-height: 1.4;
    text-align: left;
    margin-top: 0.8rem;
}
