/* ============================================
   MAIN.CSS - ALL CUSTOM STYLES FOR INDEX PAGE
   ============================================
   This file contains all custom CSS for classes, IDs, and selectors
   used in the index.html page.
   
   Sections:
   1. CSS Variables & Root Styles
   2. Portfolio & Modal Styles
   3. Unified Button Styles
   4. Carousel Styles
   5. Page Loader
   6. Style Switcher
   7. Utility Classes
   8. Home Section
   9. About Section
   10. Navigation
   11. Section Backgrounds
   12. Contact Form
   13. Service Cards
   ============================================ */

/* ============================================
   1. CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
    --color-w-primary: #35B8EB;
    --color-w-primary-hover: #2AA3D1;
    --color-w-secondary: #35B8EB;
    --color-w-secondary-hover: #2AA3D1;
    --color-w-dark: #211E1B;
    --color-w-dark-hover: #1A1715;
    --color-w-white: #fff;
    --color-w-light: #F5F7F4;
    --color-w-black: #211E1B;
    
    /* Dark mode colors derived from main colors */
    --color-dark-bg: #1a1a1a;
    --color-dark-bg-light: #2a2a2a;
    --color-dark-text: #e0e0e0;
    --color-dark-border: #444;
    --color-dark-overlay: rgba(0, 0, 0, 0.8);
}

.text-w-primary {
    color: var(--color-w-primary) !important;
}

.bg-w-footer {
    background-color: var(--color-w-primary) !important;
}

body.dark .bg-w-footer {
    background-color: var(--color-dark-bg-light) !important;
}

/* ============================================
   TOP NAVBAR (SHOW AFTER SCROLL)
   ============================================ */
.top-navbar {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-24px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.top-navbar.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.top-navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(33, 30, 27, 0.08);
    border-radius: 16px;
    padding: 10px 12px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(33, 30, 27, 0.08);
}

body.dark .top-navbar-inner {
    background: rgba(42, 42, 42, 0.82);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.top-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-w-black);
    font-weight: 700;
}

body.dark .top-navbar-brand {
    color: var(--color-dark-text);
}

.top-navbar-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.top-navbar-name {
    font-size: 15px;
    letter-spacing: 0.02em;
}

.top-navbar-toggle {
    display: none;
    border: 1px solid rgba(33, 30, 27, 0.12);
    background: transparent;
    color: inherit;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}

body.dark .top-navbar-toggle {
    border-color: rgba(255, 255, 255, 0.14);
}

.top-navbar-links {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.top-nav-link {
    text-decoration: none;
    color: rgba(33, 30, 27, 0.78);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.top-nav-link:hover {
    background: rgba(53, 184, 235, 0.10);
    color: var(--color-w-black);
}

body.dark .top-nav-link {
    color: rgba(224, 224, 224, 0.82);
}

body.dark .top-nav-link:hover {
    background: rgba(53, 184, 235, 0.16);
    color: var(--color-dark-text);
}

.top-nav-link.active {
    background: rgba(53, 184, 235, 0.16);
    color: var(--color-w-black);
}

body.dark .top-nav-link.active {
    color: var(--color-dark-text);
}

.top-navbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(33, 30, 27, 0.12);
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle-btn:hover {
    transform: translateY(-1px);
    background: rgba(53, 184, 235, 0.10);
    border-color: rgba(53, 184, 235, 0.30);
}

.theme-toggle-btn.is-active {
    background: rgba(53, 184, 235, 0.16);
    border-color: rgba(53, 184, 235, 0.35);
}

body.dark .theme-toggle-btn {
    border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 991px) {
    .top-navbar-inner {
        grid-template-columns: auto auto auto;
    }
    .top-navbar-toggle {
        display: inline-flex;
    }
    .top-navbar-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 12px;
        right: 12px;
        background: inherit;
        border: inherit;
        border-radius: 16px;
        padding: 10px;
        flex-direction: column;
        gap: 6px;
        box-shadow: 0 10px 30px rgba(33, 30, 27, 0.10);
    }
    .top-navbar.is-open .top-navbar-links {
        display: flex;
    }
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-w-primary);
    color: var(--color-w-white);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
body.dark .site-footer {
    background-color: var(--color-dark-bg-light);
    border-top-color: var(--color-dark-border);
    color: var(--color-dark-text);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 1rem;
}
.footer-logo:hover {
    color: inherit;
    opacity: 0.9;
}
.footer-logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}
.footer-logo-text {
    font-size: 1.125rem;
}
.footer-tagline {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.95;
}
body.dark .site-footer .footer-tagline { opacity: 0.85; }
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
}
.footer-nav a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: inherit;
    font-size: 1rem;
    transition: background 0.25s ease, transform 0.2s ease;
}
.footer-social a:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}
body.dark .site-footer .footer-social a { background: rgba(255,255,255,0.1); }
body.dark .site-footer .footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-copyright {
    margin: 0;
    font-size: 0.8125rem;
    opacity: 0.9;
}
.footer-year { font-weight: 600; }

@media (max-width: 767px) {
    .site-footer { padding: 1.75rem 0; }
    .footer-inner { gap: 1.25rem; }
    .footer-logo-img { width: 48px; height: 48px; }
    .footer-nav { gap: 1rem 1.5rem; }
    .footer-nav a { font-size: 0.875rem; }
}

body.dark .modern-portfolio-card {
    background: var(--color-dark-bg-light);
    box-shadow: 
        0 10px 35px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.modern-portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 60px rgba(53, 184, 235, 0.3),
        0 12px 30px rgba(53, 184, 235, 0.2),
        0 0 0 2px rgba(53, 184, 235, 0.15);
}

body.dark .modern-portfolio-card:hover {
    box-shadow: 
        0 25px 60px rgba(53, 184, 235, 0.4),
        0 12px 30px rgba(53, 184, 235, 0.25),
        0 0 0 2px rgba(53, 184, 235, 0.2);
}

.portfolio-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--color-w-light);
}

body.dark .portfolio-card-image {
    background: var(--color-dark-bg);
}

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

.modern-portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.1);
}

.portfolio-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(53, 184, 235, 0.9) 0%, rgba(53, 184, 235, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-card-actions {
    display: flex;
    gap: 15px;
}

.portfolio-view-btn {
    background: var(--color-w-white);
    color: var(--color-w-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-view-btn i {
    font-size: 18px;
}

.portfolio-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-w-black);
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

body.dark .portfolio-card-title {
    color: var(--color-dark-text);
}

.modern-portfolio-card:hover .portfolio-card-title {
    color: var(--color-w-primary);
}

.portfolio-card-category {
    font-size: 14px;
    color: var(--color-w-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

@media (max-width: 767px) {
    .portfolio-card-image {
        height: 220px;
    }
    
    .portfolio-card-content {
        padding: 20px;
    }
    
    .portfolio-card-title {
        font-size: 20px;
    }
    
    .portfolio-view-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ============================================
   MODERN PORTFOLIO MODAL DESIGN
   ============================================ */
.modern-portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modern-portfolio-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-overlay);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    margin: auto;
    background: var(--color-w-white);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

.modern-portfolio-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

body.dark .modal-container {
    background: var(--color-dark-bg-light);
    color: var(--color-w-white);
}

@media (max-width: 991px) {
    .modal-container {
        width: 95%;
        max-height: 92vh;
        border-radius: 14px;
    }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(33, 30, 27, 0.1);
    color: var(--color-w-black);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark .modal-close-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-w-white);
}

.modal-close-btn:hover {
    background: var(--color-w-primary);
    color: var(--color-w-white);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 4px 15px rgba(53, 184, 235, 0.4);
}

.modal-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

@media (max-width: 767px) {
    .modal-close-btn {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

.modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid var(--color-w-light);
    flex-shrink: 0;
}

body.dark .modal-header {
    border-bottom-color: var(--color-dark-border);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-w-primary);
    margin: 0;
    line-height: 1.3;
    text-transform: capitalize;
}

body.dark .modal-title {
    color: var(--color-w-primary);
}

@media (max-width: 767px) {
    .modal-header {
        padding: 20px 20px 12px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .modal-close-btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

.modal-body {
    padding: 20px 25px 25px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-w-primary) transparent;
    min-height: 0;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--color-w-primary);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-w-primary-hover);
}

@media (max-width: 767px) {
    .modal-body {
        padding: 18px 20px 20px;
        gap: 15px;
    }
    
    .modal-container {
        width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }
}

.modal-video-section {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(33, 30, 27, 0.15);
    background: var(--color-w-black);
    flex-shrink: 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 62.5%; /* Taller aspect ratio for better visibility */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 767px) {
    .video-container {
        padding-bottom: 56.25%; /* Standard 16:9 on mobile */
    }
}

@media (max-width: 767px) {
    .modal-video-section {
        border-radius: 12px;
    }
}

.modal-content-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-description {
    background: var(--color-w-light);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--color-w-primary);
}

body.dark .modal-description {
    background: var(--color-dark-bg);
}

.modal-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-w-primary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-description h3 i {
    font-size: 18px;
}

.description-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-w-black);
    margin: 0;
}

body.dark .description-text {
    color: var(--color-dark-text);
}

@media (max-width: 767px) {
    .modal-description {
        padding: 16px;
    }
    
    .modal-description h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .description-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .visit-website-btn {
        padding: 11px 24px;
        font-size: 14px;
    }
}

.modal-actions {
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.visit-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    color: var(--color-w-white);
    text-decoration: none;
    border-radius: 8px;
        font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(53, 184, 235, 0.3);
}

.visit-website-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(53, 184, 235, 0.5);
    color: var(--color-w-white);
}

.visit-website-btn:active {
    transform: translateY(-1px);
}

.visit-website-btn i:first-child {
    font-size: 20px;
}

.visit-website-btn i:last-child {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.visit-website-btn:hover i:last-child {
    transform: translate(3px, -3px);
}

@media (max-width: 767px) {
    .visit-website-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* Unified Button Style - Apply to all buttons and button-like links */
.unified-btn,
.portfolio-modal-link,
.btn.main-btn,
button[type="submit"],
a.unified-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    color: var(--color-w-white) !important;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(53, 184, 235, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.5;
}

.unified-btn::before,
.portfolio-modal-link::before,
.btn.main-btn::before,
button[type="submit"]::before,
a.unified-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.unified-btn:hover::before,
.portfolio-modal-link:hover::before,
.btn.main-btn:hover::before,
button[type="submit"]:hover::before,
a.unified-btn:hover::before {
    left: 100%;
}

.unified-btn:hover,
.portfolio-modal-link:hover,
.btn.main-btn:hover,
button[type="submit"]:hover,
a.unified-btn:hover {
    background: linear-gradient(135deg, var(--color-w-primary-hover) 0%, var(--color-w-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(53, 184, 235, 0.5);
    color: var(--color-w-white) !important;
}

.unified-btn:active,
.portfolio-modal-link:active,
.btn.main-btn:active,
button[type="submit"]:active,
a.unified-btn:active {
    transform: translateY(-1px);
}

.unified-btn i,
.portfolio-modal-link i,
.btn.main-btn i,
button[type="submit"] i,
a.unified-btn i {
    font-size: 18px;
}

/* Override existing main-btn styles */
.btn.main-btn span {
    color: var(--color-w-white) !important;
}

@media (max-width: 767px) {
    .unified-btn,
    .portfolio-modal-link,
    .btn.main-btn,
    button[type="submit"],
    a.unified-btn {
        padding: 12px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .portfolio-modal-footer {
        padding-top: 20px;
    }
}

/* Enhanced Carousel Styles */
#experiencecarousel,
#educationcarousel {
    position: relative;
    padding-bottom: 20px;
}

/* Swipe Indicators - After Title Section */
.carousel-swipe-indicators {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: -40px;
    margin-bottom: 20px;
    padding-right: 15px;
    z-index: 10;
    position: relative;
}

.carousel-swipe-indicator {
    width: 40px;
    height: 40px;
    background: rgba(53, 184, 235, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    color: var(--color-w-primary);
    font-size: 18px;
    border: 2px solid rgba(53, 184, 235, 0.2);
    cursor: pointer;
    pointer-events: auto;
}

.carousel-swipe-indicator:hover {
    opacity: 1;
    background: rgba(53, 184, 235, 0.2);
    border-color: rgba(53, 184, 235, 0.4);
    transform: scale(1.1);
}

.carousel-swipe-indicator:active {
    transform: scale(0.95);
}

#experiencecarousel .owl-item {
    padding: 10px;
}

/* Websites Carousel Cards - Simple Shadows */
#experiencecarousel .modern-portfolio-card,
#experiencecarousel .portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(33, 30, 27, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--color-w-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.dark #experiencecarousel .modern-portfolio-card,
body.dark #experiencecarousel .portfolio-item {
    background: var(--color-dark-bg-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#experiencecarousel .modern-portfolio-card:hover,
#experiencecarousel .portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(53, 184, 235, 0.2);
}

body.dark #experiencecarousel .modern-portfolio-card:hover,
body.dark #experiencecarousel .portfolio-item:hover {
    box-shadow: 0 8px 25px rgba(53, 184, 235, 0.3);
}

/* Mobile Applications Carousel Cards */
#educationcarousel .portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 10px 35px rgba(33, 30, 27, 0.15),
        0 4px 12px rgba(33, 30, 27, 0.1),
        0 0 0 1px rgba(33, 30, 27, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--color-w-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.dark #educationcarousel .portfolio-item {
    background: var(--color-dark-bg-light);
    box-shadow: 
        0 10px 35px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

#experiencecarousel .owl-item {
    padding: 15px;
    height: auto;
}

#experiencecarousel .modern-portfolio-card {
    margin: 0;
}

/* Owl Carousel Dots Enhancement */
/* ============================================
   PORTFOLIO CAROUSEL DOTS NAVIGATION
   ============================================ */
#experiencecarousel .owl-dots,
#educationcarousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    margin-bottom: 5px;
    padding: 15px 0 0 0;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Override default Owl Carousel dot styles */
#experiencecarousel .owl-theme .owl-dots .owl-dot,
#educationcarousel .owl-theme .owl-dots .owl-dot {
    outline: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

#experiencecarousel .owl-theme .owl-dots .owl-dot span,
#educationcarousel .owl-theme .owl-dots .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(33, 30, 27, 0.2) !important;
    margin: 0 !important;
    display: block !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    position: relative !important;
    outline: none !important;
}

body.dark #experiencecarousel .owl-theme .owl-dots .owl-dot span,
body.dark #educationcarousel .owl-theme .owl-dots .owl-dot span {
    background: rgba(224, 224, 224, 0.3) !important;
}

#experiencecarousel .owl-theme .owl-dots .owl-dot:hover span,
#educationcarousel .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--color-w-primary) !important;
    transform: scale(1.2) !important;
}

#experiencecarousel .owl-theme .owl-dots .owl-dot.active span,
#educationcarousel .owl-theme .owl-dots .owl-dot.active span {
    background: var(--color-w-primary) !important;
    width: 32px !important;
    height: 12px !important;
    border-radius: 6px !important;
    box-shadow: 
        0 4px 12px rgba(53, 184, 235, 0.4),
        0 0 0 3px rgba(53, 184, 235, 0.1) !important;
}

#experiencecarousel .owl-theme .owl-dots .owl-dot.active:hover span,
#educationcarousel .owl-theme .owl-dots .owl-dot.active:hover span {
    transform: scale(1.05) !important;
    box-shadow: 
        0 6px 16px rgba(53, 184, 235, 0.5),
        0 0 0 4px rgba(53, 184, 235, 0.15) !important;
}

/* Responsive Carousel Adjustments */
@media (max-width: 991px) {
    #experiencecarousel .portfolio-item img {
        height: 220px;
    }
}

@media (max-width: 767px) {
    #experiencecarousel .owl-item,
    #educationcarousel .owl-item {
        padding: 8px;
    }
    
    #experiencecarousel .portfolio-item img {
        height: 200px;
    }
    
    #experiencecarousel .owl-dots,
    #educationcarousel .owl-dots {
        margin-top: 35px;
        margin-bottom: 3px;
        padding: 12px 0 0 0;
        gap: 10px;
    }
    
    .carousel-swipe-indicators {
        margin-top: -35px;
        margin-bottom: 15px;
        gap: 8px;
        padding-right: 10px;
    }
    
    .carousel-swipe-indicator {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    #experiencecarousel .owl-theme .owl-dots .owl-dot span,
    #educationcarousel .owl-theme .owl-dots .owl-dot span {
        width: 10px !important;
        height: 10px !important;
    }
    
    #experiencecarousel .owl-theme .owl-dots .owl-dot.active span,
    #educationcarousel .owl-theme .owl-dots .owl-dot.active span {
        width: 28px !important;
        height: 10px !important;
    }
}

@media (max-width: 575px) {
    #experiencecarousel .owl-item,
    #educationcarousel .owl-item {
        padding: 5px;
    }
    
    #experiencecarousel .portfolio-item img {
        height: 180px;
    }
    
    #experiencecarousel .owl-dots,
    #educationcarousel .owl-dots {
        margin-top: 30px;
        margin-bottom: 2px;
        padding: 10px 0 0 0;
        gap: 8px;
    }
    
    .carousel-swipe-indicators {
        margin-top: -30px;
        margin-bottom: 10px;
        gap: 6px;
        padding-right: 5px;
    }
    
    .carousel-swipe-indicator {
        width: 30px;
        height: 30px;
        font-size: 14px;
        opacity: 0.7;
    }
    
    #experiencecarousel .owl-theme .owl-dots .owl-dot span,
    #educationcarousel .owl-theme .owl-dots .owl-dot span {
        width: 8px !important;
        height: 8px !important;
    }
    
    #experiencecarousel .owl-theme .owl-dots .owl-dot.active span,
    #educationcarousel .owl-theme .owl-dots .owl-dot.active span {
        width: 24px !important;
        height: 8px !important;
    }
}

/* ============================================
   5. PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-w-light);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.dark .page-loader {
    background: var(--color-w-third);
}

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

.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(53, 184, 235, 0.2);
    border-top-color: var(--color-w-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-w-primary);
    margin: 0;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loader-section {
    position: fixed;
    width: 50%;
    height: 100%;
    top: 0;
    background: var(--color-w-primary);
    z-index: 1;
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-section.section-left {
    left: 0;
}

.loader-section.section-right {
    right: 0;
}

.page-loader.loaded .loader-section.section-left {
    transform: translateX(-100%);
}

.page-loader.loaded .loader-section.section-right {
    transform: translateX(100%);
}

/* ============================================
   6. STYLE SWITCHER
   ============================================ */

/* Switcher Toggle Button */
#showSwitcher.switcher-toggle-btn {
    z-index: 11111;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    box-shadow: -4px 0 15px rgba(53, 184, 235, 0.3);
    border: none;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-w-white);
    width: 50px;
    height: 60px;
}

#showSwitcher.switcher-toggle-btn:hover {
    background: linear-gradient(135deg, var(--color-w-primary-hover) 0%, var(--color-w-primary) 100%);
    box-shadow: -6px 0 20px rgba(53, 184, 235, 0.5);
    transform: translateY(-50%) translateX(-3px);
}

#showSwitcher.switcher-toggle-btn i {
    animation: none;
}

body.dark #showSwitcher.switcher-toggle-btn {
    background: linear-gradient(135deg, var(--color-dark-bg-light) 0%, var(--color-dark-bg) 100%);
    box-shadow: -4px 0 15px rgba(33, 30, 27, 0.5);
}

body.dark #showSwitcher.switcher-toggle-btn:hover {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-dark-bg-light) 100%);
}

/* Modern Switcher Panel */
#switcher.modern-switcher {
    background: var(--color-w-white);
    position: fixed;
    display: none;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    direction: ltr;
    z-index: 11110;
    width: 320px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    margin-right: -400px;
    transition: margin-right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark #switcher.modern-switcher {
    background: var(--color-dark-bg-light);
    box-shadow: -8px 0 30px rgba(33, 30, 27, 0.5);
}

#switcher.modern-switcher .content-switcher {
    padding: 0;
    overflow: hidden;
}

/* Switcher Header */
.switcher-header {
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-w-white);
}

.switcher-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
    color: var(--color-w-white);
}

.switcher-header h4 i {
    font-size: 20px;
}

.switcher-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-w-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    padding: 0;
}

.switcher-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Switcher Body */
.switcher-body {
    padding: 25px;
}

.theme-option {
    margin-bottom: 15px;
}

.theme-option:last-child {
    margin-bottom: 0;
}

.theme-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--color-w-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

body.dark .theme-label {
    background: var(--color-dark-bg);
}

.theme-label:hover {
    background: rgba(53, 184, 235, 0.1);
    border-color: var(--color-w-primary);
    transform: translateX(5px);
}

body.dark .theme-label:hover {
    background: #3a3a3a;
}

.theme-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-w-white);
    border-radius: 10px;
    color: var(--color-w-primary);
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

body.dark .theme-icon {
    background: var(--color-dark-bg);
    box-shadow: 0 2px 8px rgba(33, 30, 27, 0.3);
}

.theme-label:hover .theme-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(53, 184, 235, 0.3);
}

.theme-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-w-black);
}

body.dark .theme-text {
    color: var(--color-dark-text);
}

.theme-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.theme-check {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: 3;
}

body.dark .theme-check {
    border-color: #666;
}

.theme-label input[type="radio"]:checked ~ .theme-check {
    border-color: var(--color-w-primary);
    background: var(--color-w-primary);
}

.theme-label input[type="radio"]:checked ~ .theme-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-w-white);
    border-radius: 50%;
}

.theme-label input[type="radio"]:checked ~ .theme-icon {
    background: var(--color-w-primary);
    color: var(--color-w-white);
    box-shadow: 0 4px 15px rgba(53, 184, 235, 0.4);
}

.theme-label input[type="radio"]:checked ~ .theme-text {
    color: var(--color-w-primary);
    font-weight: 600;
}

body.dark .theme-label input[type="radio"]:checked ~ .theme-text {
    color: var(--color-w-primary);
}

/* Active state styling - using JavaScript will add active class */
.theme-label.active,
.theme-label:has(input[type="radio"]:checked) {
    background: rgba(53, 184, 235, 0.1);
    border-color: var(--color-w-primary);
}

body.dark .theme-label.active,
body.dark .theme-label:has(input[type="radio"]:checked) {
    background: rgba(53, 184, 235, 0.15);
}

/* Responsive Switcher */
@media (max-width: 991px) {
    #switcher.modern-switcher {
        width: 280px;
        top: 100px;
        transform: none;
    }
    
    #showSwitcher.switcher-toggle-btn {
        top: 100px;
        transform: none;
    }
}

@media (max-width: 767px) {
    #switcher.modern-switcher {
        width: 100%;
        max-width: 320px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 20px;
        margin-right: -100%;
    }
    
    #showSwitcher.switcher-toggle-btn {
        width: 45px;
        height: 55px;
        padding: 12px 10px;
        font-size: 18px;
    }
    
    .switcher-header {
        padding: 18px 20px;
    }
    
    .switcher-body {
        padding: 20px;
    }
    
    .theme-label {
        padding: 15px 18px;
    }
}
/* ============================================
   7. UTILITY CLASSES
   ============================================ */

.h-10vh {
    height: 10vh !important;
}

.h-20vh {
    height: 20vh !important;
}

.h-30vh {
    height: 30vh !important;
}

.h-40vh {
    height: 40vh !important;
}

.h-50vh {
    height: 50vh !important;
}

.h-60vh {
    height: 60vh !important;
}

.h-70vh {
    height: 70vh !important;
}

.h-80vh {
    height: 80vh !important;
}

.h-90vh {
    height: 90vh !important;
}

.h-100vh {
    height: 100vh !important;
}

.bottom--1 {
    bottom: -1px !important;
}

.bottom--2 {
    bottom: -2px !important;
}

.bottom--3 {
    bottom: -3px !important;
}

.bottom--4 {
    bottom: -4px !important;
}

.bottom--5 {
    bottom: -5px !important;
}

.bottom--6 {
    bottom: -6px !important;
}

.bottom--7 {
    bottom: -7px !important;
}

.bottom--8 {
    bottom: -8px !important;
}

.bottom--9 {
    bottom: -9px !important;
}

.bottom--10 {
    bottom: -10px !important;
}

.txt-validate {
    font-size: 14px !important;
    color: red !important;
}


/* Margin Utilities */
.m-1rem {
    margin: 1rem !important;
}

.m-2rem {
    margin: 2rem !important;
}
.m-3rem {
    margin: 3rem !important;
}

.m-4rem {
    margin: 4rem !important;
}

.m-5rem {
    margin: 5rem !important;
}

.m-6rem {
    margin: 6rem !important;
}

.m-7rem {
    margin: 7rem !important;
}

.m-8rem {
    margin: 8rem !important;
}

.m-9rem {
    margin: 9rem !important;
}

.m-10rem {
    margin: 10rem !important;
}

.m-11rem {
    margin: 11rem !important;
}

.m-12rem {
    margin: 12rem !important;
}

.m-13rem {
    margin: 13rem !important;
}

.m-14rem {
    margin: 14rem !important;
}

.m-15rem {
    margin: 15rem !important;
}

.m-16rem {
    margin: 16rem !important;
}

.m-17rem {
    margin: 17rem !important;
}

.m-18rem {
    margin: 18rem !important;
}

.m-19rem {
    margin: 19rem !important;
}

.m-20rem {
    margin: 20rem !important;
}

.mb-1rem {
    margin-bottom: 1rem !important;
}
.mb-2rem {
    margin-bottom: 2rem !important;
}
.mb-3rem {
    margin-bottom: 3rem !important;
}
.mb-4rem {
    margin-bottom:4rem !important;
}
.mb-5rem {
    margin-bottom: 5rem !important;
}
.mb-6rem {
    margin-bottom: 6rem !important;
}
.mb-7rem {
    margin-bottom: 7rem !important;
}
.mb-8rem {
    margin-bottom: 8rem !important;
}
.mb-9rem {
    margin-bottom: 9rem !important;
}
.mb-10rem {
    margin-bottom: 10rem !important;
}
.mb-11rem {
    margin-bottom: 11rem !important;
}
.mb-12rem {
    margin-bottom: 12rem !important;
}
.mb-13rem {
    margin-bottom: 13rem !important;
}
.mb-14rem {
    margin-bottom: 14rem !important;
}
.mb-15rem {
    margin-bottom: 15rem !important;
}
.mb-16rem {
    margin-bottom: 16rem !important;
}
.mb-17rem {
    margin-bottom: 17rem !important;
}
.mb-18rem {
    margin-bottom: 18rem !important;
}
.mb-19rem {
    margin-bottom: 19rem !important;
}
.mb-20rem {
    margin-bottom: 20rem !important;
}

.mt-1rem {
    margin-top: 1rem !important;
}
.mt-2rem {
    margin-top: 2rem !important;
}
.mt-3rem {
    margin-top: 3rem !important;
}
.mt-4rem {
    margin-top: 4rem !important;
}
.mt-5rem {
    margin-top: 5rem !important;
}
.mt-6rem {
    margin-top: 6rem !important;
}
.mt-7rem {
    margin-top: 7rem !important;
}
.mt-8rem {
    margin-top: 8rem !important;
}
.mt-9rem {
    margin-top: 9rem !important;
}
.mt-10rem {
    margin-top: 10rem !important;
}
.mt-11rem {
    margin-top: 11rem !important;
}
.mt-12rem {
    margin-top: 12rem !important;
}
.mt-13rem {
    margin-top: 13rem !important;
}
.mt-14rem {
    margin-top: 14rem !important;
}
.mt-15rem {
    margin-top: 15rem !important;
}
.mt-16rem {
    margin-top: 16rem !important;
}
.mt-17rem {
    margin-top: 17rem !important;
}
.mt-18rem {
    margin-top: 18rem !important;
}
.mt-19rem {
    margin-top: 19rem !important;
}
.mt-20rem {
    margin-top: 20rem !important;
}


.my-1rem {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.my-2rem {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}
.my-3rem {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}
.my-4rem {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}
.my-5rem {
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
}
.my-6rem {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
}
.my-7rem {
    margin-top: 7rem !important;
    margin-bottom: 7rem !important;
}
.my-8rem {
    margin-top: 8rem !important;
    margin-bottom: 8rem !important;
}
.my-9rem {
    margin-top: 9rem !important;
    margin-bottom: 9rem !important;
}
.my-10rem {
    margin-top: 10rem !important;
    margin-bottom: 10rem !important;
}
.my-11rem {
    margin-top: 11rem !important;
    margin-bottom: 11rem !important;
}
.my-12rem {
    margin-top: 12rem !important;
    margin-bottom: 12rem !important;
}
.my-13rem {
    margin-top: 13rem !important;
    margin-bottom: 13rem !important;
}
.my-14rem {
    margin-top: 14rem !important;
    margin-bottom: 14rem !important;
}
.my-15rem {
    margin-top: 15rem !important;
    margin-bottom: 15rem !important;
}
.my-16rem {
    margin-top: 16rem !important;
    margin-bottom: 16rem !important;
}
.my-17rem {
    margin-top: 17rem !important;
    margin-bottom: 17rem !important;
}
.my-18rem {
    margin-top: 18rem !important;
    margin-bottom: 18rem !important;
}
.my-19rem {
    margin-top: 19rem !important;
    margin-bottom: 1rem !important;
}
.my-20rem {
    margin-top: 20rem !important;
    margin-bottom: 20rem !important;
}


.mx-1rem {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}
.mx-2rem {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
}
.mx-3rem {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
}
.mx-4rem {
    margin-left: 4rem !important;
    margin-right: 4rem !important;
}
.mx-5rem {
    margin-left: 5rem !important;
    margin-right: 5rem !important;
}
.mx-6rem {
    margin-left: 6rem !important;
    margin-right: 6rem !important;
}
.mx-7rem {
    margin-left: 7rem !important;
    margin-right: 7rem !important;
}
.mx-8rem {
    margin-left: 8rem !important;
    margin-right: 8rem !important;
}
.mx-9rem {
    margin-left: 9rem !important;
    margin-right: 9rem !important;
}
.mx-10rem {
    margin-left: 10rem !important;
    margin-right: 10rem !important;
}
.mx-11rem {
    margin-left: 11rem !important;
    margin-right: 11rem !important;
}
.mx-12rem {
    margin-left: 12rem !important;
    margin-right: 12rem !important;
}
.mx-13rem {
    margin-left: 13rem !important;
    margin-right: 13rem !important;
}
.mx-14rem {
    margin-left: 14rem !important;
    margin-right: 14rem !important;
}
.mx-15rem {
    margin-left: 15rem !important;
    margin-right: 15rem !important;
}
.mx-16rem {
    margin-left: 16rem !important;
    margin-right: 16rem !important;
}
.mx-17rem {
    margin-left: 17rem !important;
    margin-right: 17rem !important;
}
.mx-18rem {
    margin-left: 18rem !important;
    margin-right: 18rem !important;
}
.mx-19rem {
    margin-left: 19rem !important;
    margin-right: 19rem !important;
}
.mx-20rem {
    margin-left: 20rem !important;
    margin-right: 20rem !important;
}


/* PADDING */

.p-1rem {
    padding: 1rem !important;
}
.p-2rem {
    padding: 2rem !important;
}
.p-3rem {
    padding: 3rem !important;
}
.p-4rem {
    padding: 4rem !important;
}
.p-5rem {
    padding: 5rem !important;
}
.p-6rem {
    padding: 6rem !important;
}
.p-7rem {
    padding: 7rem !important;
}
.p-8rem {
    padding: 8rem !important;
}
.p-9rem {
    padding: 9rem !important;
}
.p-10rem {
    padding: 10rem !important;
}
.p-11rem {
    padding: 11rem !important;
}
.p-12rem {
    padding: 12rem !important;
}
.p-13rem {
    padding: 13rem !important;
}
.p-14rem {
    padding: 14rem !important;
}
.p-15rem {
    padding: 15rem !important;
}
.p-16rem {
    padding: 16rem !important;
}
.p-17rem {
    padding: 17rem !important;
}
.p-18rem {
    padding: 18rem !important;
}
.p-19rem {
    padding: 19rem !important;
}
.p-20rem {
    padding: 20rem !important;
}


.pb-1rem {
    padding-bottom: 1rem !important;
}
.pb-2rem {
    padding-bottom: 2rem !important;
}
.pb-3rem {
    padding-bottom: 3rem !important;
}
.pb-4rem {
    padding-bottom:4rem !important;
}
.pb-5rem {
    padding-bottom: 5rem !important;
}
.pb-6rem {
    padding-bottom: 6rem !important;
}
.pb-7rem {
    padding-bottom: 7rem !important;
}
.pb-8rem {
    padding-bottom: 8rem !important;
}
.pb-9rem {
    padding-bottom: 9rem !important;
}
.pb-10rem {
    padding-bottom: 10rem !important;
}
.pb-11rem {
    padding-bottom: 11rem !important;
}
.pb-12rem {
    padding-bottom: 12rem !important;
}
.pb-13rem {
    padding-bottom: 13rem !important;
}
.pb-14rem {
    padding-bottom: 14rem !important;
}
.pb-15rem {
    padding-bottom: 15rem !important;
}
.pb-16rem {
    padding-bottom: 16rem !important;
}
.pb-17rem {
    padding-bottom: 17rem !important;
}
.pb-18rem {
    padding-bottom: 18rem !important;
}
.pb-19rem {
    padding-bottom: 19rem !important;
}
.pb-20rem {
    padding-bottom: 20rem !important;
}

.pt-1rem {
    padding-top: 1rem !important;
}
.pt-2rem {
    padding-top: 2rem !important;
}
.pt-3rem {
    padding-top: 3rem !important;
}
.pt-4rem {
    padding-top: 4rem !important;
}
.pt-5rem {
    padding-top: 5rem !important;
}
.pt-6rem {
    padding-top: 6rem !important;
}
.pt-7rem {
    padding-top: 7rem !important;
}
.pt-8rem {
    padding-top: 8rem !important;
}
.pt-9rem {
    padding-top: 9rem !important;
}
.pt-10rem {
    padding-top: 10rem !important;
}
.pt-11rem {
    padding-top: 11rem !important;
}
.pt-12rem {
    padding-top: 12rem !important;
}
.pt-13rem {
    padding-top: 13rem !important;
}
.pt-14rem {
    padding-top: 14rem !important;
}
.pt-15rem {
    padding-top: 15rem !important;
}
.pt-16rem {
    padding-top: 16rem !important;
}
.pt-17rem {
    padding-top: 17rem !important;
}
.pt-18rem {
    padding-top: 18rem !important;
}
.pt-19rem {
    padding-top: 19rem !important;
}
.pt-20rem {
    padding-top: 20rem !important;
}


.py-1rem {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.py-2rem {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}
.py-3rem {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.py-4rem {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}
.py-5rem {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}
.py-6rem {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}
.py-7rem {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}
.py-8rem {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}
.py-9rem {
    padding-top: 9rem !important;
    padding-bottom: 9rem !important;
}
.py-10rem {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}
.py-11rem {
    padding-top: 11rem !important;
    padding-bottom: 11rem !important;
}
.py-12rem {
    padding-top: 12rem !important;
    padding-bottom: 12rem !important;
}
.py-13rem {
    padding-top: 13rem !important;
    padding-bottom: 13rem !important;
}
.py-14rem {
    padding-top: 14rem !important;
    padding-bottom: 14rem !important;
}
.py-15rem {
    padding-top: 15rem !important;
    padding-bottom: 15rem !important;
}
.py-16rem {
    padding-top: 16rem !important;
    padding-bottom: 16rem !important;
}
.py-17rem {
    padding-top: 17rem !important;
    padding-bottom: 17rem !important;
}
.py-18rem {
    padding-top: 18rem !important;
    padding-bottom: 18rem !important;
}
.py-19rem {
    padding-top: 19rem !important;
    padding-bottom: 1rem !important;
}
.py-20rem {
    padding-top: 20rem !important;
    padding-bottom: 20rem !important;
}


.px-1rem {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.px-2rem {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
.px-3rem {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}
.px-4rem {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
}
.px-5rem {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
}
.px-6rem {
    padding-left: 6rem !important;
    padding-right: 6rem !important;
}
.px-7rem {
    padding-left: 7rem !important;
    padding-right: 7rem !important;
}
.px-8rem {
    padding-left: 8rem !important;
    padding-right: 8rem !important;
}
.px-9rem {
    padding-left: 9rem !important;
    padding-right: 9rem !important;
}
.px-10rem {
    padding-left: 10rem !important;
    padding-right: 10rem !important;
}
.px-11rem {
    padding-left: 11rem !important;
    padding-right: 11rem !important;
}
.px-12rem {
    padding-left: 12rem !important;
    padding-right: 12rem !important;
}
.px-13rem {
    padding-left: 13rem !important;
    padding-right: 13rem !important;
}
.px-14rem {
    padding-left: 14rem !important;
    padding-right: 14rem !important;
}
.px-15rem {
    padding-left: 15rem !important;
    padding-right: 15rem !important;
}
.px-16rem {
    padding-left: 16rem !important;
    padding-right: 16rem !important;
}
.px-17rem {
    padding-left: 17rem !important;
    padding-right: 17rem !important;
}
.px-18rem {
    padding-left: 18rem !important;
    padding-right: 18rem !important;
}
.px-19rem {
    padding-left: 19rem !important;
    padding-right: 19rem !important;
}
.px-20rem {
    padding-left: 20rem !important;
    padding-right: 20rem !important;
}

/* ============================================
   UNIQUE PORTFOLIO MODAL (Non-traditional Design)
   ============================================ */
.unique-modal .portfolio-modal-content {
    max-width: 95vw;
    width: 95vw;
    max-height: 90vh;
    margin: 5vh auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.95) translateY(30px) rotateY(5deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.unique-modal.active .portfolio-modal-content {
    transform: scale(1) translateY(0) rotateY(0deg);
}

.unique-modal-sidebar {
    background: var(--color-w-white);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
}

body.dark .unique-modal-sidebar {
    background: var(--color-dark-bg-light);
}

.modal-sidebar-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    color: var(--color-w-white);
    position: relative;
}

.modal-sidebar-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-w-white);
}

.unique-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-w-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.unique-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-sidebar-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
}

.unique-modal-main {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.unique-video-container {
    width: 100%;
    height: 100%;
    margin: 0;
}

.unique-video-container .video-wrapper {
    height: 100%;
    padding-bottom: 0;
}

.unique-video-container .video-wrapper iframe {
    position: relative;
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .unique-modal .portfolio-modal-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        max-height: 95vh;
    }
    
    .unique-modal-sidebar {
        max-height: 40vh;
    }
    
    .unique-modal-main {
        min-height: 50vh;
    }
}

@media (max-width: 767px) {
    .unique-modal .portfolio-modal-content {
        width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .modal-sidebar-header {
        padding: 20px;
    }
    
    .modal-sidebar-header h3 {
        font-size: 22px;
    }
    
    .modal-sidebar-body {
        padding: 20px;
    }
}


/* ============================================
   13. SERVICE CARDS
   ============================================ */
/* ============================================
   8. HOME SECTION
   ============================================ */
.developer-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(53, 184, 235, 0.1);
    border: 2px solid var(--color-w-primary);
    border-radius: 50px;
    color: var(--color-w-primary);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.developer-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-w-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.developer-badge:hover {
    color: var(--color-w-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(53, 184, 235, 0.3);
}

.developer-badge:hover::before {
    left: 0;
}

.developer-badge i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.developer-badge:hover i {
    transform: rotate(15deg) scale(1.1);
}

.developer-badge span {
    position: relative;
    z-index: 1;
}

body.dark .developer-badge {
    background: rgba(53, 184, 235, 0.15);
    border-color: var(--color-w-primary);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 100;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-text {
    font-size: 12px;
    color: var(--color-w-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-w-primary);
    border-radius: 50%;
    color: var(--color-w-primary);
    font-size: 20px;
    animation: scrollBounce 2s infinite;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.scroll-down-indicator:hover .scroll-icon {
    background: var(--color-w-primary);
    color: var(--color-w-white);
    transform: scale(1.15);
    box-shadow: 0 5px 20px rgba(53, 184, 235, 0.4);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}

@media (max-width: 991px) {
    .scroll-down-indicator {
        bottom: 30px;
    }
}

@media (max-width: 767px) {
    .scroll-down-indicator {
        bottom: 20px;
    }
    
    .scroll-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .scroll-text {
        font-size: 11px;
    }
    
    .developer-badge {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .developer-badge i {
        font-size: 16px;
    }
}
/* ============================================
   9. ABOUT SECTION
   ============================================ */
.about-section {
    position: relative;
    overflow: hidden;
    padding-top: 20px;
    min-height: auto !important;
}

@media (max-width: 767px) {
    .about-section {
        padding-top: 15px;
    }
}

/* About section background is handled in Section Backgrounds (Section 11) */

.modern-about-content {
    padding: 40px 0; /* Reduced from 80px */
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-frame {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 15px 50px rgba(53, 184, 235, 0.2),
                0 0 0 3px var(--color-w-white),
                0 0 0 6px rgba(53, 184, 235, 0.1);
    background: var(--color-w-white);
    padding: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 100%;
}

body.dark .about-image-frame {
    background: var(--color-dark-bg-light);
    box-shadow: 0 15px 50px rgba(53, 184, 235, 0.3),
                0 0 0 3px var(--color-dark-bg-light),
                0 0 0 6px rgba(53, 184, 235, 0.15);
}

.about-image-frame:hover {
    box-shadow: 0 25px 70px rgba(53, 184, 235, 0.35),
                0 0 0 3px var(--color-w-white),
                0 0 0 8px rgba(53, 184, 235, 0.2);
    transform: translateY(-8px) scale(1.02);
}

body.dark .about-image-frame:hover {
    box-shadow: 0 25px 70px rgba(53, 184, 235, 0.4),
                0 0 0 3px var(--color-dark-bg-light),
                0 0 0 8px rgba(53, 184, 235, 0.25);
}

.photo-inner-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-w-white);
}

body.dark .photo-inner-frame {
    background: var(--color-dark-bg);
}

.modern-about-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.about-image-frame:hover .modern-about-photo {
    transform: scale(1.05);
}

/* Professional Corner Accent */
.photo-corner-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    z-index: 3;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.about-image-frame:hover .photo-corner-accent {
    width: 100px;
    height: 100px;
    opacity: 1;
}

/* Professional Badge */
.photo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--color-w-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid var(--color-w-primary);
}

body.dark .photo-badge {
    background: var(--color-dark-bg-light);
    border-color: var(--color-w-primary);
}

.photo-badge i {
    font-size: 20px;
    color: var(--color-w-primary);
    transition: all 0.4s ease;
}

.about-image-frame:hover .photo-badge {
    transform: rotate(10deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(53, 184, 235, 0.4);
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
}

.about-image-frame:hover .photo-badge i {
    color: var(--color-w-white);
    transform: rotate(-10deg);
}

/* Glow Effect */
.photo-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(53, 184, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.about-image-frame:hover .photo-glow-effect {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.25;
    }
}

.about-text-content {
    padding: 30px 0 30px 50px;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-intro {
    margin-bottom: 35px;
}

.about-greeting {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-w-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.about-greeting::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    border-radius: 2px;
}

.about-name {
    font-size: 56px;
    font-weight: 900;
    color: var(--color-w-black);
    margin-bottom: 25px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

body.dark .about-name {
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(53, 184, 235, 0.12) 0%, rgba(53, 184, 235, 0.08) 100%);
    border: 2px solid var(--color-w-primary);
    border-radius: 50px;
    color: var(--color-w-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-title-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.about-title-badge:hover::before {
    left: 100%;
}

.about-title-badge:hover {
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    color: var(--color-w-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(53, 184, 235, 0.4);
}

.about-title-badge i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.about-title-badge:hover i {
    transform: rotate(10deg) scale(1.1);
}

body.dark .about-title-badge {
    background: linear-gradient(135deg, rgba(53, 184, 235, 0.18) 0%, rgba(53, 184, 235, 0.12) 100%);
    border-color: var(--color-w-primary);
}

.about-description {
    margin-top: 40px;
}

.about-description p {
    font-size: 18px;
    line-height: 2;
    color: var(--color-w-black);
    margin-bottom: 25px;
    position: relative;
    padding-left: 25px;
    opacity: 0.8;
}

.about-description p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--color-w-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(53, 184, 235, 0.1);
}

body.dark .about-description p {
    color: #d0d0d0;
}

body.dark .about-description p::before {
    box-shadow: 0 0 0 4px rgba(53, 184, 235, 0.2);
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-description strong {
    color: var(--color-w-primary);
    font-weight: 700;
    position: relative;
    padding: 0 4px;
}

.about-description strong::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 4px;
    right: 4px;
    height: 3px;
    background: rgba(53, 184, 235, 0.3);
    border-radius: 2px;
    z-index: -1;
}

body.dark .about-description strong {
    color: var(--color-w-primary);
}

/* Enhanced Service Cards - Override existing styles */
.resume-item.item {
    background: var(--color-w-white) !important;
    border-radius: 24px !important;
    padding: 40px 35px !important;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 2px solid transparent !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    display: flex;
    flex-direction: column;
}

body.dark .resume-item.item {
    background: var(--color-dark-bg-light) !important;
    box-shadow: 0 8px 25px rgba(33, 30, 27, 0.3) !important;
}

.resume-item.item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(53, 184, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.resume-item.item:hover::after {
    opacity: 1;
}

.resume-item.item:hover {
    transform: translateY(-12px) scale(1.02) !important;
    border-color: var(--color-w-primary) !important;
    box-shadow: 0 20px 50px rgba(53, 184, 235, 0.25) !important;
}

.resume-item.item h3 {
    width: 80px !important;
    height: 80px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%) !important;
    border-radius: 20px !important;
    color: var(--color-w-white) !important;
    font-size: 36px !important;
    margin-bottom: 30px !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 8px 20px rgba(53, 184, 235, 0.3) !important;
    position: relative;
    z-index: 1;
}

.resume-item.item:hover h3 {
    transform: rotate(-5deg) scale(1.15) !important;
    box-shadow: 0 12px 30px rgba(53, 184, 235, 0.4) !important;
}

.resume-item.item h5 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--color-w-black) !important;
    margin-bottom: 18px !important;
    transition: color 0.3s ease !important;
    position: relative;
    z-index: 1;
}

body.dark .resume-item.item h5 {
    color: var(--color-dark-text) !important;
}

.resume-item.item:hover h5 {
    color: var(--color-w-primary) !important;
}

.resume-item.item p {
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: #666 !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
    flex: 1;
}

body.dark .resume-item.item p {
    color: #b0b0b0 !important;
}

/* About Section Heading Enhancement - Restore Original Position */
.about-section .heading {
    position: relative;
    margin-bottom: 15px; /* Reduced spacing under heading */
    margin-top: 0;
    padding-top: 30px; /* Add space at top */
}

.about-section .heading h2 {
    position: relative;
    display: inline-block;
    margin-top: 0 !important;
    margin-bottom: 8px !important; /* Reduced space under text */
}

/* Desktop: Line appears under the word (centered) */
.about-section .heading.text-md-center h2::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Move line lower */
    left: 50%;
    transform: translateX(-50%);
    width: 150px; /* Increased width */
    height: 5px;
    background: var(--color-w-primary);
    border-radius: 3px;
}

/* Mobile: Line appears before the text (left side) */
@media (max-width: 767px) {
    .about-section .heading.text-left h2::after {
        content: '';
        position: absolute;
        left: -25px;
        top: 2px;
        height: 100%;
        width: 5px;
        border-radius: 0 10px 10px 0;
        background: var(--color-w-primary);
        transform: none;
    }
    
    .about-section .heading.text-md-center h2::after {
        left: -25px;
        top: 2px;
        height: 100%;
        width: 5px;
        border-radius: 0 10px 10px 0;
        transform: none;
        bottom: auto;
    }
}

/* Services Section Enhancement */
.about-section .resume {
    padding: 50px 0; /* Reduced from 80px */
    position: relative;
}

.about-section .resume .heading {
    margin-bottom: 30px; /* Reduced from 60px */
}

@media (max-width: 1199px) {
    .about-text-content {
        padding: 30px 0 30px 40px;
    }
    
    .about-name {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .modern-about-content {
        padding: 30px 0; /* Reduced */
    }
    
    .about-text-content {
        padding: 30px 0 20px 0;
        margin-top: 30px;
        text-align: center;
    }
    
    .about-name {
        font-size: 42px;
    }
    
    .about-greeting {
        font-size: 18px;
    }
    
    .about-image-wrapper {
        padding: 15px;
    }
    
    .about-section .resume {
        padding: 40px 0; /* Reduced */
    }
    
    .about-section .heading {
        margin-bottom: 25px;
    }
    
    .photo-corner-accent {
        width: 60px;
        height: 60px;
    }
    
    .about-image-frame:hover .photo-corner-accent {
        width: 80px;
        height: 80px;
    }
    
    .photo-badge {
        width: 45px;
        height: 45px;
        top: 12px;
        right: 12px;
    }
    
    .photo-badge i {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .modern-about-content {
        padding: 30px 0; /* Reduced */
    }
    
    .about-text-content {
        padding: 25px 0 15px 0;
        margin-top: 25px;
    }
    
    .about-name {
        font-size: 36px;
    }
    
    .about-greeting {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .about-title-badge {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .about-description {
        margin-top: 25px;
    }
    
    .about-description p {
        font-size: 16px;
        line-height: 1.85;
        padding-left: 20px;
    }
    
    .about-description p::before {
        width: 5px;
        height: 5px;
        top: 10px;
    }
    
    .about-image-wrapper {
        padding: 10px;
    }
    
    .about-section .resume {
        padding: 30px 0; /* Reduced */
    }
    
    .about-section .heading {
        margin-bottom: 25px; /* Reduced */
    }
    
    .photo-corner-accent {
        width: 50px;
        height: 50px;
    }
    
    .about-image-frame:hover .photo-corner-accent {
        width: 65px;
        height: 65px;
    }
    
    .photo-badge {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
        border-width: 2px;
    }
    
    .photo-badge i {
        font-size: 16px;
    }
    
    .about-image-frame {
        padding: 6px;
    }
}

@media (max-width: 575px) {
    .modern-about-content {
        padding: 25px 0; /* Reduced */
    }
    
    .about-name {
        font-size: 32px;
    }
    
    .about-greeting {
        font-size: 14px;
        letter-spacing: 1.5px;
    }
    
    .about-title-badge {
        padding: 10px 20px;
        font-size: 13px;
        gap: 8px;
    }
    
    .about-title-badge i {
        font-size: 16px;
    }
    
    .about-description p {
        font-size: 15px;
        padding-left: 18px;
    }
    
    .about-image-wrapper {
        padding: 10px;
    }
    
    .about-section .heading {
        margin-bottom: 20px;
    }
    
    .about-section .heading h2 {
        font-size: 50px;
    }
    
    .photo-corner-accent {
        width: 45px;
        height: 45px;
    }
    
    .about-image-frame:hover .photo-corner-accent {
        width: 55px;
        height: 55px;
    }
    
    .photo-badge {
        width: 35px;
        height: 35px;
        top: 8px;
        right: 8px;
        border-width: 2px;
    }
    
    .photo-badge i {
        font-size: 14px;
    }
    
    .about-image-frame {
        padding: 5px;
        box-shadow: 0 12px 40px rgba(53, 184, 235, 0.15),
                    0 0 0 2px var(--color-w-white),
                    0 0 0 4px rgba(53, 184, 235, 0.08);
    }
    
    body.dark .about-image-frame {
        box-shadow: 0 12px 40px rgba(53, 184, 235, 0.25),
                    0 0 0 2px var(--color-dark-bg-light),
                    0 0 0 4px rgba(53, 184, 235, 0.12);
    }
}
/* ============================================
   10. NAVIGATION MENU
   ============================================ */
#navigation.is-fixed ul {
    background: linear-gradient(135deg, var(--color-w-white) 0%, var(--color-w-light) 100%);
    border: 2px solid var(--color-w-primary);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(53, 184, 235, 0.2);
    padding: 20px 10px;
}

body.dark #navigation.is-fixed ul {
    background: linear-gradient(135deg, var(--color-dark-bg-light) 0%, var(--color-dark-bg) 100%);
    border-color: var(--color-w-primary);
    box-shadow: 0 10px 40px rgba(53, 184, 235, 0.3);
}

#navigation.is-fixed ul li {
    margin-bottom: 8px;
}

#navigation.is-fixed ul li:last-child {
    margin-bottom: 0;
}

#navigation.is-fixed ul li a {
    padding: 14px 20px 14px 55px;
    margin-left: 0;
    text-transform: capitalize;
    position: relative;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    display: block;
    color: var(--color-w-black);
    border-radius: 10px;
    background: transparent;
}

body.dark #navigation.is-fixed ul li a {
    color: var(--color-dark-text);
}

#navigation.is-fixed ul li a:hover {
    background: rgba(53, 184, 235, 0.1);
    color: var(--color-w-primary);
    transform: translateX(5px);
    padding-left: 60px;
}

body.dark #navigation.is-fixed ul li a:hover {
    background: rgba(53, 184, 235, 0.15);
    color: var(--color-w-primary);
}

#navigation.is-fixed ul li a.active {
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    color: var(--color-w-white);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(53, 184, 235, 0.3);
    transform: translateX(5px);
}

#navigation.is-fixed ul li a.active:before {
    opacity: 0;
}

#navigation.is-fixed ul li a:before {
    position: absolute;
    content: "";
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-w-primary);
    width: 5px;
    height: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
}

#navigation.is-fixed ul li a:hover:before {
    opacity: 1;
    left: 18px;
}

#navigation.is-fixed ul li a.active:before {
    background-color: var(--color-w-white);
    opacity: 1;
    left: 18px;
}

#navigation.is-fixed ul li a span {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    transition: all 0.3s ease;
    color: var(--color-w-primary);
}

#navigation.is-fixed ul li a:hover span,
#navigation.is-fixed ul li a.active span {
    color: var(--color-w-primary);
    transform: translateY(-50%) scale(1.1);
}

#navigation.is-fixed ul li a.active span {
    color: var(--color-w-white);
}

/* Navigation Trigger Button */
.navigation-trigger {
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%) !important;
    box-shadow: 0 5px 20px rgba(53, 184, 235, 0.3) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.navigation-trigger:hover {
    background: linear-gradient(135deg, var(--color-w-primary-hover) 0%, var(--color-w-primary) 100%) !important;
    box-shadow: 0 8px 25px rgba(53, 184, 235, 0.4) !important;
    transform: scale(1.05) !important;
}

body.dark .navigation-trigger {
    background: linear-gradient(135deg, var(--color-dark-bg-light) 0%, var(--color-dark-bg) 100%) !important;
    box-shadow: 0 5px 20px rgba(33, 30, 27, 0.3) !important;
}

body.dark .navigation-trigger:hover {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-dark-bg-light) 100%) !important;
    box-shadow: 0 8px 25px rgba(33, 30, 27, 0.5) !important;
}

/* ============================================
   COMPLETE REDESIGN - YEARS EXPERIENCE SECTION
   ============================================ */
.badges {
    padding: 100px 0;
    position: relative;
    background: var(--color-w-white);
    overflow: hidden;
}

body.dark .badges {
    background: var(--color-dark-bg-light);
}

/* Animated Background Pattern */
.badges::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(53, 184, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(53, 184, 235, 0.06) 0%, transparent 40%);
    animation: rotateBackground 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

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

.badges > .container {
    position: relative;
    z-index: 1;
}

.badges .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin: 0;
}

.badges .row > * {
    flex: 1;
    min-width: 0;
}

/* Modern Stat Card Design */
.badges .col-12.col-md-4 {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
    max-width: 100%;
    background: linear-gradient(135deg, var(--color-w-white) 0%, var(--color-w-light) 100%);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 
        0 10px 30px rgba(33, 30, 27, 0.08),
        0 0 0 1px rgba(53, 184, 235, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid transparent;
    width: 100%;
}

.badges .col-12.col-md-4::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(53, 184, 235, 0.1),
        transparent 30%
    );
    animation: rotateBorder 3s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.badges .col-12.col-md-4:hover::after {
    opacity: 1;
}

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

.badges .col-12.col-md-4::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--color-w-white) 0%, var(--color-w-light) 100%);
    z-index: -1;
}

.badges .col-12.col-md-4:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(53, 184, 235, 0.25),
        0 0 0 2px var(--color-w-primary);
    border-color: var(--color-w-primary);
}

body.dark .badges .col-12.col-md-4 {
    background: linear-gradient(135deg, var(--color-dark-bg-light) 0%, var(--color-dark-bg) 100%);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(53, 184, 235, 0.2);
}

body.dark .badges .col-12.col-md-4::before {
    background: linear-gradient(135deg, var(--color-dark-bg-light) 0%, var(--color-dark-bg) 100%);
}

body.dark .badges .col-12.col-md-4:hover {
    box-shadow: 
        0 20px 50px rgba(53, 184, 235, 0.35),
        0 0 0 2px var(--color-w-primary);
}

/* Icon Design - Modern Glassmorphism Style */
.badges .material-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, rgba(53, 184, 235, 0.15) 0%, rgba(53, 184, 235, 0.05) 100%);
    backdrop-filter: blur(10px);
    color: var(--color-w-primary);
    border-radius: 24px;
    font-size: 48px;
    margin-bottom: 30px;
    box-shadow: 
        0 8px 32px rgba(53, 184, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    border: 2px solid rgba(53, 184, 235, 0.2);
}

.badges .col-12.col-md-4:hover .material-icons {
    transform: rotateY(360deg) scale(1.15);
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    color: var(--color-w-white);
    box-shadow: 
        0 15px 45px rgba(53, 184, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--color-w-primary);
}

.badges .material-icons::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--color-w-primary), var(--color-w-primary-hover));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(8px);
}

.badges .col-12.col-md-4:hover .material-icons::after {
    opacity: 0.6;
}

/* Number Styling - Bold & Modern */
.badges h3 {
    font-size: 72px;
    font-weight: 900;
    margin: 0 0 15px 0;
    line-height: 1;
    letter-spacing: -3px;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 50%, var(--color-w-primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.badges .col-12.col-md-4:hover h3 {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 8px rgba(53, 184, 235, 0.3));
}

body.dark .badges h3 {
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 50%, var(--color-w-primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description Text - Elegant Typography */
.badges p {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-w-black);
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    opacity: 0.85;
}

.badges .col-12.col-md-4:hover p {
    color: var(--color-w-primary);
    opacity: 1;
    transform: translateY(-2px);
}

body.dark .badges p {
    color: var(--color-dark-text);
    opacity: 0.9;
}

body.dark .badges .col-12.col-md-4:hover p {
    color: var(--color-w-primary);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
    .badges {
        padding: 70px 0;
    }
    
    .badges .row {
        gap: 25px;
    }
    
    .badges .col-12.col-md-4 {
        flex: 0 1 calc(50% - 12.5px);
        min-width: 250px;
        padding: 45px 25px;
    }
    
    .badges .material-icons {
        width: 95px;
        height: 95px;
        font-size: 42px;
        margin-bottom: 25px;
    }
    
    .badges h3 {
        font-size: 60px;
    }
    
    .badges p {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .badges {
        padding: 60px 0;
    }
    
    .badges .row {
        flex-direction: column;
        gap: 25px;
    }
    
    .badges .col-12.col-md-4 {
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 50px 30px;
    }
    
    .badges .material-icons {
        width: 100px;
        height: 100px;
        font-size: 45px;
        margin-bottom: 25px;
    }
    
    .badges h3 {
        font-size: 64px;
    }
    
    .badges p {
        font-size: 19px;
    }
}

/* Enhanced Theme Switcher Close Button */
.switcher-close-btn {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--color-w-white) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 18px !important;
    padding: 0 !important;
    backdrop-filter: blur(10px) !important;
}

.switcher-close-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.switcher-close-btn:active {
    transform: rotate(90deg) scale(0.95) !important;
}

/* Responsive Navigation */
@media (max-width: 991px) {
    #navigation.is-fixed ul {
        max-width: 180px;
        right: 30px;
        top: 30px;
    }
    
    .navigation-trigger {
        top: 30px !important;
        right: 30px !important;
    }
}

@media (max-width: 767px) {
    #navigation.is-fixed ul {
        max-width: 160px;
        right: 20px;
        top: 20px;
        padding: 15px 8px;
    }
    
    #navigation.is-fixed ul li a {
        padding: 12px 15px 12px 50px;
        font-size: 15px;
    }
    
    #navigation.is-fixed ul li a span {
        font-size: 20px;
        left: 15px;
    }
    
    .navigation-trigger {
        width: 48px !important;
        height: 48px !important;
        top: 20px !important;
        right: 20px !important;
    }
}
/* ============================================
   11. SECTION BACKGROUNDS
   ============================================ */

/* Section 1: Home Section - Hero/Introduction */
.home-section {
    background: var(--color-w-white);
    position: relative;
}

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

/* Section 2: About Section - Personal Info & Services */
.about-section#about {
    background: var(--color-w-white);
    position: relative;
    overflow: hidden;
}

body.dark .about-section#about {
    background: var(--color-dark-bg-light);
}

/* Section 3: Websites Section - Portfolio & Experience Stats */
.section#websites,
.section.about-section#websites {
    background: var(--color-w-white);
    position: relative;
    overflow: hidden;
}

body.dark .section#websites,
body.dark .section.about-section#websites {
    background: var(--color-dark-bg-light);
}

/* ============================================
   14. MODERN CONTACT SECTION
   ============================================ */

.contact-section {
    background: linear-gradient(180deg, var(--color-w-light) 0%, rgba(245, 247, 244, 0.97) 50%, #eef5f8 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(53, 184, 235, 0.2), transparent);
    pointer-events: none;
}

body.dark .contact-section {
    background: linear-gradient(180deg, var(--color-dark-bg) 0%, #1e2528 100%);
}

body.dark .contact-section::before {
    background: linear-gradient(90deg, transparent, rgba(53, 184, 235, 0.15), transparent);
}

/* Contact section heading – same style as "My Portfolio" */
.contact-section .heading.contact-section-heading {
    position: relative;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 30px;
}

.contact-section .heading.contact-section-heading h2 {
    position: relative;
    display: inline-block;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.contact-section .heading.text-md-center h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: var(--color-w-primary);
    border-radius: 3px;
}

@media (max-width: 767px) {
    .contact-section .heading.text-left h2::after,
    .contact-section .heading.text-md-center h2::after {
        content: '';
        position: absolute;
        left: -25px;
        top: 2px;
        height: 100%;
        width: 5px;
        border-radius: 0 10px 10px 0;
        background: var(--color-w-primary);
        transform: none;
        bottom: auto;
    }
}

/* Contact tagline – centered pill style + animations */
@keyframes contact-tagline-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes contact-tagline-icon-pulse {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50%  { transform: scale(1.08); opacity: 1; }
}

.contact-tagline {
    width: 100%;
    margin: 32px 0 56px;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    box-sizing: border-box;
}

.contact-tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(53, 184, 235, 0.06);
    border: 1px solid rgba(53, 184, 235, 0.18);
    box-shadow: 0 10px 30px rgba(33, 30, 27, 0.04);
    backdrop-filter: blur(10px);
    animation: contact-tagline-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-tagline-pill:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 40px rgba(53, 184, 235, 0.15);
    border-color: rgba(53, 184, 235, 0.35);
}

.contact-tagline-pill:hover .contact-tagline-icon {
    animation: contact-tagline-icon-pulse 0.6s ease-in-out;
}

.contact-tagline-icon {
    font-size: 18px;
    color: var(--color-w-primary);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.contact-tagline-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.contact-tagline-text strong {
    font-weight: 600;
    color: var(--color-w-primary);
}

body.dark .contact-tagline-pill {
    background: rgba(53, 184, 235, 0.08);
    border-color: rgba(53, 184, 235, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

body.dark .contact-tagline-pill:hover {
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), 0 0 24px rgba(53, 184, 235, 0.12);
    border-color: rgba(53, 184, 235, 0.45);
}

body.dark .contact-tagline-text {
    color: rgba(224, 224, 224, 0.9);
}

body.dark .contact-tagline-text strong {
    color: var(--color-w-primary);
}

/* Contact box as link (phone, email) - no default link styling */
.contact-box-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}

.contact-box-link:hover {
    color: inherit;
}

/* Modern Contact Boxes - Premium Enhanced Design */
.modern-contact-boxes {
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.modern-contact-boxes .col-12 {
    padding: 0;
}

.modern-contact-boxes .col-md-4 {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

.modern-contact-box {
    background: var(--color-w-white);
    border-radius: 22px;
    padding: 0;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(53, 184, 235, 0.12);
    box-shadow: 
        0 4px 20px rgba(33, 30, 27, 0.06),
        0 0 0 1px rgba(53, 184, 235, 0.06);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    backdrop-filter: blur(10px);
}

.contact-box-link.modern-contact-box {
    cursor: pointer;
}

.modern-contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-w-primary) 0%, 
        var(--color-w-primary-hover) 50%, 
        var(--color-w-primary) 100%);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left;
    z-index: 2;
}

.modern-contact-box:hover::before {
    transform: scaleX(1);
}

.modern-contact-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(53, 184, 235, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                height 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.modern-contact-box:hover::after {
    width: 400px;
    height: 400px;
}

.modern-contact-box:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(53, 184, 235, 0.25),
        0 0 0 1px rgba(53, 184, 235, 0.2);
    border-color: rgba(53, 184, 235, 0.3);
}

body.dark .modern-contact-box {
    background: var(--color-dark-bg-light);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(53, 184, 235, 0.1);
    border-color: rgba(53, 184, 235, 0.15);
}

body.dark .modern-contact-box:hover {
    box-shadow: 
        0 20px 60px rgba(53, 184, 235, 0.3),
        0 0 0 1px rgba(53, 184, 235, 0.25);
}

.contact-box-icon {
    width: 68px;
    height: 68px;
    margin: 28px 0 0 28px;
    background: linear-gradient(135deg, 
        rgba(53, 184, 235, 0.1) 0%, 
        rgba(53, 184, 235, 0.05) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-w-primary);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
    align-self: flex-start;
    border: 2px solid rgba(53, 184, 235, 0.2);
    box-shadow: 
        inset 0 2px 4px rgba(53, 184, 235, 0.1),
        0 4px 12px rgba(53, 184, 235, 0.15);
}

.contact-box-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(8px);
}

.modern-contact-box:hover .contact-box-icon::before {
    opacity: 0.4;
}

.modern-contact-box:hover .contact-box-icon {
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    color: var(--color-w-white);
    transform: scale(1.12) rotate(-6deg) translateY(-4px);
    border-color: transparent;
    box-shadow: 
        0 12px 35px rgba(53, 184, 235, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.2);
}

.modern-contact-box h5 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(33, 30, 27, 0.55);
    margin: 24px 28px 10px;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.modern-contact-box:hover h5 {
    color: var(--color-w-primary);
    transform: translateX(4px);
}

body.dark .modern-contact-box h5 {
    color: rgba(224, 224, 224, 0.5);
}

body.dark .modern-contact-box:hover h5 {
    color: var(--color-w-primary);
}

.modern-contact-box p {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-w-black);
    margin: 0 28px 28px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    word-break: break-word;
    transition: all 0.4s ease;
    letter-spacing: 0.2px;
}

.modern-contact-box:hover p {
    color: var(--color-w-black);
    transform: translateX(2px);
}

body.dark .modern-contact-box p {
    color: var(--color-dark-text);
}

body.dark .modern-contact-box p {
    color: var(--color-dark-text);
}

/* Modern Contact Form Section */
.modern-contact-form-section {
    margin-top: 22px;
    gap: 20px;
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
}

.modern-contact-info {
    margin-bottom: 24px;
}

.modern-contact-form-section > [class*="col-"] {
    display: flex;
}

.modern-contact-info .contact-info-wrapper,
.modern-contact-form-wrapper .modern-contact-form {
    width: 100%;
    height: 100%;
    min-height: 0;
}

/* Force 2-column layout on desktops (>= 992px) */
@media (min-width: 992px) {
    .modern-contact-form-section {
        flex-wrap: nowrap;
    }

    .modern-contact-info {
        flex: 0 0 41.6667%;
        max-width: 41.6667%;
        margin-bottom: 0;
    }

    .modern-contact-form-wrapper {
        flex: 0 0 58.3333%;
        max-width: 58.3333%;
        margin-bottom: 0;
    }
}

.contact-info-wrapper {
    background: var(--color-w-white);
    border-radius: 24px;
    padding: 20px 22px;
    box-shadow: 0 10px 36px rgba(33, 30, 27, 0.06), 0 0 0 1px rgba(53, 184, 235, 0.08);
    border: 1px solid rgba(53, 184, 235, 0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
}

body.dark .contact-info-wrapper {
    background: var(--color-dark-bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(53, 184, 235, 0.2);
}

.contact-info-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-w-black);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.contact-info-wrapper h3::before {
    content: '';
    width: 36px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

body.dark .contact-info-wrapper h3 {
    color: var(--color-dark-text);
}

.contact-info-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-w-black);
    margin: 0 0 16px 0;
    opacity: 0.9;
}

body.dark .contact-info-description {
    color: var(--color-dark-text);
    opacity: 0.9;
}

.contact-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(33, 30, 27, 0.85);
}

.contact-highlights li i {
    color: var(--color-w-primary);
    font-size: 14px;
}

body.dark .contact-highlights li {
    color: rgba(224, 224, 224, 0.85);
}

.social-section-modern {
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(53, 184, 235, 0.15);
}

.social-section-modern h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-w-black);
    margin: 0 0 14px 0;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

body.dark .social-section-modern h4 {
    color: var(--color-dark-text);
}

.modern-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modern-social-list li a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(53, 184, 235, 0.08);
    border-radius: 12px;
    color: var(--color-w-primary);
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-decoration: none;
}

.modern-social-list li a:hover {
    background: var(--color-w-primary);
    color: var(--color-w-white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(53, 184, 235, 0.4);
    border-color: var(--color-w-primary);
}

body.dark .modern-social-list li a {
    background: var(--color-dark-bg);
    color: var(--color-w-primary);
    border-color: rgba(53, 184, 235, 0.2);
}

body.dark .modern-social-list li a:hover {
    background: var(--color-w-primary);
    color: var(--color-w-white);
}

/* Modern Contact Form */
.modern-contact-form-wrapper {
    margin-bottom: 0;
}

.modern-contact-form {
    background: var(--color-w-white);
    border-radius: 24px;
    padding: 20px 22px;
    box-shadow: 0 10px 36px rgba(33, 30, 27, 0.06), 0 0 0 1px rgba(53, 184, 235, 0.08);
    border: 1px solid rgba(53, 184, 235, 0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modern-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
}

body.dark .modern-contact-form {
    background: var(--color-dark-bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(53, 184, 235, 0.2);
}

/* Form header (title + subtitle) */
.modern-contact-form-header {
    margin-bottom: 12px;
}

.modern-contact-form-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--color-w-black);
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dark .modern-contact-form-title {
    color: var(--color-dark-text);
}

.modern-contact-form-title::before {
    content: '';
    width: 36px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.modern-contact-form-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(33, 30, 27, 0.65);
}

body.dark .modern-contact-form-subtitle {
    color: rgba(224, 224, 224, 0.75);
}

/* Animations (entrance + subtle hover) */
@keyframes contact-card-in {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-info-wrapper,
.modern-contact-form,
.modern-contact-box {
    animation: contact-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modern-contact-boxes .col-12:nth-child(1) .modern-contact-box { animation-delay: 0.05s; }
.modern-contact-boxes .col-12:nth-child(2) .modern-contact-box { animation-delay: 0.10s; }
.modern-contact-boxes .col-12:nth-child(3) .modern-contact-box { animation-delay: 0.15s; }
.modern-contact-info .contact-info-wrapper { animation-delay: 0.18s; }
.modern-contact-form-wrapper .modern-contact-form { animation-delay: 0.24s; }

.contact-info-wrapper,
.modern-contact-form {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-info-wrapper:hover,
.modern-contact-form:hover {
    transform: translateY(-6px);
    border-color: rgba(53, 184, 235, 0.28);
    box-shadow: 0 18px 60px rgba(53, 184, 235, 0.14);
}

body.dark .contact-info-wrapper:hover,
body.dark .modern-contact-form:hover {
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 26px rgba(53, 184, 235, 0.10);
}

@media (prefers-reduced-motion: reduce) {
    .contact-info-wrapper,
    .modern-contact-form,
    .modern-contact-box {
        animation: none !important;
        transition: none !important;
    }
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

.form-group-modern {
    margin-bottom: 10px;
}

/* Remove extra bottom margin inside the first row (Name + Subject),
   so the space above \"Your Email\" is tighter */
.form-row-modern .form-group-modern {
    margin-bottom: 0;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-w-black);
    font-size: 14px;
    margin-bottom: 6px;
}

.form-group-modern label i {
    color: var(--color-w-primary);
    font-size: 16px;
}

body.dark .form-group-modern label {
    color: var(--color-dark-text);
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid rgba(33, 30, 27, 0.12);
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-w-light);
    font-family: inherit;
    color: var(--color-w-black);
    outline: none;
}

.form-group-modern input::placeholder,
.form-group-modern textarea::placeholder {
    color: rgba(33, 30, 27, 0.5);
}

body.dark .form-group-modern input,
body.dark .form-group-modern textarea {
    background: var(--color-dark-bg);
    border-color: var(--color-dark-border);
    color: var(--color-dark-text);
}

body.dark .form-group-modern input::placeholder,
body.dark .form-group-modern textarea::placeholder {
    color: rgba(224, 224, 224, 0.5);
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    border-color: var(--color-w-primary);
    background: var(--color-w-white);
    box-shadow: 0 0 0 4px rgba(53, 184, 235, 0.1);
    transform: translateY(-2px);
}

body.dark .form-group-modern input:focus,
body.dark .form-group-modern textarea:focus {
    background: var(--color-dark-bg-light);
    box-shadow: 0 0 0 4px rgba(53, 184, 235, 0.15);
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 88px;
    font-family: inherit;
}

.modern-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--color-w-primary) 0%, var(--color-w-primary-hover) 100%);
    color: var(--color-w-white);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(53, 184, 235, 0.3);
    cursor: pointer;
    font-family: inherit;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(53, 184, 235, 0.4);
}

.modern-submit-btn:active {
    transform: translateY(-1px);
}

.modern-submit-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.modern-submit-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-section {
        padding: 44px 0 38px;
    }
    
    .modern-contact-boxes {
        margin-bottom: 40px;
        gap: 20px;
    }
    
    .modern-contact-boxes .col-md-4 {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .modern-contact-box {
        min-height: 200px;
        border-radius: 18px;
    }
    
    .contact-box-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
        margin: 24px 0 0 24px;
        border-radius: 16px;
    }
    
    .modern-contact-box h5 {
        font-size: 10px;
        margin: 22px 24px 8px;
        letter-spacing: 1.5px;
    }
    
    .modern-contact-box p {
        font-size: 16px;
        margin: 0 24px 24px;
    }
    
    .contact-info-wrapper {
        padding: 24px 26px;
        margin-bottom: 24px;
    }
    
    .modern-contact-form {
        padding: 24px 26px;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 38px 0 34px;
    }
    
    .contact-tagline {
        margin: 24px 16px 44px;
        padding: 0 16px;
    }
    
    .contact-tagline-icon {
        font-size: 17px;
    }
    
    .contact-tagline-text {
        font-size: 15px;
        max-width: 100%;
    }
    
    .modern-contact-boxes {
        margin-bottom: 30px;
        gap: 20px;
        flex-direction: column;
    }
    
    .modern-contact-boxes .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .modern-contact-box {
        min-height: 180px;
        border-radius: 18px;
    }
    
    .contact-box-link.modern-contact-box {
        min-height: 180px;
    }
    
    .contact-box-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin: 22px 0 0 22px;
        border-radius: 14px;
    }
    
    .modern-contact-box h5 {
        font-size: 12px;
        margin: 20px 22px 8px;
        letter-spacing: 1.5px;
    }
    
    .modern-contact-box p {
        font-size: 15px;
        margin: 0 22px 22px;
    }
    
    .contact-info-wrapper {
        padding: 22px 20px;
    }
    
    .contact-info-wrapper h3 {
        font-size: 20px;
    }
    
    .contact-info-description {
        font-size: 14px;
    }
    
    .contact-highlights {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .social-section-modern {
        margin-top: 16px;
        margin-bottom: 0;
        padding-top: 14px;
    }
    
    .social-section-modern h4 {
        font-size: 14px;
    }
    
    .modern-contact-form {
        padding: 22px 20px;
    }
    
    .modern-social-list li a {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }
}

/* General Section Styling - Override min-height for better flow */
.section {
    min-height: auto !important;
}

/* Smooth transitions between sections */
.section {
    transition: background 0.3s ease;
}

