:root {
    /* Core Colors */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #7c3aed;
    --accent: #10b981;
    
    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.7);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* UI Elements */
    --border: rgba(148, 163, 184, 0.1);
    --shadow: rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

h3 {
    font-size: 2rem;
    color: var(--text-secondary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-primary);
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Skill Bars */
.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 1s ease;
}

/* Experience Section */
.timeline-wrapper {
    position: relative;
    padding: 3rem 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 2.5rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 2.5rem;
}

.timeline-badge {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
}

.timeline-item.left .timeline-badge {
    right: -20px;
}

.timeline-item.right .timeline-badge {
    left: -20px;
}

.timeline-panel {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.timeline-panel::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item.left .timeline-panel::after {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--bg-card);
}

.timeline-item.right .timeline-panel::after {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--bg-card) transparent transparent;
}

.timeline-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-header h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-date {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.timeline-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

/* Project Cards */
.project-card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.project-link, .project-details-btn {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 3;
}

.project-link:hover, .project-details-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
    background: var(--bg-card);
    position: relative;
    z-index: 2;
}

.project-info h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.4rem;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: var(--bg-secondary);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.transparent {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.header.scrolled {
    background: var(--bg-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.logo:hover {
    color: var(--primary);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-btn::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
    bottom: 0;
}

.nav-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Footer Styles */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid var(--primary);
}

.footer-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.footer-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary);
}

.footer-links h4, .footer-social h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    max-width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-text {
    text-align: left;
}

.about-text h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.detail-text {
    color: var(--text-secondary);
}

.about-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Projects section styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 0;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.filter-btn {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
}

.project-card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.project-link, .project-details-btn {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 3;
}

.project-link:hover, .project-details-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
    background: var(--bg-card);
    position: relative;
    z-index: 2;
}

.project-info h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.4rem;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: var(--bg-secondary);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .grid-4 { 
        grid-template-columns: repeat(3, 1fr); 
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .grid-3, .grid-4 { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .timeline::before { 
        left: 0; 
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 2rem;
    }
    
    .timeline-item.left .timeline-badge,
    .timeline-item.right .timeline-badge {
        left: -20px;
    }
    
    .timeline-item.left .timeline-panel::after,
    .timeline-item.right .timeline-panel::after {
        display: none;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Hero section responsive styles */
    .hero {
        margin-top: 0;
        padding-top: 100px;
    }
    
    .hero-content {
        padding-top: 1.5rem;
    }
    
    .hero h1 {
        font-size: 3.2rem;
        line-height: 1.1;
    }
    
    .hero .greeting {
        font-size: 1.8rem;
    }
    
    /* Responsive Header */
    .header {
        padding: 1rem 0;
    }
    
    .header.transparent {
        background: rgba(15, 23, 42, 0.6);
    }
    
    .header.scrolled {
        background: var(--bg-primary);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 9;
    }
    
    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    /* Responsive Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Responsive About Section */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    /* Projects grid responsive fix */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .project-filters {
        margin-bottom: 3rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-cta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        flex: 1 0 calc(50% - 0.75rem);
        text-align: center;
        justify-content: center;
    }
    
    .download-btn {
        flex: 1 0 100%;
        margin-top: 0.25rem;
    }
    
    /* Responsive Contact Section */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        gap: 1rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4 { 
        grid-template-columns: 1fr; 
    }
    
    .container { 
        padding: 0 1rem; 
    }
    
    /* Improved Typography for Mobile */
    h1 { font-size: 2rem; line-height: 1.2; }
    h2 { font-size: 1.75rem; line-height: 1.2; }
    h3 { font-size: 1.3rem; line-height: 1.3; }
    p { font-size: 0.95rem; line-height: 1.6; }
    
    /* Hero Section Improvements */
    .hero {
        margin-top: 0;
        padding-top: 90px;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero h1 { 
        font-size: 2.5rem; 
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .hero .greeting { 
        font-size: 1.4rem; 
        margin-bottom: 0.3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* Contact Form Adjustments */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Header Adjustments */
    .header {
        padding: 0.85rem 0;
    }
    
    .header.transparent {
        background: rgba(15, 23, 42, 0.7);
    }
    
    /* Project filters responsive fix */
    .project-filters {
        margin-bottom: 2.5rem;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Projects grid responsive fix */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 360px) {
    .container { 
        padding: 0 0.75rem; 
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    /* Hero Section Adjustments */
    .hero {
        padding-top: 80px;
    }
    
    .hero-content {
        padding-top: 0.5rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    padding-top: 120px; /* Increase padding to push content below header */
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem; /* Reduce padding since we increased the hero padding-top */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero .greeting {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-right: 0.1em solid var(--primary);
    white-space: nowrap;
    overflow: hidden;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* Adjust scroll indicator for mobile */
@media (max-width: 768px) {
    .hero-scroll-indicator {
        bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-scroll-indicator {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        margin-bottom: 1rem; /* Reduce margin to prevent overlap */
    }
}

@media (max-width: 360px) {
    .hero-scroll-indicator {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }
}

.mouse {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 13px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouse-wheel 1.2s ease infinite;
}

.arrow {
    display: block;
    margin-top: 5px;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: arrow-down 1.2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
    margin-top: -6px;
}

/* Animations */
@keyframes mouse-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

@keyframes arrow-down {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary) }
}

/* Typing animation */
.typing-animation {
    width: 0;
    animation: typing 3.5s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.1em solid var(--primary);
    display: inline-block;
    max-width: 100%; /* Ensure it doesn't overflow container */
}

/* Responsive typing animation adjustments */
@media (max-width: 768px) {
    .typing-animation {
        animation: typing 2.8s steps(30, end) forwards, blink-caret 0.75s step-end infinite;
        font-size: 1.8rem; /* Smaller font on tablets */
    }
}

@media (max-width: 480px) {
    .typing-animation {
        animation: typing 2.5s steps(25, end) forwards, blink-caret 0.75s step-end infinite;
        font-size: 1.5rem; /* Even smaller font on phones */
        border-right-width: 0.08em; /* Thinner cursor */
    }
}

@media (max-width: 360px) {
    .typing-animation {
        animation: typing 2s steps(20, end) forwards, blink-caret 0.75s step-end infinite;
        font-size: 1.3rem; /* Smallest font on tiny phones */
    }
}

/* Typewriter container for better responsive handling */
.typewriter-container {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    min-height: 3.5rem; /* Reserve space for the text */
    position: relative;
}

@media (max-width: 768px) {
    .typewriter-container {
        min-height: 3rem;
    }
}

@media (max-width: 480px) {
    .typewriter-container {
        min-height: 2.5rem;
    }
}

@media (max-width: 360px) {
    .typewriter-container {
        min-height: 2rem;
    }
}

.hero .name-container {
    display: block;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    padding-right: 5px; /* Add padding to ensure the last letter is visible */
    margin-bottom: 10px; /* Add space between name and typewriter */
    width: calc(100% - 10px); /* Ensure width calculation accounts for padding */
    overflow: visible; /* Ensure overflow content is visible */
}

@media (max-width: 480px) {
    .hero .name-container {
        font-size: 0.9em; /* Slightly smaller than the parent h1 */
        line-height: 1.1;
        letter-spacing: -0.5px; /* Tighten letter spacing slightly on mobile */
        padding-right: 10px; /* More padding on mobile */
        width: calc(100% - 15px); /* Adjust width calculation for mobile */
    }
    
    /* Adjust spacing between elements */
    .hero-content {
        padding: 0 10px; /* Add padding to the content container */
    }
    
    .typewriter-container {
        margin-top: 5px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        margin-top: 10px;
    }
}

@media (max-width: 360px) {
    .hero .name-container {
        font-size: 0.85em;
        letter-spacing: -1px; /* Further tighten letter spacing on very small screens */
        padding-right: 15px; /* Even more padding on very small screens */
        width: calc(100% - 20px); /* Adjust width calculation for very small screens */
    }
}

/* Adjust the typewriter container and hero description for mobile */
@media (max-width: 768px) {
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .typewriter-container {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
        padding-right: 5px; /* Ensure text is fully visible */
    }
    
    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    /* Improve spacing in the hero section */
    .hero-content {
        padding: 0 10px 20px 10px; /* Add padding to the content container */
    }
}

@media (max-width: 360px) {
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        padding-right: 10px; /* More padding on very small screens */
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
}

.description-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .description-container {
        padding-right: 5px;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 360px) {
    .description-container {
        padding-right: 10px;
        margin-bottom: 1rem;
    }
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--primary);
}

.download-btn:hover {
    background-color: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        flex: 1 0 calc(50% - 0.75rem);
        text-align: center;
        justify-content: center;
    }
    
    .download-btn {
        flex: 1 0 100%;
        margin-top: 0.25rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* Project Modal Styles - Enhanced */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.project-modal {
    background-color: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), 
                opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .project-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, var(--bg-primary), var(--bg-secondary));
}

.modal-header h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-image:hover {
    transform: scale(1.02);
}

.project-description {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-primary);
    padding: 0 0.5rem;
}

.project-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-highlights {
    margin-bottom: 2rem;
}

.project-highlights h3 {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    color: var(--primary);
    position: relative;
    padding-left: 1rem;
}

.project-highlights h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.project-highlights ul {
    padding-left: 1.5rem;
}

.project-highlights li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.project-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.project-tech-stack {
    margin-bottom: 2rem;
}

.project-tech-stack h3 {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    color: var(--primary);
    position: relative;
    padding-left: 1rem;
}

.project-tech-stack h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.2));
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.modal-footer .btn {
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-footer .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
}

.modal-footer .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.modal-footer .btn-outline:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .project-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .project-section {
        padding: 1.25rem;
    }
    
    .modal-footer {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .project-modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .project-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .project-highlights h3, 
    .project-tech-stack h3 {
        font-size: 1.2rem;
    }
    
    .tech-tags {
        gap: 0.5rem;
    }
    
    .tech-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    width: 100%;
}

.notification {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    max-width: 100%;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #4CAF50;
    background: linear-gradient(to right, rgba(76, 175, 80, 0.05), transparent);
}

.notification.error {
    border-left-color: #F44336;
    background: linear-gradient(to right, rgba(244, 67, 54, 0.05), transparent);
}

.notification-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.notification-icon {
    margin-right: 15px;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification.success .notification-icon {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.notification.error .notification-icon {
    color: #F44336;
    background-color: rgba(244, 67, 54, 0.1);
}

.notification-message {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 10px;
    padding: 5px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: auto;
    }
}

/* Enhanced Form Styles */
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-bottom-color: var(--primary);
}

.contact-form .submit-btn {
    position: relative;
    overflow: hidden;
}

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

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

.contact-form .submit-btn.sending {
    opacity: 0.8;
    cursor: not-allowed;
}

.contact-form .submit-btn .btn-icon {
    transition: transform 0.3s ease;
}

.contact-form .submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Skills Section */
.skills-tabs {
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-btn {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: white;
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-info h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
}

.skill-percentage {
    color: var(--primary);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    width: 0;
    transition: width 1s ease;
}

/* Consulting Section */
.consulting-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.consulting-clients {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.client-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.client-header {
    margin-bottom: 1.5rem;
}

.client-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.client-period {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.client-projects h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.project-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.project-item {
    display: flex;
    margin-bottom: 1rem;
}

.project-marker {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 0.5rem;
    margin-right: 1rem;
}

.project-content {
    color: var(--text-secondary);
}

.client-cta {
    margin-top: 1.5rem;
    text-align: center;
}

/* Testimonials */
.testimonials {
    margin-top: 4rem;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-content {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--border);
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--text-primary);
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.carousel-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--primary);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active, .carousel-dot:hover {
    background: var(--primary);
}

/* Contact Section */
.contact-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.info-content p, .info-content a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary);
}

.social-links {
    margin-top: 1rem;
}

.social-links h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: none;
    border-bottom: 2px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.btn-icon {
    font-size: 1rem;
}

/* Favicon */
.favicon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    font-size: 20px;
}