
/* --- GLOBAL RESET & BASE STYLES --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
            background-color: #fff;
            color: #1e1e1e;
            line-height: 1.6;
            position: relative;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

/* --- LAYOUT & WIDTH CONFIGURATION --- */
/* This handles the 80% width and centering for all major sections */
        .container, 
        .skills-section, 
        .experience-section, 
        .ed-container,
        .footer-container {
            width: 75%;       /* The User Request: 80% Width */
            margin: 0 auto;   /* Ensures everything stays Centered */
            max-width: 1800px; /* Safety cap for ultra-wide 4k screens */
            padding: 0px 0;  /* Vertical padding only */
        }

        .dr-icon {
            margin: 0;
            width: 75px;
            display: block;
        }
        
        .dr-icon img {
            width: 100%;
            height: auto;
            display: block;
        }

        .btn-download {
            display: inline-block;
            background: linear-gradient(145deg, #074c7a 0%, #0e5aa2 40%);
            color: #ffffff !important;
            width: 100%;
            max-width: 370px;
            padding: 10px;
            font-size: 1.25rem;
            font-weight: 500;
            text-align: center;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }

        .btn-download:hover {
            background: #3d4449;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(2, 184, 245, 0.3);
        }

        .section-title {
            font-size: 2rem;
            font-weight: 400;
            margin-bottom: 20px;
            padding-bottom: 5px;
            border-bottom: 2px solid #333;
            color: #000;
        }


       /* --- Navbar Styles --- */
        nav {
            background-color: #1e1e1e;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-content {
            width: 100%;
            max-width: 1100px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 60px;
        }

        .logo {
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .logo img { height: 75px; width: auto; }

        .nav-links {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .nav-links a:not(.social-icon) {
            text-decoration: none;
            color: #fff;
            font-weight: 500;
            font-size: 1rem;
            transition: color 0.3s ease;
        }

        .nav-links a:not(.social-icon):hover { color: #3a99e6; }

        .social-icon {
            display: flex; align-items: center; text-decoration: none;
            font-size: 1rem; color: #fff; transition: transform 0.3s ease;
        }
        .social-icon:hover i {
            color: #3a99e6; transform: scale(1.1);
        }

        /* --- HERO SECTION --- */
        main {
            padding: 50px 0;
            background-color: #1a1a1a;
            color: #f4f4f9;
        }

        .hero {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
            gap: 4rem;
        }

        .hero-content {
            flex: 1;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.1;
            margin-bottom: 0.5rem;
        }

        .hero-subtitle {
            font-size: 1.45rem;
            font-weight: 300;
            font-style: italic;
            color: #3a99e6;
            margin-top: -0.5rem;
            padding-left: 10px;
        }

        .hero-sidebar {
            flex: 0 0 320px;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .hero-description {
            font-size: 0.85rem;
            text-align: center;
            color: #cccccc;
            line-height: 1.8;
        }

/* --- PROFILE IMAGE ANIMATION --- */
        .profile-image {
            width: 100%;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            margin-bottom: 20px;
            background-color: #000;
        }

        .profile-image img {
            width: 100%;
            height: 600px;
            display: block;
            object-fit: cover;
            object-position: top;
            opacity: 0;
            transform: scale(0.9);
            transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.5s ease-out;
            will-change: transform, opacity;
        }

        .profile-image img.in-view {
            opacity: 1;
            transform: scale(1);
        }

/* --- ABOUT SECTION --- */
        .about-section {
            width: 100%;
            padding: 30px 0;
            background-color: #fff;
            color: #333;
        }

        .description-column p {
            font-size: 1.125rem;
            line-height: 1.8;
            color: #555;
            padding-top: 10px;
        }

/* --- SKILLS SECTION --- */
/* (Width handled by common class above) */

        .skills-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-top: 40px;
        }

        .key h2 {
            font-size: 1.6rem;
            font-weight: 400;
            margin-bottom: 10px;
            color: #3a99e6;
        }

        .skill-item p {
            font-size: 1rem;
            line-height: 1.6;
            color: #666;
        }

/* --- EXPERIENCE SECTION --- */
/* (Width handled by common class above) */
        
        .experience-item, .experience-item2 {
            display: grid;
            grid-template-columns: 200px 300px 1fr;
            gap: 20px;
            padding: 40px 0;
            border-bottom: 1px solid #eee;
        }

        .experience-item:last-child {
            border-bottom: none;
        }

        .date-location {
            font-size: 1rem;
            color: #888;
            padding-top: 5px;
        }

        .company h2 {
            font-size: 1.5rem;
            font-weight: 500;
            color: #3a99e6;
            margin-bottom: 5px;
        }

        .job-title {
            font-size: 0.9rem;
            color: #666;
            font-weight: 600;
        }

        .description {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .summary {
            font-size: 1rem;
            color: #555;
            margin: 0;
        }

/* --- FOLIO SECTION --- */
        .folio-section {
            min-height: 65vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #0969da 0%, #1a232e 100%);
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .folio-content {
            max-width: 900px;
            position: relative;
            z-index: 1;
            padding: 0 20px;
            color: #fff;
        }

        .folio-content h1 {
            font-size: 3.5rem;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .folio-content p {
            font-size: 1.3rem;
            font-weight: 400;
            color: #c7c7c7;
            margin-bottom: 40px;
        }

        .cta-button {
            display: inline-block;
            padding: 16px 40px;
            background-color: #fff;
            color: #000;
            font-weight: 600;
            border-radius: 8px;
            font-size: 1.1rem;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .cta-button:hover {
            background-color: #40a1f1;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0,0,0, 0.2);
        }

/* --- EDUCATION SECTION --- */
        .education-bg {
            background-color: #1a1a1a;
            color: #fff;
            padding: 60px 0;
        }

        .ed-container {
            display: flex;
            gap: 60px;
            /* Width handled by common class above */
        }

        .left-column {
            flex: 2;
        }

        .right-column {
            flex: 1;
        }

        .education-bg h1 {
            font-size: 2rem;
            font-weight: 350;
            margin-bottom: 20px;
            padding-bottom: 5px;
            border-bottom: 1px solid #444;
            color: #fff;
        }

        .entry {
            margin-bottom: 35px;
        }

        .entry-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .entry-title {
            font-size: 1.4rem;
            font-weight: 500;
            color: #fff;
        }

        .entry-subtitle {
            font-size: 1.1rem;
            font-weight: 400;
            color: #3a99e6;
        }

        .entry-date {
            text-align: right;
            min-width: 100px;
        }

        .year {
            display: block;
            font-weight: 600;
        }

        .location {
            display: block;
            font-size: 0.85rem;
            color: #999;
            font-style: italic;
        }

        .entry-list li {
            font-size: 0.95rem;
            color: #ccc;
            margin-bottom: 6px;
            padding-left: 15px;
            position: relative;
        }

        .entry-list li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: #666;
        }

        .right-column p, .right-column li {
            color: #ccc;
            font-size: 0.95rem;
            margin-bottom: 10px;
        }
        
        .section5 {
            margin-bottom: 40px;
        }

        /* --- FOOTER --- */
        .footer {
            background-color: #111;
            color: #ffffff;
            padding: 80px 0 40px; /* Adjusted padding since container has width */
        }

/* Width handled by common class above */
        .right-sidebar {      
            font-size: 0.8rem;
            color: rgb(115, 115, 115);   
        }

        .footer-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 40px;
            padding-top: 20px;
            border-top: 1px solid #444;
        }

        .footer-info {
            display: flex;
            gap: 30px;
            margin-bottom: 50px;
            flex-wrap: wrap;
        }

        .footer-card {
            background-color: #222;
            padding: 30px;
            border-radius: 8px;
            display: flex;
            gap: 20px;
            flex: 1;
            min-width: 280px;
        }

        .footer-icon {
            color: #368ed6;
            width: 40px;
            height: 40px;
            flex-shrink: 0;
        }

        .footer-link {
            color: #fff;
            font-size: 1.1rem;
            transition: color 0.3s;
        }
        
        .footer-link:hover {
            color: #3a99e6;
        }

        /* Sub-footer bar */
        .sub-footer {
            background-color: #000;
            padding: 20px 0;
        }

        .sub-footer .container {
             /* Inherits 80% width */
             display: flex;
             justify-content: flex-end;
             align-items: center;
        }

        /* --- FOOTER --- */
        footer {
            background-color: #1a1a1a; /* Matches your main section background */
            padding: 20px 0;
            color: #ccc; /* Light gray text for contrast */
            text-align: center;
            font-size: 0.85rem;
        }

        .footer-content {
            display: flex;
            justify-content: flex-end; /* Aligns content to the right, matching your previous request */
            align-items: center;
            width: 78%; /* Using your .container width */
            margin: 0 auto;
        }
    

/* --- BACK TO TOP BUTTON --- */
        #backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #3a99e6;
            color: #fff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        #backToTop.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        #backToTop:hover {
            background-color: #0e5aa2;
            transform: translateY(-5px);
        }

/* --- RESPONSIVE QUERIES --- */
        @media (max-width: 1024px) {
            .hero {
                flex-direction: column;
                gap: 2rem;
            }
            .hero-sidebar {
                width: 100%;
                flex: auto;
            }
            .experience-item, .experience-item2 {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .company h2, .date-location {
                margin-bottom: 5px;
            }
            .profile-image img {
                height: auto;
                max-height: 500px;
            }
        }

        @media (max-width: 768px) {
/* On mobile, 80% is too narrow, so we bump it to 90% or 95% */
            .container, 
            .skills-section, 
            .experience-section, 
            .ed-container,
            .footer-container {
                width: 90%;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }

            .skills-container {
                grid-template-columns: 1fr;
            }

            .ed-container {
                flex-direction: column;
                gap: 40px;
            }

            .footer-info {
                flex-direction: column;
            }
            
            .folio-content h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 480px) {
            #backToTop {
                bottom: 20px;
                right: 20px;
                width: 40px;
                height: 40px;
            }
        }