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

:root {
    --primary-color: #2563eb;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

img,
video,
canvas {
    max-width: 100%;
    height: auto;
}

svg {
    max-width: 100%;
}

section[id] {
    scroll-margin-top: calc(var(--header-height, 120px) + 20px);
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    margin-right: 20px;
    transition: var(--transition);
}

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

.contact-info i {
    margin-right: 5px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    margin-right: 20px;
    transition: var(--transition);
    font: inherit;
}

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

.theme-toggle i {
    margin-right: 0;
}

.theme-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 2000;
}

.theme-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-align: left;
    transition: var(--transition);
}

.theme-option:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.theme-option i {
    width: 18px;
}

.google-reviews {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
}

.google-reviews .stars {
    color: var(--accent-color);
    margin-left: 5px;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
}

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

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.nav-brand .logo {
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.1);
}

.brand-link h2 {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.brand-link span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 25px;
}

.btn-contact:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: var(--header-height, 120px);
    height: min(600px, 70vh);
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
    touch-action: pan-y;
}

.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    z-index: 3;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.35);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    pointer-events: auto;
    backdrop-filter: blur(6px);
}

.hero-arrow:hover {
    background: rgba(15, 23, 42, 0.55);
    transform: translateY(-1px);
}

.hero-arrow:active {
    transform: translateY(0);
}

.hero-arrow i {
    font-size: 16px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: -1;
}

.slide-bg-1 {
    background-image: url('../assets/pexels-goumbik-574071.jpg');
}

.slide-bg-2 {
    background-image: url('../assets/pexels-kevin-ku-92347-577585.jpg');
}

.slide-bg-3 {
    background-image: url('../assets/pexels-picjumbo-com-55570-196644.jpg');
}

.slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideInDown 1s ease;
}

.slide-content h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    animation: slideInUp 1s ease;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    animation: fadeIn 1.5s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Pomodoro Page */
.pomodoro-page {
    padding: 80px 0;
    background: var(--light-bg);
}

.pomodoro-back {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.pomodoro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.pomodoro-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.pomodoro-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.pomodoro-card-header h4 {
    color: var(--secondary-color);
    font-size: 18px;
}

.pomodoro-mode-buttons {
    display: inline-flex;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}

.pomodoro-mode-btn {
    border: none;
    background: transparent;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
}

.pomodoro-mode-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.pomodoro-timer {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    color: var(--secondary-color);
    margin: 20px 0 10px;
}

.pomodoro-status {
    text-align: center;
    min-height: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.pomodoro-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.pomodoro-action-btn {
    border: none;
    border-radius: 30px;
    padding: 12px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.pomodoro-action-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.pomodoro-action-secondary {
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
    box-shadow: none;
}

.pomodoro-action-secondary:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.pomodoro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.pomodoro-stat {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.pomodoro-stat-label {
    font-size: 13px;
    color: var(--text-color);
}

.pomodoro-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 6px;
}

.pomodoro-info {
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 18px;
}

body.dark-theme .pomodoro-page {
    background: #0b1220;
}

body.dark-theme .pomodoro-card {
    background: #111827;
    border-color: #1f2937;
}

body.dark-theme .pomodoro-card-header h4,
body.dark-theme .pomodoro-timer,
body.dark-theme .pomodoro-stat-value {
    color: #ffffff;
}

body.dark-theme .pomodoro-status,
body.dark-theme .pomodoro-info,
body.dark-theme .pomodoro-stat-label {
    color: rgba(226, 232, 240, 0.85);
}

body.dark-theme .pomodoro-mode-btn {
    color: #ffffff;
}

body.dark-theme .pomodoro-stat {
    background: #0f172a;
    border-color: #1f2937;
}

/* To-Do Generator Page */
.todo-page {
    padding: 80px 0;
    background: var(--light-bg);
}

.todo-back {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.todo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.todo-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.todo-label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.todo-theme-row,
.todo-add-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.todo-actions-row {
    margin-top: 12px;
}

.todo-select {
    flex: 1;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    color: var(--secondary-color);
    font: inherit;
}

.todo-input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    color: var(--secondary-color);
    font: inherit;
}

.todo-action-btn {
    border: none;
    border-radius: 30px;
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--primary-color);
    color: var(--white);
}

.todo-action-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.todo-action-secondary {
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
}

.todo-action-secondary:hover {
    background: rgba(37, 99, 235, 0.2);
}

.todo-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.todo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--light-bg);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.todo-item-left {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.todo-checkbox {
    width: 18px;
    height: 18px;
}

.todo-text {
    color: var(--secondary-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.todo-text.done {
    text-decoration: line-through;
    opacity: 0.7;
}

.todo-item-actions {
    display: flex;
    gap: 8px;
}

.todo-edit {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.14);
    cursor: pointer;
    transition: var(--transition);
}

.todo-edit:hover {
    background: rgba(37, 99, 235, 0.22);
    transform: translateY(-1px);
}

.todo-edit i {
    color: var(--primary-color);
}

.todo-edit-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    color: var(--secondary-color);
    font: inherit;
    min-width: 0;
}

.todo-delete {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.todo-delete:hover {
    background: rgba(15, 23, 42, 0.14);
    transform: translateY(-1px);
}

.todo-delete i {
    color: var(--secondary-color);
}

.todo-hint {
    margin-top: 14px;
    color: var(--text-color);
    font-size: 14px;
}

body.dark-theme .todo-page {
    background: #0b1220;
}

body.dark-theme .todo-card {
    background: #111827;
    border-color: #1f2937;
}

body.dark-theme .todo-label,
body.dark-theme .todo-text {
    color: #ffffff;
}

body.dark-theme .todo-hint {
    color: rgba(226, 232, 240, 0.85);
}

body.dark-theme .todo-select,
body.dark-theme .todo-input {
    background: #0f172a;
    border-color: #1f2937;
    color: #ffffff;
}

body.dark-theme .todo-item {
    background: #0f172a;
    border-color: #1f2937;
}

body.dark-theme .todo-edit {
    background: rgba(96, 165, 250, 0.16);
}

body.dark-theme .todo-edit:hover {
    background: rgba(96, 165, 250, 0.24);
}

body.dark-theme .todo-edit i {
    color: #93c5fd;
}

body.dark-theme .todo-edit-input {
    background: #0f172a;
    border-color: #1f2937;
    color: #ffffff;
}

body.dark-theme .todo-delete {
    background: rgba(226, 232, 240, 0.08);
}

body.dark-theme .todo-delete:hover {
    background: rgba(226, 232, 240, 0.14);
}

body.dark-theme .todo-delete i {
    color: #e2e8f0;
}

/* Documentation Tool Page */
.doc-page {
    padding: 80px 0;
    background: var(--light-bg);
}

.doc-back {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.doc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.doc-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.doc-label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.doc-input,
.doc-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    color: var(--secondary-color);
    font: inherit;
    margin-bottom: 14px;
}

.doc-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.doc-row .doc-select {
    margin-bottom: 0;
    flex: 1;
}

.doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.doc-action-btn {
    border: none;
    border-radius: 30px;
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--primary-color);
    color: var(--white);
}

.doc-action-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.doc-action-secondary {
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
}

.doc-action-secondary:hover {
    background: rgba(37, 99, 235, 0.2);
}

.doc-hint {
    color: var(--text-color);
    font-size: 14px;
    min-height: 20px;
    margin-bottom: 16px;
}

.doc-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    color: var(--secondary-color);
    font: inherit;
    resize: vertical;
    margin-bottom: 14px;
}

.doc-preview-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.doc-preview {
    background: var(--light-bg);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 14px;
    overflow: auto;
    max-height: 380px;
}

.doc-preview h1,
.doc-preview h2,
.doc-preview h3,
.doc-preview h4,
.doc-preview h5,
.doc-preview h6 {
    color: var(--secondary-color);
    margin: 12px 0 8px;
}

.doc-preview p {
    color: var(--text-color);
    margin-bottom: 10px;
}

.doc-preview ul {
    padding-left: 18px;
    margin-bottom: 10px;
}

.doc-preview li {
    color: var(--text-color);
    margin-bottom: 6px;
}

.doc-preview code {
    background: rgba(37, 99, 235, 0.12);
    padding: 2px 6px;
    border-radius: 8px;
}

.doc-preview pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 12px;
    border-radius: 12px;
    overflow: auto;
    margin: 10px 0;
}

.doc-preview pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.doc-preview a {
    color: var(--primary-color);
    text-decoration: underline;
}

.doc-saved {
    margin-top: 10px;
}

.doc-ai {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 12px;
    background: var(--light-bg);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.doc-ai-header h4 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 12px;
}

.doc-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 14px;
}

.doc-checkbox-row input {
    width: 16px;
    height: 16px;
}

.doc-saved-header h4 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 10px;
}

.doc-saved-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc-saved-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--light-bg);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.doc-saved-title {
    color: var(--secondary-color);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.doc-saved-actions {
    display: flex;
    gap: 8px;
}

.doc-saved-open,
.doc-saved-delete {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.doc-saved-open {
    background: rgba(37, 99, 235, 0.14);
}

.doc-saved-open:hover {
    background: rgba(37, 99, 235, 0.22);
    transform: translateY(-1px);
}

.doc-saved-open i {
    color: var(--primary-color);
}

.doc-saved-delete {
    background: rgba(15, 23, 42, 0.08);
}

.doc-saved-delete:hover {
    background: rgba(15, 23, 42, 0.14);
    transform: translateY(-1px);
}

.doc-saved-delete i {
    color: var(--secondary-color);
}

body.dark-theme .doc-page {
    background: #0b1220;
}

body.dark-theme .doc-card {
    background: #111827;
    border-color: #1f2937;
}

body.dark-theme .doc-label,
body.dark-theme .doc-preview-title,
body.dark-theme .doc-saved-header h4,
body.dark-theme .doc-saved-title {
    color: #ffffff;
}

body.dark-theme .doc-hint,
body.dark-theme .doc-preview p,
body.dark-theme .doc-preview li {
    color: rgba(226, 232, 240, 0.85);
}

body.dark-theme .doc-input,
body.dark-theme .doc-select,
body.dark-theme .doc-textarea {
    background: #0f172a;
    border-color: #1f2937;
    color: #ffffff;
}

body.dark-theme .doc-preview {
    background: #0f172a;
    border-color: #1f2937;
}

body.dark-theme .doc-preview h1,
body.dark-theme .doc-preview h2,
body.dark-theme .doc-preview h3,
body.dark-theme .doc-preview h4,
body.dark-theme .doc-preview h5,
body.dark-theme .doc-preview h6 {
    color: #ffffff;
}

body.dark-theme .doc-preview code {
    background: rgba(96, 165, 250, 0.16);
}

body.dark-theme .doc-saved-item {
    background: #0f172a;
    border-color: #1f2937;
}

body.dark-theme .doc-ai {
    background: #0f172a;
    border-color: #1f2937;
}

body.dark-theme .doc-ai-header h4 {
    color: #ffffff;
}

body.dark-theme .doc-checkbox-row {
    color: rgba(226, 232, 240, 0.85);
}

body.dark-theme .doc-saved-open {
    background: rgba(96, 165, 250, 0.16);
}

body.dark-theme .doc-saved-open:hover {
    background: rgba(96, 165, 250, 0.24);
}

body.dark-theme .doc-saved-open i {
    color: #93c5fd;
}

body.dark-theme .doc-saved-delete {
    background: rgba(226, 232, 240, 0.08);
}

body.dark-theme .doc-saved-delete:hover {
    background: rgba(226, 232, 240, 0.14);
}

body.dark-theme .doc-saved-delete i {
    color: #e2e8f0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-header h3 {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 400;
    margin-top: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 24px;
    color: var(--white);
}

.service-item h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-item p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background: var(--white);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.domain-skills h4,
.technical-skills h4 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 24px;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.skill-list i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.skill-list h5 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.skill-list p {
    font-size: 14px;
    color: var(--text-color);
}

.skill-bars {
    margin-bottom: 30px;
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-name {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

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

.skill-fill {
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
    height: 100%;
    border-radius: 4px;
    animation: fillBar 2s ease;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: var(--light-bg);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-color);
}

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

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    background: var(--white);
    height: 300px;
}

.portfolio-img {
    position: relative;
    height: 100%;
    overflow: hidden;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-title-link {
    color: inherit;
    text-decoration: none;
}

.portfolio-title-link:hover {
    text-decoration: underline;
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.portfolio-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.2s;
}

.portfolio-link i {
    color: var(--primary-color);
    font-size: 20px;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 30px;
}

.currency {
    font-size: 20px;
    color: var(--text-color);
}

.amount {
    font-size: 48px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 5px;
}

.period {
    color: var(--text-color);
    font-size: 16px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    text-align: left;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.btn-pricing {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    margin-top: auto;
}

.btn-pricing:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.8;
}

.maintenance {
    grid-column: span 1;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    margin-top: 30px;
    font-size: 24px;
}

.about-text h4:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-color);
    font-size: 16px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

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

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.info-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand-link {
    text-decoration: none;
    color: inherit;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1);
}

.footer-text h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-text p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

body.dark-theme {
    background: #0b1220;
    color: #e2e8f0;
}

body.dark-theme .header,
body.dark-theme .navbar {
    background: #0b1220;
}

body.dark-theme .brand-link h2,
body.dark-theme .section-header h2,
body.dark-theme .service-item h4,
body.dark-theme .domain-skills h4,
body.dark-theme .technical-skills h4,
body.dark-theme .skill-name,
body.dark-theme .pricing-header h4,
body.dark-theme .about-text h4,
body.dark-theme .info-item h4 {
    color: #e2e8f0;
}

body.dark-theme .domain-skills h4,
body.dark-theme .technical-skills h4 {
    color: #ffffff;
}

body.dark-theme .domain-skills .skill-list h5 {
    color: #ffffff;
}

body.dark-theme .nav-toggle span {
    background: #e2e8f0;
}

body.dark-theme .nav-menu a,
body.dark-theme .section-header h3,
body.dark-theme .service-item p,
body.dark-theme .skill-list p,
body.dark-theme .pricing-note,
body.dark-theme .currency,
body.dark-theme .period,
body.dark-theme .stat-label,
body.dark-theme .about-text p,
body.dark-theme .info-item p {
    color: rgba(226, 232, 240, 0.85);
}

body.dark-theme .services,
body.dark-theme .portfolio,
body.dark-theme .about {
    background: #0f172a;
}

body.dark-theme .skills,
body.dark-theme .pricing,
body.dark-theme .contact {
    background: #0b1220;
}

body.dark-theme .service-item,
body.dark-theme .portfolio-item,
body.dark-theme .pricing-card,
body.dark-theme .stat-item,
body.dark-theme .contact-form {
    background: #111827;
    border-color: #1f2937;
}

body.dark-theme .filter-btn {
    background: #111827;
    border-color: #1f2937;
    color: rgba(226, 232, 240, 0.9);
}

body.dark-theme .filter-btn:hover,
body.dark-theme .filter-btn.active {
    color: #ffffff;
}

body.dark-theme .skill-progress {
    background: #0f172a;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea,
body.dark-theme .form-group select {
    background: #0b1220;
    border-color: #1f2937;
    color: rgba(226, 232, 240, 0.9);
}

body.dark-theme .theme-dropdown {
    background: #111827;
    border-color: #1f2937;
}

body.dark-theme .theme-option {
    color: rgba(226, 232, 240, 0.9);
}

body.dark-theme .theme-option:hover {
    background: #0b1220;
    color: #ffffff;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fillBar {
    from {
        width: 0;
    }
}
