/*============================================
Template Name:  Icard - Personal Portfolio
Author: GeniusDevs.
Version: 1.0 (Enhanced by Antigravity)

===========================
Table of Css Content 
===========================*/
/* Typography */
/* Normalize  */
/* Global style */
/* Main Menu Area Start */
/* Hero Area Start */
/* About Area Start */
/* Skill Area Start */
/* Blog Area Start */
/* Blog details Area Start */
/* Portfolio Start */
/* Portfolio Detagils Area Start */
/* CONTACT INFO AREA Start */
/* SECTION TITLE Start */

:root {
    --bg-dark: #0a192f;
    --bg-card: #112240;
    --text-main: #8892b0;
    --text-heading: #ccd6f6;
    --accent: #64ffda;
    --accent-rgb: 100, 255, 218;
    --white: #e6f1ff;
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
}

/* Typography */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap");

/* Normalize  */
html {
  font-family: 'Outfit', sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: var(--text-main);
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

body.modal-open {
  padding-right: 0px !important;
}

h1,h2,h3,h4,h5,h6 {
  color: var(--text-heading);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  margin: 0 0 20px 0;
}

h1 { font-size: 70px; line-height: 1.1; }
h2 { font-size: 48px; line-height: 1.2; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }

p {
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--text-heading);
  text-decoration: none;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

img {
  max-width: 100%;
  border-radius: 8px;
}

/* Glassmorphism Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
}

.section-bg {
  background-color: var(--bg-dark);
}

/* GLOBAL BTN */
.mybtn {
  padding: 12px 30px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'CheckBrains Mono', monospace;
  font-size: 14px;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.mybtn:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-3px);
  color: var(--accent);
}
.mybtn:hover span {
    color: var(--accent);
}

.mybtn-bg {
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 600;
}
.mybtn-bg:hover {
    background: var(--text-heading);
    color: var(--bg-dark);
}

/* NAVBAR */
.mainmenu-area {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

@media (max-width: 991px) {
    .mainmenu-area {
        position: fixed;
        right: 0;
        top: 0;
        transform: none;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }
    .mainmenu-area.active {
        opacity: 1;
        visibility: visible;
    }
}

.navbar-links li {
    margin: 20px 0;
    text-align: right;
}

.navbar-links li a {
    color: var(--text-main);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px;
    position: relative;
}

.navbar-links li a:hover, .navbar-links li a.active {
    color: var(--accent);
}
.navbar-links li a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}
.navbar-links li a:hover::after, .navbar-links li a.active::after {
    width: 100%;
}


/* HERO AREA */
.home {
    background: var(--bg-dark);
    padding-top: 0;
}

.main-profile-image img {
    border-radius: 12px;
    mix-blend-mode: normal;
    filter: grayscale(20%) contrast(1.1);
    transition: all 0.3s;
    box-shadow: 20px 20px 0px var(--accent);
}
.main-profile-image:hover img {
    filter: none;
    transform: translate(-5px, -5px);
    box-shadow: 25px 25px 0px var(--accent);
}

.hero-box .greeting {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    display: block;
    margin-bottom: 15px;
}

.hero-box .name {
    color: var(--text-heading);
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 10px;
}
.hero-box .name span {
    color: var(--accent);
}

.hero-box .header_title {
    color: var(--text-main);
    font-size: 40px;
}

/* SECTION HEADINGS */
.section-heading .s-h-title {
    font-size: 32px;
    color: var(--text-heading);
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}
.section-heading .s-h-title span {
    color: var(--accent);
}
.section-heading .s-h-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 2px;
    background: var(--accent);
}

/* ABOUT & SERVICE CARDS */
.about-box .info-list li {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(136, 146, 176, 0.1);
    padding-bottom: 10px;
}
.about-box .info-list .title {
    color: var(--text-heading);
    font-weight: 600;
}
.about-box .info-list .value {
    color: var(--text-main);
}

.single-service {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: block;
    height: 100%;
    margin-bottom: 30px;
}

.single-service:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(17, 34, 64, 0.9);
}

.single-service .title {
    color: var(--text-heading);
    margin-top: 15px;
    font-size: 18px;
}

/* SKILLS */
.skill-box {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    height: 100%;
}
.skill-box .title {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}
.progress {
    height: 8px;
    background-color: var(--bg-dark);
    border-radius: 4px;
    margin-bottom: 20px;
}
.progress-bar {
    background-color: var(--accent);
}
.label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: var(--text-heading);
}

/* RESUME/TIMELINE */
.single-education {
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 40px;
    position: relative;
}
.single-education::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
}
.single-education .collage-name {
    color: var(--text-heading);
    font-size: 20px;
}
.single-education .degree {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 10px;
}
.single-education .description p {
    font-size: 15px;
}

/* PORTFOLIO */
.project-gallery-menu li {
    color: var(--text-main);
    cursor: pointer;
    margin: 0 15px;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s;
}
.project-gallery-menu li.active, .project-gallery-menu li:hover {
    color: var(--accent);
}

.item-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}
.item-thumbnail img {
    transition: all 0.5s ease;
    width: 100%;
}
.item-thumbnail:hover img {
    transform: scale(1.1);
    filter: blur(2px) brightness(0.5);
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    background: rgba(10, 25, 47, 0.85);
}
.item-thumbnail:hover .content-overlay {
    opacity: 1;
}
.content-overlay .project-title {
    color: var(--accent);
    font-size: 22px;
    transform: translateY(20px);
    transition: all 0.3s;
}
.item-thumbnail:hover .content-overlay .project-title {
    transform: translateY(0);
}
.content-overlay .project-category {
    color: var(--text-heading);
    font-family: 'JetBrains Mono', monospace;
}

/* CONTACT */
.single-info {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.single-info:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}
.single-info .info-icon {
    font-size: 30px;
    color: var(--accent);
    margin-bottom: 20px;
}
.single-info h5 {
    color: var(--text-heading);
    font-size: 18px;
}
.single-info p {
    font-size: 15px;
    font-family: 'JetBrains Mono', monospace;
}

/* MENU TOGGLE */
.toggle-icon {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
    background: var(--bg-card);
    width: 50px;
    height: 50px;
    border-radius: 5px;
    display: none; /* Show on mobile via media query if needed, but keeping logic consistent */
}
@media (max-width: 991px) {
    .toggle-icon {
        display: block;
    }
}
#nav-icon3 span {
    background: var(--accent);
}


/* PRELOADER */
.preloader {
    background-color: var(--bg-dark);
}
.loader-1 .loader-outter {
    border: 4px solid var(--accent);
    border-left-color: transparent;
}
.loader-1 .loader-inner {
    border: 4px solid var(--text-heading);
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    .mainmenu-area {
        width: 100%;
        background: rgba(10, 25, 47, 0.95);
        backdrop-filter: blur(10px);
    }
    .navbar-links li {
        text-align: center;
    }
}
