/* CSS Variables */
:root {
    --primary-color: #0064b9;
    --primary-hover: #0063b9d0;
    --secondary-color: #ffffff;
    --text-dark: #000000; /* #333333 */
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-family: 'Inter', sans-serif;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom, rgba(129, 150, 255, 0.3) 0%, rgba(255, 255, 255, 1) 100%),
        url('../images/slider/slider-1920x1080.webp') center/cover;

}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
    max-width: 800px;
    width: 100%;
    padding: 4rem 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.service-card:hover .service-icon {
    background-color: var(--primary-hover);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-white);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    text-align: center;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), #0064b9);
    color: var(--secondary-color);
    padding: 2rem;
}

.pricing-header h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.period {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.pricing-button {
    margin-bottom: 20px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), #0064b9);
    color: var(--secondary-color);
    text-align: center;
    padding: 4rem 0;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    margin-bottom: 1.5rem;
}

.cta-icon i {
    font-size: 3rem;
    opacity: 0.9;
}

.cta-banner h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background-color: var(--bg-white);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.contact-form p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-success {
    background-color: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.form-success i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

/* Contact Info Section */
.contact-info-section {
    background-color: var(--bg-white);
    padding: 5rem 0;
    border-top: 1px solid var(--border-light);
}

.contact-info-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-info-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(43, 77, 255, 0.08);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(43, 77, 255, 0.1);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(43, 77, 255, 0.15);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #0064b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(43, 77, 255, 0.3);
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.contact-details span {
    color: var(--text-dark);
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.social-links-horizontal {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links-horizontal a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), #0064b9);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links-horizontal a:hover {
    background: linear-gradient(180deg, var(--primary-hover), #ffffff);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(43, 77, 255, 0.3);
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-column p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.newsletter {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.newsletter h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    padding: 12px 16px;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .contact-info-grid {
        gap: 1.5rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-light);
        padding: 1rem;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header .btn {
        display: none;
    }

    .hero {
        margin-top: 70px;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-section {
        padding: 3rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 3rem 0;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .pricing-card {
        margin: 0 10px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* References Section */
.references {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.references-container {
    position: relative;
    padding: 0 60px; /* Space for arrows */
}

.references-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 1rem 0;
}

.references-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.references-grid {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    min-width: max-content;
}

.reference-item {
    flex: 0 0 auto;
    width: 250px;
    text-align: center;
    transition: var(--transition);
}

.reference-item a {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.reference-item a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-color);
}

.reference-logo {
    width: 120px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.reference-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0.8);
}

.reference-item a:hover .reference-logo img {
    filter: brightness(1);
    transform: scale(1.05);
}

/* Scroll Arrow Buttons */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    font-size: 1rem;
    z-index: 2;
    box-shadow: var(--shadow-light);
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

.scroll-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.scroll-arrow:disabled:hover {
    background-color: var(--bg-white);
    border-color: var(--border-light);
    color: var(--text-light);
}

.reference-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

/* Responsive Design for References */
@media (max-width: 767px) {
    .references {
        padding: 3rem 0;
    }

    .references-container {
        padding: 0 50px; /* Adjust padding for smaller arrows */
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .scroll-left {
        left: 5px;
    }

    .scroll-right {
        right: 5px;
    }

    .reference-item {
        width: 160px;
    }

    .reference-item a {
        padding: 1rem;
    }

    .reference-logo {
        width: 100px;
        height: 40px;
    }

    .reference-item h4 {
        font-size: 1rem;
    }
}