/* Unified Button Hover Styles */
.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.cta-button:hover,
.case-cta:hover {
    background: #333 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Featured Projects - Minimal Carousel 70-30 */
.blog-featured-section {
    padding: 50px 0;
    background: #fff;
}
.featured-case-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 20px;
    align-items: stretch;
}
.case-main, .case-side {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-main:hover, .case-side:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.case-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-content {
    padding: 18px 20px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}
.case-tags {
    margin-bottom: 2px;
}
.case-tags .tag {
    background: #000;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.case-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
    line-height: 1.3;
}
.case-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}
.case-stats {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}
.case-stats i {
    margin-right: 4px;
    color: #000;
}
.case-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    margin-top: auto;
}
.case-cta:hover {
    background: #333 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}
@media (max-width: 900px) {
    .featured-case-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .case-image {
        height: 120px;
    }
    .case-content {
        padding: 16px;
    }
}
/* Minimal Media Scroll Row */
.media-scroll-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 24px 0 8px 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f8f8f8;
}

.media-card {
    background: transparent;
    border-radius: 12px;
    min-width: 160px;
    max-width: 180px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.media-card:hover {
    transform: translateY(-6px);
}
.media-card img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(1) contrast(1.05);
    border: 1px solid rgba(0,0,0,0.06);
    background: #f4f4f4;
    margin-top: 8px;
}
.media-card-info {
    padding: 10px 8px 16px 8px;
    text-align: center;
}
.media-card-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    margin: 8px 0 4px 0;
}
.media-card-info p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* Compact logo variant tweaks */
.media-scroll-row.compact-logos {
    justify-content: center; /* center smaller cards */
    gap: 30px;
    padding: 18px 0 16px 0;
}

/* subtle dividing line under the section title */
.media-features-container .section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 1px;
    background: #e6e6e6;
    margin: 14px auto 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .media-scroll-row {
        flex-direction: column;
        gap: 18px;
        padding: 12px 0 4px 0;
    }
    .media-card {
        min-width: 100%;
        max-width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 8px 12px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid #f0f0f0;
    }
    .media-card img {
        width: 64px;
        height: 64px;
        margin: 0;
    }
    .media-card-info h3 {
        font-size: 1rem;
        margin: 0;
    }
    .media-card-info p {
        font-size: 0.9rem;
    }
}
/* Index.html Specific Styles - Cleaned CSS */

/* Global Styles */
:root {
    --primary-color: #000;
    --accent-color: #333;
    --light-color: #f8f8f8;
    --dark-color: #222;
    --text-color: #666;
    --white: #fff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 0;
}

.social-media-section {
    background-image: url("../assets/images/social-media/Social media design Background.jpg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Text Carousel Animation */
.text-carousel {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.text-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3px;
    background: #333;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

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

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #000;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button.primary {
    background-color: #000;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
}

/* Hero Section */
/* Hero Section - Centered Design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding-top: 100px;
    padding-bottom: 80px;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

.hero-badge {
    margin-bottom: 30px;
}

.hero-badge span {
    background: #ffd700;
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #000;
    text-align: center;
    display: block;
}

.role-bold {
    font-weight: 700;
    color: #000;
    font-size: inherit;
}

.action-regular {
    font-weight: 400;
    color: #333;
    font-size: inherit;
}

.title-main {
    font-weight: 700;
    color: #000;
    font-size: inherit;
    margin-right: 0.4em;
}

.title-action {
    font-weight: 400;
    color: #333;
    font-size: inherit;
    margin-left: 0;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #666;
    border-color: #ddd;
}

.btn-outline:hover {
    background: #f0f0f0;
    color: #333;
    transform: translateY(-2px);
}

.hero-image {
    max-width: 500px;
    width: 100%;
    background: transparent;
}

.hero-main-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    background: transparent;
}

.hero-main-image:hover {
    transform: translateY(-10px);
}

.action-text {
    font-size: inherit;
    color: var(--accent-color);
    font-weight: 400;
}

.badge-carousel {
    transition: all 0.3s ease;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Achievement Showcase */

/* Minimal Stats Row */

/* Minimal Stats Row - Black & White Palette */
.minimal-stats-row {
    display: flex;
    gap: 32px;
    margin: 40px 0;
    justify-content: center;
    align-items: center;
}

.minimal-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #000;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
}

.minimal-stat i {
    font-size: 1.7rem;
    color: #000;
    background: transparent;
    border-radius: 50%;
    padding: 8px;
    margin-right: 4px;
    box-shadow: none;
    border: none;
}

.minimal-stats-row {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .minimal-stats-row {
        flex-direction: column;
        gap: 18px;
        margin: 30px 0;
        padding: 0;
    }
    .minimal-stat {
        font-size: 1rem;
    }
    .minimal-stat i {
        font-size: 1.3rem;
        padding: 6px;
    }
}

/* Media Features Section */
.media-features {
    padding: 80px 0;
    background: var(--light-color);
}


.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    background: #f8f8f8;
    border-radius: 16px;
    padding: 32px 0;
}


.media-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    transition: transform 0.3s cubic-bezier(.4,2,.3,1);
    border: 1px solid #eee;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 18px;
}

.media-item:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

.media-image-container {
    position: relative;
    cursor: pointer;
}

.media-image-container img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    border-bottom: 1px solid #222;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0 0 12px 12px;
}

.media-overlay i {
    color: #fff;
    font-size: 2rem;
    background: #000;
    border-radius: 50%;
    padding: 8px;
    border: 1px solid #fff;
}

.media-image-container:hover .media-overlay {
    opacity: 1;
}
/* Minimal media item text styles */
.media-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 16px 0 4px 0;
    letter-spacing: 0.5px;
    text-align: center;
}
.media-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 0 0;
    text-align: center;
}

/* Media gallery for newspaper cuttings */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: start;
    padding: 18px 10px 24px 10px;
}

.media-cutting {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.media-cutting img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.05);
}

.media-cutting figcaption {
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #333;
    background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.8));
    text-align: left;
}

.media-cutting:focus,
.media-cutting:hover {
    transform: translateY(-6px);
    border-color: #e7e7e7;
    box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}

/* small scrollbar placeholder for horizontal containers (not used here) */
.media-gallery::-webkit-scrollbar { height: 8px; }
.media-gallery::-webkit-scrollbar-thumb { background: #dcdcdc; border-radius: 8px; }
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px 0;
    }
    .media-item {
        padding-bottom: 12px;
    }
    .media-image-container img {
        height: 140px;
    }
    .media-item h3 {
        font-size: 1rem;
        margin: 12px 0 2px 0;
    }
    .media-item p {
        font-size: 0.9rem;
    }
}

/* Blog Carousel Section */
.blog-carousel-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-intro {
    flex: 1;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
}

.section-navigation {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.nav-btn:active {
    transform: translateY(0);
}

/* Blog Carousel Container */
.blog-carousel-container {
    position: relative;
    overflow: hidden;
}

.blog-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0 40px 0;
}

.blog-carousel::-webkit-scrollbar {
    display: none;
}

/* Blog Card */
.blog-card {
    min-width: 380px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blog-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.blog-category {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.read-time,
.post-date {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #374151;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.blog-content {
    padding: 32px;
}

.blog-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.blog-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-excerpt {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.blog-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 13px;
}

.stat-item i {
    font-size: 14px;
}

.blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6366f1;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-cta:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.blog-cta i {
    transition: transform 0.3s ease;
}

.blog-cta:hover i {
    transform: translateX(4px);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #6366f1;
    transform: scale(1.2);
}

.indicator:hover {
    background: #94a3b8;
}

/* Blog CTA Section */
.blog-cta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 1px solid #f1f5f9;
}

.blog-cta-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.blog-cta-content p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

.view-all-blogs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1e293b;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-blogs:hover {
    background: #334155;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.3);
}

.view-all-blogs i {
    transition: transform 0.3s ease;
}

.view-all-blogs:hover i {
    transform: translateX(4px);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--light-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: #ffd700;
    margin: 0 2px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.client-name {
    font-weight: 600;
    color: var(--primary-color);
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    padding: 40px 0;
    background: #222;
    color: #fff;
    text-align: center;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    background: transparent;
    border: none;
    line-height: 1;
    padding: 8px 10px;
}

.close:hover,
.close:focus {
    color: #bbb;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-carousel-section {
        padding: 80px 0;
    }
    
    .section-header {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .blog-card {
        min-width: 350px;
    }
    
    .blog-cta-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .title-action {
        font-size: 2rem;
    }
    
    .hero-image {
        max-width: 400px;
    }
    
    .about-grid,
    .work-card.featured {
        grid-template-columns: 1fr;
    }
    
    .achievements-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .achievement-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .role-bold,
    .action-regular {
        white-space: normal;
    }
    
    .title-action {
        font-size: 1.6rem;
    }
    
    .title-main {
        margin-right: 0;
    }
    
    .hero-image {
        max-width: 350px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    /* Blog Carousel Responsive */
    .blog-carousel-section {
        padding: 60px 0;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .section-navigation {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .blog-card {
        min-width: 300px;
    }
    
    .blog-content {
        padding: 24px;
    }
    
    .blog-title {
        font-size: 20px;
    }
    
    .blog-excerpt {
        font-size: 14px;
    }
    
    .blog-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .blog-cta-section {
        padding: 30px 20px;
        margin-top: 60px;
    }
    
    .blog-cta-content h3 {
        font-size: 24px;
    }
    
    .view-all-blogs {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .achievements-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-card {
        padding: 24px 20px;
    }
    
    .achievement-number {
        font-size: 40px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

/* Education & Experience Section - Clean Timeline Design */
.education-experience {
    padding: 80px 0;
    background: #fff;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-container::after {
    content: "";
    display: table;
    clear: both;
}

/* Timeline Line - Minimal */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #000;
    transform: translateX(-50%);
    z-index: 1;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    animation: timelineSlideIn 0.8s ease forwards;
    clear: both;
}

.timeline-item:nth-child(n) {
    animation-delay: calc(0.15s * var(--item-index, 0));
}

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

.timeline-item.left {
    padding-right: calc(50% + 40px);
    text-align: right;
}

.timeline-item.right {
    padding-left: calc(50% + 40px);
    text-align: left;
}

/* Timeline Content */
.timeline-content {
    position: relative;
    display: inline-block;
    max-width: 400px;
}

/* Timeline Markers - Minimal */
.timeline-item.left .timeline-content::before {
    content: '';
    position: absolute;
    right: -47px;
    top: 15px;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 10;
}

.timeline-item.right .timeline-content::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 15px;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 10;
}

.timeline-item.education-item .timeline-content::before {
    background: #fff;
    border: 2px solid #000;
}

/* Connection Lines - Minimal */
.timeline-item.left .timeline-content::after {
    content: '';
    position: absolute;
    right: -35px;
    top: 19px;
    width: 15px;
    height: 1px;
    background: #000;
    z-index: 5;
}

.timeline-item.right .timeline-content::after {
    content: '';
    position: absolute;
    left: -35px;
    top: 19px;
    width: 15px;
    height: 1px;
    background: #000;
    z-index: 5;
}

/* Timeline Body - Minimal */
.timeline-body {
    background: #fff;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item.experience-item .timeline-body {
    border-left: 3px solid #000;
}

.timeline-item.education-item .timeline-body {
    border-left: 3px solid #6c757d;
}

.timeline-item:hover .timeline-body {
    border-color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Timeline Header - Minimal */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 12px;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.timeline-year {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Timeline Company */
.timeline-company {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    margin: 0 0 8px 0;
}

/* Timeline Description */
.timeline-description {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

/* Timeline Collapse */
.timeline-hidden {
    display: none;
}

.timeline-controls {
    text-align: center;
    margin-top: 40px;
}

.show-more-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.show-more-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.show-less i {
    transform: rotate(180deg);
}

/* Video Showcase */
.video-showcase {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    background: #000;
}

.video-showcase iframe {
    display: block;
    border-radius: 12px;
    pointer-events: none; /* Prevents interaction overlays */
}

.video-showcase:hover iframe {
    pointer-events: auto; /* Allow interaction on hover */
}

/* Custom video overlay */
.video-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    pointer-events: none;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.video-showcase:hover::after {
    background: rgba(0,0,0,0.1);
}

/* UI Showcase Images */
.ui-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.ui-image-left,
.ui-image-right {
    transition: transform 0.3s ease;
}

.ui-image-left:hover,
.ui-image-right:hover {
    transform: translateY(-5px);
}

.ui-showcase img {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ui-showcase img:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Center Content */
.ui-content-center {
    text-align: center;
    padding: 20px;
}

.ui-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.ui-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive UI Showcase */
@media (max-width: 768px) {
    .ui-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        text-align: center;
    }
    
    .ui-title {
        font-size: 1.8rem;
    }
    
    .ui-description {
        font-size: 0.9rem;
    }
}

/* Minimal Contact Section */
.minimal-contact {
    max-width: 420px;
    margin: 0 auto;
    padding: 64px 0 80px 0;
}
.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 32px 28px;
    border: 1px solid #f0f0f0;
}
.minimal-form input,
.minimal-form textarea {
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    padding: 13px 15px;
    font-size: 1rem;
    background: #fafbfc;
    transition: border 0.2s, box-shadow 0.2s;
}
.minimal-form input:focus,
.minimal-form textarea:focus {
    border: 1.5px solid #000;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.07);
}
.minimal-form textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}
.minimal-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, transform 0.2s;
}
.minimal-btn:hover {
    background: #333;
    transform: translateY(-2px);
}
.contact-subtitle-minimal {
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-container {
        padding: 0 20px;
        max-width: none;
    }

    .timeline-line {
        left: 15px;
        width: 2px;
        background: #ddd;
    }

    .timeline-item {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        margin-bottom: 40px;
        width: 100%;
    }

    .timeline-item.left,
    .timeline-item.right {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        width: 100%;
    }

    .timeline-content {
        max-width: none;
        width: 100%;
        display: block;
    }

    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -37px;
        right: auto;
        width: 12px;
        height: 12px;
        top: 16px;
        background: #000;
        border: 3px solid #fff;
        box-shadow: 0 0 0 1px #ddd;
    }

    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        display: none;
    }

    .timeline-body {
        padding: 20px;
        margin-bottom: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        border-radius: 8px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 12px;
    }

    .timeline-title {
        font-size: 1.1rem;
        line-height: 1.3;
        font-weight: 600;
    }

    .timeline-year {
        font-size: 0.8rem;
        color: #666;
        font-weight: 500;
        order: -1;
    }

    .timeline-company {
        font-size: 1rem;
        margin-bottom: 10px;
        color: #333;
        font-weight: 500;
    }

    .timeline-description {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #666;
    }
}

@media (max-width: 480px) {
    .education-experience {
        padding: 40px 0;
    }

    .timeline-container {
        padding: 0 15px;
    }

    .timeline-item {
        padding-left: 45px;
        margin-bottom: 35px;
    }

    .timeline-line {
        left: 12px;
    }

    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -34px;
        width: 10px;
        height: 10px;
        top: 14px;
    }

    .timeline-body {
        padding: 16px;
    }

    .timeline-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    .timeline-company {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .timeline-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .timeline-year {
        font-size: 0.75rem;
    }

    .timeline-tags .tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

@media (max-width: 600px) {
    .education-experience {
        padding: 40px 0;
    }
    
    .column-title {
        font-size: 1.1rem;
    }
    
    .item-title {
        font-size: 0.9rem;
    }
    
    .item-subtitle,
    .item-description {
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .role-bold,
    .action-regular {
        font-size: inherit;
    }
    
    .title-action {
        font-size: 1.4rem;
    }
    
    .title-main {
        margin-right: 0;
    }
    
    .hero-image {
        max-width: 280px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        margin-bottom: 30px;
    }
}

/* Websites Section */
.websites-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.website-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.website-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.website-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.website-card:hover .website-image img {
    transform: scale(1.05);
}

.website-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-card:hover .website-overlay {
    opacity: 1;
}

.website-links {
    display: flex;
    gap: 15px;
}

.website-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.website-btn.live {
    background: #000;
    color: #fff;
}

.website-btn.code {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.website-btn:hover {
    transform: translateY(-2px);
}

.website-content {
    padding: 25px;
}

.website-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-tag {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.website-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.3;
}

.website-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.website-stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #888;
}

.stat i {
    color: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .websites-section {
        padding: 60px 0;
    }
    
    .websites-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .website-card {
        margin: 0 10px;
    }
    
    .website-image {
        height: 200px;
    }
    
    .website-content {
        padding: 20px;
    }
    
    .website-title {
        font-size: 1.2rem;
    }
    
    .website-stats {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .websites-section {
        padding: 50px 0;
    }
    
    .website-content {
        padding: 18px;
    }
    
    .website-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .website-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}