/* Main Styles */
:root {
    --dark-bg: #1e1e1e;
    --card-bg: #2d2d2d;
    --primary-color: #00e5b0;
    --text-color: #ffffff;
    --secondary-text: #a0a0a0;
}

/* Page Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-circle {
    width: 120px;
    height: 120px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loader-name {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color);
    letter-spacing: 2px;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease-out;
    position: absolute;
    left: 0;
    top: 0;
}

.loader-percentage {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body {
    font-family: 'Red Rose', cursive;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

.main-container {
    padding: 20px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-row{
    width: 90%;
    height: 100%;
    max-height: 100vh;
}

/* Profile Box Styles */
.profile-box {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

/* Mobile Menu Toggle (Burger Icon) */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 100;
    background-color: var(--primary-color);
    border-radius: 5px;
    justify-content: center;
    align-items: center;
}

.burger-icon, .burger-icon:before, .burger-icon:after {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--dark-bg);
    transition: all 0.3s ease;
    position: relative;
}

.burger-icon:before, .burger-icon:after {
    content: '';
    position: absolute;
}

.burger-icon:before {
    top: -8px;
}

.burger-icon:after {
    bottom: -8px;
}

/* Active state for burger icon (X shape) */
.mobile-menu-toggle.active .burger-icon {
    background-color: transparent;
}

.mobile-menu-toggle.active .burger-icon:before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .burger-icon:after {
    bottom: 0;
    transform: rotate(-45deg);
}

.profile-image {
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image img {
    width: 75%;
    height: 100%;
    object-fit: cover;
    border: 3px solid white;
    border-radius: 50%;
}

.profile-name {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;

}

.download-cv .btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 18px;
}

.nav-tabs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    width: 100%;
    position: relative;
    background-image: none;
}

/* Remove the horizontal line */
.nav-tabs::before {
    content: none;
}

.nav-tabs::after {
    content: none;
}

.first-row::after {
    content: none;
    display: none;
    border: none;
}

.nav-row {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    border-bottom: none;
    border-top: none;
}

/* Specifically target and remove the horizontal line */
.first-row::after, .second-row::before {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* Remove any horizontal rule elements */
hr, .horizontal-line {
    display: none !important;
}

.first-row, .second-row {
    position: relative;
}

/* Remove the white line between rows */
.first-row::after {
    display: none;
}

.nav-tabs {
    position: relative;
}

/* Remove any potential border or separator */
.nav-tabs::before, .nav-tabs::after {
    display: none;
    content: none;
    border: none;
}

.nav-item {
    width: 40px;
    height: 40px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: var(--secondary-text);
    font-size: 22px;
}

.nav-item .fas{
    font-size: 30px;
    color: var(--primary-color);
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item span {
    position: absolute;
    bottom: -20px;
    font-size: 14px;
    display: none;
    color: var(--text-color);
}

.nav-item.active span {
    display: block;
}

.content-box {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    position: relative;
    display: block;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--card-bg);
}

.content-box::-webkit-scrollbar {
    width: 8px;
}

.content-box::-webkit-scrollbar-track {
    background: var(--card-bg);
}

.content-box::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 2px solid var(--card-bg);
}

.tab-content {
    display: none;
    height: 100%;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    height: auto;
    min-height: 100%;
}

.hero-content {
    z-index: 2;
    text-align: center;
    margin-top: 30px;
}

.role-title span {
    color: var(--primary-color);
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.typed-cursor{
    color: var(--text-color) !important;
}

.greeting {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.highlight {
    color: var(--primary-color);
}

.welcome {
    font-size: 28px;
    color: var(--secondary-text);
    margin-bottom: 30px;
}

.intro-video-container {
    margin: 30px auto;
    max-width: 600px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
}

.intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
}

.video-caption {
    margin-top: 15px;
    color: var(--primary-color);
    font-size: 16px;
    font-style: italic;
}

.devices-illustration {
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 300px;
    height: 200px;
    z-index: 1;
}

.devices-illustration:before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 150px;
    height: 100px;
    border: 2px solid #3a3a3a;
    border-radius: 10px;
}

.devices-illustration:after {
    content: '';
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 100px;
    height: 70px;
    border: 2px solid #3a3a3a;
    border-radius: 10px;
}

/* Social Column Styles */
.social-column {
    background-color: var(--card-bg);
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 15px;
}

.date-display {
    text-align: center;
    width: 100%;
    padding: 5px 0;
}

.day {
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.month, .year {
    font-size: 25px;
    margin: 2px 0;
}

.follow-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    position: relative;
}

.vertical-text {
    transform: rotate(90deg);
    transform-origin: left top;
    position: absolute;
    left: 50%;
    top: 0;
    white-space: nowrap;
    font-size: 14px;
    color: var(--secondary-text);
}

.vertical-line {
    width: 2px;
    height: 40px;
    background-color: var(--primary-color);
    margin: 60px 0 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.scroll-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.scroll-up, .scroll-down {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.content-column {
    height: 100%;
    overflow: hidden;
    position: relative;
}



/* About Section Styles */
.about-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    text-align: left;
}

.about-image {
    flex: 0 0 40%;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    z-index: 1;
    transform: translate(10px, 10px);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    position: relative;
    z-index: 2;
}

.about-content {
    flex: 0 0 60%;
    padding-left: 40px;
}

.about-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--secondary-text);
}

.about-info {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    margin-bottom: 15px;
}

.info-item {
    flex: 0 0 50%;
}

.info-label {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 5px;
}

.info-value {
    color: var(--text-color);
}

.download-cv {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}


.download-cv .btn:hover {
    background-color: #00c59e;
    transform: translateY(-3px);
}

.download-cv .btn-call {
    background-color: #00d6aa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-cv .btn-call:before {
    content: '\f095'; /* Phone icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.download-cv .btn-call:hover {
    background-color: #00e6b8;
}

.hire-me .btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

.hire-me .btn:hover {
    background-color: #00c59e;
    transform: translateY(-3px);
}

/* Skills and Statistics Section */
.skills-stats-container {
    width: 100%;
    margin-top: 50px;
}

/* Statistics Row */
.stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #3a3a3a;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.stat-icon {
    margin-bottom: 15px;
}

.stat-icon img {
    width: 50px;
    height: 50px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-title {
    font-size: 16px;
    color: var(--secondary-text);
}

/* Skills Description */
.skills-description {
    display: flex;
    justify-content: space-between;
}

.skills-text {
    flex: 0 0 60%;
    padding-right: 30px;
    text-align: left;
}

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

.skills-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-text);
}

.skills-list {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
}

.skill-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 15px;
}

.skill-dot.green {
    background-color: var(--primary-color);
}

.skill-dot.yellow {
    background-color: #ffb400;
}

.skill-dot.red {
    background-color: #ff5757;
}

.skill-name {
    font-size: 16px;
    color: var(--text-color);
}


/* Skills Progress Section Styles */
.skills-progress-container {
    display: flex;
    width: 100%;
    margin-top: 50px;
    gap: 40px;
}

.skills-progress-column {
    flex: 1;
}

.skills-title {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 5px;
}

.skills-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

/* Progress Bar Styles */
.skill-progress-item {
    margin-bottom: 25px;
}

.skill-progress-label {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.skill-progress-bar {
    height: 8px;
    background-color: #3a3a3a;
    border-radius: 4px;
    position: relative;
    margin-bottom: 5px;
}

.skill-progress-fill {
    height: 100%;
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 0;
}

.skill-progress-fill.teal {
    background-color: var(--primary-color);
}

.skill-progress-fill.yellow {
    background-color: #ffb400;
}

.skill-progress-fill.pink {
    background-color: #ff5757;
}

.skill-progress-percentage {
    text-align: right;
    font-size: 14px;
    color: var(--secondary-text);
}

/* Language Dots Styles */
.language-item {
    margin-bottom: 25px;
}

.language-label {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.language-level {
    color: var(--secondary-text);
    font-size: 14px;
}

.language-dots {
    display: flex;
    gap: 5px;
}

.language-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

.language-dot.filled {
    opacity: 1;
}

.language-dot.half-filled {
    background: linear-gradient(to right, currentColor 50%, transparent 50%);
    opacity: 0.5;
}

.language-dot.empty {
    opacity: 0.2;
}

.language-dot.pink {
    background-color: #ff5757;
}

.language-dot.teal {
    background-color: var(--primary-color);
}

.language-dot.yellow {
    background-color: #ffb400;
}


/* Resume Section Styles */
.resume-container {
    width: 100%;
    text-align: left;
}

.resume-section {
    margin-bottom: 50px;
}

.resume-title {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 5px;
}

.resume-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

/* Education Grid Styles */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
}

/* Vertical line in the middle */
.education-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.education-item {
    padding: 20px;
    position: relative;
}

.education-year {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.education-year.teal {
    background-color: var(--primary-color);
}

.education-year.yellow {
    background-color: #ffb400;
}

.education-year.pink {
    background-color: #ff5757;
}

.education-degree {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.education-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--secondary-text);
}

/* Experience Section Styles */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
}

/* Vertical line in the middle */
.experience-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.experience-item {
    padding: 20px;
    position: relative;
}

.experience-year {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.experience-year.teal {
    background-color: var(--primary-color);
}

.experience-year.yellow {
    background-color: #ffb400;
}

.experience-year.pink {
    background-color: #ff5757;
}

.experience-position {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.experience-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--secondary-text);
}



/* Portfolio Section Styles */
.portfolio-container {
    width: 100%;
    text-align: center;
}

.portfolio-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-color);
}

.portfolio-subtitle {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.portfolio-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

/* Portfolio Filter Buttons */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-size: 16px;
    padding: 5px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.filter-btn:hover {
    color: var(--primary-color);
}

.filter-btn.active:hover {
    color: var(--dark-bg);
}

/* Portfolio Gallery */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.view-project-btn {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-project-btn:hover {
    background-color: #00d6aa;
    transform: translateY(-2px);
}

/* Portfolio Modal Styles */
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: var(--dark-bg);
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.portfolio-modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1010;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.close-modal:hover {
    background-color: #00d6aa;
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px;
}

.modal-title {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.modal-description {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section Styles */
.services-container {
    width: 100%;
    text-align: center;
}

.services-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-color);
}

.services-subtitle {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.services-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: #333;
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--secondary-text);
}


/* Contact Section Styles */
.contact-container {
    width: 100%;
    text-align: center;
}

.contact-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-subtitle {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 40px;
}

.contact-content {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;

}

/* Contact Info Styles */
.contact-info {
    flex: 0 0 40%;
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
}

.info-title, .form-title {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.info-title::after, .form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.info-icon {
    flex: 0 0 40px;
    height: 40px;
    background-color: rgba(0, 198, 154, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.info-details h4 {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.info-details p {
    font-size: 14px;
    color: var(--secondary-text);
}

/* Social Links */
.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;

}

.social-link {
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    text-decoration: none;
}

.social-link .fab{
    font-size: 22px;
    color: var(--text-color);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Contact Form Styles */
.contact-form-container {
    flex: 0 0 60%;
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    background-color: #333;
    border: none;
    border-radius: 5px;
    padding: 12px 15px;
    color: var(--text-color);
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Placeholder styles for better visibility */
.form-control::placeholder {
    color: #aaaaaa;
    opacity: 1;
}

/* For Firefox */
.form-control::-moz-placeholder {
    color: #aaaaaa;
    opacity: 1;
}

/* For Internet Explorer */
.form-control:-ms-input-placeholder {
    color: #aaaaaa;
}

/* For Microsoft Edge */
.form-control::-ms-input-placeholder {
    color: #aaaaaa;
}

textarea.form-control {
    resize: none;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.btn-submit:hover {
    background-color: #00d6aa;
    transform: translateY(-3px);
}

/* Map Styles */
.contact-map {
    width: 100%;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

/* Responsive Styles */
@media (max-width: 1400px) {
.intro-video-container {
    max-width: 400px;
}
.main-container{
    align-items: flex-start;
}
}

@media (max-width: 1300px) {
    .contact-content{
        flex-direction: column;
    }
}

@media (max-width: 1200px) {
    .services-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .content-box{
        margin-bottom: 20px;
    }

    .main-container{
        height: 100%;
    }

    .main-row{
    width: 100%;    
    }

    .profile-image img{
        width: 35%;
    }

    .profile-column, .content-column {
        margin-bottom: 20px;
    }
    
    .nav-tabs {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--card-bg);
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 99;
        margin-top: 10px;
    }
    
    /* Show navigation when mobile menu is active */
    .nav-tabs.mobile-active {
        display: block;
    }
    
    /* Stack the navigation items vertically */
    .nav-row {
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .nav-item {
        width: 100%;
        text-align: left;
        padding: 10px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info, .contact-form-container {
        flex: 0 0 100%;
    }

    .social-column {
        display: none;
    }
    
    .date-display, .follow-me, .social-links, .scroll-buttons {
        margin: 0;
    }
    
    .follow-me {
        height: auto;
    }
    
    .vertical-text {
        transform: none;
        position: static;
    }
    
    .social-links {
        flex-direction: row;
    }

    .about-container {
        flex-direction: column;
    }
    
    .about-image, .about-content {
        flex: 0 0 100%;
    }
    
    .about-image {
      display: none;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .skills-description {
        flex-direction: column;
    }
    
    .skills-text, .skills-list {
        flex: 0 0 100%;
    }
    
    .skills-text {
        margin-bottom: 30px;
        padding-right: 0;
    }

    .skills-progress-container {
        flex-direction: column;
    }
    
    .skills-progress-column {
        width: 100%;
    }
    .education-grid::after,
    .experience-grid::after {
        display: none;
    }
    
    .education-item,
    .experience-item {
        padding: 15px 0;
    }

    .portfolio-gallery,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .info-title, .form-title {
        font-size: 20px;
    }
    
    .contact-map {
        margin-top: 20px;
    }
    
    .map-container {
        height: 200px;
    }
    
    .profile-box {
        padding: 20px 10px;
    }
    
    .devices-illustration {
        display: none;
    }
    
    .greeting {
        font-size: 28px;
    }
    
    .welcome {
        font-size: 22px;
    }

    .info-row {
        flex-direction: column;
    }
    
    .info-item {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }
    
    .stats-row {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }

    .skills-title {
        font-size: 20px;
    }
    
    .skill-progress-label, .language-label {
        font-size: 14px;
    }

    .resume-title {
        font-size: 24px;
    }
    
    .education-degree,
    .experience-position {
        font-size: 16px;
    }

    .portfolio-gallery,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filter {
        gap: 10px;
    }
    
    .filter-btn {
        font-size: 14px;
        padding: 5px 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 15% auto;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .service-item {
        padding: 20px 15px;
    }
    
    .service-icon {
        font-size: 32px;
    }
    
    .service-title {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .education-grid, .experience-grid {
        grid-template-columns: 1fr;
    }

    .greeting {
        font-size: 25px;
    }

    .role-title span {
        font-size: 17px;
    }

    .main-row{
        height: 100%;
        max-height: 100%;
    }
}
