/* static/css/style.css */
:root {
    --primary: cadetblue;
    --primary-dark: cadetblue;
    --primary-light: #e6f0f8;
    --secondary: #4a9d8c;
    --accent: #ff914d;
    --light: #f9fbfd;
    --dark: #1d2d35;
    --gray: #6c7a89;
    --light-gray: #f0f4f8;
    --border-radius: 10px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --section-padding: 100px 0;
}

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

.container {
    padding-top: 0;
    margin-top: 0;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background-color: #fff;
    /*padding-top: 90px;*/
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    /*color: var(--dark);*/
    margin-bottom: 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    position: relative;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 1.1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: black;
}

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

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(26, 108, 169, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 108, 169, 0.4);
}

.btn-primary:hover::after {
    width: 100%;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(26, 108, 169, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Section Styling */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: cadetblue linear-gradient(135deg, rgba(26, 108, 169, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    /*background: url('/static/images/background.png') center center / cover no-repeat;*/

    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231a6ca9' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    color: #111;
    font-weight: bold;
    max-width: 600px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    background: brown;
}

.hero-image-container {
    border-radius: var(--border-radius);
    /*overflow: hidden;*/
    box-shadow: var(--box-shadow);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.experience-badge {
    bottom: -20px;
    right: 20px;
    z-index: 10;
    text-align: center;
    width: 130px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff7a33 100%);
    box-shadow: 0 10px 25px rgba(255, 145, 77, 0.3);
    animation: pulse 2s infinite;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--box-shadow);
    background: white;
    position: relative;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: -1;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-hover);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-body {
    padding: 30px;
}

.icon-bg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 8px 20px rgba(26, 108, 169, 0.25);
    transition: var(--transition);
}

.card:hover .icon-bg {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(26, 108, 169, 0.35);
}

/* Why Choose Us */
.benefits-section {
    background-color: var(--light);
}

.benefit-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Services */
.services-section {
    background: white;
}

.service-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--light);
}

.testimonial-card {
    height: 100%;
    position: relative;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.3;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h3 {
    color: white;
    font-weight: 700;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-light:hover {
    background: var(--light);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/*!* Navbar *!*/
/*.navbar {*/
/*    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);*/
/*    padding: 15px 0;*/
/*    background: whitesmoke !important;*/
/*    transition: all 0.4s ease;*/
/*}*/

/*.navbar-scrolled {*/
/*    padding: 10px 0;*/
/*    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.navbar-brand {*/
/*    font-size: 1.8rem;*/
/*    font-weight: 700;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    color: #1a6ca9;*/
/*}*/

/*.navbar-brand i {*/
/*    color: var(--primary);*/
/*    margin-right: 10px;*/
/*}*/

/*.nav-link {*/
/*    font-weight: 500;*/
/*    padding: 0.8rem 1.2rem !important;*/
/*    border-radius: 50px;*/
/*    transition: var(--transition);*/
/*    color: var(--dark) !important;*/
/*    position: relative;*/
/*}*/

/*.nav-link::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 5px;*/
/*    left: 20px;*/
/*    width: 0;*/
/*    height: 2px;*/
/*    background: var(--primary);*/
/*    transition: var(--transition);*/
/*}*/

/*.nav-link:hover::after,*/
/*.nav-link.active::after {*/
/*    width: calc(100% - 40px);*/
/*}*/

/*.nav-link:hover,*/
/*.nav-link.active {*/
/*    color: var(--primary) !important;*/
/*}*/

/* Override your navbar background to keep Bootstrap primary */
.navbar {
    background-color: cadetblue !important; /* use Bootstrap's primary color */
    position: sticky;
}

/* Force navbar-nav to row on large screens */
@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row !important;
        align-items: center;
    }

    .navbar-nav .nav-item {
        margin-left: 1rem; /* space between items */
    }

    /* Remove margin-top from the button on large screens */
    .navbar-nav .nav-item.ms-lg-2.mt-2.mt-lg-0 {
        margin-top: 0 !important;
    }
}


/* Footer */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

footer h5 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: white;
    font-weight: 600;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

footer ul li i {
    margin-right: 12px;
    color: var(--primary);
    font-size: 1.1rem;
    min-width: 20px;
    margin-top: 4px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
}

footer a:hover {
    color: white;
    transform: translateX(5px);
}

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

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

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 50px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-15px);
    }
    100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(255, 145, 77, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(255, 145, 77, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(255, 145, 77, 0.3);
    }
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 80px 0;
    }

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

    .hero h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 75px;
    }

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

    .hero h1 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-image-container {
        margin-top: 40px;
    }

    .experience-badge {
        bottom: -15px;
        right: 15px;
        width: 110px;
        padding: 15px;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 15px;
    }

    .section-title::after {
        width: 60px;
    }
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}

.blog-content h2, .blog-content h3, .blog-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-content ul, .blog-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

.blog-content code {
    background-color: #eee;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
}
