
/* ===========================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   =========================================== */

/* Hide left sidebar on mobile and tablets */
@media (max-width: 480px) {
    .left-sidebar {
        display: none !important;
    }
    
    /* Hide desktop navigation */
    .menu.scroll-nav {
        display: none !important;
    }
    
    /* Show mobile hamburger */
    .icon-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        width: 50px !important;
        height: 50px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(8px) !important;
        border: 2px solid var(--primary_color) !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 3px !important;
    }
    
    .icon-menu .hamburger {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #ffffff !important;
        margin: 4px auto !important;
        border-radius: 1px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Mobile sidebar */
    .responsive-sidebar-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.8) !important;
        backdrop-filter: blur(10px) !important;
        z-index: 9998 !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease !important;
    }
    
    .responsive-sidebar-menu.active {
        transform: translateX(0) !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 280px !important;
        height: 100% !important;
        background: rgba(20, 20, 20, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 80px 0 40px 0 !important;
        overflow-y: auto !important;
    }
    
    .responsive-sidebar-menu .menu-close {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        border: 2px solid var(--primary_color) !important;
        backdrop-filter: blur(8px) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
        border-radius: 50% !important;
        color: #fff !important;
        font-weight: normal !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .responsive-sidebar-menu.active .menu-close {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .responsive-sidebar-menu.active ~ .icon-menu,
    body.sidebar-open .icon-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: scale(0.8) !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 18px 25px !important;
        margin-bottom: 6px !important;
        border-radius: 8px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        width: calc(100% - 50px) !important;
        margin-left: 25px !important;
        margin-right: 25px !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        transform: translateX(5px) !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a.active {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: var(--primary_color) !important;
        color: var(--primary_color) !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a i {
        font-size: 18px !important;
        width: 20px !important;
        height: 20px !important;
        color: inherit !important;
        transition: all 0.3s ease !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a span {
        color: inherit !important;
        transition: all 0.3s ease !important;
    }
    
    /* Hide hamburger when sidebar is open */
    .responsive-sidebar-menu.active ~ .icon-menu,
    body.sidebar-open .icon-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: scale(0.8) !important;
    }
    
    /* Show hamburger when sidebar is closed */
    .responsive-sidebar-menu:not(.active) ~ .icon-menu,
    body:not(.sidebar-open) .icon-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }
    
    /* Ensure menu items are visible and properly styled */
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        display: block !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    /* Main content adjustments */
    main.drake-main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* ADDITIONAL STRONGER RULES - Hide hamburger when sidebar is open */
    .responsive-sidebar-menu.active .icon-menu,
    body.sidebar-open .icon-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: scale(0.8) !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }
    
    /* ADDITIONAL STRONGER RULES - Show hamburger when sidebar is closed */
    .responsive-sidebar-menu:not(.active) .icon-menu,
    body:not(.sidebar-open) .icon-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
        z-index: 9999 !important;
    }
    
    /* Enhanced close icon styling for better appearance */
    .responsive-sidebar-menu .menu-close {
        border: 2px solid #28e98c !important;
        color: #ffffff !important;
        outline: none !important;
    }
    
    .responsive-sidebar-menu .menu-close:hover {
        background: rgba(0, 0, 0, 0.8) !important;
        border-color: #28e98c !important;
        color: #28e98c !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 15px rgba(40, 233, 140, 0.3) !important;
    }
    
    /* FIX: Ensure uniform border on all sides */
    .responsive-sidebar-menu .menu-close {
        border-width: 2px !important;
        border-style: solid !important;
        border-color: #28e98c !important;
        box-sizing: border-box !important;
        background: rgba(0, 0, 0, 0.6) !important;
    }
    
    /* Social Icons Styling - Mobile */
    .responsive-sidebar-menu .sidebar-social {
        position: relative !important;
        width: calc(100% - 50px) !important;
        margin: 20px 25px 0 25px !important;
        padding: 20px 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 15px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links li {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links li a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
        color: #999999 !important;
        text-decoration: none !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        font-size: 16px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links li a:hover {
        background: rgba(40, 233, 140, 0.15) !important;
        border-color: #28e98c !important;
        color: #28e98c !important;
        transform: translateY(-4px) scale(1.1) !important;
        box-shadow: 
            0 12px 25px rgba(40, 233, 140, 0.2),
            0 0 0 2px rgba(40, 233, 140, 0.1) !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links li a i {
        color: inherit !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
}

@media (min-width: 481px) and (max-width: 768px) {
    .left-sidebar {
        display: none !important;
    }
    
    /* Hide desktop navigation */
    .menu.scroll-nav {
        display: none !important;
    }
    
    /* Show mobile hamburger */
    .icon-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        width: 50px !important;
        height: 50px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(8px) !important;
        border: 2px solid var(--primary_color) !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 3px !important;
    }
    
    .icon-menu .hamburger {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #ffffff !important;
        margin: 4px auto !important;
        border-radius: 1px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Mobile sidebar - same as mobile */
    .responsive-sidebar-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.8) !important;
        backdrop-filter: blur(10px) !important;
        z-index: 9998 !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease !important;
    }
    
    .responsive-sidebar-menu.active {
        transform: translateX(0) !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 300px !important;
        height: 100% !important;
        background: rgba(20, 20, 20, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 80px 0 40px 0 !important;
        overflow-y: auto !important;
    }
    
    .responsive-sidebar-menu .menu-close {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        border: 2px solid var(--primary_color) !important;
        backdrop-filter: blur(8px) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
        border-radius: 50% !important;
        color: #fff !important;
        font-weight: normal !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .responsive-sidebar-menu.active .menu-close {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .responsive-sidebar-menu.active ~ .icon-menu,
    body.sidebar-open .icon-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: scale(0.8) !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 18px 25px !important;
        margin-bottom: 6px !important;
        border-radius: 8px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        width: calc(100% - 50px) !important;
        margin-left: 25px !important;
        margin-right: 25px !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        transform: translateX(5px) !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a.active {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: var(--primary_color) !important;
        color: var(--primary_color) !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a i {
        font-size: 18px !important;
        width: 20px !important;
        height: 20px !important;
        color: inherit !important;
        transition: all 0.3s ease !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li a span {
        color: inherit !important;
        transition: all 0.3s ease !important;
    }
    
    /* Hide hamburger when sidebar is open */
    .responsive-sidebar-menu.active ~ .icon-menu,
    body.sidebar-open .icon-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: scale(0.8) !important;
    }
    
    /* Show hamburger when sidebar is closed */
    .responsive-sidebar-menu:not(.active) ~ .icon-menu,
    body:not(.sidebar-open) .icon-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }
    
    /* Ensure menu items are visible and properly styled */
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        display: block !important;
    }
    
    .responsive-sidebar-menu .sidebar-menu-inner .menu-wrap .menu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    /* Main content adjustments */
    main.drake-main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* ADDITIONAL STRONGER RULES - Hide hamburger when sidebar is open */
    .responsive-sidebar-menu.active .icon-menu,
    body.sidebar-open .icon-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: scale(0.8) !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }
    
    /* ADDITIONAL STRONGER RULES - Show hamburger when sidebar is closed */
    .responsive-sidebar-menu:not(.active) .icon-menu,
    body:not(.sidebar-open) .icon-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
        z-index: 9999 !important;
    }
    
    /* Enhanced close icon styling for better appearance */
    .responsive-sidebar-menu .menu-close {
        border: 2px solid #28e98c !important;
        color: #ffffff !important;
        outline: none !important;
    }
    
    .responsive-sidebar-menu .menu-close:hover {
        background: rgba(0, 0, 0, 0.8) !important;
        border-color: #28e98c !important;
        color: #28e98c !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 15px rgba(40, 233, 140, 0.3) !important;
    }
    
    /* FIX: Ensure uniform border on all sides */
    .responsive-sidebar-menu .menu-close {
        border-width: 2px !important;
        border-style: solid !important;
        border-color: #28e98c !important;
        box-sizing: border-box !important;
        background: rgba(0, 0, 0, 0.6) !important;
    }
    
    /* Social Icons Styling - Small Tablets */
    .responsive-sidebar-menu .sidebar-social {
        position: relative !important;
        width: calc(100% - 50px) !important;
        margin: 20px 25px 0 25px !important;
        padding: 20px 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 15px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links li {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links li a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
        color: #999999 !important;
        text-decoration: none !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        font-size: 16px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links li a:hover {
        background: rgba(40, 233, 140, 0.15) !important;
        border-color: #28e98c !important;
        color: #28e98c !important;
        transform: translateY(-4px) scale(1.1) !important;
        box-shadow: 
            0 12px 25px rgba(40, 233, 140, 0.2),
            0 0 0 2px rgba(40, 233, 140, 0.1) !important;
    }
    
    .responsive-sidebar-menu .sidebar-social .social-links li a i {
        color: inherit !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    
    /* Main section improvements for small tablets - utilize available left space */
    main.drake-main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 20px !important;
        max-width: 100% !important;
    }
    
    /* Ensure all subsections within main section are visible and properly spaced */
    main.drake-main .page-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    
    /* Custom container adjustments for small tablets */
    main.drake-main .custom-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }
    
    /* Content width adjustments for small tablets */
    main.drake-main .content-width {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
    }
    
    /* Ensure all content sections utilize available space */
    main.drake-main .about-area .about-content,
    main.drake-main .resume-area .resume-content,
    main.drake-main .services-area .services-content,
    main.drake-main .skills-area .skills-content,
    main.drake-main .portfolio-area .portfolio-content,
    main.drake-main .business-impact-area .business-impact-content,
    main.drake-main .contact-area .contact-content,
    main.drake-main .consultation-area .consultation-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
    }
    
    /* Override specific width constraints to utilize available space */
    .about-area .about-content p {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .hero-section .hero-description {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Hero section adjustments for small tablets */
    .hero-section {
        padding: 60px 0 40px !important;
    }
    
    /* Hero section subtitle margin-top */
    .hero-section .section-header .subtitle {
        margin-top: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 75px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        text-align: left !important;
        font-weight: 400 !important;
        letter-spacing: -0.5px !important;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: clamp(28px, 5vw, 40px) !important;
        line-height: clamp(36px, 6vw, 48px) !important;
        margin-top: 40px !important;
        color: #ffffff !important;
        margin-bottom: 35px !important;
    }
    
    /* Ensure proper margin-top for all section names */
    .about-area .section-header h1,
    .about-area .section-header h2,
    .resume-area .section-header h1,
    .resume-area .section-header h2,
    .services-area .section-header h1,
    .services-area .section-header h2,
    .skills-area .section-header h1,
    .skills-area .section-header h2,
    .portfolio-area .section-header h1,
    .portfolio-area .section-header h2,
    .business-impact-area .section-header h1,
    .business-impact-area .section-header h2,
    .contact-area .section-header h1,
    .contact-area .section-header h2,
    .consultation-area .section-header h1,
    .consultation-area .section-header h2 {
        margin-top: 40px !important;
        margin-bottom: 35px !important;
        color: #ffffff !important;
    }
    
    /* Section header containers margin-top */
    .about-area .section-header,
    .resume-area .section-header,
    .services-area .section-header,
    .skills-area .section-header,
    .portfolio-area .section-header,
    .business-impact-area .section-header,
    .contact-area .section-header,
    .consultation-area .section-header {
        margin-top: 40px !important;
        margin-bottom: 30px !important;
    }
    
    /* Facts section for small tablets - 2x2 grid */
    .hero-section .hero-content .facts {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
        width: 100% !important;
    }
    
    .hero-section .hero-content .facts .left,
    .hero-section .hero-content .facts .right {
        padding: 20px 15px !important;
        min-height: 100px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .hero-section .hero-content .facts h1 {
        font-size: 28px !important;
        color: var(--primary_color) !important;
        margin-bottom: 5px !important;
    }
    
    .hero-section .hero-content .facts p {
        font-size: 13px !important;
        line-height: 1.2 !important;
        color: #999 !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Hide left sidebar to free up space */
    .left-sidebar {
        display: none !important;
    }
    
    /* Main section optimization for tablets & small laptops */
    main.drake-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 30px !important;
        position: relative;
        z-index: 1;
    }
    
    /* Ensure main section doesn't overlap with right navigation */
    main.drake-main::before {
        content: '';
        position: fixed;
        top: 0;
        right: 0;
        width: 60px;
        height: 100vh;
        background: transparent;
        z-index: 999;
        pointer-events: none;
    }
    
    /* Custom container adjustments for tablets */
    main.drake-main .custom-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    /* Content width optimization for tablets */
    main.drake-main .content-width {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Ensure all page sections utilize available space */
    main.drake-main .page-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    
    /* Hero section specific adjustments */
    main.drake-main .hero-section {
        padding: 80px 0 60px !important;
        min-height: 100vh !important;
    }
    
    main.drake-main .hero-section .hero-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* About section adjustments */
    main.drake-main .about-area .about-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Resume section adjustments */
    main.drake-main .resume-area .resume-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Services section adjustments */
    main.drake-main .services-area .services-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Skills section adjustments */
    main.drake-main .skills-area .skills-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Portfolio section adjustments */
    main.drake-main .portfolio-area .portfolio-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Business Impact section adjustments */
    main.drake-main .business-impact-area .business-impact-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Contact section adjustments */
    main.drake-main .contact-area .contact-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Consultation section adjustments */
    main.drake-main .consultation-area .consultation-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Ensure right navigation doesn't overlap content */
    .header-area .header-right nav {
        right: 0 !important;
        max-width: 60px !important;
        width: 60px !important;
        z-index: 1000 !important;
    }
    
    /* Adjust hamburger menu positioning */
    .icon-menu {
        right: 20px !important;
        top: 20px !important;
        z-index: 1001 !important;
    }
    
    /* Consistent section header margin-top for all sections */
    .about-area .section-header,
    .resume-area .section-header,
    .services-area .section-header,
    .skills-area .section-header,
    .portfolio-area .section-header,
    .business-impact-area .section-header,
    .contact-area .section-header,
    .consultation-area .section-header {
        margin-top: 60px !important;
        margin-bottom: 40px !important;
    }
    
    /* Section header h1 titles margin-top consistency */
    .about-area .section-header h1,
    .about-area .section-header h2,
    .resume-area .section-header h1,
    .resume-area .section-header h2,
    .services-area .section-header h1,
    .services-area .section-header h2,
    .skills-area .section-header h1,
    .skills-area .section-header h2,
    .portfolio-area .section-header h1,
    .portfolio-area .section-header h2,
    .business-impact-area .section-header h1,
    .business-impact-area .section-header h2,
    .contact-area .section-header h1,
    .contact-area .section-header h2,
    .consultation-area .section-header h1,
    .consultation-area .section-header h2 {
        margin-top: 0 !important;
        margin-bottom: 25px !important;
        color: #ffffff !important;
    }
    
    /* Section subtitles margin-top consistency */
    .about-area .section-header .subtitle,
    .resume-area .section-header .subtitle,
    .services-area .section-header .subtitle,
    .skills-area .section-header .subtitle,
    .portfolio-area .section-header .subtitle,
    .business-impact-area .section-header .subtitle,
    .contact-area .section-header .subtitle,
    .consultation-area .section-header .subtitle {
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }
    
    /* Ensure first section (hero) doesn't have extra margin-top */
    .hero-section .section-header {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }
    
    .hero-section .section-header h1 {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
    
    .hero-section .section-header .subtitle {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
}

/* Small tablets & large phones */
@media only screen and (min-width: 1025px) and (max-width: 1230px) {
    /* Hide left sidebar to free up space */
    .left-sidebar {
        display: none !important;
    }
    
    /* Main section optimization for small tablets & large phones */
    main.drake-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 30px !important;
        position: relative;
        z-index: 1;
    }
    
    /* Ensure main section doesn't overlap with right navigation */
    main.drake-main::before {
        content: '';
        position: fixed;
        top: 0;
        right: 0;
        width: 60px;
        height: 100vh;
        background: transparent;
        z-index: 999;
        pointer-events: none;
    }
    
    /* Custom container adjustments for small tablets */
    main.drake-main .custom-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    /* Content width optimization for small tablets */
    main.drake-main .content-width {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Ensure all page sections utilize available space */
    main.drake-main .page-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    
    /* Hero section specific adjustments */
    main.drake-main .hero-section {
        padding: 80px 0 60px !important;
        min-height: 100vh !important;
    }
    
    main.drake-main .hero-section .hero-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* About section adjustments */
    main.drake-main .about-area .about-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Resume section adjustments */
    main.drake-main .resume-area .resume-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Services section adjustments */
    main.drake-main .services-area .services-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Skills section adjustments */
    main.drake-main .skills-area .skills-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Portfolio section adjustments */
    main.drake-main .portfolio-area .portfolio-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Business Impact section adjustments */
    main.drake-main .business-impact-area .business-impact-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Contact section adjustments */
    main.drake-main .contact-area .contact-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Consultation section adjustments */
    main.drake-main .consultation-area .consultation-content {
        max-width: calc(100% - 80px) !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-right: 80px !important;
    }
    
    /* Ensure right navigation doesn't overlap content */
    .header-area .header-right nav {
        right: 0 !important;
        max-width: 60px !important;
        width: 60px !important;
        z-index: 1000 !important;
    }
    
    /* Consistent section header margin-top for all sections */
    .about-area .section-header,
    .resume-area .section-header,
    .services-area .section-header,
    .skills-area .section-header,
    .portfolio-area .section-header,
    .business-impact-area .section-header,
    .contact-area .section-header,
    .consultation-area .section-header {
        margin-top: 60px !important;
        margin-bottom: 40px !important;
    }
    
    /* Section header h1 titles margin-top consistency */
    .about-area .section-header h1,
    .about-area .section-header h2,
    .resume-area .section-header h1,
    .resume-area .section-header h2,
    .services-area .section-header h1,
    .services-area .section-header h2,
    .skills-area .section-header h1,
    .skills-area .section-header h2,
    .portfolio-area .section-header h1,
    .portfolio-area .section-header h2,
    .business-impact-area .section-header h1,
    .business-impact-area .section-header h2,
    .contact-area .section-header h1,
    .contact-area .section-header h2,
    .consultation-area .section-header h1,
    .consultation-area .section-header h2 {
        margin-top: 0 !important;
        margin-bottom: 25px !important;
        color: #ffffff !important;
    }
    
    /* Section subtitles margin-top consistency */
    .about-area .section-header .subtitle,
    .resume-area .section-header .subtitle,
    .services-area .section-header .subtitle,
    .skills-area .section-header .subtitle,
    .portfolio-area .section-header .subtitle,
    .business-impact-area .section-header .subtitle,
    .contact-area .section-header .subtitle,
    .consultation-area .section-header .subtitle {
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }
    
    /* Ensure first section (hero) doesn't have extra margin-top */
    .hero-section .section-header {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }
    
    .hero-section .section-header h1 {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
    
    .hero-section .section-header .subtitle {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
}

/* Ultra Large Screens (4K and above) */
@media (min-width: 2000px) {
    .left-sidebar {
        max-width: 420px;
        left: 40px;
        padding: 40px 35px;
    }
    
    .left-sidebar > img.me {
        width: 180px;
        height: 180px;
        margin-bottom: 40px;
    }
    
    .left-sidebar h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .left-sidebar .address {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .content-width {
        margin-right: 100px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 56px;
        line-height: 68px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 88px;
        line-height: 100px;
    }
}

/* Large Desktop Screens (17" and above) */
@media (max-width: 1999px) and (min-width: 1600px) {
    .left-sidebar {
        max-width: 380px;
        left: 30px;
        padding: 35px 30px;
    }
    
    .left-sidebar > img.me {
        width: 160px;
        height: 160px;
        margin-bottom: 35px;
    }
    
    .content-width {
        margin-right: 90px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 52px;
        line-height: 64px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 82px;
        line-height: 94px;
    }
}

/* 1920x1200 Resolution Specific Fix */
@media (max-width: 1920px) and (min-width: 1600px) {
    .left-sidebar {
        max-width: 360px;
        left: 25px;
        padding: 32px 28px;
    }
    
    .left-sidebar > img.me {
        width: 150px;
        height: 150px;
        margin-bottom: 32px;
    }
    
    .left-sidebar h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .left-sidebar .address {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .left-sidebar .sidebar-header img {
        width: 65px;
        height: 65px;
    }
    
    .left-sidebar .sidebar-header .designation {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    .content-width {
        margin-right: 80px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 48px;
        line-height: 60px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 78px;
        line-height: 90px;
    }
    
    /* Ensure CTA buttons are not overlapped */
    .hero-section .hero-content .facts {
        margin-top: 40px;
        gap: 30px;
    }
    
    .hero-section .hero-content .facts .left,
    .hero-section .hero-content .facts .right {
        padding: 25px 20px;
        min-height: 120px;
    }
    
    /* Scale all sections proportionally for 1920x1200 */
    .services-items .service-item {
        padding: 35px 30px;
        margin-bottom: 30px;
    }
    
    .services-items .service-item h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .services-items .service-item p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .services-items .service-item i {
        font-size: 28px;
        top: 35px;
        right: 35px;
    }
    
    .skills .skill .skill-inner {
        width: 180px;
        height: 180px;
        padding: 40px 20px;
    }
    
    .skills .skill .skill-inner img {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .skills .skill p {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .skills .skill .experience {
        font-size: 12px;
    }
    
    .category-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .portfolio-items .portfolio-item .portfolio-item-inner {
        height: 350px;
    }
    
    .portfolio-items .portfolio-item.portfolio-full .portfolio-item-inner {
        height: 400px;
    }
    
    .portfolio-items .portfolio-item h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .project-description {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .business-impact-item {
        min-height: 320px;
        padding: 35px 30px;
    }
    
    .business-impact-item h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .business-impact-items .impact-metrics {
        gap: 30px;
        margin-bottom: 20px;
    }
    
    .business-impact-items .metric .amount,
    .business-impact-items .metric .percentage {
        font-size: 28px;
    }
    
    .business-impact-item p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Technical Expertise Cards - 1920x1200 Specific Fix */
    .skills .skill .skill-inner {
        width: 190px;
        height: 190px;
        padding: 35px 25px;
    }
    
    .skills .skill .skill-inner img {
        width: 55px;
        height: 55px;
        margin-bottom: 16px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .skills .skill p {
        font-size: 18px;
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .skills .skill .experience {
        font-size: 14px;
        font-weight: 500;
    }
    
    .category-title {
        font-size: 26px;
        margin-bottom: 45px;
    }
    
    /* Ensure proper spacing between cards */
    .skills .row {
        margin: 0 -12px;
    }
    
    .skills .col-md-3 {
        padding: 0 12px;
        margin-bottom: 25px;
    }
    
    .skills-category {
        margin-bottom: 55px;
    }
}

/* High Resolution Desktop Screens (17" - 19") */
@media (max-width: 1599px) and (min-width: 1500px) {
    .left-sidebar {
        max-width: 350px;
        left: 25px;
        padding: 30px 25px;
    }
    
    .left-sidebar > img.me {
        width: 145px;
        height: 145px;
        margin-bottom: 30px;
    }
    
    .left-sidebar h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .left-sidebar .address {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .content-width {
        margin-right: 75px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 46px;
        line-height: 58px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 76px;
        line-height: 88px;
    }
    
    /* Scale all sections proportionally */
    .services-items .service-item {
        padding: 32px 28px;
        margin-bottom: 28px;
    }
    
    .services-items .service-item h2 {
        font-size: 21px;
        margin-bottom: 14px;
    }
    
    .services-items .service-item p {
        font-size: 14px;
        margin-bottom: 23px;
    }
    
    .skills .skill .skill-inner {
        width: 170px;
        height: 170px;
        padding: 38px 18px;
    }
    
    .skills .skill .skill-inner img {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 26px;
        margin-bottom: 7px;
    }
    
    .skills .skill p {
        font-size: 15px;
        margin-bottom: 7px;
    }
    
    .skills .skill .experience {
        font-size: 11.5px;
    }
    
    .category-title {
        font-size: 22px;
        margin-bottom: 35px;
    }
    
    .portfolio-items .portfolio-item .portfolio-item-inner {
        height: 330px;
    }
    
    .portfolio-items .portfolio-item.portfolio-full .portfolio-item-inner {
        height: 380px;
    }
    
    .business-impact-item {
        min-height: 300px;
        padding: 32px 28px;
    }
    
    /* Technical Expertise Cards - High Resolution Desktop */
    .skills .skill .skill-inner {
        width: 180px;
        height: 180px;
        padding: 32px 22px;
    }
    
    .skills .skill .skill-inner img {
        width: 50px;
        height: 50px;
        margin-bottom: 14px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .skills .skill p {
        font-size: 16px;
        margin-bottom: 8px;
        font-weight: 600;
    }
    
    .skills .skill .experience {
        font-size: 12px;
        font-weight: 500;
    }
    
    .category-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .skills .row {
        margin: 0 -11px;
    }
    
    .skills .col-md-3 {
        padding: 0 11px;
        margin-bottom: 22px;
    }
    
    .skills-category {
        margin-bottom: 50px;
    }
}

/* Standard Desktop Screens (15" - 16") */
@media (max-width: 1499px) and (min-width: 1400px) {
    .left-sidebar {
        max-width: 340px;
        left: 20px;
        padding: 28px 22px;
    }
    
    .left-sidebar > img.me {
        width: 140px;
        height: 140px;
        margin-bottom: 28px;
    }
    
    .left-sidebar h2 {
        font-size: 22px;
        margin-bottom: 14px;
    }
    
    .left-sidebar .address {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .content-width {
        margin-right: 70px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 44px;
        line-height: 56px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 74px;
        line-height: 86px;
    }
    
    /* Scale all sections proportionally */
    .services-items .service-item {
        padding: 30px 25px;
        margin-bottom: 25px;
    }
    
    .services-items .service-item h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .services-items .service-item p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .skills .skill .skill-inner {
        width: 160px;
        height: 160px;
        padding: 35px 15px;
    }
    
    .skills .skill .skill-inner img {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .skills .skill p {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .skills .skill .experience {
        font-size: 11px;
    }
    
    .category-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .portfolio-items .portfolio-item .portfolio-item-inner {
        height: 310px;
    }
    
    .portfolio-items .portfolio-item.portfolio-full .portfolio-item-inner {
        height: 360px;
    }
    
    .business-impact-item {
        min-height: 280px;
        padding: 30px 25px;
    }
    
    /* Technical Expertise Cards - Standard Desktop */
    .skills .skill .skill-inner {
        width: 170px;
        height: 170px;
        padding: 30px 20px;
    }
    
    .skills .skill .skill-inner img {
        width: 47px;
        height: 47px;
        margin-bottom: 13px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 26px;
        margin-bottom: 8px;
    }
    
    .skills .skill p {
        font-size: 15px;
        margin-bottom: 8px;
        font-weight: 600;
    }
    
    .skills .skill .experience {
        font-size: 12px;
        font-weight: 500;
    }
    
    .category-title {
        font-size: 22px;
        margin-bottom: 35px;
    }
    
    .skills .row {
        margin: 0 -10px;
    }
    
    .skills .col-md-3 {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .skills-category {
        margin-bottom: 45px;
    }
}

/* Medium Desktop Screens (13" - 14") */
@media (max-width: 1399px) and (min-width: 1200px) {
    .left-sidebar {
        max-width: 340px;
        left: 20px;
        padding: 30px 25px;
    }
    
    .left-sidebar > img.me {
        width: 140px;
        height: 140px;
        margin-bottom: 30px;
    }
    
    .content-width {
        margin-right: 70px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 44px;
        line-height: 56px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 72px;
        line-height: 84px;
    }
    
    /* Technical Expertise Cards - Medium Desktop */
    .skills .skill .skill-inner {
        width: 160px;
        height: 160px;
        padding: 28px 18px;
    }
    
    .skills .skill .skill-inner img {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 24px;
        margin-bottom: 7px;
    }
    
    .skills .skill p {
        font-size: 14px;
        margin-bottom: 7px;
        font-weight: 600;
    }
    
    .skills .skill .experience {
        font-size: 11px;
        font-weight: 500;
    }
    
    .category-title {
        font-size: 20px;
        margin-bottom: 32px;
    }
    
    .skills .row {
        margin: 0 -9px;
    }
    
    .skills .col-md-3 {
        padding: 0 9px;
        margin-bottom: 18px;
    }
    
    .skills-category {
        margin-bottom: 42px;
    }
}

/* Small Desktop Screens (11" - 12") */
@media (max-width: 1199px) and (min-width: 1024px) {
    .left-sidebar {
        max-width: 320px;
        left: 15px;
        padding: 28px 22px;
    }
    
    .left-sidebar > img.me {
        width: 130px;
        height: 130px;
        margin-bottom: 28px;
    }
    
    .content-width {
        margin-right: 60px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 40px;
        line-height: 52px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 68px;
        line-height: 80px;
    }
    
    /* Technical Expertise Cards - Small Desktop */
    .skills .skill .skill-inner {
        width: 150px;
        height: 150px;
        padding: 26px 16px;
    }
    
    .skills .skill .skill-inner img {
        width: 43px;
        height: 43px;
        margin-bottom: 11px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .skills .skill p {
        font-size: 13px;
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    .skills .skill .experience {
        font-size: 10px;
        font-weight: 500;
    }
    
    .category-title {
        font-size: 18px;
        margin-bottom: 28px;
    }
    
    .skills .row {
        margin: 0 -8px;
    }
    
    .skills .col-md-3 {
        padding: 0 8px;
        margin-bottom: 16px;
    }
    
    .skills-category {
        margin-bottom: 38px;
    }
}

/* Large Tablet Screens (10" - 11") */
@media (max-width: 1023px) and (min-width: 900px) {
    .left-sidebar {
        max-width: 300px;
        left: 10px;
        padding: 25px 20px;
    }
    
    .left-sidebar > img.me {
        width: 120px;
        height: 120px;
        margin-bottom: 25px;
    }
    
    .content-width {
        margin-right: 50px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 36px;
        line-height: 48px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 64px;
        line-height: 76px;
    }
    
    /* Show hamburger menu on tablets */
    .icon-menu {
        display: flex;
    }
    
    .menu {
        display: none;
    }

    /* Technical Expertise Cards - Large Tablet */
    .skills .skill .skill-inner {
        width: 140px;
        height: 140px;
        padding: 24px 14px;
    }
    
    .skills .skill .skill-inner img {
        width: 41px;
        height: 41px;
        margin-bottom: 10px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .skills .skill p {
        font-size: 12px;
        margin-bottom: 5px;
        font-weight: 600;
    }
    
    .skills .skill .experience {
        font-size: 9px;
        font-weight: 500;
    }
    
    .category-title {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .skills .row {
        margin: 0 -7px;
    }
    
    .skills .col-md-3 {
        padding: 0 7px;
        margin-bottom: 14px;
    }
    
    .skills-category {
        margin-bottom: 35px;
    }
}

/* Medium Tablet Screens (8" - 10") */
@media (max-width: 899px) and (min-width: 768px) {
    .left-sidebar {
        max-width: 280px;
        left: 8px;
        padding: 22px 18px;
    }
    
    .left-sidebar > img.me {
        width: 110px;
        height: 110px;
        margin-bottom: 22px;
    }
    
    .left-sidebar h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .left-sidebar .address {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .content-width {
        margin-right: 40px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 32px;
        line-height: 44px;
        color: #ffffff !important;
        margin-bottom: 45px !important;
    }
    
    .hero-section .hero-content .hero-heading {
        font-size: 56px;
        line-height: 68px;
    }
    
    /* Enhanced tablet layout */
    .custom-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Services responsive for tablets */
    .services-items {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-items .service-item {
        margin-bottom: 0;
        padding: 30px 25px;
    }
    
    /* Skills responsive for tablets */
    .skills .skill .skill-inner {
        width: 160px;
        height: 160px;
        padding: 25px 15px;
    }
    
    .skills .skill .skill-inner img {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .skills .skill p {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .skills .skill .experience {
        font-size: 11px;
    }
    
    /* Portfolio responsive for tablets */
    .portfolio-items .portfolio-item .portfolio-item-inner {
        height: 320px;
    }
    
    .portfolio-items .portfolio-item.portfolio-full .portfolio-item-inner {
        height: 360px;
    }
    
    /* Business Impact responsive for tablets */
    .business-impact-items .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .business-impact-items .col-md-6 {
        width: 100%;
        margin-bottom: 0;
    }
    
    .business-impact-item {
        min-height: 280px;
        padding: 30px 25px;
    }
}

/* Mobile Landscape (Large Phones) */
@media (max-width: 767px) and (min-width: 600px) {
    /* Hide left sidebar on mobile */
    .left-sidebar {
        display: none !important;
    }
    
    /* Show hamburger menu */
    .icon-menu {
        display: flex;
        position: fixed;
        right: 20px;
        top: 20px;
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 1000;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .icon-menu span {
        width: 18px;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    .icon-menu:hover {
        background: rgba(40, 233, 140, 0.1);
        border-color: var(--primary_color);
    }
    
    .icon-menu:hover span {
        background: var(--primary_color);
    }
    
    /* Hide regular menu */
    .menu {
        display: none !important;
    }
    
    /* Content adjustments */
    .content-width {
        margin-right: 0;
        max-width: 100%;
    }
    
    .custom-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 60px 0 40px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-section .hero-content {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-section .section-header h1 {
        font-size: 48px;
        line-height: 1.3;
        margin-bottom: 30px;
        font-weight: 400;
        color: #ffffff !important;
    }
    
    .hero-section .hero-content > p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 35px;
        max-width: 100%;
        color: #e0e0e0;
    }
    
    /* Facts section mobile */
    .hero-section .hero-content .facts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-top: 35px;
        align-items: stretch;
    }
    
    .hero-section .hero-content .facts .left,
    .hero-section .hero-content .facts .right {
        text-align: center;
        padding: 20px 15px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-section .hero-content .facts h1 {
        font-size: 32px;
        color: var(--primary_color);
        margin-bottom: 5px;
    }
    
    .hero-section .hero-content .facts p {
        font-size: 13px;
        color: #999;
        line-height: 1.2;
    }
    
    /* Section headers mobile */
    .section-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 36px;
        line-height: 1.3;
        color: #ffffff !important;
        margin-bottom: 30px !important;
    }
    
    /* Services mobile */
    .services-items {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-items .service-item {
        margin-bottom: 0;
        padding: 25px 20px;
    }
    
    .services-items .service-item h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .services-items .service-item p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .services-items .service-item i {
        font-size: 22px;
        top: 25px;
        right: 25px;
    }
    
    /* Skills mobile */
    .skills .skill .skill-inner {
        width: 140px;
        height: 140px;
        padding: 20px 12px;
    }
    
    .skills .skill .skill-inner img {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .skills .skill p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .skills .skill .experience {
        font-size: 10px;
    }
    
    .category-title {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    /* Portfolio mobile */
    .portfolio-items .portfolio-item .portfolio-item-inner {
        height: 280px;
        border-radius: 10px;
    }
    
    .portfolio-items .portfolio-item.portfolio-full .portfolio-item-inner {
        height: 320px;
    }
    
    .portfolio-items .portfolio-item h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .project-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Business Impact mobile */
    .business-impact-items .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .business-impact-items .col-md-6 {
        width: 100%;
        margin-bottom: 0;
    }
    
    .business-impact-item {
        min-height: 260px;
        padding: 25px 20px;
    }
    
    .business-impact-item h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .business-impact-items .impact-metrics {
        gap: 20px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }
    
    .business-impact-items .metric {
        min-width: 100px;
    }
    
    .business-impact-items .metric .amount,
    .business-impact-items .metric .percentage {
        font-size: 22px;
    }
    
    .business-impact-item p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .business-impact-item i {
        position: absolute !important;
        font-size: 22px !important;
        color: var(--primary_color) !important;
        top: 20px !important;
        right: 20px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
}
/* Small Mobile Screens (Portrait) */
@media (max-width: 599px) and (min-width: 480px) {
    /* Hide left sidebar on mobile */
    .left-sidebar {
        display: none !important;
    }
    
    /* Show hamburger menu */
    .icon-menu {
        display: flex;
        position: fixed;
        right: 15px;
        top: 15px;
        width: 45px;
        height: 45px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 1000;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        gap: 3px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .icon-menu span {
        width: 16px;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    .icon-menu:hover {
        background: rgba(40, 233, 140, 0.1);
        border-color: var(--primary_color);
    }
    
    .icon-menu:hover span {
        background: var(--primary_color);
    }
    
    /* Hide regular menu */
    .menu {
        display: none !important;
    }
    
    /* Content adjustments */
    .content-width {
        margin-right: 0;
        max-width: 100%;
    }
    
    .custom-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Hero section small mobile */
    .hero-section {
        padding: 50px 0 30px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-section .hero-content {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-section .section-header h1 {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 25px;
        font-weight: 400;
        color: #ffffff !important;
    }
    
    .hero-section .hero-content > p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
        max-width: 100%;
        color: #e0e0e0;
    }
    
    /* Facts section small mobile */
    .hero-section .hero-content .facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        align-items: stretch;
    }
    
    .hero-section .hero-content .facts .left,
    .hero-section .hero-content .facts .right {
        text-align: center;
        padding: 18px 12px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 90px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-section .hero-content .facts h1 {
        font-size: 28px;
        color: var(--primary_color);
        margin-bottom: 5px;
    }
    
    .hero-section .hero-content .facts p {
        font-size: 12px;
        color: #999;
        line-height: 1.2;
    }
    
    /* Section headers small mobile */
    .section-header {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 32px;
        line-height: 1.2;
        color: #ffffff !important;
        margin-bottom: 25px !important;
    }
    
    /* Services small mobile */
    .services-items {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-items .service-item {
        margin-bottom: 0;
        padding: 20px 15px;
    }
    
    .services-items .service-item h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .services-items .service-item p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .services-items .service-item i {
        font-size: 20px;
        top: 20px;
        right: 20px;
    }
    
    /* Skills small mobile */
    .skills .skill .skill-inner {
        width: 120px;
        height: 120px;
        padding: 15px 10px;
    }
    
    .skills .skill .skill-inner img {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .skills .skill p {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .skills .skill .experience {
        font-size: 9px;
    }
    
    .category-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    /* Portfolio small mobile */
    .portfolio-items .portfolio-item .portfolio-item-inner {
        height: 250px;
        border-radius: 8px;
    }
    
    .portfolio-items .portfolio-item.portfolio-full .portfolio-item-inner {
        height: 280px;
    }
    
    .portfolio-items .portfolio-item h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .project-description {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Business Impact small mobile */
    .business-impact-items .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .business-impact-items .col-md-6 {
        width: 100%;
        margin-bottom: 0;
    }
    
    .business-impact-item {
        min-height: 240px;
        padding: 20px 15px;
    }
    
    .business-impact-item h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .business-impact-items .impact-metrics {
        gap: 15px;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }
    
    .business-impact-items .metric {
        min-width: 90px;
    }
    
    .business-impact-items .metric .amount,
    .business-impact-items .metric .percentage {
        font-size: 20px;
    }
    
    .business-impact-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .business-impact-item i {
        position: absolute !important;
        font-size: 20px !important;
        color: var(--primary_color) !important;
        top: 15px !important;
        right: 15px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
}
/* Extra Small Mobile Screens (Very Small Phones) */
@media (max-width: 479px) {
    /* Hide left sidebar on mobile */
    .left-sidebar {
        display: none !important;
    }
    
    /* Show hamburger menu */
    .icon-menu {
        display: flex;
        position: fixed;
        right: 12px;
        top: 12px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 1000;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        gap: 2px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .icon-menu span {
        width: 14px;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    .icon-menu:hover {
        background: rgba(40, 233, 140, 0.1);
        border-color: var(--primary_color);
    }
    
    .icon-menu:hover span {
        background: var(--primary_color);
    }
    
    /* Hide regular menu */
    .menu {
        display: none !important;
    }
    
    /* Content adjustments */
    .content-width {
        margin-right: 0;
        max-width: 100%;
    }
    
    .custom-container {
        max-width: 100%;
        padding: 0 12px;
    }
    
    /* Hero section extra small mobile */
    .hero-section {
        padding: 40px 0 25px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-section .hero-content {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-section .section-header h1 {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 20px;
        font-weight: 400;
        color: #ffffff !important;
    }
    
    .hero-section .hero-content > p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 25px;
        max-width: 100%;
        color: #e0e0e0;
    }
    
    /* Facts section extra small mobile */
    .hero-section .hero-content .facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
        align-items: stretch;
    }
    
    .hero-section .hero-content .facts .left,
    .hero-section .hero-content .facts .right {
        text-align: center;
        padding: 15px 10px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-section .hero-content .facts h1 {
        font-size: 24px;
        color: var(--primary_color);
        margin-bottom: 4px;
    }
    
    .hero-section .hero-content .facts p {
        font-size: 11px;
        color: #999;
        line-height: 1.1;
    }
    
    /* Section headers extra small mobile */
    .section-header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 28px;
        line-height: 1.1;
        color: #ffffff !important;
        margin-bottom: 20px !important;
    }
    
    /* Services extra small mobile */
    .services-items {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .services-items .service-item {
        margin-bottom: 0;
        padding: 18px 12px;
    }
    
    .services-items .service-item h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .services-items .service-item p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .services-items .service-item i {
        font-size: 18px;
        top: 18px;
        right: 18px;
    }
    
    /* Skills extra small mobile */
    .skills .skill .skill-inner {
        width: 100px;
        height: 100px;
        padding: 12px 8px;
    }
    
    .skills .skill .skill-inner img {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .skills .skill p {
        font-size: 10px;
        margin-bottom: 3px;
    }
    
    .skills .skill .experience {
        font-size: 8px;
    }
    
    .category-title {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    /* Portfolio extra small mobile */
    .portfolio-items .portfolio-item .portfolio-item-inner {
        height: 220px;
        border-radius: 6px;
    }
    
    .portfolio-items .portfolio-item.portfolio-full .portfolio-item-inner {
        height: 250px;
    }
    
    .portfolio-items .portfolio-item h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .project-description {
        font-size: 12px;
        line-height: 1.3;
    }
    
    /* Business Impact extra small mobile */
    .business-impact-items .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .business-impact-items .col-md-6 {
        width: 100%;
        margin-bottom: 0;
    }
    
    .business-impact-item {
        min-height: 220px;
        padding: 18px 12px;
    }
    
    .business-impact-item h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .business-impact-items .impact-metrics {
        gap: 12px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    
    .business-impact-items .metric {
        min-width: 80px;
    }
    
    .business-impact-items .metric .amount,
    .business-impact-items .metric .percentage {
        font-size: 18px;
    }
    
    .business-impact-item p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .business-impact-item i {
        position: absolute !important;
        font-size: 18px !important;
        color: var(--primary_color) !important;
        top: 12px !important;
        right: 12px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
}

@media (max-width: 1024px) {
    /* Consultation Section - Tablet */
    .consultation-area .consultation-step .step-layout {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    .consultation-area .calendar-section {
        width: 100% !important;
        order: 1;
    }
    
    .consultation-area .time-section {
        width: 100% !important;
        order: 2;
    }
    
    .consultation-area .time-section .time-header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .consultation-area .time-section .time-header h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .consultation-area .time-section .time-header p {
        font-size: 15px;
        color: #999;
    }
    
    /* Enhanced Calendar Day Visibility - Tablet */
    .consultation-area .calendar-day {
        min-height: 48px;
        font-size: 15px;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.08);
        color: #e0e0e0;
        border-radius: 6px;
    }
    
    .consultation-area .calendar-day.available {
        font-weight: 600;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }
    
    .consultation-area .calendar-day.selected {
        font-weight: 700;
    }
    
    .consultation-area .calendar-day:hover {
        background: rgba(40, 233, 140, 0.15);
        color: #fff;
        transform: scale(1.02);
    }
    
    .consultation-area .calendar-day.available:hover {
        background: rgba(40, 233, 140, 0.25);
        transform: scale(1.03);
    }
    
    /* Hide "Select a date to see available times" on tablet by default */
    .consultation-area .no-date-selected {
        display: none;
    }
    
    /* Show time slots when date is selected */
    .consultation-area .time-slots-grid:not(:has(.no-date-selected)) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 20px;
    }
    
    .consultation-area .time-slot {
        padding: 14px 10px;
        font-size: 15px;
        text-align: center;
    }
    
    /* Step 2 tablet layout */
    .consultation-area #step2 .step-layout {
        flex-direction: column;
        gap: 25px;
    }
    
    .consultation-area .date-info-section {
        width: 100% !important;
        order: 1;
    }
    
    .consultation-area .form-section {
        width: 100% !important;
        order: 2;
    }

    /* Business Impact Section - Tablet */
    .business-impact-items .row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .business-impact-items .col-md-6 {
        width: calc(50% - 10px);
        margin-bottom: 0;
        display: flex;
    }
    
    .business-impact-item {
        width: 100%;
        margin-bottom: 0;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .business-impact-item i {
        position: absolute !important;
        font-size: 26px !important;
        color: var(--primary_color) !important;
        top: 30px !important;
        right: 30px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
    
    /* Specific fix for Inventory Savings icon - Tablet */
    .business-impact-item i.ph-package {
        position: absolute !important;
        font-size: 26px !important;
        color: var(--primary_color) !important;
        top: 30px !important;
        right: 30px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
}

@media (max-width: 767px) {
    /* Consultation Section - Mobile Responsive */
    .consultation-area .consultation-step .step-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .consultation-area .calendar-section {
        width: 100% !important;
        order: 1;
    }
    
    .consultation-area .time-section {
        width: 100% !important;
        order: 2;
    }
    
    .consultation-area .time-section .time-header {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .consultation-area .time-section .time-header h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .consultation-area .time-section .time-header p {
        font-size: 14px;
        color: #999;
    }
    
    /* Enhanced Calendar Day Visibility - Mobile */
    .consultation-area .calendar-day {
        min-height: 45px;
        font-size: 14px;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.08);
        color: #e0e0e0;
        border-radius: 6px;
    }
    
    .consultation-area .calendar-day.available {
        font-weight: 600;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }
    
    .consultation-area .calendar-day.selected {
        font-weight: 700;
    }
    
    .consultation-area .calendar-day:hover {
        background: rgba(40, 233, 140, 0.15);
        color: #fff;
        transform: scale(1.02);
    }
    
    .consultation-area .calendar-day.available:hover {
        background: rgba(40, 233, 140, 0.25);
        transform: scale(1.03);
    }
    
    /* Hide "Select a date to see available times" on mobile by default */
    .consultation-area .no-date-selected {
        display: none;
    }
    
    /* Show time slots when date is selected */
    .consultation-area .time-slots-grid:not(:has(.no-date-selected)) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .consultation-area .time-slot {
        padding: 12px 8px;
        font-size: 14px;
        text-align: center;
    }
    
    /* Step 2 mobile layout */
    .consultation-area #step2 .step-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .consultation-area .date-info-section {
        width: 100% !important;
        order: 1;
    }
    
    .consultation-area .form-section {
        width: 100% !important;
        order: 2;
    }

    /* Business Impact Section - Mobile Responsive */
    .business-impact-items .row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .business-impact-items .col-md-6 {
        width: 100%;
        margin-bottom: 0;
        display: flex;
    }
    
    .business-impact-item {
        width: 100%;
        margin-bottom: 0;
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .business-impact-item h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .business-impact-items .impact-metrics {
        gap: 25px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }
    
    .business-impact-items .metric {
        min-width: 110px;
    }
    
    .business-impact-items .metric .amount,
    .business-impact-items .metric .percentage {
        font-size: 26px;
    }
    
    .business-impact-item p {
        font-size: 14px;
        line-height: 1.5;
        margin-top: auto;
    }
    
    .business-impact-item i {
        position: absolute !important;
        font-size: 24px !important;
        color: var(--primary_color) !important;
        top: 20px !important;
        right: 20px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
    
    /* Specific fix for Inventory Savings icon - Mobile */
    .business-impact-item i.ph-package {
        position: absolute !important;
        font-size: 24px !important;
        color: var(--primary_color) !important;
        top: 20px !important;
        right: 20px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }

    /* Modern Mobile Navigation */
    .icon-menu {
        position: fixed;
        right: 20px;
        top: 20px;
        width: 45px;
        height: 45px;
        display: flex;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 1000;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .icon-menu span {
        width: 16px;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    .icon-menu:hover {
        background: rgba(40, 233, 140, 0.1);
        border-color: var(--primary_color);
    }
    
    .icon-menu:hover span {
        background: var(--primary_color);
    }
    
    /* Hide left sidebar on mobile */
    .left-sidebar {
        display: none !important;
    }
    
    /* Hide regular menu on mobile */
    .menu {
        display: none !important;
    }
    
    /* Modern Mobile Hero Section */
    .hero-section {
        padding: 60px 20px 40px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
    }
    
    .hero-section .hero-content {
        text-align: left;
        width: 100%;
        max-width: 100%;
        position: relative;
    }
    
    .hero-section .section-header {
        margin-bottom: 20px;
        position: relative;
    }
    
    /* Align section name with hamburger icon */
    .hero-section .section-header h4 {
        font-size: 14px;
        margin-bottom: 20px;
        padding: 10px 20px;
        background: rgba(40, 233, 140, 0.15);
        border: 1px solid rgba(40, 233, 140, 0.4);
        border-radius: 20px;
        display: inline-block;
        text-align: center;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
    
    .hero-section .section-header h1 {
        font-size: 48px;
        line-height: 1.3;
        margin-bottom: 30px;
        font-weight: 400;
        text-align: left;
    }
    
    .hero-section .hero-content > p {
        font-size: 20px;
        line-height: 1.7;
        margin-bottom: 40px;
        max-width: 100%;
        color: #e0e0e0;
        text-align: left;
        font-weight: 300;
    }
    
    /* My Projects Button - Hidden on Mobile */
    .hero-section .hero-content .go-to-project-btn {
        display: none;
    }
    
    /* Modern Facts Section */
    .hero-section .hero-content .facts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-top: 40px;
        align-items: stretch;
    }
    
    .hero-section .hero-content .facts .left,
    .hero-section .hero-content .facts .right {
        text-align: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-section .hero-content .facts h1 {
        font-size: 36px;
        color: var(--primary_color);
        margin-bottom: 5px;
        text-align: center;
        width: 100%;
    }
    
    .hero-section .hero-content .facts p {
        font-size: 14px;
        color: #999;
        line-height: 1.2;
        text-align: center;
        width: 100%;
    }
    .skills-area .skills-content .row .col-md-3 {
        flex: 0 0 auto;
        width: 50%;
    }
    
    /* Skills Responsive - Small Screens */
    .skills .skill .skill-inner {
        width: 150px;
        height: 150px;
        padding: 30px 15px;
    }
    
    .skills .skill .skill-inner img {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 22px;
        margin-bottom: 5px;
    }
    
    .skills .skill p {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .skills .skill .experience {
        font-size: 10px;
    }
    
    .category-title {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .skills-category {
        margin-bottom: 40px;
    }
    .clients-logos .row .col-md-3 {
        flex: 0 0 auto;
        width: 33.3333%;
        margin-bottom: 54px;
    }
    .pricing-area {
        padding-top: 50px;
    }
    .pricing-table-items .pricing-table {
        margin-bottom: 15px;
        display: block;
        height: auto;
    }
    .pricing-table-items .pricing-table .theme-btn {
        width: 100%;
        padding: 13px 20px;
    }
    .pricing-table-items .pricing-table ul {
        margin-bottom: 50px;
    }
    .contact-area .contact-content h3 {
        margin-bottom: 50px;
    }
    .header-area .custom-container .row .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .header-area .header-right .show-menu-toggle  {
        display: flex;
    }
    .header-area .header-right nav {
        position: fixed;
        right: 0;
        max-width: 350px;
        width: 100%;
        height: 100%;
        z-index: 100;
        background: #1f1f1f;
        padding: 60px 40px 40px 40px;
        overflow-x: hidden;
        top: 0;
        margin-right: -300px;
        opacity: 0;
        visibility: hidden;
    }
    .header-area .header-right nav.active {
        opacity: 1;
        margin-right: 0;
        visibility: visible;
    }
    .header-area nav .nav-menu li + li {
        margin-top: 10px;
    }
    .header-area .header-right nav .nav-menu {
        display: block;
    }
    .header-area nav .close-menu {
        display: block;
    }
    .header-area nav .nav-menu li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .header-area nav .nav-menu li a {
        flex: 1;
    }
    .header-area nav .nav-menu li .dropdown {
        position: relative;
        visibility: visible;
        opacity: 1;
        width: 100%;
        display: none;
    }
    .header-area nav .nav-menu li .dropdown li a {
        font-size: 14px;
    }
    .header-area nav .nav-menu li .dropdown li {
        margin: 0;
    }
    .header-area nav .nav-menu li .toggle-sub-dropdown,
    .header-area nav .nav-menu li .toggle-dropdown {
        display: block;
    }
    .header-area nav .nav-menu li .dropdown li .dropdown {
        padding-left: 15px;
        left: 0;
    }
    .header-area nav .nav-menu li.active > .dropdown {
        display: block;
    }
    .global-color .inner .global-color-option h2 {
        margin-bottom: 60px;
    }
    .global-color .inner .global-color-option {
        padding: 100px 50px;
    }
    .global-color .global-color-option .color-boxed {
        margin-bottom: 50px;
        padding-top: 10px;
    }
    .global-color .inner .global-color-option .global-color-option-inner .themes {
        padding-top: 10px;
    }
    .global-color .inner .global-color-option .global-color-option-inner .themes li {
        margin-right: 40px;
        margin-bottom: 20px;
    }
    .services-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .services-items .service-item {
        width: 100%;
    }

    .blog-sidebar {
        margin-top: 50px;
    }
    .blog-three-columns-main .blog-content-area .row > .col-md-4 {
        width: 100%;
    }
    .footer-area {
        padding-bottom: 60px;
    }
    .footer-area .footer-widget-item {
        margin-bottom: 40px;
    }
}
@media (max-width: 584px) {
    .subtitle {
        margin-bottom: 40px;
    }
    .section-header h1 {
        font-size: 38px;
        line-height: 1.4;
    }
    
    /* Skills Responsive */
    .skills-area {
        padding-bottom: 40px;
    }
    
    .skills .skill .skill-inner {
        width: 160px;
        height: 160px;
        padding: 35px 15px;
    }
    
    .skills .skill .skill-inner img {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .skills .skill .skill-inner h1 {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .skills .skill p {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .skills .skill .experience {
        font-size: 11px;
    }
    
    .category-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .skills-area,
    .services-area,
    .resume-area,
    .about-area,
    .hero-section {
        padding-bottom: 0;
    }
    .hero-section .hero-content h1 {
        font-size: 50px;
    }
    .hero-section .hero-content .facts h1 {
        font-size: 48px;
        margin-bottom: 25px;
    }
    .hero-section .hero-content .facts p br {
        display: none;
    }
    .hero-section .hero-content .facts {
        gap: 20px;
    }
    .resume-area .resume-content .resume-timeline .item {
        padding-left: 50px;
    }
    .services-items {
        grid-template-columns: 1fr;
    }
    .portfolio-area {
        padding-top: 40px;
    }
    .clients-logos .row .col-md-3 {
        width: 50%;
    }
    .contact-area  {
        padding-bottom: 80px;
    }

    .breadcrumb-area .breadcrumb-content h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .comments-area .comments .comments-list .comment-item .comment-body {
        gap: 15px;
    }
    .comments-area .comments .comments-list .comment-item .comment-body .comment-avatar {
        width: 60px;
        height: 60px;
    }
    .comments-area .comments .comments-list .comment-item .comment-body .comment-content h4 {
        margin-bottom: 15px;
    }
    .comments-area .comments .children {
        padding-left: 40px;
    }
}
/* Small Mobile Optimizations */
@media (max-width: 425px) {
    /* Consultation Section - Small Mobile */
    .consultation-area .time-section .time-header h3 {
        font-size: 16px;
    }
    
    .consultation-area .time-section .time-header p {
        font-size: 13px;
    }
    
    .consultation-area .time-slots-grid:not(:has(.no-date-selected)) {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }
    
    .consultation-area .time-slot {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    .consultation-area .calendar-section {
        padding: 15px;
    }
    
    .consultation-area .time-section {
        padding: 15px;
    }
    
    /* Enhanced Calendar Day Visibility - Small Mobile */
    .consultation-area .calendar-day {
        min-height: 42px;
        font-size: 13px;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.08);
        color: #e0e0e0;
        border-radius: 6px;
    }
    
    .consultation-area .calendar-day.available {
        font-weight: 600;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }
    
    .consultation-area .calendar-day.selected {
        font-weight: 700;
    }
    
    .consultation-area .calendar-day:hover {
        background: rgba(40, 233, 140, 0.15);
        color: #fff;
        transform: scale(1.02);
    }
    
    .consultation-area .calendar-day.available:hover {
        background: rgba(40, 233, 140, 0.25);
        transform: scale(1.03);
    }

    /* Business Impact Section - Small Mobile */
    .business-impact-items .row {
        gap: 15px;
    }
    
    .business-impact-item {
        min-height: 250px;
        padding: 25px 20px 20px 20px;
    }
    
    .business-impact-item h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .business-impact-items .impact-metrics {
        gap: 20px;
        margin-bottom: 12px;
    }
    
    .business-impact-items .metric {
        min-width: 100px;
    }
    
    .business-impact-items .metric .amount,
    .business-impact-items .metric .percentage {
        font-size: 22px;
    }
    
    .business-impact-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .business-impact-item i {
        position: absolute !important;
        font-size: 20px !important;
        color: var(--primary_color) !important;
        top: 15px !important;
        right: 15px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
    
    /* Specific fix for Inventory Savings icon - Small Mobile */
    .business-impact-item i.ph-package {
        position: absolute !important;
        font-size: 20px !important;
        color: var(--primary_color) !important;
        top: 15px !important;
        right: 15px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }

    /* Small Mobile Hero Section */
    .hero-section {
        padding: 50px 15px 30px;
    }
    
    .hero-section .section-header h4 {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero-section .section-header h1 {
        font-size: 38px;
        line-height: 1.2;
    }
    
    .hero-section .hero-content > p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 30px;
        text-align: left;
    }
    
    /* Small Mobile My Projects Button - Hidden */
    .hero-section .hero-content .go-to-project-btn {
        display: none;
    }
    
    /* Small Mobile Facts */
    .hero-section .hero-content .facts {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        align-items: stretch;
    }
    
    .hero-section .hero-content .facts .left,
    .hero-section .hero-content .facts .right {
        padding: 20px;
        text-align: center;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-section .hero-content .facts h1 {
        font-size: 32px;
        text-align: center;
        width: 100%;
        margin-bottom: 5px;
    }
    
    .hero-section .hero-content .facts p {
        text-align: center;
        width: 100%;
        line-height: 1.2;
    }
    
    /* Small Mobile Navigation */
    .icon-menu {
        right: 15px;
        top: 15px;
        width: 45px;
        height: 45px;
    }
    
    .comments-area .comments .comments-list .comment-item .comment-body .comment-content h4 {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .comments-area .comments .comments-list .comment-item .comment-body .comment-content h4 .date {
        margin-left: 26px;
        margin-top: 10px;
    }
}

/* Extra Small Mobile Optimizations */
@media (max-width: 584px) {
    .hero-section .hero-content .go-to-project-btn {
        display: none;
    }
}

/* Ultra-wide / 4K Screens (1921px and above) */
@media (min-width: 1921px) {
    /* Main section positioning between left sidebar and navigation bar */
    main.drake-main {
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 0 40px !important;
        position: relative !important;
        width: 100% !important;
    }
    
    /* Override all conflicting width settings for ultra-wide screens */
    .content-width {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    .custom-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        width: 100% !important;
    }
    
    /* Ensure all subsections within main section align properly */
    main.drake-main .page-section {
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    /* Override specific content sections to align with hero section fact cards container */
    main.drake-main .about-area .about-content {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    main.drake-main .resume-area .resume-content {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    main.drake-main .services-area .services-content {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    main.drake-main .skills-area .skills-content {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    main.drake-main .portfolio-area .portfolio-content {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    main.drake-main .business-impact-area .business-impact-content {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    main.drake-main .contact-area .contact-content {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    main.drake-main .consultation-area .consultation-content {
        max-width: 1000px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    /* Override specific width constraints in about section */
    .about-area .about-content p {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Override hero description width constraint */
    .hero-section .hero-description {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Hero section headline sizing for ultra-wide screens */
    .hero-section .hero-content .hero-heading {
        font-size: clamp(72px, 4vw, 96px) !important;
        line-height: clamp(84px, 4.5vw, 108px) !important;
        margin-bottom: 30px !important;
    }
    
    /* Section headers for ultra-wide screens */
    .section-header h1 {
        font-size: clamp(48px, 3vw, 64px) !important;
        line-height: clamp(60px, 3.5vw, 76px) !important;
    }
    
    /* Ensure proper spacing and proportions for hero section */
    .hero-section {
        padding: 80px 0 60px !important;
    }
    
    /* Facts section for ultra-wide */
    .hero-section .hero-content .facts {
        margin-top: 50px !important;
        gap: 40px !important;
    }
    
    .hero-section .hero-content .facts .left,
    .hero-section .hero-content .facts .right {
        padding: 30px 25px !important;
        min-height: 140px !important;
    }
    
    .hero-section .hero-content .facts h1 {
        font-size: 40px !important;
        margin-bottom: 8px !important;
    }
    
    .hero-section .hero-content .facts p {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
}

/* ===========================================
   PROFESSIONAL SECTION IMPROVEMENTS
   =========================================== */

/* Resume Section - Professional Typography */
.resume-area .resume-timeline .item .role-header h2 {
    font-size: clamp(20px, 4vw, 28px) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

.resume-area .resume-timeline .item .company {
    font-size: clamp(14px, 3vw, 16px) !important;
    font-weight: 500 !important;
    margin-bottom: 15px !important;
}

.resume-area .resume-timeline .item .date {
    font-size: clamp(12px, 2.5vw, 14px) !important;
    font-weight: 500 !important;
}

.resume-area .resume-timeline .achievement-item span {
    font-size: clamp(14px, 3vw, 16px) !important;
    line-height: 1.6 !important;
}

/* Services Section - Professional Typography */
.services-area .service-item h2 {
    font-size: clamp(18px, 4vw, 24px) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

.services-area .service-item p {
    font-size: clamp(15px, 3vw, 17px) !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.services-area .service-item .service-metrics .metric {
    font-size: clamp(12px, 2.5vw, 14px) !important;
    font-weight: 500 !important;
}

.services-area .service-item .projects {
    font-size: clamp(13px, 2.5vw, 15px) !important;
    font-weight: 500 !important;
}

/* Portfolio Section - Professional Typography */
.portfolio-area .portfolio-item h2 {
    font-size: clamp(18px, 4vw, 24px) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

.portfolio-area .portfolio-item .project-description {
    font-size: clamp(15px, 3vw, 17px) !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.portfolio-area .portfolio-item .project-metrics .metric-value {
    font-size: clamp(16px, 3.5vw, 20px) !important;
    font-weight: 700 !important;
}

.portfolio-area .portfolio-item .project-metrics .metric-label {
    font-size: clamp(12px, 2.5vw, 14px) !important;
}

.portfolio-area .portfolio-categories li a {
    font-size: clamp(11px, 2.5vw, 13px) !important;
    padding: 6px 12px !important;
}

/* Mobile Responsive Improvements */
@media (max-width: 480px) {
    /* Hero Section - Mobile */
    .hero-section .section-header .subtitle {
        margin-bottom: 10px !important;
    }
    
    /* Resume Section - Mobile */
    .resume-area .resume-timeline .item {
        padding-left: 20px !important;
        margin-bottom: 30px !important;
    }
    
    .resume-area .resume-timeline .item .role-header h2 {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }
    
    .resume-area .resume-timeline .item .company {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    .resume-area .resume-timeline .achievement-item {
        margin-bottom: 12px !important;
    }
    
    .resume-area .resume-timeline .achievement-item span {
        font-size: 14px !important;
    }
    
    /* Services Section - Mobile */
    .services-area .service-item {
        margin-bottom: 30px !important;
        padding: 20px !important;
    }
    
    .services-area .service-item h2 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .services-area .service-item p {
        font-size: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .services-area .service-item .service-metrics {
        margin-bottom: 15px !important;
    }
    
    /* Portfolio Section - Mobile */
    .portfolio-area .portfolio-item {
        margin-bottom: 30px !important;
    }
    
    .portfolio-area .portfolio-item h2 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .portfolio-area .portfolio-item .project-description {
        font-size: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .portfolio-area .portfolio-item .project-metrics {
        margin-bottom: 15px !important;
    }
}

/* Tablet Responsive Improvements */
@media (min-width: 481px) and (max-width: 768px) {
    /* Hero Section - Tablet */
    .hero-section .section-header .subtitle {
        margin-bottom: 12px !important;
    }
    
    .resume-area .resume-timeline .item .role-header h2 {
        font-size: 22px !important;
    }
    
    .services-area .service-item h2 {
        font-size: 20px !important;
    }
    
    .portfolio-area .portfolio-item h2 {
        font-size: 20px !important;
    }
}

/* Desktop Responsive Improvements */
@media (min-width: 769px) {
    .resume-area .resume-timeline .item .role-header h2 {
        font-size: 24px !important;
    }
    
    .services-area .service-item h2 {
        font-size: 22px !important;
    }
    
    .portfolio-area .portfolio-item h2 {
        font-size: 22px !important;
    }
}

/* ===========================================
   SPINNER ANIMATION FOR FORMS
   =========================================== */

/* Spinner rotation animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Apply spinner animation to loading icons */
.ph-spinner {
    animation: spin 1s linear infinite !important;
}

/* Button loading state styling */
.schedule-btn:disabled,
.theme-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Ensure spinner is visible and properly sized */
.schedule-btn i.ph-spinner,
.theme-btn i.ph-spinner {
    display: inline-block !important;
    margin-right: 8px !important;
    font-size: 16px !important;
}

/* ===========================================
   SECTION HEADER MARGIN CONSISTENCY
   =========================================== */

/* Base section header h1 margin-top - consistent across all sections */
.section-header h1 {
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

/* Ensure all section headers have consistent margin-top */
.about-area .section-header h1,
.resume-area .section-header h1,
.services-area .section-header h1,
.skills-area .section-header h1,
.portfolio-area .section-header h1,
.business-impact-area .section-header h1,
.contact-area .section-header h1,
.consultation-area .section-header h1 {
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .section-header h1 {
        margin-top: 30px !important;
        margin-bottom: 20px !important;
    }
    
    .about-area .section-header h1,
    .resume-area .section-header h1,
    .services-area .section-header h1,
    .skills-area .section-header h1,
    .portfolio-area .section-header h1,
    .business-impact-area .section-header h1,
    .contact-area .section-header h1,
    .consultation-area .section-header h1 {
        margin-top: 30px !important;
        margin-bottom: 20px !important;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .section-header h1 {
        margin-top: 35px !important;
        margin-bottom: 25px !important;
    }
    
    .about-area .section-header h1,
    .resume-area .section-header h1,
    .services-area .section-header h1,
    .skills-area .section-header h1,
    .portfolio-area .section-header h1,
    .business-impact-area .section-header h1,
    .contact-area .section-header h1,
    .consultation-area .section-header h1 {
        margin-top: 35px !important;
        margin-bottom: 25px !important;
    }
}

/* Desktop responsive adjustments */
@media (min-width: 769px) {
    .section-header h1 {
        margin-top: 40px !important;
        margin-bottom: 30px !important;
    }
    
    .about-area .section-header h1,
    .resume-area .section-header h1,
    .services-area .section-header h1,
    .skills-area .section-header h1,
    .portfolio-area .section-header h1,
    .business-impact-area .section-header h1,
    .contact-area .section-header h1,
    .consultation-area .section-header h1 {
        margin-top: 40px !important;
        margin-bottom: 30px !important;
    }
}

/* ===========================================
   EMAIL LINKS HOVER EFFECTS
   =========================================== */

/* Email link styling */
.email a,
.contact-content h3 a {
    color: inherit !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

/* Email icon styling */
.email a i,
.contact-content h3 a i {
    margin-right: 8px !important;
    font-size: 18px !important;
    color: var(--primary_color) !important;
    transition: all 0.3s ease !important;
}

/* Email hover effects */
.email a:hover,
.contact-content h3 a:hover {
    color: var(--primary_color) !important;
    transform: scale(1.05) !important;
    text-shadow: 0 0 10px rgba(40, 233, 140, 0.3) !important;
}

/* Email icon hover effects */
.email a:hover i,
.contact-content h3 a:hover i {
    color: var(--primary_color) !important;
    transform: scale(1.1) !important;
    text-shadow: 0 0 8px rgba(40, 233, 140, 0.5) !important;
}

/* Email focus effects for accessibility */
.email a:focus,
.contact-content h3 a:focus {
    outline: 2px solid var(--primary_color) !important;
    outline-offset: 4px !important;
    border-radius: 4px !important;
}

/* Email active effects */
.email a:active,
.contact-content h3 a:active {
    transform: scale(0.98) !important;
}

/* Mobile responsive email effects */
@media (max-width: 480px) {
    .email a:hover,
    .contact-content h3 a:hover {
        transform: scale(1.02) !important;
    }
}

/* Tablet responsive email effects */
@media (min-width: 481px) and (max-width: 768px) {
    .email a:hover,
    .contact-content h3 a:hover {
        transform: scale(1.03) !important;
    }
}

/* ===========================================
   LEGAL LINKS STYLING
   =========================================== */

.legal-links {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.legal-link {
    color: #999999;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.legal-link:hover {
    color: var(--primary_color);
    text-decoration: underline;
}

.separator {
    color: #666666;
    font-size: 12px;
    font-weight: 300;
}

/* Mobile responsive legal links */
@media (max-width: 480px) {
    .legal-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .separator {
        display: none;
    }
    
    .legal-link {
        font-size: 11px;
    }
}

/* ===========================================
   MOBILE FOOTER STYLING
   =========================================== */

/* Mobile Footer - Hidden on Desktop */
.mobile-footer {
    display: none;
}

/* Show mobile footer on devices up to 1230px */
@media (max-width: 1230px) {
    .mobile-footer {
        display: block !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 20px 0 !important;
        margin-top: 40px !important;
    }
    
    .mobile-footer-content {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        text-align: center !important;
    }
    
    .mobile-footer-legal {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        margin-bottom: 15px !important;
        flex-wrap: wrap !important;
    }
    
    .mobile-legal-link {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        color: #999999 !important;
        text-decoration: none !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        transition: all 0.3s ease !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .mobile-legal-link:hover {
        color: var(--primary_color) !important;
        background: rgba(40, 233, 140, 0.1) !important;
        border-color: #28e98c !important;
        transform: translateY(-1px) !important;
    }
    
    .mobile-legal-link i {
        font-size: 14px !important;
        color: inherit !important;
    }
    
    .mobile-footer-copyright {
        margin-top: 10px !important;
    }
    
    .mobile-footer-copyright p {
        color: #666666 !important;
        font-size: 11px !important;
        margin: 0 !important;
        font-weight: 300 !important;
    }
}

/* Tablet adjustments for footer */
@media (min-width: 769px) and (max-width: 1230px) {
    .mobile-footer {
        padding: 25px 0 !important;
        margin-top: 50px !important;
    }
    
    .mobile-footer-content {
        padding: 0 30px !important;
    }
    
    .mobile-footer-legal {
        gap: 25px !important;
        margin-bottom: 18px !important;
    }
    
    .mobile-legal-link {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
    
    .mobile-legal-link i {
        font-size: 15px !important;
    }
    
    .mobile-footer-copyright p {
        font-size: 12px !important;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .mobile-footer {
        padding: 15px 0 !important;
        margin-top: 30px !important;
    }
    
    .mobile-footer-content {
        padding: 0 15px !important;
    }
    
    .mobile-footer-legal {
        gap: 15px !important;
        margin-bottom: 12px !important;
    }
    
    .mobile-legal-link {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    
    .mobile-legal-link i {
        font-size: 12px !important;
    }
    
    .mobile-footer-copyright p {
        font-size: 10px !important;
    }
}

/* Hide mobile footer on larger desktop screens */
@media (min-width: 1231px) {
    .mobile-footer {
        display: none !important;
    }
}