:root {
    --primary-color: #0d6efd;
    --dark-blue: #001233;
    --gradient: linear-gradient(45deg, #0d6efd, #0099ff);
    --light-blue: #4d94ff;
    --white: #ffffff;
}

/* Navigation bar section */
  .animated-bg {
    background: linear-gradient(-45deg, #0d6efd, #00a8ff, #0052cc, #001233);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.top-bar {
    background: var(--gradient);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand img {
    width: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    padding: 8px 15px !important;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.search-box {
    border-radius: 25px;
    border: 2px solid transparent;
    padding-right: 40px;
    transition: all 0.3s ease;
    background: rgba(13, 110, 253, 0.05);
}

.search-box:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.2);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}



/* Hero section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(40, 83, 127, 0.576), rgba(82, 124, 167, 0.388)),
        url('Images/andreas-gucklhorn-7razCd-RUGs-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 51, 102, 0.4) 100%);
    pointer-events: none;
}

.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    line-height: 1.2;
}

.tagline-wrapper {
    overflow: hidden;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.5rem;
    color: var(--white);
    opacity: 0.9;
}

.dynamic-text {
    display: inline-block;
    color: #05ff8e;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.cta-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.animation-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}


/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
    }

    50% {
        transform: rotate(45deg) translate(-10px, -10px);
    }
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Media Queries */
@media (max-width: 991.98px) {
    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .animation-wrapper {
        margin-top: 2rem;
        max-width: 400px;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* About us section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 50px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-section img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

.about-content {
    flex: 1;
    padding: 20px;
}

.experience-card {
    position: absolute;
    top: 20px;
    left: -20px;
    background-color: #007bff;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.experience-card h3 {
    margin: 0;
    font-size: 24px;
}

.experience-card p {
    margin: 0;
    font-size: 16px;
}

.about-content h2 {
    color: #28a745;
    font-weight: bold;
}

.about-content p {
    margin-top: 20px;
    color: #6c757d;
    line-height: 1.8;
}

.about-btn {
    margin-top: 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: white;
    color: #007bff;
    border: 2px solid #007bff;
    transform: scale(1.1);
}

/* Why choose us section */
.why-choose-us {
    position: relative;
    overflow: hidden;
}

.feature-card {
    background: rgba(13, 110, 253, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(13, 110, 253, 0.9);
    border-bottom: 3px solid #00E5FF;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid #00E5FF;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    transition: all 0.3s ease;
}

.feature-card:hover .icon-circle {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.btn-glow {
    background: linear-gradient(45deg, #0d6efd, #00E5FF);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-glow:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00E5FF, #0d6efd);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-glow:hover:before {
    opacity: 1;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 20px;
    }
}

/* Services Section */
.services-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.services-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.services-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-card:hover img {
    transform: scale(1.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    top: -100%;
    left: -100%;
    transition: all 0.6s ease;
}

.services-card:hover .icon-box::before {
    top: 100%;
    left: 100%;
}

.icon-box i {
    color: white;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.services-card:hover .icon-box i {
    transform: rotateY(360deg);
}

.card-body {
    padding: 25px;
    background: white;
    position: relative;
    z-index: 1;
}

.card-title {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.services-card:hover .card-title {
    color: var(--primary-color);
}

/* Floating animation for cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.services-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.services-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.services-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-card:hover img {
    transform: scale(1.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    top: -100%;
    left: -100%;
    transition: all 0.6s ease;
}

.services-card:hover .icon-box::before {
    top: 100%;
    left: 100%;
}

.icon-box i {
    color: white;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.services-card:hover .icon-box i {
    transform: rotateY(360deg);
}

.card-body {
    padding: 25px;
    background: white;
    position: relative;
    z-index: 1;
}

.card-title {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.services-card:hover .card-title {
    color: var(--primary-color);
}

/* Floating animation for cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* About Us Button Styling */
.about-button {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(45deg, #007bff, #00c6ff);
    color: white;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.about-button:hover {
    background: linear-gradient(45deg, #0056b3, #0089cc);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
    /* Keep text color white for contrast */
    text-decoration: none;
}

/* Glowing Effect */
.about-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%) scale(0);
    z-index: 0;
}

.about-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Text Shadow for Added Depth */
.about-button:hover {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


/* Testimonials Section */
.testimonial-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer Section */
.footer-section {
    background: #010526;
    color: #fff;
    padding: 60px 0 30px 0;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%231a1a1a' d='M0,50 C150,0 300,100 720,50 C1140,0 1290,100 1440,50 L1440,100 L0,100 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h3,
.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-about p {
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #305df1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.footer-social a:hover {
    transform: translateY(-5px);
    background: #219a52;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #2a2ac6;
}

.footer-contact-info {
    color: #888;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: #455ff1;
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-text {
    line-height: 1.6;
}

.footer-newsletter {
    margin-top: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #222;
    color: white;
}

.newsletter-button {
    padding: 12px 25px;
    background: #3e4fe5;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-button:hover {
    background: #219a52;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 10px 0;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Testimonial's section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f9ff 0%, #ecf3fe 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark);
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 120px;
    color: var(--light);
    font-family: serif;
    z-index: 1;
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 136, 229, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--primary);
    position: relative;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .client-image img {
    transform: scale(1.1);
}

.client-info h4 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.client-info p {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star {
    color: #ffd700;
    font-size: 1.1rem;
}

.testimonial-text {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.review-date {
    color: #888;
    font-size: 0.9rem;
}

.verification-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 0.9rem;
}

.verification-badge i {
    color: #4caf50;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}