/* 
   Asil Bilgisayar Yazılım Ltd. Şti. - Modern Design System 
   Custom CSS utilizing CSS Custom Properties (Variables), Dark/Light Modes, and Glassmorphism.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Corporate Enterprise Mode */
    --primary-rgb: 10, 37, 64; /* #0a2540 - Deep Navy */
    --primary: rgb(var(--primary-rgb));
    --primary-dark: #001224;
    --primary-light: rgba(var(--primary-rgb), 0.1);
    --secondary-rgb: 99, 102, 241; /* #6366f1 - Tech Indigo */
    --secondary: rgb(var(--secondary-rgb));
    
    --bg-base: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.75);
    --bg-card: #ffffff;
    --border-color: rgba(226, 232, 240, 0.8);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-inverse: #ffffff;
    
    --glow-color: rgba(37, 99, 235, 0.15);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: 12px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-rgb: 129, 140, 248; /* #818cf8 - Light Indigo for better contrast in dark mode */
    --primary-dark: #e0e7ff;
    
    --bg-base: #0b0f19;
    --bg-surface: rgba(15, 23, 42, 0.75);
    --bg-card: #0f172a;
    --border-color: rgba(51, 65, 85, 0.5);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;
    
    --glow-color: rgba(99, 102, 241, 0.25);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --primary-light: rgba(99, 102, 241, 0.15);
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.2s ease;
}

html, body {
    width: 100%;
    min-height: 100%;
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-dark);
}

/* Background Gradients & Ambient Blobs */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.ambient-blob-1, .ambient-blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    mix-blend-mode: multiply;
    animation: floatBlob 25s infinite alternate;
}

[data-theme="dark"] .ambient-blob-1, [data-theme="dark"] .ambient-blob-2 {
    opacity: 0.12;
}

.ambient-blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, rgba(255,255,255,0) 70%);
}

.ambient-blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -5s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Header & Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: padding 0.3s ease, background 0.3s ease;
}

.main-header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
}

.navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-weight: 400;
}

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

.nav-link-custom {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.15rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--primary);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--glow-color);
    transform: scale(1.05);
}

.theme-toggle .sun-icon {
    display: none;
}
.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}
[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* Hamburger Menu (Mobile) */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 5% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--glow-color);
    color: white;
}

.btn-secondary-custom {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary-custom:hover {
    background: var(--border-color);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Hero Visual / Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-graphic-container {
    width: 100%;
    max-width: 500px;
    height: 500px;
    position: relative;
}

.hero-circle-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    z-index: 1;
    animation: pulseCircle 8s infinite alternate;
}

.hero-circle-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px dashed var(--border-color);
    animation: rotateOrbit 30s linear infinite;
}

.hero-card-floating-1, .hero-card-floating-2 {
    position: absolute;
    z-index: 2;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-card-floating-1 {
    top: 20%;
    left: 5%;
}

.hero-card-floating-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: -3s;
}

.floating-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Sections General */
.section-wrapper {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Services Section Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 10px 30px var(--glow-color);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content-left {
    max-width: 600px;
}

.about-bullets {
    margin: 30px 0;
    list-style: none;
}

.about-bullet-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.bullet-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: rgb(16, 185, 129);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Tech Stack Section */
.tech-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease;
    cursor: default;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon-circle {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--glow-color);
}

.tech-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tech-item:hover .tech-name {
    color: var(--text-main);
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px var(--glow-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.portfolio-visual-box {
    height: 220px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(124,58,237,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-card-content {
    padding: 25px;
}

.portfolio-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.portfolio-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-card-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-method-detail h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-method-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-group-custom {
    margin-bottom: 25px;
}

.form-label-custom {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-input-custom {
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--glow-color);
}

textarea.form-input-custom {
    resize: none;
    height: 150px;
}

/* Modal and Alert styling */
.toast-custom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-xl);
    padding: 20px 25px;
    border-radius: 8px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 450px;
}

.toast-custom.show {
    transform: translateY(0);
}

.toast-custom.toast-success {
    border-left-color: #10b981;
}

.toast-custom.toast-error {
    border-left-color: #ef4444;
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-msg-container h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.toast-msg-container p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Admin Panel Specific Styles */
.admin-wrapper {
    padding: 140px 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.admin-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.admin-stat-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.admin-stat-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.admin-stat-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.messages-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.3s ease;
}

.message-item-card.unread {
    border-left: 4px solid var(--primary);
}

.message-item-card:hover {
    box-shadow: var(--shadow-md);
}

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

.msg-sender-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.msg-sender-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.msg-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.msg-subject {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.msg-body-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    background: var(--bg-base);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.msg-actions {
    display: flex;
    gap: 15px;
}

.btn-sm-custom {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    transition: all 0.2s ease;
}

.btn-sm-custom:hover {
    background: var(--border-color);
}

.btn-sm-custom.btn-success-sm {
    background: rgba(16, 185, 129, 0.1);
    color: rgb(16, 185, 129);
    border-color: rgba(16, 185, 129, 0.2);
}

.btn-sm-custom.btn-success-sm:hover {
    background: rgb(16, 185, 129);
    color: white;
}

.btn-sm-custom.btn-danger-sm {
    background: rgba(239, 68, 68, 0.1);
    color: rgb(239, 68, 68);
    border-color: rgba(239, 68, 68, 0.2);
}

.btn-sm-custom.btn-danger-sm:hover {
    background: rgb(239, 68, 68);
    color: white;
}

/* Footer styling */
.main-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 60px 5% 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.footer-col-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 400px;
}

.footer-col-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Intersection Observer Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Animations Definitions */
@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

@keyframes pulseCircle {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes rotateOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .navbar-custom {
        padding: 15px 20px;
    }
    .menu-btn {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .hero-graphic-container {
        height: 350px;
    }
    .hero-circle-main {
        width: 200px;
        height: 200px;
    }
    .hero-circle-orbit {
        width: 280px;
        height: 280px;
    }
    .hero-title {
        font-size: 2.3rem;
    }
}

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

@keyframes pulseCircle {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

@keyframes rotateOrbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Scroll Reveal Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(18, 140, 126, 0.6);
}