/* General Styles */
:root {
    --primary-color: #19378D;
    --secondary-color: #343a40;
    --accent-color: #3e5491;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #495057;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Top Header */
.top-header {
    font-size: 0.9rem;
    background: #007bc4;
}

.contact-page-title {
    background: #007bc4;
}

.top-header .social-links a {
    margin-left: 10px;
    transition: var(--transition);
}

.top-header .social-links a:hover {
    color: var(--primary-color) !important;
}

/* Header */
.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: red;
}


.logo-section {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

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

.logo img {
    height: 60px; /* Keeps it nicely sized within the navbar */
    width: auto;
}


.navbar-nav .nav-link {
    font-weight: 500;
    padding: 20px 15px;
    color: var(--dark-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Banner Section */
.banner {
    width: 100%;
    background: #009da0;
    color: white;
}

.banner h1 {
    color: white;
}

/* Service Boxes */
.services-section {
    padding: 80px 0;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--dark-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
}

.service-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Service Cards with Images */
.service-card-img {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

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

.service-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card-img:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card-img:hover .service-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.service-content {
    padding: 25px;
}

.service-content p {
    font-size: 16px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.service-content h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.service-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .service-img {
        height: 180px;
    }
}


/* About Section */
.about-img {
    border-radius: 10px;
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* Services Section */
.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    opacity: 0.1;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--dark-color);
}

.service-card h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e9ecef;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Projects Section */
.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

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

.project-img {
    position: relative;
    overflow: hidden;
}

.project-img img {
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-info {
    padding: 20px;
}

.project-info h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-category {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Gallery Section
.gallery-tabs {
    border-bottom: none;
}

.gallery-tabs .nav-link {
    border: none;
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
    border-radius: 30px;
    margin: 0 5px;
    transition: var(--transition);
}

.gallery-tabs .nav-link.active,
.gallery-tabs .nav-link:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-link img {
    transition: var(--transition);
    border-radius: 10px;
}

.gallery-item:hover .gallery-link img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: 10px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--primary-color);
    font-size: 2rem;
} */

/* Blog Section */
.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

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

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    bottom: 0;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

.blog-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-title {
    margin-bottom: 10px;
    font-size: 1.3rem;
    transition: var(--transition);
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--accent-color);
}

.blog-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* Testimonial Section */
.testimonial-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-img {
    margin-bottom: 20px;
}

.testimonial-img img {
    width: 80px;
    height: 80px;
    border: 5px solid var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 30px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-text::before {
    top: 0;
    left: 0;
}

.testimonial-text::after {
    content: '\f10e';
    bottom: 0;
    right: 0;
}

.client-name {
    margin-bottom: 5px;
}

.client-position {
    color: #6c757d;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.rating {
    color: var(--primary-color);
}

/* Footer Section */
.footer-section {
    background-color: #262727;
}

.footer-logo {
    max-height: 60px;
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: white;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

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

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: white;
}

.footer-links a:hover {
    color: white;
    padding-left: 20px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    color: #adb5bd;
    padding-left: 30px;
    position: relative;
}

.footer-contact li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: white;
}

.social-links {
    display: flex;
}

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

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--dark-color) !important;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }

    .banner .carousel-item {
        height: 500px;
    }

    .carousel-caption {
        max-width: 600px;
        padding: 20px;
    }

    .experience-badge {
        right: 0;
        bottom: 20px;
        padding: 15px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }

    .banner .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        max-width: 90%;
        padding: 15px;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .service-box {
        margin-bottom: 30px;
    }

    .experience-badge {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 20px;
        display: inline-block;
    }

    .gallery-tabs .nav-link {
        margin-bottom: 10px;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
