﻿html {
    background: linear-gradient(90deg, rgba(12, 21, 87,0.5) 0%, rgba(12, 21, 87,1) 35%, rgba(12, 21, 87,1) 100%);
}
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: rgba(51, 45, 45, 0.8);
    background-image: url('/img/background_sdscd.svg');
    background-size: 100% 100%;

    background-repeat: no-repeat;
}

.top_menu_fixed {

    top: 0;
    z-index: 1000;
    width:100%;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.logo_sdsd {
    height: 25px;
    position: absolute;
    right: 20px;
    z-index: 1000;
    top: 20px;
}

.motto {
    color: white;
    font-weight: bold;
    font-size: 25px;
}

.navbar {
    padding: 10px 0px 0px 0px !important; /* Adjust padding for smaller screens */
}



.nav-link {
    color: white;
    position: relative; /* Position required for pseudo-element */
    text-decoration: none; /* Remove default underline */
    transition: color 0.3s ease; /* Smooth color transition */
}


    /* Change text color on hover */
    .nav-link:hover {
        color: #ffcc00; /* Highlight color on hover */
    }

    /* Animated underline */
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0; /* Position underline below the text */
        left: 0;
        width: 0%; /* Start with no underline */
        height: 2px; /* Thickness of the underline */
        background-color: #191B49; /* Color of the underline */
        transition: width 1s ease; /* Smoothly expand the underline */
    }

    /* On hover, expand the underline */
    .nav-link:hover::after {
        width: 100%; /* Expand the underline to full width */
    }

@media (max-width: 1000px) {
    .navbar {
        padding: 10px !important; /* Adjust padding for smaller screens */
    }

    .logo_sdsd {
        top: 12px;
    }

    .container {
        width:calc(100%);
        margin: 0 !important;
        padding: 15px !important;
    }

    .contact-section p{
        width:100% !important;
        text-align:left !important;
        
    }
}
.contact-section h6 {
    color: #3B71CA;
}


.contact-section p i {
    color: #3B71CA !important;
}


.title_sdsdsd {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    color: #333;
    display: inline-block;
    padding-bottom: 10px;
}

    .title_sdsdsd::after {
        content: '';
        position: absolute;
        top: 80%; /* Place directly below the text */
        left: 50%; /* Center the underline */
        transform: translateX(-50%); /* Adjust for centering */
        width: 80px; /* Width of the hand-drawn line */
        height: 25px; /* Height of the underline */
        background-image: url('/img/hand-drawn-line.svg'); /* Replace with your hand-drawn line file */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 1; /* Fully visible */
    }


.title-circle {
    width: 24px;
    height: 24px;
    background: #0C1558;
    border-radius: 50%;
    margin: 0 auto 20px;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 15px;
}

.container {
   
    max-width: 1200px;
    margin: auto;
    background-color: rgba(255,255,255,0.8);
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}




.navbar-dark .nav-link {
    color: white !important;
}

    .navbar-dark .nav-link:hover {
        color: #dcdcdc !important; /* Slightly lighter on hover */
    }

.navbar-dark .navbar-brand {
    color: white !important;
}


.header {
    background-image: linear-gradient(rgba(51, 45, 45, 0.2), rgba(51, 45, 45, 0.1)), url('/img/background_sdscd.svg');
    background-size: cover; /* Stretch to fit both width and height */
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
    text-align: center;
}


    .header h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }

    .header p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .header .btn {
        background-color: #ffffff;
        color: #0C1558;
        padding: 10px 25px;
        border: none;
        border-radius: 50px;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

        .header .btn:hover {
            background-color: #f1f1f1;
            transform: translateY(-3px);
        }

.ux-ui-section .container {
    padding:30px 20px 20px 20px !important;
}


#about p {
    font-size: 1.1rem;
    line-height: 1.8;
}


    #why-us .list-group-item {
        border: none;
        background: #ffffff;
        padding: 15px 20px;
        margin-bottom: 15px;
        border-left: 5px solid #0C1558;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }

        #why-us .list-group-item:hover {
            transform: translateY(-3px);
        }

/* Posts Section */
#posts {
  
    background: #ffffff;
}

    #posts .card {
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }

        #posts .card:hover {
            transform: translateY(-5px);
        }

    #posts .card-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    #posts .card-text {
        color: #777;
    }

/* Security Section */
#security {
    padding: 60px 0;
  
}

    #security ul {
        padding: 20px;
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    #security .list-group-item {
        border: none;
        background: #ffffff;
        margin-bottom: 10px;
        padding: 15px 20px;
        border-left: 5px solid #0C1558;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        font-size: 1.1rem;
    }

/* Contact Section */
#contact {

    color: white;
}

    #contact .container {
        background-color: rgba(255,255,255,0.1);
        color: white !important;
    }

        #contact .container p{
            color:white !important;
        }
        /* Footer */
        footer {
            background: #333;
            color: white;
            padding: 20px 0;
            text-align: center;
        }

    footer p {
        margin: 0;
    }

    footer a {
        color: #0C1558;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: #0056b3;
        }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .header p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }
}


/* Initial style for the heading */
.animated-heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    background-image: linear-gradient(45deg, #774F19, #0C1558, #ffff, #ffff, #0C1558, #633F13, #D7D5D7);
    background-size: 500% 300%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: multicolorText 6s ease-in-out, fadeIn 2s ease-in-out;
    animation-fill-mode: forwards; /* Ensures the final state of the animation is retained */
    opacity: 0; /* Start invisible */
}

/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Multicolor gradient animation */
@keyframes multicolorText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
