/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.required:after {
    content: " *";
    color: red;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-weight: 600;
    margin-bottom: 60px;
    position: relative;
    color: #2c3e50;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3498db;
}

/* Updated Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: white;
    margin-top: -10px;
}

.hero-title {
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

.btn-hero {
    padding: 12px 25px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary-custom:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.btn-outline-light-custom {
    border: 2px solid white;
    color: white;
}

.btn-outline-light-custom:hover {
    background-color: white;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    background-color: white;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #fe8a35;
    margin-bottom: 20px;
}

.feature-icon :hover {
    font-size: 2.5rem;
    color: #000;
    padding: 15px;
    border-radius: 5px;
    border: 1.5px solid orange;
}

.feature-box h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Updated Achievement Section */
.achievement-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url(' https://images.unsplash.com/photo-1587614203976-365c74645e83?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
}

.achievement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.achievement-box {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 20px;
    margin: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.achievement-box:hover {
    transform: translateY(-10px);
    border-color: #2ecc71;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2ecc71;
    transition: all 0.3s ease;
}

.achievement-box:hover .achievement-number {
    color: white;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.7);
}

.achievement-box div {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.achievement-box:hover div {
    color: #2ecc71;
    font-weight: 500;
}

/* Updated Pricing Section with Ribbon */
.pricing-section {
    background-color: white;
    position: relative;
}

.pricing-card {
    color: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    margin: 20px 0;  /* Added margin top and bottom */
    position: relative;
    overflow: hidden;
    height: calc(100% - 40px);  /* Adjusted height to account for margins */
}

@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 45px;  /* Increased spacing between cards */
    }
}

@media (max-width: 576px) {
    .pricing-card {
        margin-bottom: 50px;  /* More spacing for smaller screens */
    }
}

.pricing-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Professional Plan Ribbon */
.pricing-card:nth-child(2) {
    position: relative;
}

.pricing-card:nth-child(2)::after {
    content: 'Best Deal';
    position: absolute;
    top: 15px;
    right: -30px;
    background: #e74c3c;
    color: white;
    padding: 5px 40px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

.pricing-header {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.pricing-title {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.pricing-period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-btn {
    position: relative;
    z-index: 2;
    background-color: white;
    color: #3498db;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.pricing-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    color: #2980b9;
}

/* Services Section */
.services-section {
    background-color: #f9f9f9;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-body {
    padding: 20px;
}

.service-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.btn-service {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-service:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

/* Testimonial Section */
.testimonial-section {
    background-color: #f9f9f9;
    overflow: hidden; /* Add this */
}

.testimonial-slider {
    margin: 0 auto;
    width: 100%; /* Add this */
    overflow: hidden; /* Add this */
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 15px;
    transition: all 0.3s ease;
    width: calc(100% - 30px); /* Add this */
}

/* Add these media queries */
@media (max-width: 768px) {
    .testimonial-slider {
        padding: 0;
    }
    
    .testimonial-card {
        margin: 10px;
        width: calc(100% - 20px);
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        margin: 5px;
        width: calc(100% - 10px);
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.author-designation {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Close Button Styles */
.btn-close {
    background-color: #e74c3c;
    opacity: 1;
    background-image: none;
    color: white;
    font-size: 1rem;
    line-height: 1;
    padding: 0.25rem;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background-color: #c0392b;
    transform: rotate(90deg);
}

.btn-close::before {
    content: "×";
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1;
    position: relative;
    top: -1px;
}

/* Success Message Styles (Default Bootstrap Alert) */
.alert-success {
    background-color: none;
    border-color: #c3e6cb;
    color: #155724;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success .btn-close {
    background-color: #155724;
    opacity: 0.8;
}

.alert-success .btn-close:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .achievement-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px; /* Increased from 100px 0 60px */
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    /* Fixed Mobile Buttons */
    .hero-section .btn-group {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .hero-section .btn-hero {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: auto;
        margin-bottom: 0;
        flex: 1 0 45%;
        min-width: 0;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
    
    .achievement-box div {
        font-size: 1.1rem;
    }
    
    /* Adjust ribbon for mobile */
    .pricing-card:nth-child(2)::after {
        top: 10px;
        right: -35px;
        font-size: 0.7rem;
        padding: 4px 35px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-section .btn-hero {
        flex: 1 0 100%;
        margin-bottom: 10px;
    }
    
    .achievement-number {
        font-size: 2.2rem;
    }
    
    .achievement-box {
        padding: 20px 15px;
        margin: 8px;
    }
    
    .pricing-card:nth-child(2)::after {
        top: 8px;
        right: -40px;
        font-size: 0.6rem;
        padding: 3px 30px;
    }
}

.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-form textarea.form-control {
    min-height: 120px;
}

.contact-form button {
    padding: 12px 30px;
    font-weight: 600;
}

.spinner-border-sm {
    margin-left: 8px;
}



