/* 
 * Novus Brand Homepage CSS
 * Modern, animated design with smooth transitions
 */

:root {
    --primary-color: #DC6E21;
    --secondary-color: #8c52ff;
    --accent-color: #ff6b6b;
    --dark-color: #2d2e32;
    --light-color: #f8f9fa;
    --text-color: #4a4a4a;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    font-size: 1.1rem;
    color: #777;
}

section {
    padding: 100px 0;
    position: relative;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(78, 87, 212, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 87, 212, 0.5);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* Preloader Animation */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.book {
    width: 60px;
    height: 45px;
    position: relative;
    perspective: 1000px;
}

.book__page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--gradient);
    transform-origin: left center;
    transition: transform 0.5s ease-in-out;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.book__page:nth-child(1) {
    z-index: 3;
    animation: flip1 3s infinite;
}

.book__page:nth-child(2) {
    z-index: 2;
    animation: flip2 3s infinite;
}

.book__page:nth-child(3) {
    z-index: 1;
    animation: flip3 3s infinite;
}

@keyframes flip1 {
    0%, 20% { transform: rotateY(0deg); }
    30%, 50% { transform: rotateY(-130deg); }
    60%, 80% { transform: rotateY(-130deg); }
    90%, 100% { transform: rotateY(0deg); }
}

@keyframes flip2 {
    0%, 30% { transform: rotateY(0deg); }
    40%, 60% { transform: rotateY(-130deg); }
    70%, 90% { transform: rotateY(-130deg); }
    100% { transform: rotateY(0deg); }
}

@keyframes flip3 {
    0%, 40% { transform: rotateY(0deg); }
    50%, 70% { transform: rotateY(-130deg); }
    80%, 100% { transform: rotateY(0deg); }
}



/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.book-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.book-bg {
    position: absolute;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    filter: blur(2px);
}

.book-bg-1 {
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background-image: url('../img/vision.jpg');
    transform: rotate(15deg);
    animation: bookFloat 20s ease-in-out infinite;
}

.book-bg-2 {
    bottom: 10%;
    left: 5%;
    width: 30%;
    height: 50%;
    background-image: url('../img/jama.jpg');
    transform: rotate(-10deg);
    animation: bookFloat 15s ease-in-out infinite reverse;
}

.book-bg-3 {
    top: 40%;
    right: 20%;
    width: 25%;
    height: 40%;
    background-image: url('../img/alche.jpg');
    transform: rotate(5deg);
    animation: bookFloat 18s ease-in-out infinite 2s;
}

@keyframes bookFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.08;
    z-index: 0;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background: rgba(78, 87, 212, 0.2);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 30px;
    max-width: 90%;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat-item p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-stack {
    position: relative;
    width: 300px;
    height: 350px;
    perspective: 1000px;
}

.book {
    position: absolute;
    width: 200px;
    height: 280px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

.book::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transform: translateZ(-1px) rotateY(90deg);
    transform-origin: right;
}

.book-1 {
    top: 0;
    left: 50px;
    transform: rotateY(-30deg) rotateX(5deg);
    z-index: 3;
    animation: bookHover 3s ease-in-out infinite;
}

.book-1::before {
    background-image: url('../img/vision.jpg');
}

.book-2 {
    top: 30px;
    left: 80px;
    transform: rotateY(-20deg) rotateX(5deg);
    z-index: 2;
    animation: bookHover 3s ease-in-out infinite 0.5s;
}

.book-2::before {
    background-image: url('../img/jama.jpg');
}

.book-3 {
    top: 60px;
    left: 110px;
    transform: rotateY(-10deg) rotateX(5deg);
    z-index: 1;
    animation: bookHover 3s ease-in-out infinite 1s;
}

.book-3::before {
    background-image: url('../img/alche.jpg');
}

@keyframes bookHover {
    0%, 100% { transform: translateY(0) rotateY(var(--rotation, -20deg)) rotateX(5deg); }
    50% { transform: translateY(-15px) rotateY(var(--rotation, -20deg)) rotateX(5deg); }
}

.book-stack:hover .book-1 {
    transform: translateX(-50px) rotateY(-35deg) rotateX(10deg);
}

.book-stack:hover .book-2 {
    transform: translateY(-10px) rotateY(-15deg) rotateX(5deg);
}

.book-stack:hover .book-3 {
    transform: translateX(30px) rotateY(-5deg) rotateX(0deg);
}

.floating-card {
    position: absolute;
    background:var(--gradient);
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    z-index: 10;
    color: #fff;
}

.floating-card i {
    color: white;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
  .floating-card {
    transform: scale(0.85);
    transform-origin: center;
  }
}

@media (max-width: 768px) {
  .floating-card {
    transform: scale(0.7);
    transform-origin: center;
  }
}


@media (max-width: 480px) {
  .floating-card {
    transform: scale(0.6);
    transform-origin: center;
  }
}


.card-1 {
    top: 50px;
    left: -10px;
    animation: float 3s ease-in-out infinite 1.5s;
}

.card-2 {
    bottom: 50px;
    right: -10px;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Brands Section */
.brands-section {
    background-color: white;
    padding: 80px 0;
}

.brands-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    opacity: 0.7;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
    transform: scale(1.05);
}
/* Services Section */
.services-section {
    background-color: #f9fafb;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient);
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(78, 87, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}


.modern-services-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #f8f9fa;
}

.bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(78, 87, 212, 0.03);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.modern-services-section .container {
    position: relative;
    z-index: 2;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-tag {
    display: inline-block;
    background-color: rgba(78, 87, 212, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.services-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Tabs */
.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 12px 25px;
    margin: 0 10px 10px;
    font-weight: 600;
    color: #555;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.service-tab:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.service-tab.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.service-tab i {
    margin-right: 8px;
}


.service-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.service-content.active {
    display: flex;
}

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

.service-info {
    flex: 1;
    padding-right: 30px;
}

.service-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.service-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.service-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 15px;
    margin-top: 3px;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.feature-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.service-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(78, 87, 212, 0.3);
}

.service-cta:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(78, 87, 212, 0.4);
}

.service-images {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-image {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
}

.stack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-image:nth-child(1) {
    width: 70%;
    height: 60%;
    top: 0;
    right: 0;
    z-index: 3;
    transform: rotate(3deg);
}

.stack-image:nth-child(2) {
    width: 60%;
    height: 50%;
    top: 20%;
    left: 0;
    z-index: 2;
    transform: rotate(-5deg);
}

.stack-image:nth-child(3) {
    width: 50%;
    height: 40%;
    bottom: 0;
    right: 20%;
    z-index: 1;
    transform: rotate(8deg);
}

.service-content:hover .stack-image:nth-child(1) {
    transform: rotate(5deg) translateY(-10px);
}

.service-content:hover .stack-image:nth-child(2) {
    transform: rotate(-7deg) translateY(-5px);
}

.service-content:hover .stack-image:nth-child(3) {
    transform: rotate(10deg) translateY(-8px);
}


@media (max-width: 992px) {
    .service-content {
        flex-direction: column;
    }
    
    .service-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .service-images {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .modern-services-section {
        padding: 80px 0;
    }
    
    .services-title {
        font-size: 32px;
    }
    
    .service-tab {
        padding: 10px 15px;
        margin: 0 5px 10px;
        font-size: 14px;
    }
    
    .service-title {
        font-size: 28px;
    }
    
    .service-images {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .services-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .service-tab {
        width: 80%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .service-images {
        min-height: 250px;
    }
}
/* Portfolio Section */
.portfolio-section {
    background-color: white;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient);
    color: white;
}

.portfolio-grid {
    margin-top: 30px;
}

.portfolio-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    position: relative;
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.portfolio-info p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

.portfolio-link {
    width: 40px;
    height: 40px;
    background: rgba(78, 87, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--gradient);
    color: white;
}

/* Testimonials Section */
.testimonials-section {
   background: linear-gradient(145deg, #000, #dc6e21);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    opacity: 0.05;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    opacity: 0.05;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
}

.testimonial-content {
    background: #000;
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.testimonial-content:hover {
    transform: translateY(-10px);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(78, 87, 212, 0.1);
    font-size: 3rem;
}

.testimonial-content p {
    margin-bottom: 25px;
    font-style: italic;
    color: #fff;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(78, 87, 212, 0.1);
}

.author-info h5 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info span {
    color: #fff;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 1.1rem;
}

.cta-section .btn-light {
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
}

.cta-section .btn-light:hover {
    background-color: var(--dark-color);
    color: white;
}

/* Footer */
.footer {
    background-color: #000;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 2rem;
}

.footer-logo .brand-text {
    color: white;
}

.footer-logo .brand-dot {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.footer-widget p {
    margin-bottom: 25px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-widget h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
   color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(78, 87, 212, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: translateY(-5px);
}

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

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

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

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    section {
        padding: 80px 0;
    }
    
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .navbar-collapse {
        background:#fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--box-shadow);
        margin-top: 15px;
    }
    
    .nav-cta {
        margin-top: 15px;
    }
    
    .testimonial-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 20px;
    }
    
    .testimonial-item {
        flex: 0 0 100%;
    }
    
    .cta-section .text-lg-end {
        text-align: left !important;
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }

.hero-title{
    font-size: 34px;
}

}





/* platforms section */

.platforms-section {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 30%, #dc6e21 100%);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.section-title {
  text-align: center;
  font-weight: 800;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 12px auto 0;
  border-radius: 3px;
}

.platformSwiper {
  overflow: visible;
}

.platform-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.platform-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.platform-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

.platform-card:hover img {
  filter: grayscale(0%) brightness(1);
}

.platform-card p {
  font-weight: 600;
  color: #222;
  margin: 0;
  font-size: 1rem;
}

.swiper-wrapper {
  align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
  .platform-card {
    padding: 25px 15px;
  }

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



/* Optional inner edge shadows */
.platformSwiper::before,
.platformSwiper::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 60px;
  z-index: 5;
  pointer-events: none;
}

.platformSwiper::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

.platformSwiper::after {
  right: 0;
background: linear-gradient(to left, rgba(220, 110, 33, 0.3), transparent);

}


/* cards section */

/* Base Reset */
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  background-color: #000;
  line-height: 1.6;
}

/* Section */
.section {
  padding: 80px 20px;
  background: radial-gradient(circle at top left, #0d0d0d, #000);
}

.container {

  margin-inline: auto;
}

.header {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  margin-bottom: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #dc6e21;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.02);
}

.title {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.subtitle {
  max-width: 70ch;
  color: #ccc;
  font-size: clamp(14px, 2vw, 16px);
}

/* Grid */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* Cards */
.card {
  position: relative;
  background: linear-gradient(145deg, rgba(20,20,20,0.95), rgba(0,0,0,0.8));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 26px;
  display: grid;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.card::before {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220,110,33,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::before {
  opacity: 1;
}


/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dc6e21, #ff944d);
  color: #fff;
  box-shadow: 0 0 10px rgba(220,110,33,0.6);
}
.badge svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

/* Typography */
.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 5px 0;
}

.card p {
  color: #ccc;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #dc6e21;
}

/* CTA Button */
.cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(220,110,33,0.6);
  background: rgba(220,110,33,0.1);
  transition: all 0.3s ease;
}
.cta:hover {
  background: #dc6e21;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(220,110,33,0.4);
}
.cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}


/* book categories */

.book-categories {
  background: linear-gradient(145deg, #000, #dc6e21);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.section-title h2 span {
  color: #fff;
  background: #dc6e21;
  padding: 2px 10px;
  border-radius: 6px;
}
.section-title p {
  color: #f2f2f2;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.categoriesSwiper {
  width: 100%;
  padding-bottom: 70px;
}
.category-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 420px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.category-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 70%);
}
.category-card h3 {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  z-index: 2;
  transition: color 0.3s ease, transform 0.3s ease;
}
.category-card:hover {
  transform: scale(1.07);
  box-shadow: 0 15px 25px rgba(0,0,0,0.5);
}
.category-card:hover h3 {
  color: #dc6e21;
  transform: translateY(-5px);
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  transition: color 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #dc6e21;
}
.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: #dc6e21 !important;
  opacity: 1;
}

@media (max-width: 768px) {
  .section-title h2 { font-size: 2rem; }
  .category-card { height: 320px; }
}

/* CTA section */


.cta-section {
  position: relative;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 20%, #dc6e21 100%);
  background-size: 400% 400%;
  animation: gradientFlow 12s ease infinite;
  padding: 120px 20px;
  text-align: center;
  color: white;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(220,110,33,0.2), transparent 50%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff, #ffb27b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  color: #f5f5f5;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 14px 34px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: 50px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn.primary {
  background: linear-gradient(90deg, #dc6e21, #ffb77a);
  color: #fff;
  box-shadow: 0 0 20px rgba(220,110,33,0.6);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255,178,123,0.9);
}

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

.cta-btn.outline:hover {
  background: white;
  color: #000;
  transform: translateY(-3px);
}

/* Animated Background */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }
  .cta-content p {
    font-size: 1rem;
  }
  .cta-section {
    padding: 80px 20px;
  }
}