/* ============================================
   Professional Expertise Page Styles
   Modern, CEO-ready design
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #1a1a1f;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 234, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 204, 112, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    line-height: 1;
    min-height: 50vh;
    position: relative;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    background: #1a1a1f;
    background-image: radial-gradient(circle at center, rgba(0, 234, 255, 0.06) 0%, transparent 70%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 60px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00eaff 0%, #ffcc70 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================
   Expertise Cards
   ============================================ */

.expertise-card {
    background: #141418;
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    margin: 40px auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 234, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00eaff 0%, #ffcc70 100%);
    transition: none;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 234, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

.expertise-card:hover::before {
    width: 4px;
    opacity: 1;
}

.myheader1::before {
    background: linear-gradient(180deg, #00eaff 0%, #ffcc70 100%);
}

.myheader2::before {
    background: linear-gradient(180deg, #ffcc70 0%, #00eaff 100%);
}

/* ============================================
   Card Header with Icon
   ============================================ */

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-wrapper {
    width: 49px;
    height: 49px;
    background: #2a2a35;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #00eaff;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.15);
    transition: all 0.3s ease;
}

.expertise-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: #30303d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 234, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-header h1 {
    font-size: 2.125rem;
    color: #ffffff;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateX(-30px);
}

/* ============================================
   Typography
   ============================================ */

.expertise-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
}

h2 {
    font-size: 1.5rem;
    color: #00eaff;
    margin: 40px 0 20px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
}

h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #00eaff 0%, #ffcc70 100%);
    border-radius: 2px;
}

h3 {
    font-size: 1.3rem;
    color: #00eaff;
    margin: 30px 0 20px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
}

/* ============================================
   Skills Container
   ============================================ */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.skill-box {
    background: #2a2a35;
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 25px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b4e1ff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-box i {
    color: #00eaff;
    font-size: 0.9rem;
}

.skill-box:hover {
    background: #30303d;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 234, 255, 0.15);
}

/* ============================================
   Work Sample Section
   ============================================ */

.worksample {
    margin-top: 40px;
    padding: 30px;
    background: #191922;
    border-radius: 15px;
    border-left: 4px solid #00eaff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 234, 255, 0.08);
    opacity: 0;
    transform: translateY(20px);
}

.worksample h3 {
    margin-top: 0;
    margin-bottom: 20px;
}


/* ============================================
   Project Items
   ============================================ */

.project-item {
    display: flex;
    gap: 17px;
    padding: 17px;
    background: #25252d;
    border-radius: 10px;
    margin-bottom: 17px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-item:hover {
    background: #2a2a35;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.12);
    transform: translateX(5px);
}

.project-item i {
    font-size: 1.275rem;
    color: #00eaff;
    margin-top: 4px;
}

.project-item strong {      
    display: block;
    color: #ffffff;         /*        will customize    */
    font-size: 0.935rem;
    margin-bottom: 7px;
}

.project-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.808rem;
}

.project-link {
    color: #00eaff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.808rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #ffffff;
    gap: 10px;
}

.project-link i {
    font-size: 0.8rem;
}

/* ============================================
   Footer
   ============================================ */

.lastsection {
    margin-top: 80px;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #1a1a1f;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#last {
    text-align: center;
    font-size: 1.1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

#last a {
    color: #00eaff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#last a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

.inline-icon {
    vertical-align: middle;
    margin-left: 8px;
    transition: 0.3s ease;
    border-radius: 5px;
}

.inline-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.5);
}

/* _____________________________________________   responsive design  ______________________*/

/* ============================================
   Responsive Design - Large Tablets & Small Laptops
   ============================================ */

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .expertise-card {
        padding: 45px 35px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

/* ============================================
   Responsive Design - Tablets (iPad, Android Tablets)
   ============================================ */

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .container {
        padding: 0 25px;
    }

    .hero-section {
        padding: 60px 25px;
        margin-bottom: 50px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .expertise-card {
        padding: 35px 25px;
        margin: 30px auto;
    }

    .card-header {
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }

    .card-header h1 {
        font-size: 1.8rem;
    }

    .icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .expertise-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .skill-box {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .worksample {
        padding: 20px;
    }

    .project-item {
        flex-direction: row;
        gap: 15px;
        padding: 15px;
    }
}

/* ============================================
   Responsive Design - Large Phones (iPhone Pro Max, Large Android)
   ============================================ */

@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }

    .hero-section {
        padding: 50px 18px;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .expertise-card {
        padding: 28px 20px;
        margin: 25px auto;
        border-radius: 15px;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .card-header h1 {
        font-size: 1.5rem;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.2rem;
        margin: 35px 0 18px 0;
    }

    h3 {
        font-size: 1.1rem;
    }

    .expertise-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .skill-box {
        font-size: 0.85rem;
        padding: 10px 14px;
        width: 100%;
        justify-content: center;
    }

    .worksample {
        padding: 18px;
    }

    .worksample p {
        font-size: 0.9rem;
    }

    .project-item {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .project-item strong {
        font-size: 0.9rem;
    }

    .project-item p {
        font-size: 0.8rem;
    }
    
    .project-link {
        font-size: 0.8rem;
    }

    #last {
        font-size: 0.95rem;
    }

    .lastsection {
        margin-top: 60px;
        padding: 30px 18px;
    }
}

/* ============================================
   Responsive Design - Medium Phones (iPhone, Standard Android)
   ============================================ */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 40px 15px;
        margin-bottom: 35px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .expertise-card {
        padding: 25px 18px;
        margin: 20px auto;
        border-radius: 12px;
    }

    .card-header h1 {
        font-size: 1.4rem;
    }

    .icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.15rem;
        margin: 30px 0 15px 0;
    }

    h3 {
        font-size: 1.05rem;
    }

    .expertise-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .skill-box {
        font-size: 0.8rem;
        padding: 9px 12px;
    }

    .worksample {
        padding: 15px;
    }

    .worksample p {
        font-size: 0.85rem;
    }

    .project-item {
        padding: 12px;
        gap: 10px;
    }

    .project-item strong {
        font-size: 0.85rem;
    }

    .project-item p {
        font-size: 0.75rem;
    }
    
    .project-link {
        font-size: 0.75rem;
    }

    .lastsection {
        padding: 25px 15px;
    }
}

/* ============================================
   Responsive Design - Small Phones (iPhone SE, Small Android)
   ============================================ */

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-section {
        padding: 35px 12px;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .expertise-card {
        padding: 20px 15px;
        margin: 18px auto;
    }

    .card-header h1 {
        font-size: 1.3rem;
    }

    .icon-wrapper {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 1rem;
    }

    .expertise-description {
        font-size: 0.9rem;
    }

    .skill-box {
        font-size: 0.75rem;
        padding: 8px 10px;
    }

    .worksample {
        padding: 12px;
    }

    .project-item {
        padding: 10px;
    }

    .project-item strong {
        font-size: 0.8rem;
    }

    .project-item p {
        font-size: 0.7rem;
    }
    
    .project-link {
        font-size: 0.7rem;
    }

    #last {
        font-size: 0.9rem;
    }
}

/* ============================================
   Responsive Design - Landscape Orientation
   ============================================ */

@media (max-width: 900px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .expertise-card {
        padding: 30px 25px;
        margin: 25px auto;
    }
}

/* ============================================
   Responsive Design - Very Small Devices
   ============================================ */

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .card-header h1 {
        font-size: 1.2rem;
    }

    .expertise-card {
        padding: 18px 12px;
    }

    .skill-box {
        font-size: 0.7rem;
        padding: 7px 9px;
    }
}
