/* Reset and Base Styles */
:root {
    /* Light Theme Variables */
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-background: #f3f4f6;
    --card-background: #ffffff;
    --header-background: rgba(255, 255, 255, 0.95);
    --border-color: #eee;
    --footer-background: var(--text-color);
    --logo-color: #000000;
    --transition: all 0.3s ease;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --logo-gradient: linear-gradient(135deg, var(--logo-color), var(--logo-color));
    /* Font Variables */
    --body-font: 'Lato', sans-serif;
    --heading-font: 'Ubuntu', sans-serif;
    /* Icon Invert (0 for light mode = no invert) */
    --icon-invert: 0;
}

[data-theme="dark"] {
    --text-color: #f3f4f6;
    --light-text: #9ca3af;
    --background: #111827;
    --light-background: #1f2937;
    --card-background: #1f2937;
    --header-background: rgba(17, 24, 39, 0.95);
    --border-color: #374151;
    --footer-background: #1f2937;
    --logo-color: #ffffff;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    --logo-gradient: linear-gradient(135deg, var(--logo-color), var(--logo-color));
    --page-header-background: #1f2937;
    --service-card-background: #2d3748;
    /* Icon Invert (1 for dark mode = invert) */
    --icon-invert: 1;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

h1, h2, h3 {
    font-family: var(--heading-font);
}

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    scroll-margin-top: 350px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-background);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-color);
}

.logo i {
    font-size: 2rem;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 0 4px;
}

.logo-text::after {
    content: 'TECLINKS';
    position: absolute;
    left: 4px;
    top: 2px;
    opacity: 0.1;
    filter: blur(2px);
    z-index: -1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 1.1rem;
}

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 0 2rem;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 76px; /* Height of header */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/hero-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin: 0.5rem;
}

.btn i {
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background: var(--light-background);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--service-card-background);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

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

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
        margin-top: 64px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 2rem;
        scroll-margin-top: 330px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8rem;
        scroll-margin-top: 320px;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light-background);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    padding: 2rem;
    background: var(--card-background);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.about-text:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.about-features {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.about-features li {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-features i {
    color: var(--primary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    background: var(--light-background);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-text {
        padding: 1.5rem;
    }
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    padding: 2rem;
    background: var(--light-background);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    color: var(--text-color);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-item p {
    color: var(--light-text);
    margin: 0;
}

.contact-form {
    padding: 2rem;
    background: var(--card-background);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    width: 100%;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--card-background);
    color: var(--text-color);
}

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

.form-group textarea {
    height: 200px;
    resize: vertical;
    min-height: 150px;
    max-height: 400px;
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--card-background);
    color: var(--text-color);
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    background: var(--footer-background);
    color: white;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 0 4px;
}

.footer-logo-text::after {
    content: 'TECLINKS';
    position: absolute;
    left: 4px;
    top: 2px;
    color: rgba(255, 255, 255, 0.1);
    filter: blur(2px);
    z-index: -1;
}

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

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Dark mode overrides */
[data-theme="dark"] .footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .footer-link {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .footer-link:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        padding: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 80vh;
        padding: 0 1.5rem;
        margin-top: 64px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        text-align: center;
    }
    
    .hero {
        height: 80vh;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

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

.hero-content,
.service-card,
.about-content,
.contact-content {
    animation: fadeIn 1s ease-out;
}

/* Theme Switcher */
.theme-controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 1rem;
}

.theme-toggle, .mode-toggle, .font-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.theme-toggle:hover, .mode-toggle:hover, .font-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.theme-menu, .font-menu {
    position: absolute;
    bottom: calc(100% + 1rem);
    right: 0;
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    color: var(--text-color);
}

.theme-menu.active, .font-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.font-menu {
    right: 50px;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
}

.font-menu::-webkit-scrollbar {
    width: 8px;
}

.font-menu::-webkit-scrollbar-track {
    background: var(--light-background);
    border-radius: 4px;
}

.font-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.font-menu::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.theme-menu h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
    text-align: center;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.color-option {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: transform 0.2s ease;
    position: relative;
}

.color-option i {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.color-option.active i {
    opacity: 1;
    transform: scale(1);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option::after {
    content: attr(title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.color-option:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .theme-controls {
        bottom: 1rem;
        right: 1rem;
    }

    .theme-menu {
        width: 260px;
    }
}

/* Update logo styles for dark mode */
[data-theme="dark"] .logo i {
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .logo-text {
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Theme Menu Additions */
.mt-4 {
    margin-top: 2rem;
}

.font-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.font-options::-webkit-scrollbar {
    width: 6px;
}

.font-options::-webkit-scrollbar-track {
    background: var(--light-background);
    border-radius: 3px;
}

.font-options::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.font-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--light-background);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    width: 100%;
    font-family: var(--body-font);
}

.font-option:hover {
    background: var(--border-color);
}

.font-option.active {
    background: var(--primary-color);
    color: white;
}

.font-option i {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.font-option.active i {
    opacity: 1;
    transform: scale(1);
}

.font-name {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Background Switcher */
.bg-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.bg-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.bg-menu {
    position: absolute;
    bottom: calc(100% + 1rem);
    right: 0;
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    color: var(--text-color);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
}

.bg-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bg-menu::-webkit-scrollbar {
    width: 6px;
}

.bg-menu::-webkit-scrollbar-track {
    background: var(--light-background);
    border-radius: 3px;
}

.bg-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.bg-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.bg-option {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: transform 0.2s ease;
    position: relative;
    background: var(--light-background);
}

.bg-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.bg-option:hover {
    transform: scale(1.05);
}

.bg-option.active {
    border-color: var(--primary-color);
}

.bg-option::after {
    content: attr(title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 10;
}

.bg-option:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .bg-menu {
        width: 280px;
    }
    
    .bg-options {
        grid-template-columns: 1fr;
    }
}

/* Page Header */
.page-header {
    padding: 6rem 0 3rem;
    background: var(--page-header-background);
    margin-top: 76px; /* Height of header */
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.page-header h1 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 3rem;
    text-shadow: none;
}

.page-header p {
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.page-header .btn-primary {
    background: var(--primary-color);
    color: white;
}

.page-header .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.page-header .btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.page-header .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
        margin-top: 64px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 5rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: var(--section-bg);
}

.pricing .section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    margin-top: 2rem;
}

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

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-header i.bronze {
    color: #CD7F32;
}

.pricing-header i.silver {
    color: #C0C0C0;
}

.pricing-header i.gold {
    color: #FFD700;
}

.pricing-header h3 {
    margin: 1rem 0;
    color: var(--heading-color);
}

.price {
    margin-top: 1rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.pricing-footer {
    text-align: center;
}

.pricing-footer .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

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

/* Process Section */
.process {
    padding: 4rem 0;
    background: var(--section-bg);
}

.process .section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-color);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    margin-top: 2rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    position: relative;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-content h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-content li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.step-content li i {
    font-size: 1rem;
    margin: 0;
}

/* Process section connector lines */
.process-grid::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .process-grid::before {
        display: none;
    }

    .process-step:hover {
        transform: translateY(-5px);
    }
}

/* Technologies Showcase Section */
.technologies-showcase {
    padding: 4rem 0;
    background: var(--background);
}

.technologies-showcase h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-category {
    margin-bottom: 3rem;
}

.tech-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tech-category h3 i {
    margin-right: 0.75rem;
    font-size: 1.6rem; /* Slightly smaller than h3 */
    vertical-align: middle;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0 3rem 0;
    margin-bottom: 2rem;
}

.technology-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
}

.technology-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--hover-shadow);
}

.technology-card img {
    height: 50px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.technology-card:hover img {
    transform: scale(1.1);
}

.technology-card p {
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .technologies-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .technologies-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .technology-card {
        padding: 1rem;
        max-width: 120px;
    }

    .technology-card img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .technologies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .technology-card {
        max-width: none;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    color: var(--text-color);
}

.privacy-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    font-weight: 700;
}

.privacy-policy .last-updated {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
    font-style: italic;
}

.privacy-policy h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--heading-color);
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.privacy-policy p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.privacy-policy ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-policy li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

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

.privacy-policy a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Dark mode overrides */
[data-theme="dark"] .privacy-policy {
    background-color: var(--dark-bg);
}

[data-theme="dark"] .privacy-policy h1,
[data-theme="dark"] .privacy-policy h2 {
    color: var(--dark-heading-color);
}

[data-theme="dark"] .privacy-policy p,
[data-theme="dark"] .privacy-policy li {
    color: var(--dark-text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 3rem 1.5rem;
    }

    .privacy-policy h1 {
        font-size: 2rem;
    }

    .privacy-policy h2 {
        font-size: 1.5rem;
    }

    .privacy-policy p,
    .privacy-policy li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy {
        padding: 2rem 1rem;
    }

    .privacy-policy h1 {
        font-size: 1.8rem;
    }

    .privacy-policy h2 {
        font-size: 1.3rem;
    }
} 