/* Reset and base styles with smooth scrolling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
      scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For IE and Edge */
}


html::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}
body {
    background-color: #f5f5f5;
    color: #333;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                      url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Navbar styles with animation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo {
    height: 45px;
    width: auto;
    transition: transform 0.5s;
}

.logo:hover {
    transform: rotate(15deg);
}

.website-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2c3e50;
   background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #7f8c8d;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #2c3e50;
}

.nav-link.active::after {
    width: 100%;
    background-color: #2c3e50;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    font-weight: 600;
}

.profile-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.profile-btn:active {
    transform: translateY(1px);
}

/* Main content styles with animation */
.main-content {
    display: flex;
    justify-content: space-between;
    padding: 5rem 8%;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-left {
    flex: 1;
    max-width: 60%;
    padding-right: 2rem;
}

.website-title {
    font-size: 3rem;

    margin-bottom: 0.5rem;
    color: #2c3e50;
    line-height: 1.2;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
    }
    to {
        text-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
    }
}

.website-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}



@keyframes float {
    0% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
    100% { transform: translateY(0px) rotateY(0deg); }
}

.icons-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.4s;
    padding: 1rem;
    border-radius: 10px;
}

.icon-box:hover {
    transform: translateY(-10px) scale(1.05);
    background-color: rgba(52, 152, 219, 0.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.icon-large {
    font-size: 2.5rem;
    color: #3498db;
    transition: all 0.3s;
}

.icon-box:hover .icon-large {
    color: #e74c3c;
    transform: rotate(15deg);
}

.icon-box span {
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s;
}

.icon-box:hover span {
    color: #e74c3c;
}

/* Responsive design */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        padding: 3rem 5%;
    }
    
    .content-left {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
   
    
    .icons-container {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .nav-links {
        margin: 1.5rem 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .website-title {
        font-size: 2.2rem;
    }
    
    .website-description {
        font-size: 1.1rem;
    }
    
    
}
/* Main Content Styles */
.main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 8%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.content-left {
    flex: 1;
    min-width: 50%;
}

.content-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out, float 6s ease-in-out infinite;
    transform-origin: center;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Entrance animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add a gentle pulse effect on hover */
.content-right:hover img {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Add a subtle glow effect */
.content-right img {
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.3));
    transition: filter 0.3s ease;
}

.content-right:hover img {
    filter: drop-shadow(0 0 15px rgba(46, 204, 113, 0.4));
}

.logo-image-container {
    max-width: 300px;
    padding: 1rem;
}

.school-logo {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        padding: 3rem 5%;
    }
    
    .logo-image-container {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5%;
    }
    
    .content-left, 
    .content-right {
        width: 100%;
        max-width: 100%;
    }
    
    .content-right {
        order: -1; /* Moves logo above text on mobile */
        margin-bottom: 2rem;
    }
    
    .logo-image-container {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-image-container {
        max-width: 180px;
    }
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
/* Floating animation for all elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
/* Theme Toggle Styles */
.theme-toggle {
    margin-left: 0rem;
    display: flex;
    align-items: center;
}

.toggle-input {
    display: none;
}

.toggle-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 30px;
    background: #2c3e50;
    border-radius: 50px;
    padding: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-label i {
    font-size: 14px;
    z-index: 1;
}

.toggle-label .fa-moon {
    color: #f1c40f;
}

.toggle-label .fa-sun {
    color: #f39c12;
}

.toggle-ball {
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    left: 0px;
    transition: transform 0.3s ease;
}

.toggle-input:checked + .toggle-label .toggle-ball {
    transform: translateX(30px);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #f5f5f5;
}

body.dark-mode .navbar {
    background-color: rgba(30, 30, 30, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .website-name {
    color: #f5f5f5;
}

body.dark-mode .nav-link {
    color: #bdc3c7;
}

body.dark-mode .nav-link:hover {
    color: #3498db;
}

body.dark-mode .nav-link.active {
    color: #f5f5f5;
}

body.dark-mode .website-title,
body.dark-mode .icon-box span {
    color: #f5f5f5;
}

body.dark-mode .website-description {
    color: #bdc3c7;
}

body.dark-mode .toggle-label {
    background: #3498db;
}
/* Add this to your existing CSS */

/* Description Box Styles */
.description-box {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out;
}

.box-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.description-box h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.description-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 180px;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 1.8rem;
    color: #3498db;
}

.feature span {
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .description-box {
        padding: 2rem 1rem;
    }
    
    .features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature {
        width: 100%;
    }
}