/*
* Bridge iT - Enhanced Styles
* Additional modern styling for the website
*/

/* Enhanced Footer Section */
.footer {
    background-color: #212121;
    color: #e0e0e0;
    position: relative;
    padding: 80px 0 20px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, 
        #3f51b5 0%, 
        #303f9f 35%, 
        #3949ab 100%);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35%;
    height: 40%;
    background-image: radial-gradient(circle at center, rgba(63, 81, 181, 0.05) 0%, transparent 70%);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-logo a {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.footer-logo a:hover {
    transform: translateY(-3px);
    text-shadow: 0 5px 15px rgba(63, 81, 181, 0.3);
}

.footer-logo a span {
    color: #3f51b5;
}

.footer-logo p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: #3f51b5;
    transition: width 0.3s;
}

.footer-links:hover h3::after,
.footer-services:hover h3::after,
.footer-newsletter:hover h3::after {
    width: 60px;
}

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

.footer-links ul li a,
.footer-services ul li a {
    color: #bdbdbd;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    display: inline-block;
    padding-left: 0;
}

.footer-links ul li a::before,
.footer-services ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background-color: #3f51b5;
    transition: all 0.3s;
    opacity: 0;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: #7986cb;
    padding-left: 15px;
}

.footer-links ul li a:hover::before,
.footer-services ul li a:hover::before {
    width: 10px;
    opacity: 1;
}

.footer-newsletter p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 15px 120px 15px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    outline: none;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    border-color: #3f51b5;
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: calc(100% - 10px);
    padding: 0 20px;
    background-color: #3949ab;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background-color: #303f9f;
    transform: translateX(-3px);
}

.social-links-footer {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    transition: all 0.3s;
}

.social-links-footer a:hover {
    background-color: #3f51b5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #9e9e9e;
}

/* Enhanced Features Section */
.feature-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background-color: #ffffff;
    padding: 40px 30px;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.05) 0%, rgba(63, 81, 181, 0.01) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(63, 81, 181, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #7986cb, #3f51b5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, #7986cb, #3f51b5);
    border-radius: 25px;
    opacity: 0.3;
    z-index: -1;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    border-radius: 30%;
}

.feature-card:hover .feature-icon::after {
    transform: scale(1);
    opacity: 0.15;
}

.feature-icon i {
    font-size: 35px;
    color: white;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    color: #3f51b5;
}

.feature-card p {
    color: #616161;
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: #424242;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-services h3::after,
    .footer-newsletter h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links-footer {
        justify-content: center;
    }
}

/* Enhanced Stats Section */
.stats-section {
    background: linear-gradient(135deg, #3f51b5, #1a237e);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-count {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffffff, #c5cae9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-count span {
    font-size: 2.5rem;
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
}

.stat-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 15px;
}

.stat-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: width 0.3s ease;
}

.stat-item:hover h3::after {
    width: 60px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Enhanced Process Section */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    transform: translateY(-30px);
}

.timeline-item:nth-child(even).revealed {
    transform: translateY(0);
}

.timeline-number {
    position: relative;
    overflow: hidden;
}

.timeline-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotateGradient 4s linear infinite;
    z-index: -1;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animation for feature cards */
.feature-revealed {
    animation: scaleIn 0.5s ease-out forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
} 