@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Heebo:wght@700;800&family=Mukta:wght@300;400;500&display=swap');

:root {
    --primary-color: #e31e24;
    /* Edison Red */
    --text-color: #1b1d1d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

#services {
    background: radial-gradient(circle at 10% 20%, rgba(227, 30, 36, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(227, 30, 36, 0.02) 0%, transparent 40%);
}

/* Fade-in Animation for Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-modern,
.project-card-modern {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Diverse Animation Utilities */
.reveal-fade,
.reveal-slide-left,
.reveal-slide-right,
.reveal-zoom {
    opacity: 0;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-fade {
    transform: translateY(30px);
}

.reveal-slide-left {
    transform: translateX(-50px);
}

.reveal-slide-right {
    transform: translateX(50px);
}

.reveal-zoom {
    transform: scale(0.9);
}

.visible.reveal-fade,
.visible.reveal-slide-left,
.visible.reveal-slide-right,
.visible.reveal-zoom {
    opacity: 1;
    transform: translate(0) scale(1) !important;
}

/* Typing Effect Improvements */
.type-heading {
    display: inline-block;
    width: fit-content;
    max-width: fit-content;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    width: 0;
}

.type-heading.visible {
    animation: typing 2s steps(40) forwards, blink 0.8s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-color)
    }
}

/* Shaping The Future Section */
.shaping-section {
    padding: 100px 0;
    background: #fff;
}

.shaping-media {
    position: relative;
    padding-bottom: 50px;
}

.shaping-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.shaping-img-wrapper img {
    transition: transform 0.6s ease;
}

.shaping-media:hover img {
    transform: scale(1.05);
}

.satisfaction-badge {
    position: absolute;
    bottom: 0;
    right: 30px;
    background: #FF7E44;
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(255, 126, 68, 0.3);
    z-index: 2;
}

.satisfaction-badge i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.satisfaction-badge span {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    display: block;
}

.shaping-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

/* Testimonial Section - Dark Glassmorphism */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.testimonials-section h2 {
    color: white !important;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 80px 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.quote-icon-top {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.testimonial-text-premium {
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 50px;
    padding: 0 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.author-title {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Pagination Fix for Dark */
.testimonial-slider .swiper-pagination {
    bottom: -30px !important;
}

.testimonial-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
}

.testimonial-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 10px;
}

/* Spacing Utilities */
.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.mt-100 {
    margin-top: 100px;
}

/* Background Watermark Text */
.section-with-bg-text {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    /* Ensuring consistent internal padding */
}

.bg-text-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    font-family: 'Heebo', sans-serif;
}

.bg-text-watermark.outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.05);
}

.bg-text-watermark.light {
    color: rgba(255, 255, 255, 0.03);
}

.bg-text-watermark.light.outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
}

/* Call to Action Section */
.cta-section-premium {
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.cta-section-premium .section-tag {
    color: #FF7E44;
}

.cta-section-premium h2 {
    font-size: 3.5rem;
    color: white;
    font-family: 'Heebo', sans-serif;
    margin-bottom: 20px;
}

.cta-section-premium p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Architecture Section Specifics */
.mask-reveal-img {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.mask-reveal-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: translateX(0);
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.visible.mask-reveal-img::after {
    transform: translateX(100%);
}

.orange-divider {
    width: 60px;
    height: 4px;
    background: #FF7E44;
    margin: 20px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    position: relative;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.transparent-nav {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    /* Transparent Dark */
    backdrop-filter: blur(10px);
    padding: 15px 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    text-transform: uppercase;
}

header.scrolled nav ul li a {
    color: var(--white);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.header-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 600px;
    z-index: 10;
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    overflow: hidden;
}

.slide-content h1 span {
    display: block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.swiper-slide-active .slide-content h1 span {
    transform: translateY(0);
}

/* Vertical Pagination (Persephone Style) */
.swiper-pagination-vertical.swiper-pagination-bullets {
    right: 40px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 2px solid var(--white);
    opacity: 1;
    margin: 12px 0 !important;
    transition: var(--transition);
    position: relative;
}

.swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.swiper-pagination-bullet-active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Explore Projects Bar */
.explore-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(26, 24, 24, 0.75);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.explore-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.explore-main {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.explore-main img {
    height: 20px;
    filter: brightness(0) invert(1);
}

.explore-main .caret {
    height: 10px;
    margin-left: 5px;
}

.project-links {
    display: flex;
    list-style: none;
    gap: 40px;
    padding-left: 40px;
}

.project-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.project-links li a:hover {
    color: var(--primary-color);
}

.about-section {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image-container {
    flex: 1;
    position: relative;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    transition: var(--transition);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.about-content {
    flex: 1;
}

.section-tag {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 2px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.reveal-text {
    display: inline-block;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.btn-more {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--text-color);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-more:hover {
    background: var(--text-color);
    color: var(--white);
}


/* Page Content Offset for Fixed Header */
.page-header-offset {
    padding-top: 100px !important;
}


/* Unique Section Titles & Watermarks */
.watermark-text {
    position: absolute;
    top: 50%;
    left: -5%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 10vw;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.watermark-text.right {
    left: auto;
    right: -2%;
    transform: translateY(-50%) rotate(90deg);
}

.fw-800 {
    font-weight: 800;
}

.section-title {
    font-family: var(--font-heading);
    letter-spacing: -1.5px;
    position: relative;
    z-index: 2;
}

/* Modern Service Cards */
.service-card-modern {
    background: #fff;
    padding: 60px 45px;
    border-radius: 4px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    height: 100%;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    z-index: 2;
    overflow: hidden;
}

.service-number {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 50px;
    font-weight: 800;
    color: rgba(227, 30, 36, 0.04);
    line-height: 1;
    font-family: var(--font-heading);
    transition: all 0.6s;
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(227, 30, 36, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    transition: all 0.6s;
}

.service-icon-box i {
    font-size: 32px;
    color: var(--primary-color);
}

.service-icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.6s;
}

.service-card-modern:hover .service-icon-box img {
    filter: brightness(0) invert(1);
}

.service-card-modern:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.service-card-modern:hover .service-icon-box {
    background: var(--primary-color);
    transform: scale(1.1);
}

.service-card-modern:hover .service-icon-box i {
    color: #fff;
}

.service-card-modern:hover .service-number {
    color: rgba(227, 30, 36, 0.12);
    transform: translateY(-10px) scale(1.1);
}

.service-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link i {
    font-size: 12px;
    transition: transform 0.3s;
}

.service-link:hover {
    color: var(--primary-color);
}

.service-link:hover i {
    transform: translateX(8px);
}

/* Modern Project Cards */
.project-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-img-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    transition: all 0.6s ease;
}

.overlay-content {
    transform: translateY(60px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-meta-top {
    position: absolute;
    top: 30px;
    left: 30px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
    z-index: 10;
}

.project-card-modern:hover {
    transform: scale(0.98);
}

.project-card-modern:hover img {
    transform: scale(1.15);
    filter: brightness(0.7);
}

.project-card-modern:hover .project-overlay-modern {
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.project-card-modern:hover .overlay-content {
    transform: translateY(0);
}

.project-card-modern:hover .project-meta-top {
    opacity: 1;
    transform: translateY(0);
}

.project-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    opacity: 0;
    transition: all 0.6s ease 0.1s;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.project-card-modern:hover .project-spec-grid {
    opacity: 1;
}

.spec-item {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-item i {
    color: var(--primary-color);
}

/* Scroll Loading Animation Removed - Handled by GSAP ScrollTrigger */

.contact-card-glass {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.glass-input {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Animated Button Styles */
.btn-animated-primary {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-animated-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-animated-primary:hover::before {
    left: 0;
}

.btn-animated-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
}

/* Rounded Corners for About Video */
.about-image-container {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    /* Keep it below any potential floating buttons or overlays */
}

.about-image {
    transition: transform 0.8s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    header {
        padding: 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    nav {
        order: 3;
        width: 100%;
        display: none;
        /* Hide nav on mobile for simplicity, or add a toggle */
    }

    nav ul {
        gap: 15px;
        justify-content: center;
    }

    .about-section {
        flex-direction: column;
        padding: 60px 5%;
        gap: 40px;
    }

    .slide-content h1 {
        font-size: 40px;
    }

    .explore-bar {
        height: auto;
        padding: 15px 20px;
    }

    .explore-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .explore-main {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        padding-bottom: 10px;
    }

}

.project-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    transition: all 0.6s ease;
}

.overlay-content {
    transform: translateY(60px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-meta-top {
    position: absolute;
    top: 30px;
    left: 30px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
    z-index: 10;
}

.project-card-modern:hover {
    transform: scale(0.98);
}

.project-card-modern:hover img {
    transform: scale(1.15);
    filter: brightness(0.7);
}

.project-card-modern:hover .project-overlay-modern {
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.project-card-modern:hover .overlay-content {
    transform: translateY(0);
}

.project-card-modern:hover .project-meta-top {
    opacity: 1;
    transform: translateY(0);
}

.project-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    opacity: 0;
    transition: all 0.6s ease 0.1s;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.project-card-modern:hover .project-spec-grid {
    opacity: 1;
}

.spec-item {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-item i {
    color: var(--primary-color);
}

/* Scroll Loading Animation Removed - Handled by GSAP ScrollTrigger */

.contact-card-glass {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.glass-input {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Animated Button Styles */
.btn-animated-primary {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-animated-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-animated-primary:hover::before {
    left: 0;
}

.btn-animated-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
}

/* Rounded Corners for About Video */
.about-image-container {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    /* Keep it below any potential floating buttons or overlays */
}

.about-image {
    transition: transform 0.8s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    header {
        padding: 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    nav {
        order: 3;
        width: 100%;
        display: none;
        /* Hide nav on mobile for simplicity, or add a toggle */
    }

    nav ul {
        gap: 15px;
        justify-content: center;
    }

    .about-section {
        flex-direction: column;
        padding: 60px 5%;
        gap: 40px;
    }

    .slide-content h1 {
        font-size: 40px;
    }

    .explore-bar {
        height: auto;
        padding: 15px 20px;
    }

    .explore-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .explore-main {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        padding-bottom: 10px;
    }

    .project-links {
        padding-left: 0;
        gap: 20px;
        flex-wrap: wrap;
    }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 991px) {
    header {
        padding: 15px 20px !important;
    }

    .mobile-nav-toggle {
        display: block !important;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 20px;
        padding: 5px 12px;
        border-radius: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    /* Fixed Navigation Visibility and Layout */
    #nav-menu {
        display: block !important;
        /* Force display when ID is called on mobile */
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #000;
        padding: 80px 30px;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 2000;
        /* Higher than toggle */
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    #nav-menu.active {
        right: 0 !important;
    }

    #nav-menu ul {
        flex-direction: column !important;
        gap: 20px !important;
        display: flex !important;
    }

    #nav-menu ul li a {
        font-size: 18px !important;
        color: #fff !important;
        display: block !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        text-align: left !important;
    }

    /* Header Compact Cleanup */
    header {
        justify-content: space-between !important;
        padding: 10px 15px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Improved Header Layout for Mobile */
    header,
    header.scrolled {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0 12px !important;
        height: 70px !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
    }

    .mobile-nav-toggle {
        display: block !important;
        order: 1 !important;
        z-index: 1050 !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 5px 12px !important;
        border-radius: 6px !important;
        position: relative;
    }


    .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 999;
        max-width: 80px !important;
        /* Slightly smaller for safer fit */
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .logo img {
        height: 28px !important;
        width: auto !important;
    }

    .header-right {
        order: 3 !important;
        z-index: 1001 !important;
        display: flex !important;
        justify-content: flex-end !important;
        width: 100px !important;
        gap: 0 !important;
    }


    .header-right .btn-sm {
        padding: 5px 10px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        background: var(--primary-color) !important;
        color: white !important;
        border-radius: 5px !important;
        font-weight: 600 !important;
    }



    /* Force touch action for all layers */
    .hero-slider,
    .mySwiper,
    .swiper-slide,
    .slide-bg,
    .slide-overlay,
    .slide-content {
        touch-action: pan-y !important;
        -webkit-user-select: none;
        user-select: none;
    }


    .header-cta {
        display: none !important;
    }




    /* Font Size Fixes */
    h2,
    .h2 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }

    .section-title,
    .cta-section-premium h2,
    .shaping-content h2 {
        font-size: 1.8rem !important;
    }

    .form-control,
    .btn,
    input {
        font-size: 0.85rem !important;
        padding: 6px 12px !important;
    }

    .hero-slider h1 {
        font-size: 1.8rem !important;
    }

    /* Premium Admin Table Cards */
    .table-responsive {
        border: none !important;
    }

    .table thead {
        display: none !important;
    }

    .table tr {
        display: block;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    }

    .table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0 !important;
        border: none !important;
        border-bottom: 1px dashed #f0f0f0 !important;
        text-align: right !important;
        font-size: 0.9rem;
    }

    .table td:last-child {
        border-bottom: none !important;
        margin-top: 10px;
        justify-content: center;
    }

    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-right: 15px;
    }
}