:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #3b82f6;
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--accent);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    margin-left: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

/* Animated Background Elements */
.bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
}

.element-1 {
    width: 300px;
    height: 300px;
    background-color: var(--accent);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.element-2 {
    width: 200px;
    height: 200px;
    background-color: #8b5cf6;
    bottom: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 100px 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* About Section */
.about-section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.accent-line {
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.about-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.tech-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.tech-focus li {
    background-color: rgba(59, 130, 246, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--accent);
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background-color: var(--secondary);
}

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

.project-card {
    background-color: var(--primary);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tags span {
    background-color: rgba(59, 130, 246, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--accent);
}

/* Certifications Section */
.certifications-section {
    padding: 6rem 0;
}

.certifications-list {
    display: grid;
    gap: 1.5rem;
}

.certification-item {
    background-color: var(--secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.certification-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--secondary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
}

/* ===== Global Section Styles ===== */
.main-section {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-header h2 span {
    color: var(--accent);
}

.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin-top: 1rem;
}

/* Background elements for all pages */
.page-bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
    animation: float 12s ease-in-out infinite;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.tech-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.tech-focus-item {
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

/* ===== Projects Page ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.tech-tag {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== Certifications Page ===== */
.certifications-list {
    display: grid;
    gap: 1.5rem;
}

.certification-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.certification-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.certification-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* ===== Contact Page ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

/* ===== Responsive Adjustments ===== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .main-section {
        padding: 7rem 0 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-focus-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Projects Section ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-badge {
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.project-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* ===== Contact Section ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.contact-info {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--accent);
    width: 24px;
    text-align: center;
}

/* ===== Certifications Section ===== */
.certifications-grid {
    display: grid;
    gap: 1.5rem;
}

.certification-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

.certification-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.certification-icon {
    font-size: 2rem;
    color: var(--accent);
}

.certification-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.certification-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* ===== Contact Page ===== */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    padding: 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .info-item {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-container,
.contact-info-container {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

/* Contact Information */
.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.method-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.method-link:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-method {
        gap: 1rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.unread-badge {
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* ===== Notification Toast ===== */
#notification-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 350px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.toast-success {
    background: rgba(30, 41, 59, 0.9);
    border-left: 4px solid #22c55e;
}

.toast-error {
    background: rgba(30, 41, 59, 0.9);
    border-left: 4px solid #ef4444;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-content i {
    font-size: 1.5rem;
}

.toast-success .toast-content i {
    color: #22c55e;
}

.toast-error .toast-content i {
    color: #ef4444;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.toast-progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.toast-success .toast-progress::after {
    background: #22c55e;
    animation: progress 5s linear forwards;
}

.toast-error .toast-progress::after {
    background: #ef4444;
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #notification-toast {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-container,
.contact-info-container {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

/* Contact Information */
.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.method-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.method-link:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-method {
        gap: 1rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== About Page Specific Styles ===== */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-top: 2rem;
}

.about-content {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.0rem;
}

.about-text h3 {
    color: var(--text);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.tech-focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tech-focus-item {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tech-focus-item::before {
    content: '•';
    color: var(--accent);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.tech-focus-item:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* About Sidebar */
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-card h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.sidebar-item i {
    color: var(--accent);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar-item a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    color: var(--text);
}

.sidebar-item:hover a {
    color: var(--text);
}

/* Certification Badges */
.certification-badge {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.certification-badge i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.cert-details {
    flex: 1;
}

.cert-details strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.cert-details span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.cert-details small {
    color: var(--text-secondary);
    opacity: 0.8;
    font-size: 0.8rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-sidebar {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 1.5rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .tech-focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-sidebar {
        grid-template-columns: 1fr;
    }
    
    .tech-focus-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Enhanced Skills Page ===== */
.skills-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.skills-category {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.category-header {
    margin-bottom: 2rem;
    text-align: center;
}

.category-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.category-header h3 {
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.category-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Skills Matrix */
.skills-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-pillar {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-pillar:hover {
    background: rgba(59, 130, 246, 0.1);
}

.skill-pillar h4 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pillar-items span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.pillar-items span::before {
    content: '•';
    color: var(--accent);
    margin-right: 0.7rem;
    font-size: 1.2rem;
}

/* Skills Library */
.skills-library {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.library-item {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.library-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.library-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-top: 0.3rem;
}

.library-item h4 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.library-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Skills Badges */
.skills-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.badge-item {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.badge-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.badge-item span::before {
    content: '▹';
    color: var(--accent);
    margin-right: 0.7rem;
    font-size: 1rem;
}

/* Skills Quadrants */
.skills-quadrants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quadrant {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.quadrant:hover {
    background: rgba(59, 130, 246, 0.1);
}

.quadrant h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.quadrant ul {
    list-style: none;
}

.quadrant li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    line-height: 1.5;
}

.quadrant li i {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .skills-matrix,
    .skills-quadrants {
        grid-template-columns: 1fr;
    }
    
    .skills-category {
        padding: 1.8rem;
    }
}

@media (max-width: 480px) {
    .skills-library {
        grid-template-columns: 1fr;
    }
    
    .skills-badges {
        grid-template-columns: 1fr;
    }
}

/* Professional Skills Grid */
.professional-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .professional-skills-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Experiences Page ===== */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.timeline-section {
    position: relative;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.timeline-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.timeline-header h3 {
    font-size: 1.6rem;
    color: var(--text);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 7.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(59, 130, 246, 0.2);
}

.timeline-item:last-child::before {
    height: 50%;
}

.timeline-date {
    width: 6rem;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
    text-align: right;
    position: relative;
}

.timeline-date::after {
    content: '';
    position: absolute;
    right: -2.1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--primary);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.timeline-institution {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.timeline-details {
    list-style: none;
}

.timeline-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-item::before {
        left: 0.7rem;
    }
    
    .timeline-date {
        width: auto;
        text-align: left;
        padding-left: 2rem;
    }
    
    .timeline-date::after {
        right: auto;
        left: 0;
    }
}

/* Project Showcase */
.project-showcase {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.project-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-meta {
    flex: 1;
    min-width: 300px;
}

.project-meta h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.featured-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 1rem;
}

.project-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-content {
    margin-top: 2rem;
}

.project-description {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    white-space: pre-line;
}

.project-technologies h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

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

.admin-actions {
    margin-bottom: 2rem;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-item {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(30, 41, 59, 0.8);
}

.project-item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.project-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.featured-indicator {
    color: var(--accent);
    font-weight: 500;
}

.project-item-actions {
    display: flex;
    gap: 0.5rem;
}

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

.btn-edit:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.admin-form {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .project-showcase-header {
        flex-direction: column;
    }
    
    .project-actions {
        width: 100%;
    }
    
    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .project-item-actions {
        align-self: flex-end;
    }
}

/* Code Editor Styles */
.code-editor-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.code-tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.6);
}

.code-tabs button {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-family: 'Space Grotesk', sans-serif;
}

.code-tabs button.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.code-pane {
    display: none;
}

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

.CodeMirror {
    height: 400px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
}

/* Badges */
.babel-badge {
    display: inline-block;
    background: rgba(152, 195, 121, 0.2);
    color: #98c379;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .CodeMirror {
        height: 300px;
    }
    
    .code-tabs button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* --- Global Site Enhancements: Scrollbar & Cursor Coherence (IMPROVED) --- */

/* --- Custom Scrollbar Styles (for Webkit browsers: Chrome, Safari, Edge) --- */
/* Optimized for better visibility and coherence */

::-webkit-scrollbar {
    width: 12px; /* Slightly wider for better visual presence */
    background-color: var(--primary); /* Full background of the scroll area */
}

::-webkit-scrollbar-track {
    background-color: var(--secondary); /* Matches your card background, providing clear contrast to the thumb */
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); /* Subtle inner shadow for depth */
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent); /* Your vibrant accent blue for high visibility */
    border-radius: 10px;
    border: 3px solid var(--secondary); /* A border matching the track for a clean, embedded look */
    transition: background-color 0.2s ease; /* Smooth hover effect */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #5d9aff; /* Slightly lighter accent on hover for feedback */
}

/* --- Fallback/Enhancements for Firefox --- */
html {
  scrollbar-color: var(--accent) var(--secondary); /* thumb color | track color */
  scrollbar-width: thin;
}


/* --- Global Site Enhancements: Scrollbar & Cursor Coherence (Final Refinement) --- */

/* --- Custom Scrollbar Styles (for Webkit browsers: Chrome, Safari, Edge) --- */
/* Designed for clear visibility and strong coherence */

::-webkit-scrollbar {
    width: 14px; /* Wider for easier interaction and better visibility */
    background-color: var(--primary); /* Keeps the background consistent */
}

::-webkit-scrollbar-track {
    background-color: var(--secondary); /* Provides a solid, dark background for the thumb */
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); /* Deeper inner shadow for more depth */
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent); /* Your vibrant accent blue for maximum clarity */
    border-radius: 10px;
    border: 3px solid var(--secondary); /* A thicker border matching the track for a substantial, well-defined thumb */
    transition: background-color 0.2s ease, transform 0.2s ease; /* Added transform for a subtle hover lift */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #5d9aff; /* Slightly lighter accent on hover */
    transform: scale(1.05); /* Subtle growth/lift on hover for better feedback */
}

/* --- Fallback/Enhancements for Firefox --- */
html {
  scrollbar-color: var(--accent) var(--secondary); /* thumb color | track color */
  scrollbar-width: thin; /* Can also try 'auto' if 'thin' is too subtle */
}


/* --- Custom Cursor Styles (Highly Visible & Distinct SVG Data URIs) --- */
/* These cursors are designed to be clearly visible and match your brand's accent color */

/* Default cursor for non-interactive elements: a prominent, animated accent dot */
body {
    cursor: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='6' fill='%233b82f6'%3E%3Canimate attributeName='r' values='6;8;6' dur='1.5s' repeatCount='indefinite' /%3E%3C/circle%3E%3C/svg%3E") 16 16, default;
    /* Size increased to 32x32, radius increased to 6. Added a subtle pulsing animation for attention. */
    /* Hotspot is 16 16 (center) */
}

/* Pointer cursor for interactive elements: a bolder, animated WHITE ring with a clear inner BLUE dot */
a, button, input[type="submit"], input[type="button"], input[type="reset"],
.project-card, .certification-card, .btn, .nav-link,
[onclick] {
    cursor: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='12' fill='none' stroke='%23e2e8f0' stroke-width='4'%3E%3Canimate attributeName='stroke-width' values='4;6;4' dur='1s' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='20' cy='20' r='5' fill='%233b82f6'%3E%3Canimate attributeName='r' values='5;7;5' dur='1s' repeatCount='indefinite' /%3E%3C/circle%3E%3C/svg%3E") 20 20, pointer;
    /* CRITICAL CHANGE: 'stroke' for outer circle changed to '%23e2e8f0' (your --text white) */
    /* Larger 40x40. Bolder ring and dot with subtle pulsing animations for visual flair and clear indication. */
    /* Hotspot 20 20 (center) */
}

/* Text cursor for text input fields - kept standard for optimal usability */
input[type="text"], input[type="email"], input[type="password"], textarea {
    cursor: text;
}

/* Disabled elements cursor - kept standard for universal understanding */
[disabled], .disabled {
    cursor: not-allowed;
}

/* For smaller tablets and large phones (e.g., 768px to 576px) */
@media (max-width: 768px) {
.hero {
    padding-top: 150px;
}
    .btn-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 0.8rem; /* Space between stacked buttons */

    }
    .btn, .btn-outline {
        width: 80%; /* Make buttons take more width for easier tapping */
        max-width: 250px; /* Prevent them from becoming too wide */
        margin-left: 0; /* Remove desktop margin */
    }
    .btn-outline {
        margin-top: 0; /* No extra margin on top when stacked */
    }
        /* Button Group Adjustments */
    .hero .btn-group { /* More specific selector for the button container */
        display: flex !important; /* Ensure it's a flex container */
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 0.4rem !important; /* Very small space between stacked buttons */
        width: 100%; /* Ensure btn-group takes full width */
    }

    .hero .btn, /* More specific selector for individual buttons */
    .hero .btn-outline {
        width: 80% !important; /* Make buttons take more width for easier tapping */
        max-width: 280px !important; /* Prevent them from becoming too wide */
        margin-left: 0 !important; /* Crucial: Remove desktop margin */
        margin-top: 0 !important; /* Ensure no extra top margin on stacked buttons */
    }
}


/* --- End Global Site Enhancements --- */


