/* Navbar */
/* Ensure the base styles remain intact */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background: linear-gradient(145deg, rgba(3, 28, 82, 0.8), rgba(15, 15, 15, 0.8));
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.95;
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.logo {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    display: flex;
    align-items: center;
    transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.logo span {
    color: #a0a0ff;
    font-weight: 400;
    margin-right: 6px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #ffffff, #a0a0ff);
    transition: width 0.4s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    position: relative;
    padding: 10px 15px;
    transition: color 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(0.12s * var(--i));
}

.nav-links a:nth-child(1) { --i: 1; }
.nav-links a:nth-child(2) { --i: 2; }
.nav-links a:nth-child(3) { --i: 3; }
.nav-links a:nth-child(4) { --i: 4; }
.nav-links a:nth-child(5) { --i: 5; }
.nav-links a:nth-child(6) { --i: 6; }

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: border-color 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: #ffffff;
    transform: scale(1.08);
}

.nav-links a:hover::before {
    border-color: rgba(255, 255, 255, 0.4);
}

.quote-btn {
    background: linear-gradient(to right, #031C52, #a0a0ff);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.quote-btn:hover {
    background: linear-gradient(to right, #a0a0ff, #031C52);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}

.quote-btn:hover::before {
    left: 100%;
}

/* Hamburger base styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }

    .logo {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .nav-links {
        gap: 25px;
    }

    .nav-links a {
        font-size: 16px;
        padding: 8px 12px;
    }

    .quote-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        clip-path: none; /* Remove clip-path for mobile */
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(145deg, rgba(3, 28, 82, 0.95), rgba(15, 15, 15, 0.95));
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.4s ease, opacity 0.4s ease;
        opacity: 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 18px;
        text-align: center;
        padding: 10px;
    }

    .quote-btn {
        margin: 15px 0;
        width: fit-content;
        align-self: center;
    }

    /* Hamburger to X animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }

    .logo {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .hamburger {
        width: 25px;
        height: 18px;
    }

    .hamburger span {
        height: 2.5px;
    }

    .nav-links a {
        font-size: 16px;
        margin: 12px 0;
    }

    .quote-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

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

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}




/* footer design  */

/* Footer */
.footer {
    padding: 80px 80px 40px;
    background: linear-gradient(145deg, #031C52, rgba(15, 15, 15, 0.9));
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.8;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-section {
    max-width: 25%;
    animation: fadeInUp 1.2s ease-out;
}

.footer-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #a0a0ff;
    transition: width 0.3s ease;
}

.footer-section h3:hover::after {
    width: 50px;
}

.footer-section p, .footer-section a {
    font-size: 15px;
    color: #d0d0d0;
    line-height: 2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-section a[href^="mailto:"], .footer-section a[href^="tel:"] {
    color: #a0a0ff;
}

.footer-section a[href^="mailto"]:hover, .footer-section a[href^="tel:"]:hover {
    color: #ffffff;
}

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

.social-links a {
    color: #d0d0d0;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #a0a0ff;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: #a0a0a0;
}

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

.footer-bottom-links a {
    color: #a0a0a0;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

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




/* Animations */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.7));
    }
}

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

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

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

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

/* Responsive Design */

/* footer design  */
@media (max-width: 1024px) {
    .footer-content {
        gap: 40px;
    }

    .footer-section {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .footer-section {
        max-width: 100%;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-section p, .footer-section a {
        font-size: 14px;
        line-height: 1.8;
    }

    .social-links a {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 20px;
    }

    .footer-bottom-links a {
        margin: 0 8px;
        font-size: 12px;
    }
}




/* timeline design  */
.services-timeline {
    padding: 80px 80px;
    position: relative;
    background: transparent;
    display: flex;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.services-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.timeline-line {
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #031C52, #a0a0ff);
    position: absolute;
    left: 100px;
    top: 0;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(160, 160, 255, 0.5);
    animation: growLine 1.5s ease-out forwards;
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-left: 160px;
    width: 100%;
}

.service-item {
    position: relative;
    animation: fadeInUp 1.2s ease-out;
    animation-delay: calc(0.2s * var(--i));
}

.service-item:nth-child(1) { --i: 1; }
.service-item:nth-child(2) { --i: 2; }
.service-item:nth-child(3) { --i: 3; }
.service-item:nth-child(4) { --i: 4; }
.service-item:nth-child(5) { --i: 5; }
.service-item:nth-child(6) { --i: 6; }

.service-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -60px;
    width: 60px;
    height: 2px;
    background: #a0a0ff;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.service-item:hover::before {
    width: 70px;
}

.service-card {
    background: linear-gradient(145deg, #031C52, rgba(15, 15, 15, 0.9));
    border-radius: 15px;
    padding: 30px;
    width: 400px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(160, 160, 255, 0.5);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::after {
    left: 100%;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 32px;
    color: #a0a0ff;
    margin-right: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15);
    color: #ffffff;
}

.service-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.5);
}

.service-content {
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.6;
}

.service-content p {
    margin-bottom: 15px;
}

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

.service-content ul li {
    position: relative;
    margin-bottom: 10px;
}

.service-content ul li:before {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #a0a0ff;
    position: absolute;
    left: -20px;
    top: 0;
}

.explore-btn {
    background: #a0a0ff;
    color: #031C52;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-btn i {
    margin-left: 8px;
}

.explore-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(160, 160, 255, 0.6);
}

@keyframes growLine {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

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

@media (max-width: 1024px) {
    .services-timeline {
        padding: 70px 60px;
    }

    .timeline-line {
        left: 80px;
    }

    .services-wrapper {
        margin-left: 140px;
    }

    .service-card {
        width: 350px;
        padding: 25px;
    }

    .service-header h3 {
        font-size: 22px;
    }

    .service-content {
        font-size: 15px;
    }

    .explore-btn {
        padding: 9px 18px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .services-timeline {
        padding: 60px 20px;
        flex-direction: column;
        align-items: center;
    }

    .timeline-line {
        width: 100%;
        height: 6px;
        left: 0;
        top: 50px;
        background: linear-gradient(to right, #031C52, #a0a0ff);
        animation: growLineHorizontal 1.5s ease-out forwards;
    }

    @keyframes growLineHorizontal {
        from {
            width: 0;
        }
        to {
            width: 100%;
        }
    }

    .services-wrapper {
        margin-left: 0;
        margin-top: 80px;
        align-items: center;
    }

    .service-item {
        width: 90%;
    }

    .service-item::before {
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 50px;
        background: #a0a0ff;
    }

    .service-item:hover::before {
        height: 60px;
    }

    .service-card {
        width: 100%;
        padding: 20px;
    }

    .service-header h3 {
        font-size: 20px;
    }

    .service-content {
        font-size: 14px;
    }

    .explore-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .services-timeline {
        padding: 50px 15px;
    }

    .timeline-line {
        top: 40px;
    }

    .services-wrapper {
        margin-top: 60px;
    }

    .service-item::before {
        top: -40px;
        height: 40px;
    }

    .service-item:hover::before {
        height: 50px;
    }

    .service-card {
        padding: 15px;
    }

    .service-header h3 {
        font-size: 18px;
    }

    .service-content {
        font-size: 13px;
    }

    .explore-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}