/* CSS Variables */
:root {
    --primary: #0b95ff;
    --secondary: #4bdeeb9a;
    --dark: #0012b3;
    --light: #1f568e;
    --gray: #6c757d;
    --body-bg: #ca9898;
    --card-bg: #e4fefff5;
    --text-color: #0378a69a;
    --border-color: #26d1a467;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Dark Mode Variables */
.dark-mode {
    --body-bg: #ff3838f7;
    --card-bg: #7fffb2;
    --text-color: #38ff6db8;
    --border-color: #01620d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.168);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(243, 255, 255);
    color: rgb(34, 0, 255);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background: rgba(0, 149, 255, 0.56);
    color: rgba(255, 255, 255, 0.947);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: rgba(0, 0, 0, 0.599);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    background-color: #eefcfc;
    box-shadow: black;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.085);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}
.logo a{
    text-decoration: none;
    color: rgb(0, 86, 171);
}
.logo a:hover {
    color: rgba(0, 0, 0, 0.212);
    transition: all 0.5s ease-in;
    box-shadow: 1px 1px 10px 1px;
    border-radius: 25px;
    padding: 0px 30px 0px 30px ;
}

.logo span a{
    color: rgb(2, 125, 226);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: rgba(42, 42, 184, 0.847);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    box-shadow: 0px 0px 3px 0px;
    padding: 0px 10px 0px 10px;
    border-radius: 25px;
    transition: all 1s ease;
}

.nav-links a:hover {
    color: rgba(5, 27, 31, 0.948);
    background-color: #ffffff09;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.066);
    padding: 0px 10px 0px 10px;
    border-radius: 25px;
    transition: all 0.5s ease;
}

.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0.405);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 20px;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.553);
    color: rgb(18, 0, 111);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-color);
}
.hero-text h1 a{
    text-decoration: none;
    color: rgba(0, 149, 255, 0.56);
    font-family: Tahoma, sans-serif;
}

.hero-text h1 span {
    color: var(--text-color);
}

.hero-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons .btn:first-child {
    margin-right: 20px;
}
.social-links a{
    margin: 50px 5px 50px 5px ;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 60%;
    border-radius: 20px;
    border-bottom: 10px solid rgba(94, 136, 251, 0.76);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.179);
    background-color: rgba(0, 149, 255, 0.56);
    
}
.hero-image img:hover {
    transform: scale(1.05);
    transition: all 0.5s ease;
    cursor: pointer;
    border: 20px solid rgba(141, 172, 255, 0.76);
}

/* About Section */
/* .about {
    
} */

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}
.about-image img:hover {
    transform: scale(1.05);
    transition: all 0.5s ease;
    cursor: pointer;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 17px;
}

.info-list {
    list-style: none;
    margin-bottom: 30px;
}

.info-list li {
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.57);
}

.info-list li strong {
    color: rgba(25, 103, 43, 0.627);
    margin-right: 10px;
    min-width: 80px;
    display: inline-block;
}

/* Skills Section */
/* .skills {
    background-color: #ffffffff;
} */

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-item {
    background: rgba(0, 0, 0, 0.021);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.skill-bar {
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 5px;
    position: relative;
    width: 0;
    transition: width 1s ease;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
}

.ed {
    align-items: center;
    justify-content: center;
    margin: 50px;
}

.ed .btn {
    min-width: 100%;
    align-items: center;
    text-align: center;
    background-color: #59b7ff19;
    box-shadow: var(--shadow);

}

/* Projects Section */
/* .projects {
    background-color: #ffffffff;
} */

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    background: rgba(0, 0, 255, 0.019);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.project-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.144);
    color: var(--gray);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Contact Section */
/* .contact {
    background-color: #ffffffff;
} */

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.contact-info-content h3 {
    font-size: 18px;
    margin-bottom: 0px;
    color: rgb(0, 102, 192);
}

.contact-info-content p {
    color: var(--gray);
}
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: rgb(213, 255, 255);
    color: rgba(42, 39, 39, 0.821);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-column p {
    margin-bottom: 20px;
    color: #454343d2;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgb(101, 68, 248);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: rgba(111, 255, 128, 0.56);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #00300c;
    text-decoration: none;
    transition: color 0.3s;
    box-shadow: 0px 1px 5px 0px;
    padding: 0px 10px 0px 10px;
    border-radius: 5px;
    transition: all 1s ease;
}

.footer-links a:hover {
    color: rgb(255, 0, 0);
    box-shadow: 0px 1px 5px 0px;
    padding: 0px 10px 0px 10px;
    border-radius: 5px;
    transition: all 1s ease;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #3f3f3f;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 30px;
    }
}