:root {
    --primary-color: #2a2a72;
    --secondary-color: #009ffd;
    --accent-color: #f9a826;
}
body{
    scroll-behavior: smooth !important;
}

/* Custom Styles */
.header-top {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.navbar-main {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.navbar-main{
    img{
        width: 220px;
        height: auto;
        padding-bottom: 8px;
    }
    .nav-item{
        padding: 0 9px;
        font-size: 18px;
        font-family:poppins;
    }
}
.navbar-scrolled {
    background: rgba(255,255,255,0.95)!important;
    backdrop-filter: blur(10px);
}

.hero-section {
    background: linear-gradient(135deg, rgba(42,42,114,0.9) 0%, rgba(0,159,253,0.8) 100%),
                    url('tech-bg.jpg');
    background-size: cover;
    height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    transform: rotate(45deg);
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

/* About Section Styles */
.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    padding: 50px 0;
}

.section-pre-title {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.tech-path-animation {
    position: relative;
    height: 4px;
    margin: 2rem 0;
}

.circuit-line {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-color),
        var(--primary-color) 2px,
        transparent 2px,
        transparent 10px
    );
    animation: circuit-flow 20s linear infinite;
}

@keyframes circuit-flow {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
}

.about-visuals {
    perspective: 1000px;
}

.main-visual {
    border-radius: 1rem;
    overflow: hidden;
    transform: rotateX(0deg) rotateY(0deg);
    transition: all 0.6s ease;
    box-shadow: 0 30px 60px rgba(42,42,114,0.15);
}

.main-visual:hover {
    transform: rotateX(0) rotateY(0);
}

.floating-badge {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 30px rgba(42,42,114,0.2);
    animation: float 6s ease-in-out infinite;
}

.experience-years {
    top: -10%;
    right: -5%;
    z-index: 2;
}

.projects-completed {
    bottom: -10%;
    left: -5%;
}

.inner-badge {
    text-align: center;
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.label {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-tech-element {
    position: absolute;
    width: 150%;
    height: 150%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path fill="%232a2a72" opacity="0.05" d="M45,-67.3C57.4,-56.9,65.4,-41.6,71.2,-25.3C77,-9,80.6,8.3,76.1,22.3C71.7,36.4,59.2,47.2,45.7,57.5C32.2,67.7,17.6,77.4,0.6,76.6C-16.5,75.8,-32.9,64.5,-46.5,53.2C-60.2,41.9,-71,30.6,-76.5,16.5C-82,2.4,-82.2,-14.4,-75.9,-28C-69.6,-41.5,-56.8,-51.7,-42.4,-61.5C-28,-71.3,-12,-80.6,3.3,-85.4C18.6,-90.1,37.2,-90.3,45,-67.3Z"/></svg>');
    animation: tech-float 25s infinite linear;
    opacity: 0.1;
    pointer-events: none;
}

@keyframes tech-float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.animated-connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 L100,50" stroke="%23009ffd" stroke-width="0.5" stroke-dasharray="5"/></svg>');
    animation: lines-move 40s infinite linear;
    opacity: 0.05;
}

@media (max-width: 992px) {
    .main-visual {
        transform: none;
        margin-bottom: 3rem;
    }
    
    .floating-badge {
        position: relative;
        margin: 1rem auto;
        animation: none;
    }
}

.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.btn-custom {
    background: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    font-weight: 600;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,159,253,0.3);
}

.btn-custom i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-custom:hover i {
    transform: translateX(5px);
}

@keyframes float {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* Project Section Css*/
.btn-filter {
    background: linear-gradient(45deg, #2a2a72, #009ffd);
    color: #faf8ff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-filter::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.btn-filter:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,159,253,0.3);
    color: white;
}

.btn-filter.active {
    background: linear-gradient(45deg, #f9a826, #ff4f7b);
    color: #faf8ff;
}

.project-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(6, 65, 99, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42,42,114,0.9);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Filtering Animation */
.grid-item {
    transition: all 0.3s ease;
}

.grid-item.hide {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    height: 0;
    width: 0;
    overflow: hidden;
}

/*Footer CSS */


.footer-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a72 100%);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 50%;
}

.footer-logo {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.footer-links a,
.footer-services a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-links i,
.footer-services i {
    transition: transform 0.3s ease;
}

.footer-links a:hover i,
.footer-services a:hover i {
    transform: translateX(3px);
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-contact li {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
}

.animate-slide {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.animate-slide.active {
    transform: translateY(0);
    opacity: 1;
}

/* Scroll Top CSS */
.fixed-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-btn {
    position: fixed;
    left: 30px;
    bottom: 30px;
    background: #25D366;
    color: white!important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

.scroll-top-btn {
    background: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(42,42,114,0.3);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .fixed-buttons {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-btn {
        left: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* Team Section Styles */
.team-section {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
}

.ceo-card {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    border: 1px solid rgba(42, 42, 114, 0.1);
}

.ceo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(42, 42, 114, 0.15);
}

.ceo-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.ceo-avatar {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid white;
    position: relative;
    z-index: 2;
}

.avatar-decoration {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    z-index: 1;
    animation: rotate 15s linear infinite;
}

.quote-icon {
    opacity: 0.2;
    transition: all 0.3s ease;
}

.ceo-card:hover .quote-icon {
    opacity: 0.4;
    transform: scale(1.1);
}

.ceo-signature {
    border-top: 1px solid rgba(42, 42, 114, 0.1);
    padding-top: 15px;
    margin-top: 20px;
}

.ceo-card-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path fill="%232a2a72" opacity="0.05" d="M45,-67.3C57.4,-56.9,65.4,-41.6,71.2,-25.3C77,-9,80.6,8.3,76.1,22.3C71.7,36.4,59.2,47.2,45.7,57.5C32.2,67.7,17.6,77.4,0.6,76.6C-16.5,75.8,-32.9,64.5,-46.5,53.2C-60.2,41.9,-71,30.6,-76.5,16.5C-82,2.4,-82.2,-14.4,-75.9,-28C-69.6,-41.5,-56.8,-51.7,-42.4,-61.5C-28,-71.3,-12,-80.6,3.3,-85.4C18.6,-90.1,37.2,-90.3,45,-67.3Z"/></svg>');
    animation: float 15s ease-in-out infinite;
}

/* Team Member Cards */
.team-member-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(42, 42, 114, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(42, 42, 114, 0.15);
}

.member-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.05);
}

.member-social-links {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member-card:hover .member-social-links {
    transform: translateY(0);
    opacity: 1;
}

.social-link-team {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link-team:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.member-info {
    padding: 25px;
    text-align: center;
}

/* Team Stats */
.team-stats {
    margin-top: 50px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(42, 42, 114, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(42, 42, 114, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--primary-color);
    opacity: 0.7;
    font-size: 1rem;
}

/* Background Elements */
.floating-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(42, 42, 114, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 L100,50" stroke="%23009ffd" stroke-width="0.5" stroke-dasharray="5"/></svg>');
    animation: lines-move 40s infinite linear;
    opacity: 0.05;
    z-index: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes lines-move {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-form-card {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(42, 42, 114, 0.1);
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(42, 42, 114, 0.15) !important;
}

.form-control {
    border: 1px solid rgba(42, 42, 114, 0.2);
    height: calc(3.5rem + 2px);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(42, 42, 114, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Contact Info Cards */
.contact-info-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: rotate(15deg) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.contact-details a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-details a:hover {
    text-decoration: underline;
    transform: translateX(5px);
}

/* Social Media Links */
.social-media-links .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(42, 42, 114, 0.05);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-media-links .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Background Elements */
.contact-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(42, 42, 114, 0.03), rgba(0, 159, 253, 0.03));
    filter: blur(30px);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
    animation: float 20s ease-in-out infinite reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 20%;
    animation: float 12s ease-in-out infinite 2s;
}

.contact-dots-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(42, 42, 114, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

/* Form Validation */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 1.5rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.375rem) center;
    background-size: calc(0.75em + 0.75rem) calc(0.75em + 0.75rem);
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 1.5rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.375rem) center;
    background-size: calc(0.75em + 0.75rem) calc(0.75em + 0.75rem);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-form-card,
    .contact-info-card {
        margin-bottom: 30px;
    }
    
    .contact-info-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .section-intro h2 {
        font-size: 2.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}