:root {
    --primary: #1be185;
    --secondary: #0d47a1;
    --accent: #00c6ff;
    --success: #28a745;
    --warning: #ffc107;
    --dark: #121212;
    --light: #f8f9fa;
    --gradient: linear-gradient(rgb(67, 172, 32), rgb(118, 223, 83));
    --gradient-dark: linear-gradient(135deg, #06ff83 0%, #198754 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: #333;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Navigation */
.navbar {
    padding: 5px 0;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border: none;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
/*.hero-section {*/
/*    background: linear-gradient(#13df366e, rgba(18, 18, 18, 0.9)), url(../images/slider.JPG) no-repeat center center / cover;*/
/*    min-height: 100vh;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    position: relative;*/
/*    color: white;*/
/*    padding-top: 80px;*/
/*    overflow: hidden;*/
/*}*/

/*.hero-content h1 {*/
/*    font-size: 3.8rem;*/
/*    font-weight: 800;*/
/*    margin-bottom: 1.5rem;*/
/*    line-height: 1.2;*/
/*}*/

/*.hero-content .lead {*/
/*    font-size: 1.3rem;*/
/*    margin-bottom: 2rem;*/
/*    opacity: 0.9;*/
/*}*/

/*.btn-hero {*/
/*    padding: 14px 35px;*/
/*    border-radius: 50px;*/
/*    font-weight: 600;*/
/*    transition: all 0.3s ease;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    z-index: 1;*/
/*}*/

/*.btn-hero::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 0%;*/
/*    height: 100%;*/
/*    background: rgba(255, 255, 255, 0.2);*/
/*    transition: all 0.3s ease;*/
/*    z-index: -1;*/
/*}*/

/*.btn-hero:hover::before {*/
/*    width: 100%;*/
/*}*/

.btn-light {
    background: white;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px);
}

/* Drone Animation */
.drone-container {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.drone-3d {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

.drone-part {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/drone1.png') no-repeat center center/contain;
    filter: drop-shadow(0 0 20px rgba(15, 15, 15, 0.7));
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateY(360deg);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    animation: float 15s infinite linear;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
    width: 60px;
    height: 60px;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
    width: 40px;
    height: 40px;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--gradient);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Feature Boxes */
.feature-box {
    padding: 50px 30px;
    border-radius: 10px;
    transition: all 0.4s ease;
    background: white;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    box-shadow: rgb(106 102 102 / 45%) 0px 25px 20px -20px;
    border: 1px solid #00800070;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: all 0.5s ease;
    z-index: -1;
}

.feature-box:hover::before {
    left: 0;
}

.feature-box:hover {
    transform: translateY(-15px);
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-box:hover .feature-icon {
    color: white;
    transform: scale(1.2) rotate(5deg);
}

.feature-box:hover h4,
.feature-box:hover p {
    color: white;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.feature-box h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.feature-box p {
    color: #666;
    transition: all 0.4s ease;
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 30px;
}

.card-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-dark);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    opacity: 0.1;
}

.stat-box {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 15px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: "" ";
 position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
        url('https://images.unsplash.com/photo-1473968512647-3e447244af8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
    padding: 120px 0;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 80px;
    object-fit: contain;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* Blog Section */
.blog-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-item {
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 20px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* 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;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .drone-container {
        height: 300px;
    }

    .drone-3d {
        width: 200px;
        height: 200px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

.card img {
    width: 100%;
    height: 18rem;
}

.btn-theme {
    color: #fff;
    background-image: linear-gradient(rgb(67, 172, 32), rgb(118, 223, 83));
    border: none;
    box-shadow: #373b39 0px 13px 20px -17px;
}

/* Additional Styles for New Sections */

/* About Section Styles */
.about-feature {
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
}

.mission-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-icon i {
    font-size: 2rem;
    color: white;
}

.mission-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

/* Why RPC Section Styles */
.rpc-info-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.rpc-info-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.rpc-benefit-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.rpc-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.rpc-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rpc-icon i {
    font-size: 2rem;
    color: white;
}

.rpc-benefit-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

/* Process Steps */
.process-step {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.process-step h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

/* Drone Services Section Styles */
.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: white;
}

.service-card:hover h4,
.service-card:hover p,
.service-card:hover .service-list li {
    color: white;
}

.service-card:hover .service-icon {
    background: white;
    color: var(--primary);
}

.service-card:hover i {
    color: #24af2a;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 2.2rem;
    color: #ffffff;
}

.service-icon i:hover {
    font-size: 2.2rem;
    color: #24af2a;
}




.service-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.service-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

.service-list i {
    color: var(--success);
    margin-right: 10px;
}

.service-card:hover .service-list i {
    color: white;
}

/* Gallery Section Styles */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-grid {
    position: relative;
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item.hide {
    display: none;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 350px;
    cursor: pointer;
}

.gallery-card 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: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.gallery-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Contact Section Styles */
.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-info-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.contact-info-card p {
    margin: 0;
    color: #666;
}

.contact-info-card a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary);
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-control,
.form-select {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(27, 225, 133, 0.15);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--primary) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

    .gallery-card {
        height: 250px;
    }

    .contact-form-card {
        padding: 25px;
    }

    .service-card,
    .rpc-benefit-card,
    .process-step {
        margin-bottom: 20px;
    }
}




/* Smartphones (Portrait + Landscape, up to 767px) */
@media only screen and (max-width: 767px) {
    /* Your mobile styles here */
}

/* Smartphones (Portrait only) */
@media only screen and (max-width: 480px) {
    .drone-part {
        /* display:none; */
    }
}

/* Smartphones (Landscape only) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
    .drone-part {
        display: none;
    }
}


.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    color: #dc3545;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    font-weight: 500;
}


h4.mb-3 {
    font-weight: bold;
    color: #dc3545;
}

.top-card {
    width: 100%;
    height: 15rem;
}




/*hero new css*/
/* ===== HERO SECTION BASE ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-color: #000; /* Fallback if video fails */
}

/* ===== VIDEO BACKGROUND ===== */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps full coverage */
    object-position: center;
    z-index: 0;
    filter: brightness(0.8) contrast(1.1);
    transition: filter 0.6s ease-in-out;
}

/* Optional effect when hovered (for desktop only) */
@media (hover:hover) {
    .hero-section:hover .hero-video {
        filter: brightness(1) contrast(1.2);
    }
}

/* ===== OVERLAY ===== */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 20%, rgba(0, 0, 0, 0.8) 100%);*/
    z-index: 1;
}

/* ===== TEXT CONTENT ===== */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeUp 1.2s ease-in-out forwards;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.6);
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-button {
    padding: 14px 40px;
    background: linear-gradient(90deg, #ffd200, #ff9900);
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(255,210,0,0.4);
}

.cta-button:hover {
    background: linear-gradient(90deg, #ffb300, #ff7700);
    box-shadow: 0 0 25px rgba(255,165,0,0.6);
    transform: translateY(-3px);
}

/* ===== SMOOTH FADE ANIMATION ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* 🌐 Tablets */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content h2 {
        font-size: 1.2rem;
    }
}

/* 📱 Mobiles */
@media (max-width: 768px) {
    .hero-section {
        height: 85vh;
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 10px 28px;
        font-size: 0.9rem;
    }
}

/* 📱 Small Phones */
@media (max-width: 480px) {
    .hero-section {
        height: 75vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 8px 22px;
        font-size: 0.85rem;
    }
}
