
        .styled-image {
            height: 50px;
            margin-left: 200px;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        }
        :root {
            --primary-color: #525d72;
            --secondary-color: #000000;
            --accent-color: #3b82f6;
            --text-color: #333;
            --light-bg: #f8fafc;
            --dark-bg: #1e293b;
            --transition: all 0.3s ease;
            --success-color: #10b981;
            --error-color: #ef4444;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            color: var(--text-color);
            line-height: 1.6;
            /* background-color: var(--light-bg); */
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            color: var(--dark-bg);
            margin-bottom: 15px;
        }
        
        .divider {
            height: 4px;
            width: 70px;
            background-color: var(--primary-color);
            margin: 0 auto;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 500;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }
        
        .btn:disabled {
            background-color: #9ca3af;
            cursor: not-allowed;
            transform: none;
        }
        
        /* Header & Navigation */
        header {
            /* background-color: rgb(216, 216, 186); */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: var(--transition);
        }
        
        .nav-links a:hover {
            color: var(--primary-color);
        }
        
        .menu-btn {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Hero Section */
        .hero {
            padding: 150px 0 100px;
            text-align: center;
            background: linear-gradient(135deg, #f0f9ff 0%, rgb(233, 233, 223) 100%);
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--dark-bg);
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
            color: #4b5563;
        }
        
        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        
        .about-text h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--dark-bg);
        }
        
        .profile-img {
            background-color: rgb(233, 233, 223);
            height: 400px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 15px 0;
        }

        .project-tag {
            background-color: #eaeff0;
            color: var(--primary);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        .project-tag:hover{
            background-color: #d4d0af;
            transform: translateY(-4px);
        }
        
        .profile-img-placeholder {
            color: var(--primary-color);
            font-size: 1.2rem;
            text-align: center;
            padding: 20px;
        }
        
        /* Education & Experience */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .timeline-item {
            padding: 20px 0;
            border-left: px solid ;
            position: relative;
            padding-left: 30px;
            margin-left: 20px;
        }
        
        .timeline-item:last-child {
            border-left: 2px solid transparent;
        }
        
        .timeline-date {
            font-weight: 500;
            color: #6b7280;
            font-size: 0.9rem;
            margin-bottom: 5px;
        }
        
        .timeline-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .timeline-location {
            font-style: italic;
            margin-bottom: 10px;
        }
        
        .timeline-dot {
            position: absolute;
            left: -1px;
            top: 26px;
            height: 12px;
            width: 12px;
            background-color: #333333;
            border-radius: 50%;
        }
        
        /* Skills Section */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
        }
        .skill-category:hover {
             box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
        }
        
        .skill-category {
            /* background-color: rgb(233, 233, 223); */
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .skill-category h3 {
            margin-bottom: 20px;
            color: var(--dark-bg);
        }
        

        .badge-item h3{
            margin-right: 70px;
        }
        
        .skill-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .skill-item {
            background-color: #eaeff0;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        .skill-item:hover {
            background-color: #d4d0af;
            color: var(--primary);
            transform: translateY(-3px);
            transition: var(--transition);
        }
        
        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .project-card {
            /* background-color: rgb(233, 233, 223); */
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }
        
        .project-card:hover {
            transform: translateY(-10px);
        }
        
        .project-content {
            padding: 20px;
        }
        
        .project-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--dark-bg);
        }
        
        .project-date {
            color: #6b7280;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .project-features {
            list-style-type: none;
        }
        
        .project-features li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 20px;
        }
        
        .project-features li:before {
            content: "❑";
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }
        
        /* Certificates Section */
        .certificates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        .badge-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .badge-item {
            /* background-color: rgb(233, 233, 223); */
            padding: 20px;
            border-radius: 10px;
            background-repeat: no-repeat; 
            background-size: 60px; 
            background-position: right; 
            background-position: right 10px center; 
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        .badge-item:hover {
             box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
        }

        .certificate-item {
            /* background-color: rgb(233, 233, 223); */
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        /* .certificate-item h3{
            margin-right: 70px;
        } */
        .certificate-item:hover {
             box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
        }

        
        /* Interests Section */
        .interests-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .interest-item {
            /* background-color: rgb(233, 233, 223); */
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, color 0.3s ease;
        }
        .interest-item:hover{
            transform: scale(1.3);
            transition: transform 0.3s ease, color 0.3s ease;
            color: #007bff;
        }
        
        .interest-icon {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
        }
        
        .contact-form {
            /* background-color: rgb(233, 233, 223); */
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .form-group {
            margin-bottom: 20px;
            position: relative;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        .form-error {
            color: var(--error-color);
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }
        
        .form-success {
            background-color: var(--success-color);
            color: white;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            text-align: center;
            display: none;
        }
        
        .form-loading {
            display: none;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .form-loading .spinner {
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--primary-color);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            animation: spin 1s linear infinite;
            margin: 0 auto 10px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Footer */
        footer {
            background-color: var(--dark-bg);
            color: white;
            padding: 50px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: white;
            display: block;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            color: white;
            font-size: 1.5rem;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            color: var(--accent-color);
        }
        
        .footer-links h3 {
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #334155;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .about-content,
            .contact-container {
                grid-template-columns: 1fr;
            }
            
            .profile-img {
                order: -1;
            }
        }
        
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: rgb(255, 255, 255);
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .nav-links li {
                margin: 10px 0;
            }
            
            .menu-btn {
                display: block;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            section {
                padding: 60px 0;
            }
        }
        .image{
            border: groove;
        }
        .post {
            /* background-color: rgb(233, 233, 223); */
            width: 544px;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .post:hover {
             box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
        }
        .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  gap: 30px;
  justify-items: center;
}
/* Dark Mode Variables */
body.dark-mode {
  --text-color: #e5e7eb;
  --light-bg: #020617;
  --dark-bg: #e5e7eb;

  --primary-color: #60a5fa;
  --secondary-color: #3b82f6;
  --accent-color: #93c5fd;

  --success-color: #22c55e;
  --error-color: #f87171;
}
body.dark-mode {
  background-color: var(--light-bg);
  color: var(--text-color);
}
body.dark-mode header {
  background-color: #020617;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

body.dark-mode section {
  background-color: transparent;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #020617 0%, #020617 100%);
}

body.dark-mode .project-card,
body.dark-mode .skill-category,
body.dark-mode .certificate-item,
body.dark-mode .badge-item,
body.dark-mode .interest-item,
body.dark-mode .contact-form,
body.dark-mode .post {
  background-color: #020617;
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}
body.dark-mode .nav-links a {
  color: #e5e7eb;
}

body.dark-mode .nav-links a:hover {
  color: var(--accent-color);
}

body.dark-mode .menu-btn {
  color: #e5e7eb;
}
body.dark-mode .skill-item,
body.dark-mode .project-tag {
  background-color: #1e293b;
  color: #e5e7eb;
}

body.dark-mode .skill-item:hover,
body.dark-mode .project-tag:hover {
  background-color: #334155;
}
body.dark-mode input,
body.dark-mode textarea {
  background-color: #020617;
  color: #e5e7eb;
  border: 1px solid #334155;
}

body.dark-mode input:focus,
body.dark-mode textarea:focus {
  border-color: var(--primary-color);
}
body.dark-mode footer {
  background-color: #020617;
}

body.dark-mode .footer-links a {
  color: #9ca3af;
}

body.dark-mode .footer-links a:hover {
  color: #ffffff;
}
#gmail-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

/* Logo */
.gmail-logo {
  width: 240px;
}

/* Progress bar track */
.progress-track {
  width: 240px;
  height: 3px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

/* Progress animation */
.progress-bar {
  width: 40%;
  height: 100%;
  background: #ea4335; /* Google red */
  animation: gmailProgress 1.2s ease-in-out infinite;
}

/* Motion */
@keyframes gmailProgress {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(250%);
  }
}
