:root {
    --primary: #1e40af;
    --secondary: #3b82f6;
    --accent: #facc15;
    --light: #dce6f6;
    --dark: #1e0033;
    --gray: #7c7c8a;
    --light-gray: #dce6f6;
    --transition: all 0.3s ease;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    --border-radius: 12px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #1e553c;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(26, 58, 95, 0.05);
    transform: translateY(-3px);
}

/* Header Styles */
header {
    background-color: 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: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
}

.logo h2::after {
    display: none;
}

.logo span {
    color: var(--secondary);
}

.logo .fa-chart-line {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.phone-support {
    display: flex;
    align-items: center;
    margin-right: 20px;
    color: var(--primary);
    font-weight: 500;
}

.phone-support i {
    margin-right: 8px;
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 28, 45, 0.85), rgba(15, 28, 45, 0.9)), url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 120px;
    margin-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-visual {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.visual-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    width: 160px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.visual-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.visual-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* About Preview */
.about-preview {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.highlight-icon {
    background-color: rgba(45, 107, 79, 0.1);
    color: var(--secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-text h4 {
    margin-bottom: 5px;
}

.about-visual {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--light-gray);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Services Section */
.services {
    background-color: white;
}

.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-category {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-category:hover {
    transform: translateY(-5px);
}

.service-category h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-category h3 i {
    color: var(--accent);
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--light-gray);
    display: flex;
    align-items: center;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 0.9rem;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}

.testimonial-slide {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.8s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--dark);
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--secondary);
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    background-color: var(--light);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Contact Section */
.contact {
    background: linear-gradient(to right, var(--primary) 50%, white 50%);
}

.contact-container {
    display: flex;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    flex: 1;
    background-color: var(--primary);
    color: white;
    padding: 50px;
}

.contact-info h2 {
    color: white;
    text-align: left;
}

.contact-info h2::after {
    background-color: var(--accent);
    left: 0;
    transform: none;
}

.contact-details {
    margin-top: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-detail i {
    color: var(--accent);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(45, 107, 79, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Newsletter */
.newsletter {
    background-color: var(--light-gray);
    text-align: center;
}

.newsletter-form {
    max-width: 900px;
    margin: 40px auto 0;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.newsletter-btn {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent);
    bottom: -10px;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Message Confirmation */
.message-confirmation {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 10000;
    display: none;
    animation: slideInRight 0.5s, fadeOut 0.5s 3.5s;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .contact {
        background: var(--primary);
    }

    .contact-container {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header-container {
        flex-wrap: wrap;
    }

    nav {
        order: 3;
        width: 100%;
        margin-top: 20px;
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions {
        order: 2;
    }

    .phone-support span {
        display: none;
    }

    .hero {
        padding: 150px 0 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .services-categories {
        grid-template-columns: 1fr;
    }
}