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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 2rem 1.5rem;
    z-index: 1000;
    overflow-y: hidden;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}



/* Blog Page Styles */
.blog-hero-section {
    height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.blog-title-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-hero-title {
    font-size: 45px;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    margin: 0;
    transition: all 0.3s ease;
}

/* Blog Cards Section */
.blog-cards-section {
padding-left: 80px;
padding-right: 80px;
    background-color: black;
    position: relative;
    z-index: 10;
}

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

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

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

.blog-card-content {
    padding: 30px;
    background: rgba(255, 255, 255, 0.98);
}

.blog-meta {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #999;
}

.blog-date {
    color: #666;
}

.blog-separator {
    margin: 0 8px;
    color: #ccc;
}

.blog-category {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-category:hover {
    color: #333;
    text-decoration: none;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.3;
}

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

.blog-read-more {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: #000;
    text-decoration: underline;
}

/* Blog Responsive */
@media (max-width: 991.98px) {
    .blog-hero-title {
        font-size: 4rem;
    }

    .blog-cards-section {
        padding: 0px 0;
    }
}

@media (max-width: 767.98px) {
    .blog-hero-title {
        font-size: 3rem;
    }

    .blog-card-content {
        padding: 25px;
    }

    .blog-cards-section {
        padding: 0px;
    }

    .blog-card {
        margin-bottom: 30px;
    }
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Parallax Styles */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

/* Hero Section Parallax */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

/* Smooth animations */
.parallax-bg, .hero-parallax-bg {
    transition: transform 0.1s ease-out;
}

/* Enhanced gallery hover effects */
.gallery-item {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Performance optimizations */
.parallax-section,
.parallax-bg,
.hero-parallax-bg {
    backface-visibility: hidden;
    perspective: 1000px;
}
/* Hand Icon Styles */
.sidebar-hand {
    text-align: center;
    margin: 35px 0;
    position: relative;
    cursor: pointer;
}

.hand-icon {
    font-size: 2rem;
    color: #666666;
    opacity: 0.5;
    transition: all 0.3s ease;
}

/* Hover Effects */
.sidebar-hand:hover .hand-icon {
    color: #ffffff;
    opacity: 1;
    transform: rotate(15deg) scale(1.1);
}

/* Tooltip Styles */
.hand-tooltip {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.sidebar-hand:hover .hand-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -20px;
}

/* Tooltip arrow */
.hand-tooltip:after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(255,255,255,0.9) transparent;
}

.brand-circle {
    width: 100px;
    height: 100px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.brand-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-align: center;
}

.brand-year {
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #cccccc;
    position: absolute;
    bottom: 10px;
}

/* Navigation Styles */
.sidebar-nav {
    margin-bottom: 10px;
}

.nav-list {
    list-style: none;
    padding-left: 0;
    margin-top: 25px;
    text-align: center;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    padding: 5px 0;
    color: #cccccc;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    align-content: center;
    justify-content: center;
}

.nav-link {
    position: relative;
    padding-bottom: 8px;
    display: inline-flex;
    justify-content: center;

}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; /* Changed from 50% to 0 */
    width: 100%; /* Will now match text width */
    height: 1px;
    background-color: #ffffff;
    transform: scaleX(0); /* Start with no width */
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1); /* Grow to full width */
}

.nav-link.active{
    color: white;
}


/* Bio Section */
.sidebar-bio {
    margin-bottom: 2rem;
}

.bio-title {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 1rem;
}

.bio-text
 {
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
    color: #cccccc;
}

/* Hand Icon */
.sidebar-hand {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 35px;
}

.sidebar-hand i {
    font-size: 2rem;
    color: #666666;
    opacity: 0.5;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.6)
    ), url('https://images.unsplash.com/photo-1529636798458-92182e662485?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 15rem;

}

/* Clients Section Styles */
.clients-section {
    position: relative;
}

.client-logo-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.client-logo {
    max-width: 150px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Owl Carousel Navigation */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.owl-prev, .owl-next {
    background: rgba(0,0,0,0.1) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.owl-prev:hover, .owl-next:hover {
    background: rgba(0,0,0,0.2) !important;
}
.clients-carousel {
    background-color: transparent;
    padding: 20px;
    border: none;
}

.owl-prev {
    margin-left: -20px;
}

.owl-next {
    margin-right: -20px;
}

.owl-dots {
    margin-top: 30px !important;
}

.owl-dot span {
    background: #ccc !important;
}

.owl-dot.active span {
    background: #333 !important;
}

/* Gallery Section Styles */

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.gallery-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* Hover Effects */
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
    }

    .gallery-title {
        font-size: 18px;
    }
}


/* Typewriter Effect */
.typewriter {
    display: inline-block;
    position: relative;
}

.typewriter::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink-caret .75s step-end infinite;
    color: #fff;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { opacity: 0 }
    50% { opacity: 1 }
}

/* Scroll Indicator at Bottom */
.scroll-indicator-bottom {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.scroll-indicator-bottom:hover {
    transform: translateY(-5px);
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    color: #ffffff;
    font-size: 1.2rem;
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #ffffff;
    font-weight: 500;
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Journal Section Styles */
.journal-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.journal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.journal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.journal-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.journal-read-more:hover {
    color: #000 !important;
    border-bottom-color: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .journal-image-container {
        height: 200px;
    }

    .journal-content {
        padding: 20px !important;
    }

    .journal-title {
        font-size: 20px !important;
    }
}

/* Content Section */
.content-section {
    padding: 5rem 0;
    background: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;

    color: #c4c4c4;
}

.services-section h5 {
    font-weight: 600;
    margin-bottom: 10px;
}
.services-section .service-box i {
    color: #fff;
}
.services-section .service-box p {
    font-size: 14px;
    line-height: 1.6;
}



/* Social Media Icons */
.sidebar-social {
    margin: 2rem 0;
    text-align: center;
}

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

.social-icon {
    color: #cccccc;
    width: 30px;
    height: 30px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Footer/Copyright */
.sidebar-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.powered-by {
    font-size: 10px;
    color: #666666 !important;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.copyright {
    font-size: 8px;
    color: #444444;
    letter-spacing: 0.5px;
}

/* Mobile Toggle */
.mobile-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: rgba(26, 26, 26, 0.9);
    border: none;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

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

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

    .sidebar {
        width: 100%;
        padding: 1rem;
    }
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #555555;
}
