/* Global Styles */
:root {
    --primary-color: #2a7fba;
    --secondary-color: #4CAF50;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1e6b9b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #3d8b40;
    transform: translateY(-2px);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 250px;   /* Adjust as needed */
    height: 48px;  /* Adjust as needed */
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--dark-color);
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #F5F7FA 0%, #bbd1f5 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Problem Section */
.problem {
    background-color: var(--white);
    padding: 60px 0;
}

.problem h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.problem-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.problem-left {
    flex: 1;
}

.problem-left ul li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.problem-left ul li i {
    color: var(--danger-color);
    font-size: 1.5rem;
}

.problem-right {
    flex: 1;
}

.problem-right img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Solution Section */
.solution {
    background-color: var(--gray-light);
    padding: 85px 0;
}

.solution h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.step {
    flex: 1;
    min-width: 200px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);;
}

.step:hover .step-number {
    background-color: var(--secondary-color);
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.solution-image {
    margin-top: 30px;
}

.solution-image img {
    width: 100%;
    height: 550px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card:hover i {
    color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* .feature-card i:hover{
    color: var(--secondary-color);
} */

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background-color: var(--gray-light);
    padding-bottom: 80px;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.benefits-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.benefits-image {
    flex: 1;
}

.benefits-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefits-list {
    flex: 1;
}

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

.benefit-item i {
    font-size: 1.5rem;
    color: var(--success-color);
    margin-top: 5px;
}

.benefit-item h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

/* Testimonials Section */
.col {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 90px;
}

@media (max-width: 992px) {
    .col {
        flex-direction: column;
        align-items: stretch;
        gap: 0px;
    }
}

@media (max-width: 576px) {
    .col {
        gap: 0px;
    }
}

@media (max-width: 768px) {
    .col {
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }
}


.testimonials {
    padding: 40px 0;
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 30px;
    background-color: var(--gray-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 550px;
    height: 300px;
    margin: 0 auto;


    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
}

.author span {
    display: block;
    font-weight: normal;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-controls button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Demo Form Section */
.demo-form {
    padding: 80px 0;
    color: var(--white);
}

.demo-form .container {
    display: flex;
    justify-content: center;
}

.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.form-container h2 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 10px;
}

.form-container p {
    color: var(--gray);
    text-align: center;
    margin-bottom: 30px;
}

#leadForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

#leadForm button {
    align-self: center;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about .logo i {
    color: var(--white);
}

.footer-about .logo h2 {
    color: var(--white);
}

.footer-about p {
    margin-bottom: 20px;
}

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

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

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

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links ul li a {
    color: #bbb;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bbb;
}

.footer-contact ul li i {
    color: var(--primary-color);
}

.footer-contact ul li a {
    color: #bbb;
}

.trent .logo img{
    margin-bottom: 20px;
    height: 70px;
    width: 200px;
}

.trent p {
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.legal-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.legal-links a {
    color: #bbb;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container,
    .problem-content,
    .benefits-content {
        flex-direction: column;
    }

    .hero-content,
    .hero-image,
    .problem-left,
    .problem-right,
    .benefits-image,
    .benefits-list {
        flex: none;
        width: 100%;
    }

    .hero-image,
    .problem-right,
    .benefits-image {
        margin-top: 30px;
    }

    .steps {
        flex-wrap: wrap;
    }

    .step {
        min-width: calc(50% - 20px);
    }
    .benefits {
        padding: 60px 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        padding: 10px 20px;
    }

    nav ul li a {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .step {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .testimonial{
        width: 300px;
        height: auto;
    }

    .testimonial p {
        font-size: 1rem;
    }

    .testimonials,
    .demo-form {
        padding: 40px 0;
        padding-bottom: 90px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}


/* Add to your existing CSS */
.error {
    border-color: #dc3545 !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
}

.invalid-feedback {
    color: red !important;
    font-size: 0.8em;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
