/* Home page specific styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.navcontainer {
    margin-top: 0% !important;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../static/hero_gate.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    margin-top: 56px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #bcbcbc;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.features {
    padding: 4rem 0;
    background-color: #fff;
}

.feature {
    text-align: center;
    margin-bottom: 2rem;
}

.feature i {
    font-size: 3rem;
    color: #00a79d;
    margin-bottom: 1rem;
}

/* Enhanced pricing section styles */
.pricing {
    background-color: #f9f9f9;
    padding: 6rem 0;
}

.pricing .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    background: #fff;
    margin-top: 20px;
    height: 100%;
}

.pricing .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pricing .card.popular-plan {
    border: 3px solid #00a79d;
    transform: scale(1.02);
    z-index: 1;
}

.pricing .card.popular-plan:hover {
    transform: scale(1.02) translateY(-10px);
}

.pricing .card-body {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.pricing .card-title {
    color: #00a79d;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.pricing .card-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1;
}

.pricing .period {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
}

.pricing .fa-ul {
    margin-left: 2.5rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing .fa-ul li {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #555;
    padding-left: 0.5rem;
    line-height: 1.4;
}

.pricing .fa-check {
    color: #00a79d;
    font-size: 1.2rem;
}

/* Ribbon styling */
.ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
    overflow: hidden;
    width: 120px;
    height: 120px;
}

.ribbon span {
    position: absolute;
    top: 25px;
    right: -25px;
    transform: rotate(45deg);
    width: 150px;
    padding: 10px 0;
    background: #00a79d;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Button styling */
.pricing .plan-select-btn {
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin-top: 2rem;
    width: 100%;
    border-radius: 8px;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.pricing .btn-primary.plan-select-btn {
    background-color: #00a79d;
    border-color: #00a79d;
    color: white !important;
}

.pricing .btn-primary.plan-select-btn:hover {
    background-color: #008c82;
    border-color: #008c82;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 167, 157, 0.3);
}

.pricing .btn-outline-primary.plan-select-btn {
    color: #00a79d !important;
    border: 2px solid #00a79d;
    background-color: white;
}

.pricing .btn-outline-primary.plan-select-btn:hover {
    background-color: #00a79d;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 167, 157, 0.3);
}

/* Plan description text */
.pricing .plan-description {
    color: #666;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.cta {
    background-color: #00a79d;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.testimonials {
    padding: 4rem 0;
    background-color: #fff;
}

.testimonial {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.testimonial p {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial .customer {
    font-weight: bold;
    color: #00a79d;
    margin-bottom: 0;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

/* Additional button fixes */
.pricing .card-body .btn {
    margin-top: auto;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.pricing .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pricing .card-body > *:not(:last-child) {
    margin-bottom: 1.5rem;
}

/* Button container */
.pricing .mt-auto {
    margin-top: auto;
    position: relative;
    z-index: 10;
}

/* Ensure buttons are always clickable */
.pricing button,
.pricing .btn {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

/* Additional service cards */
.service-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
