/*
 * *************************************************
 * Copyright (C) 2025 DimSagara.                   *
 * Codeigniter 4 Template Modification             *
 * Please contact our email for more information : *
 * andhytaslin@gmail.com                            *
 * *************************************************
 */
.hero-subtitle,
.hero-title,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 1rem;
}
.blog-slider,
html {
    scroll-behavior: smooth;
}
.blog-date,
.hero-buttons .btn,
.template-badge {
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-section,
.min-vh-100 {
    min-height: 100vh;
}
:root {
    --primary-blue: #b3e5fc;
    --dark-blue: #0277bd;
    --light-blue: #e1f5fe;
    --neon-green: #65c865;
    --neon-green-dark: #00cc00;
    --slate-gray: #2c3e50;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --border-color: #d0d0d0;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
}
.hero-title,
.navbar-brand,
h1,
h2 {
    font-weight: 700;
}
h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}
h2 {
    font-size: 2.5rem;
}
h3 {
    font-size: 1.75rem;
}
p {
    color: var(--text-light);
}
a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: var(--transition);
}
.footer-bottom a,
.price-value,
a:hover {
    color: var(--neon-green);
}
.navbar-custom {
    background-color: var(--white) !important;
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-blue);
    z-index: 1000;
}
.project-card,
.skill-category {
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}
.navbar-brand {
    font-size: 1.5rem;
    color: var(--slate-gray) !important;
    letter-spacing: 1px;
}
.brand-icon {
    color: var(--neon-green);
    margin-right: 0.5rem;
    font-size: 1.3rem;
}
.navbar-nav .nav-link {
    margin: 0 0.5rem;
    color: var(--text-dark) !important;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--neon-green) !important;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-green);
    transition: width 0.3s;
}
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    width: 100%;
}
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}
.hero-background,
[class^="hero-bg-"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(179, 229, 252, 0.85) 0,
        rgba(44, 62, 80, 0.75) 100%
        );
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: left;
}
.hero-title {
    font-size: 4.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: 0.8s slideInLeft;
}
.hero-subtitle {
    font-size: 1.75rem;
    color: var(--light-blue);
    animation: 0.8s 0.2s both slideInLeft;
}
.hero-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--neon-green);
    animation: 0.8s 0.4s both slideInLeft;
    border-left: 4px solid var(--neon-green);
    padding-left: 1rem;
}
.tech-stack-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: 0.8s 0.6s both slideInLeft;
}
.tech-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    color: var(--white);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.tech-icon:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: var(--neon-green);
    color: var(--neon-green);
    transform: translateY(-2px);
}
.tech-icon i {
    font-size: 1.1rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: 0.8s 0.8s both slideInLeft;
}
.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}
.hero-buttons .btn-primary {
    background-color: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--text-dark);
}
.hero-buttons .btn-primary:hover {
    background-color: var(--neon-green-dark);
    border-color: var(--neon-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 255, 0, 0.3);
}
.hero-buttons .btn-outline-primary {
    border-color: var(--white);
    color: var(--white);
}
.hero-buttons .btn-outline-primary:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--neon-green);
    transform: translateY(-3px);
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--slate-gray);
    position: relative;
    display: inline-block;
    width: 100%;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-blue) 0,
        var(--neon-green) 100%
        );
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    margin-top: 2rem;
}
.projects-section {
    background-color: var(--light-gray);
    position: relative;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}
.project-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.project-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(179, 229, 252, 0.3) 0,
        rgba(0, 255, 0, 0.2) 100%
        );
    transition: var(--transition);
}
.project-card:hover .project-image::after {
    background: linear-gradient(
        135deg,
        rgba(179, 229, 252, 0.5) 0,
        rgba(0, 255, 0, 0.4) 100%
        );
}
.blog-content,
.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--slate-gray);
}
.project-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}
.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.tag {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--dark-blue);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.project-links,
.project-price {
    display: flex;
    gap: 0.5rem;
}
.project-price {
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-blue);
    border-radius: 8px;
}
.price-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}
.project-links .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.9rem;
}
.skills-section {
    position: relative;
    background-color: var(--white);
}
.skills-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}
.skill-bar,
.skills-matrix,
.timeline,
.timeline-item {
    position: relative;
}
.skills-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    z-index: 1;
}
.skill-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--neon-green);
}
.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}
.timeline-marker,
.timeline::before {
    left: 50%;
    transform: translateX(-50%);
}
.skill-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-gray);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.skill-category-title i {
    color: var(--neon-green);
    font-size: 1.5rem;
}
.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.skill-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}
.skill-progress {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--primary-blue) 0,
        var(--neon-green) 100%
        );
    border-radius: 10px;
    transition: width 0.8s;
}
.ongoing-status,
.skill-level {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-green);
    text-align: right;
}
.contact-section,
.history-section {
    background-color: var(--light-gray);
}
.timeline {
    padding: 2rem 0;
}
.timeline::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        180deg,
        var(--primary-blue) 0,
        var(--neon-green) 100%
        );
}
.timeline-item {
    display: flex;
    margin-bottom: 2rem;
}
.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}
.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--neon-green);
    border: 4px solid var(--white);
    border-radius: 50%;
    top: 0;
    box-shadow: 0 0 0 4px var(--primary-blue);
    z-index: 10;
}
.ongoing-card,
.timeline-content {
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}
.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
}
.timeline-content:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}
.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-gray);
    margin-bottom: 0.5rem;
}
.timeline-company {
    font-size: 0.95rem;
    color: var(--neon-green);
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.timeline-period {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}
.timeline-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}
.ongoing-section,
.templates-section {
    background-color: var(--white);
}
.ongoing-card {
    background: linear-gradient(
        135deg,
        var(--light-blue) 0,
        rgba(179, 229, 252, 0.5) 100%
        );
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--neon-green);
}
.blog-card,
.contact-form,
.contact-info,
.ongoing-card:hover {
    box-shadow: var(--shadow-medium);
}
.ongoing-card:hover {
    transform: translateY(-4px);
}
.ongoing-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ongoing-header i {
    font-size: 2rem;
    color: var(--neon-green);
}
.ongoing-header h3 {
    font-size: 1.25rem;
    color: var(--slate-gray);
    margin: 0;
}
.ongoing-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.ongoing-progress {
    width: 100%;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--primary-blue) 0,
        var(--neon-green) 100%
        );
    border-radius: 10px;
}
.blog-section {
    position: relative;
    background-color: var(--light-gray);
}
.blog-background,
.blog-image::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.blog-background {
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}
.blog-slider-container {
    position: relative;
    z-index: 1;
    margin: 2rem 0;
}
.blog-date,
.contact-form label {
    margin-bottom: 0.5rem;
}
.blog-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
}
.blog-slider::-webkit-scrollbar {
    display: none;
}
.blog-slide {
    flex: 0 0 calc(33.333% - 1.35rem);
    min-width: 300px;
}
.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.blog-image::after {
    content: "";
    background: linear-gradient(
        135deg,
        rgba(179, 229, 252, 0.3) 0,
        rgba(0, 255, 0, 0.2) 100%
        );
}
.blog-date {
    font-size: 0.8rem;
    color: var(--neon-green);
    font-weight: 600;
}
.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-gray);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}
.blog-link,
.blog-next,
.blog-prev {
    color: var(--neon-green);
    transition: var(--transition);
}
.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}
.blog-link:hover {
    gap: 0.75rem;
}
.blog-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.blog-next,
.blog-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    background: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-next:hover,
.blog-prev:hover {
    background: var(--neon-green);
    color: var(--white);
    transform: scale(1.1);
}
.blog-cta {
    text-align: center;
    margin-top: 3rem;
}
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.template-card {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.template-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}
.template-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--neon-green);
    color: var(--text-dark);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.template-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--slate-gray);
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}
.contact-form .form-group,
.template-features,
.template-price {
    margin-bottom: 1.5rem;
}
.template-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.template-features {
    list-style: none;
    flex-grow: 1;
}
.template-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.price-value,
.template-features i {
    font-weight: 700;
    color: var(--neon-green);
}
.template-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.price-value {
    font-size: 2rem;
}
.client-logo,
.contact-form label {
    font-weight: 600;
    color: var(--slate-gray);
}
.template-card .btn {
    padding: 0.75rem;
    font-weight: 600;
}
.clients-section {
    text-align: center;
    padding: 3rem 0;
    border-top: 2px solid var(--light-gray);
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
}
.client-logo:hover {
    background: var(--primary-blue);
    color: var(--dark-blue);
    transform: scale(1.05);
}
.social-icon:hover,
.social-link:hover {
    background: var(--neon-green);
    transform: translateY(-3px);
}
.contact-form,
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
}
.contact-form .form-control {
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}
.social-icon,
.social-link {
    border-radius: 50%;
    transition: var(--transition);
}
.contact-form .form-control:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.1);
}
.contact-info h3 {
    font-size: 1.5rem;
    color: var(--slate-gray);
    margin-bottom: 2rem;
}
.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--neon-green);
    min-width: 30px;
}
.info-item h4 {
    font-size: 1rem;
    color: var(--slate-gray);
    margin: 0 0 0.25rem;
}
.info-item p {
    margin: 0;
    font-size: 0.95rem;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    color: var(--dark-blue);
    font-size: 1.2rem;
}
.social-link:hover {
    color: var(--text-dark);
}
.footer-section {
    position: relative;
    background-color: var(--slate-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
    overflow: hidden;
}
.footer-background,
.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.footer-background {
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    background-image: url("../img/footer-map.png");
}
.footer-overlay {
    background: linear-gradient(
        135deg,
        rgba(179, 229, 252, 0.1) 0,
        rgba(0, 255, 0, 0.05) 100%
        );
    z-index: 1;
}
.footer-section .container {
    position: relative;
    z-index: 2;
}
.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--neon-green);
}
.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: var(--light-blue);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--neon-green);
    padding-left: 0.5rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--neon-green);
    font-size: 1.1rem;
    border: 1px solid rgba(0, 255, 0, 0.3);
}
.btn-primary,
.toast-success {
    background-color: var(--neon-green) !important;
}
.social-icon:hover {
    color: var(--slate-gray);
}
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}
.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-blue);
}
.footer-bottom a:hover {
    text-decoration: underline;
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.fade-in-on-scroll {
    opacity: 0;
    animation: 0.8s forwards fadeIn;
}
.btn-primary {
    border-color: var(--neon-green) !important;
    color: var(--text-dark) !important;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: var(--neon-green-dark) !important;
    border-color: var(--neon-green-dark) !important;
}
.btn-outline-primary {
    color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
}
.btn-outline-primary:hover {
    background-color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
    color: var(--white) !important;
}
.toast-info {
    background-color: var(--primary-blue) !important;
}
.toast-error {
    background-color: #ff6b6b !important;
}
.toast-warning {
    background-color: #ffb84d !important;
}
@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    .hero-subtitle,
    .navbar-brand {
        font-size: 1.2rem;
    }
    .hero-section {
        margin-top: 50px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-quote {
        font-size: 1rem;
    }
    .tech-stack-icons {
        gap: 0.75rem;
    }
    .tech-icon {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .projects-grid,
    .skills-matrix,
    .templates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .project-card {
        min-height: auto;
    }
    .timeline-marker,
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column !important;
    }
    .timeline-content {
        width: 100%;
        margin-left: 50px;
    }
    .blog-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .contact-section .row {
        flex-direction: column-reverse;
    }
    .contact-form,
    .contact-info {
        margin-bottom: 2rem;
    }
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .client-logo {
        padding: 1rem;
        font-size: 0.85rem;
    }
    .footer-section .row {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .section-title::after {
        width: 60px;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }
    .section-title,
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.35rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .skills-matrix,
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .timeline-content {
        width: 100%;
        margin-left: 50px;
    }
    .blog-slide {
        flex: 0 0 calc(50% - 1rem);
        min-width: 250px;
    }
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .projects-grid,
    .skills-matrix,
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .blog-slide {
        flex: 0 0 calc(50% - 1rem);
    }
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .timeline-content {
        width: calc(50% - 30px);
    }
    .section-title {
        font-size: 2.2rem;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .projects-grid,
    .skills-matrix,
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .blog-slide {
        flex: 0 0 calc(50% - 1rem);
    }
    .section-title {
        font-size: 2.3rem;
    }
}
@media (min-width: 1200px) {
    .projects-grid,
    .templates-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .skills-matrix {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    .blog-slide {
        flex: 0 0 calc(33.333% - 1.35rem);
    }
    .clients-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}
@media (min-width: 768px) {
    .timeline-marker,
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 50%;
        margin-left: 0;
    }
    .timeline-item:nth-child(2n) .timeline-content {
        margin-left: 50%;
        margin-right: 0;
    }
}
@media print {
    a,
    body {
        color: #000;
    }
    .blog-nav,
    .footer-section,
    .hero-buttons,
    .navbar-custom {
        display: none;
    }
    body {
        font-size: 12pt;
    }
    a {
        text-decoration: underline;
    }
    .project-card,
    .skill-category,
    .template-card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
    }
    .section-title {
        page-break-after: avoid;
    }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .blog-background,
    .blog-image,
    .footer-background,
    .hero-background,
    [class^="hero-bg-"],
    .project-image,
    .skills-background {
        background-size: cover;
        background-position: center;
    }
}
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-quote {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .tech-stack-icons {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    .hero-buttons {
        gap: 0.5rem;
    }
    .hero-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
@media (hover: none) and (pointer: coarse) {
    .blog-next,
    .blog-prev,
    .btn,
    .social-link {
        padding: 1rem;
        min-height: 44px;
        min-width: 44px;
    }
    .blog-card,
    .project-card,
    .template-card {
        transform: none;
    }
    .blog-card:active,
    .project-card:active,
    .template-card:active {
        transform: translateY(-4px);
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
    }
    html {
        scroll-behavior: auto;
    }
}
/*@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --light-gray: #2a2a2a;
        --text-dark: #e0e0e0;
        --text-light: #b0b0b0;
        --border-color: #404040;
    }
    body {
        background-color: var(--white);
        color: var(--text-dark);
    }
    .navbar-custom {
        background-color: #222 !important;
        border-bottom-color: var(--primary-blue);
    }
    .blog-card,
    .contact-form,
    .contact-info,
    .project-card,
    .template-card {
        background-color: #222;
        border-color: var(--primary-blue);
    }
    .skill-category,
    .timeline-content {
        background-color: #222;
    }
    .ongoing-card {
        background: linear-gradient(
            135deg,
            rgba(2, 119, 189, 0.2) 0,
            rgba(0, 255, 0, 0.1) 100%
            );
    }
}*/
