

/* Base Styles - Updated with transparent black theme */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgba(0, 0, 0, 0.8); /* Changed to transparent black */
    color: #f0f0f0; /* Updated text color for better contrast */
    position: relative;
    overflow-x: hidden;
}

/* Enhanced Background Pattern - Updated for dark theme */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%) 0 0,
        linear-gradient(225deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%) 0 0,
        linear-gradient(315deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%) 0 0,
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%) 0 0;
    background-size: 30px 30px;
    z-index: -2;
}

/* Additional layered background for depth - Updated for dark theme */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07) 0%, transparent 25%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.09) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.07) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
}

/* Original Navbar Styles - Enhanced */
.navbar {
    background-color:rgb(46, 43, 43);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 3px solid rgba(255,255,255,0.2);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    color: white;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    margin-right: 15px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 12px;
    transition: all 0.3s;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0.7rem 0.3rem !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
    border-radius: 3px;
}

.navbar .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.navbar .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #00ff8c;
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.7);
    padding: 0.4rem 0.7rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255,255,255,0.3);
}

/* Add a special highlight for active nav item */
.nav-item .active {
    position: relative;
}

.nav-item .active:after {
    width: 100%;
    opacity: 1;
}

/* Header Styles from homepage.css */
header {   
    background-color:rgb(46, 43, 43);
    color: #f1f1f1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #f1f1f1;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
}

.logo:hover {
    color: var(--secondary);
    transform: scale(1.05);
}

.search-bar {
    flex-grow: 1;
    margin: 0 2rem;
    max-width: 600px;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 1px solid var(--medium-gray);
    border-radius: 50px;
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

.search-bar .search-icon {
    position: absolute;
    left: 1rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #f1f1f1;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0.2rem;
    transition: all var(--transition-speed);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition-speed);
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    padding-right: 10px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -5px;
    background-color: var(--secondary);
    color: var(--text-on-dark);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

/* Add diagonal overlay - Updated for dark theme */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.8); /* Updated to match body background */
    transform: skewY(-2deg);
    z-index: 2;
}

.hero-content {
    max-width: 850px;
    padding: 30px;
    position: relative;
    z-index: 3;
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-content h1 {
    font-size: 4.2rem;
    margin-bottom: 25px;
    animation: fadeInDown 1.2s;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(45deg, #0a4d1c, #117628);
    color: white;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(to right, #0a4d1c, #117628);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    animation: fadeIn 1.5s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #117628, #0a4d1c);
    transition: all 0.4s;
    z-index: -1;
}

.cta-button:hover {
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transform: translateY(-3px);
}

.cta-button:hover:before {
    left: 0;
}

.cta-button i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.second-cta {
    display: inline-block;
    margin-left: 15px;
    padding: 16px 45px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.second-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s;
    z-index: -1;
}

.second-cta:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.second-cta:hover:before {
    width: 100%;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(45deg, #0a4d1c, #117628);
    color: white;
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.promo-banner span {
    font-weight: 800;
    margin: 0 5px;
}

/* Product Section Styles - Enhanced for dark theme */
.products-section {
    padding: 100px 0 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.85));
    position: relative;
}

.products-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:images/bg.jpg");
    opacity: 0.8;
    z-index: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    color: #ffffff; /* Updated for dark theme */
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, #0a4d1c, #117628);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -40px auto 50px;
    color: #cccccc; /* Updated for dark theme */
    font-size: 1.2rem;
    line-height: 1.6;
}

.product-card {
    background: rgba(255, 255, 255, 0.1); /* Updated for dark theme */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    margin: 15px;
    transition: all 0.5s;
    overflow: hidden;
    height: 100%;
    border: none;
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(0deg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover {
    transform: perspective(1000px) rotateY(3deg) translateY(-20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product-card .badge-wrap {
    position: absolute;
    top: 20px;
    left: -35px;
    transform: rotate(-45deg);
    z-index: 10;
}

.product-card .badge {
    background: linear-gradient(45deg, #0a4d1c, #117628);
    color: white;
    padding: 8px 40px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    height: 270px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .card-body {
    padding: 30px;
    color: #ffffff; /* Updated for dark theme */
}

.product-card .card-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff; /* Updated for dark theme */
    transition: all 0.3s;
}

.product-card:hover .card-title {
    color: #5cdb95; /* Updated for dark theme */
}

.product-card .card-text {
    color: #cccccc; /* Updated for dark theme */
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #5cdb95; /* Updated for dark theme */
    margin-bottom: 20px;
    display: block;
}

.product-card .price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
    margin-right: 10px;
    font-weight: 400;
}

.product-card .btn-primary {
    background: linear-gradient(to right, #0a4d1c, #117628);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.product-card .btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-25deg);
    transition: all 0.5s;
}

.product-card .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-card .btn-primary:hover:before {
    left: 100%;
}

.product-card .btn-primary i {
    margin-left: 8px;
    transition: all 0.3s;
}

.product-card .btn-primary:hover i {
    transform: translateX(4px);
}

.product-card .rating {
    margin-bottom: 15px;
    color: #ffc107;
}

.product-card .review-count {
    color: #aaaaaa; /* Updated for dark theme */
    font-size: 0.9rem;
    margin-left: 8px;
}

/* Product Grid Animation */
.row .product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.row .product-card:nth-child(2) {
    animation-delay: 0.3s;
}

.row .product-card:nth-child(3) {
    animation-delay: 0.5s;
}

.row .product-card:nth-child(4) {
    animation-delay: 0.7s;
}

.row .product-card:nth-child(5) {
    animation-delay: 0.9s;
}

.row .product-card:nth-child(6) {
    animation-delay: 1.1s;
}

/* View All Products Button - Enhanced for dark theme */
.view-all-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: #ffffff; /* Updated for dark theme */
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.4s;
    border: 2px solid #5cdb95; /* Updated for dark theme */
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-all-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, #0a4d1c, #117628);
    transition: all 0.4s;
    z-index: -1;
}

.view-all-btn:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.view-all-btn:hover:before {
    width: 100%;
}

.view-all-btn i {
    margin-left: 8px;
    transition: all 0.3s;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* Features Section Styles - Enhanced for dark theme */
.features-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9));
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.7;
}

/* Add some decorative elements */
.features-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: -150px;
    right: -150px;
    z-index: 0;
}

.feature-box {
    text-align: center;
    padding: 50px 30px;
    border-radius: 20px;
    transition: all 0.5s;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.05); /* Updated for dark theme */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: #f0f0f0; /* Updated for dark theme */
}

.feature-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a4d1c, #117628);
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-box:hover {
    transform: translateY(-20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: white;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box i {
    font-size: 4rem;
    color: #5cdb95; /* Updated for dark theme */
    margin-bottom: 30px;
    transition: all 0.5s;
    background: linear-gradient(135deg, #5cdb95, #117628);
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.feature-box::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Updated for dark theme */
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    transition: all 0.5s;
}

.feature-box:hover::after {
    transform: translateX(-50%) scale(1.2);
    background: rgba(255, 255, 255, 0.1);
}

.feature-box:hover i {
    -webkit-text-fill-color: white;
    transform: translateY(-10px);
}

.feature-box h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.4s;
}

.feature-box p {
    transition: all 0.4s;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Newsletter Section Styles - Enhanced */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a4d1c 0%, #117628 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 70%);
    transform: rotate(45deg);
}

/* Add some decorative elements */
.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-section h3 {
    margin-bottom: 25px;
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-section h3:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: white;
    bottom: -15px;
    left: 0;
}

.newsletter-section p {
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.7;
}

.newsletter-form {
    max-width: 550px;
    position: relative;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 50px;
    padding: 18px 30px;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 18px 35px;
    font-weight: bold;
    background: #212529;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: absolute;
    right: 5px;
    top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
}

.newsletter-form .btn:hover {
    background-color: #000;
    transform: translateX(3px);
}

.newsletter-form .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-25deg);
    transition: all 0.5s;
}

.newsletter-form .btn:hover:before {
    left: 100%;
}

.newsletter-form .btn i {
    margin-left: 8px;
    transition: all 0.3s;
}

.newsletter-form .btn:hover i {
    transform: translateX(4px);
}

.newsletter-image {
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: all 0.5s;
    transform: perspective(1000px) rotateY(0deg);
}

.newsletter-image:hover img {
    transform: perspective(1000px) rotateY(-8deg);
}

/* Testimonials Section Styles - Enhanced for dark theme */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95));
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05); /* Updated for dark theme */
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.4s;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: #f0f0f0; /* Updated for dark theme */
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.08); /* Updated for dark theme */
}

.testimonial-card::before {
    content: '\201C';
    font-family: serif;
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: rgba(255,255,255,0.1);
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid #5cdb95; /* Updated for dark theme */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.testimonial-author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: #ffffff; /* Updated for dark theme */
}

.testimonial-author-info p {
    color: #aaaaaa; /* Updated for dark theme */
    font-size: 0.95rem;
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 5px;
    font-size: 0.9rem;
}

/* Call to Action Section - Enhanced for dark theme */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a4d1c, #117628);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 70%);
    transform: rotate(45deg);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-primary {
    background: #212529;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.cta-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-25deg);
    transition: all 0.5s;
    z-index: -1;
}

.cta-primary:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.cta-primary:hover:before {
    left: 100%;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s;
    z-index: -1;
}

.cta-secondary:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.cta-secondary:hover:before {
    width: 100%;
}

/* Welcome Section */
.welcome-section {
    padding: 8rem 0;
    background: url('../images/HERO BANNER.jpg') no-repeat center center/cover;
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.welcome-section .container {
    position: relative;
    z-index: 2;
}

.welcome-section h1 {
    color: #ffffff;
    font-weight: 800;
    font-size: 4rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.welcome-section .lead {
    color: #f0f0f0;
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.welcome-section .btn-primary {
    background: linear-gradient(to right, #0a4d1c, #117628);
    border: none;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-transform: uppercase;
    color: #fff;
    margin-top: 2rem; /* Pushes the button down */
}

.welcome-section .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Enhanced Footer Styles */
.footer {
    background: #111;
    text-align: center;
    padding: 20px 0;
    border-top: 3px solid #0a4d1c;
}

.copyright {
    color: #aaaaaa;
    margin: 0;
    padding: 0;
    border: none;
}

/* Animation classes */
.fadeIn {
    animation: fadeIn 1s;
}

.fadeInUp {
    animation: fadeInUp 1s;
}

.fadeInDown {
    animation: fadeInDown 1s;
}

.fadeInLeft {
    animation: fadeInLeft 1s;
}

.fadeInRight {
    animation: fadeInRight 1s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    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-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .newsletter-image {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        height: auto;
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        display: block;
        margin-bottom: 15px;
    }
    
    .second-cta {
        display: block;
        margin-left: 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-box {
        margin-bottom: 30px;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .footer [class^="col-"] {
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Selection Color */
::selection {
    background-color: #0a4d1c;
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0a4d1c, #117628);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
}

.back-to-top:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Added loading animation */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: #5cdb95;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
