/**
* Template Name: iPortfolio - v1.2.1
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
 :root {
            --primary-color: #667eea;
            --secondary-color: #764ba2;
            --accent-color: #f093fb;
            --text-dark: #1a1a1a;
            --text-light:rgb(194, 187, 187);
            --bg-dark: #0a0a0a;
            --bg-light: #ffffff;
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-border: rgba(255, 255, 255, 0.2);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* Modern Glassmorphism Header */
        #header {
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            width: 300px;
            background: linear-gradient(135deg, rgb(22 28 51), rgb(17 30 45));
            backdrop-filter: blur(20px);
            border-right: 1px solid var(--glass-border);
            z-index: 9997;
            transition: all 0.5s ease;
        }

        #header .profile {
            padding: 30px 20px;
            text-align: center;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            border-radius: 20px;
            margin: 20px;
            border: 1px solid var(--glass-border);
        }

        #header .profile img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid var(--primary-color);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
        }

        #header .profile img:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
        }

        #header .profile h1 {
            font-size: 24px;
            margin: 15px 0 5px 0;
            font-weight: 700;
            color: var(--text-light);
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        #header .profile h1 a {
            color: var(--text-light);
            text-decoration: none;
        }

        #header .social-links {
            margin-top: 20px;
        }

        #header .social-links a {
            font-size: 18px;
            display: inline-block;
            color: var(--text-light);
            line-height: 1;
            margin: 0 8px;
            transition: all 0.3s ease;
            padding: 10px;
            border-radius: 50%;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
        }

        #header .social-links a:hover {
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
        }

        /* Modern Navigation */
        .nav-menu {
            padding: 20px 0;
        }

        .nav-menu ul {
            list-style: none;
            padding: 0;
        }

        .nav-menu li {
            position: relative;
            margin-bottom: 10px;
        }

        .nav-menu a {
            display: flex;
            align-items: center;
            color: var(--text-light);
            padding: 15px 30px;
            margin: 0 10px;
            transition: all 0.3s ease;
            position: relative;
            text-decoration: none;
            border-radius: 15px;
            font-weight: 700;
        }

        .nav-menu a i {
            font-size: 30px;
            margin-right: 15px;
        }

        .nav-menu a:hover, .nav-menu .active > a {
            color: var(--primary-color);
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            transform: translateX(5px);
        }

        /* Hero Section with Dynamic Background */
        /* #hero {
            width: 100%;
            height: 100vh;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)), url(assets/img/<?=$data['homewallpaper']?>);
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        } */

        #hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
            backdrop-filter: blur(2px);
        }

        .hero-container {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
        }

        .hero-container h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 20px;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            animation: fadeInUp 1s ease-out;
        }

        .hero-container p {
            font-size: 1.5rem;
            margin-bottom: 30px;
            opacity: 0.9;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        /* Main Content Area */
        #main {
            margin-left: 300px;
            padding: 0;
        }

        /* Modern Section Styling */
        section {
            padding: 100px 0;
            position: relative;
        }

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

        .section-title h2 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }


    


        .section-title h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* About Section */
        #about {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            position: relative;
            overflow: hidden;
        }

        #about::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
            animation: float 20s ease-in-out infinite;
        }

        #about .container {
            position: relative;
            z-index: 2;
        }

        #about .row {
            align-items: center;
        }

        #about img {
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        #about img:hover {
            transform: scale(1.05);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }

        #about .content {
            background: rgba(255, 255, 255, 0.9);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        #about .content h3 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 15px;
        }

        #about .content ul li {
            background: rgba(255, 255, 255, 0.7);
            padding: 10px 15px;
            margin: 10px 0;
            border-radius: 10px;
            border-left: 4px solid var(--primary-color);
        }

        /* Skills Section */
        #skills {
            background: var(--bg-dark);
            color: white;
            position: relative;
            overflow: hidden;
        }

        #skills::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        }

        #skills .container {
            position: relative;
            z-index: 2;
        }

        #skills .section-title h2 {
            color: white;
        }

        .progress {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            margin-bottom: 30px;
            overflow: hidden;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .progress .skill {
            padding: 15px 20px;
            color: white;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .progress-bar-wrap {
            background: rgba(255, 255, 255, 0.1);
            height: 8px;
            border-radius: 4px;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 4px;
            transition: width 2s ease;
        }

        /* Portfolio Section */
        #portfolio {
            background: linear-gradient(135deg, #141727 0%, #323967 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        #portfolio::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
            opacity: 0.3;
        }

        #portfolio .container {
            position: relative;
            z-index: 2;
        }

        #portfolio .section-title h2 {
            color: white;
        }

        .portfolio-item {
            margin-bottom: 30px;
        }

        .portfolio-wrap {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .portfolio-wrap:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .portfolio-wrap img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: all 0.3s ease;
        }

        .portfolio-wrap:hover img {
            transform: scale(1.1);
        }

        .portfolio-links {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgb(20 26 51 / 65%);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .portfolio-wrap:hover .portfolio-links {
            opacity: 1;
        }

        .portfolio-links a {
            color: white;
            font-size: 24px;
            margin: 0 10px;
            padding: 15px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .portfolio-links a:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        /* Contact Section */
        #contact {
            background: linear-gradient(135deg, #141727 0%, #323967 100%);
            position: relative;
        }

        #contact .info {
            background: rgba(255, 255, 255, 0.9);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            height: 100%;
        }

        #contact .info div {
            margin-bottom: 30px;
        }

        #contact .info i {
            font-size: 24px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        #contact .php-email-form {
            background: rgba(255, 255, 255, 0.9);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            height: 100%;
        }

        #contact .php-email-form input,
        #contact .php-email-form textarea {
            border: 1px solid rgba(102, 126, 234, 0.2);
            border-radius: 10px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
        }

        #contact .php-email-form input:focus,
        #contact .php-email-form textarea:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        #contact .php-email-form button {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            padding: 15px 40px;
            border-radius: 25px;
            color: white;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        #contact .php-email-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
        }

        /* Footer */
        footer {
            background: var(--bg-dark);
            color: white;
            padding: 40px 0;
            margin-left: 300px;
            text-align: center;
        }

        footer a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
        }

        /* Responsive Design */
        @media (max-width: 1199px) {
            #header {
                left: -300px;
            }
            #main {
                margin-left: 0;
            }
            footer {
                margin-left: 0;
            }
        }

        @media (max-width: 768px) {
            .hero-container h1 {
                font-size: 2.5rem;
            }
            .hero-container p {
                font-size: 1.2rem;
            }
            .section-title h2 {
                font-size: 2rem;
            }
            #about .content,
            #contact .info,
            #contact .php-email-form {
                margin-bottom: 30px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        /* Mobile Navigation Toggle */
        .mobile-nav-toggle {
            position: fixed;
            top: 15px;
            right: 15px;
            z-index: 9998;
            border: 0;
            background: var(--primary-color);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            transition: all 0.3s ease;
        }

        .mobile-nav-toggle:hover {
            background: var(--secondary-color);
            transform: scale(1.05);
        }

        @media (max-width: 1199px) {
            .mobile-nav-toggle {
                display: flex;
            }
        }

    
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            display: none;
            background: var(--primary-color);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            text-align: center;
            line-height: 50px;
            font-size: 20px;
            z-index: 9999;
            transition: all 0.3s ease;
        }

        .back-to-top:hover {
            background: var(--secondary-color);
            transform: scale(1.1);
        }