/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f7fa;
    color: #333;
    font-size: 16px; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.navbar {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo img {
    height: 40px; 
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar nav ul li {
    margin-left: 25px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: #007bff; 
}

.navbar .btn-sigma {
    background-color: #007bff; 
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}


.navbar .btn-sigma:hover {
    background-color: #0056b3;
}

/* Hero Section */
.hero-section {
    background-color: #fff;
    padding: 80px 0;
    display: flex;
    text-align: left;
    gap: 40px; 
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.2em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content h1 strong {
    color: #007bff;
}

.hero-content p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #6a1b9a; 
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #4a148c;
    transform: translateY(-2px);
}

.hero-image {
   
    flex: 0 0 350px; 
    height: 350px; 
    margin-left: auto; 
    margin-right: 0;
    
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: flex; 
    justify-content:center;
    align-items:center;
    background-color: #e0f2f7; 
}

.hero-image img {
  
    width: 100%;
    height: 100%;
    object-fit: contain; 
}



.community-stats {
    background-color: #483d8b; 
    color: white;
    padding: 60px 0;
    text-align: center;
}

.community-stats h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px); 
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-item .icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.5em;
    font-weight: bold;
    margin: 5px 0;
}

.stat-item p:last-child {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Footer */
.footer-bottom {
    background-color: #362f79; 
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 1.1em;
}


.chat-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #6a1b9a;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.dsa-intro-paragraph {
   
    background-color: #6a1b9a; 
    color: #ffffff; 
    padding: 25px 35px;
    margin: 30px auto 40px auto;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.15em;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
    
   
    animation: slideIn 1s ease-out forwards;
}

.dsa-intro-paragraph strong {
    color: #ffeb3b; 
    font-weight: 700;
}


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


.welcome-section {
    text-align: center; 
    padding: 40px 20px;
}



/* (Max width 992px) */
@media (max-width: 992px) {
    
    .container {
        padding: 0 15px;
    }
    
  
    .hero-section {
        padding: 60px 0;
    }
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
   
    .hero-content h1 {
        font-size: 2.5em; 
        margin-top: 20px;
    }
    .hero-content p {
        font-size: 1.1em;
    }

   
    .hero-image {
        
        margin: 0 auto 30px auto; 
        width: 80%; 
        max-width: 350px; 
        height: 300px; 
        order: -1; 
        
       
        flex: 0 0 auto; 
    }
    
    
    .stat-item {
        min-width: 150px; 
    }
}

/* (Max width 600px) */
@media (max-width: 600px) {
    
    
    body {
        font-size: 14px;
    }
    
   
    .navbar nav ul {
        display: none; 
    }
    .navbar .container {
        justify-content: center;
        padding: 10px 15px;
    }
    
    .navbar .logo {
        position: absolute; 
        left: 15px;
    }
    .navbar .btn-sigma {
        margin-left: auto;
        padding: 6px 12px;
    }

    
    .hero-section {
        padding: 40px 0;
    }
    .hero-content h1 {
        font-size: 2em; 
    }
    .hero-content p {
        font-size: 1em;
    }
    .btn-primary {
        padding: 12px 25px; 
        font-size: 1em;
    }
    
   
    .hero-image {
        width: 90%; 
        max-width: 250px; 
        height: 250px; 
        margin: 0 auto 20px auto;
    }

    
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
    .stat-item {
        min-width: unset; 
        padding: 15px;
    }

    
    .dsa-intro-paragraph {
        padding: 20px 15px;
        font-size: 1em;
    }
    

    .chat-bubble {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 1.5em;
    }
}