/* GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: 0.4s ease-in-out;
}

:root {
    --bg: #ffffff;
    --text: #111;
    --card: #f2f2f2;
    --accent: #6b5bff;
}

html.dark {
    --bg: #0f0f0f;
    --text: #fff;
    --card: #1a1a1a;
    --accent: #8f7cff;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    position: sticky;
    top: 0;
    background: var(--bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.theme-btn {
    background: var(--accent);
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    color: white;
}

/* HERO */
.hero {
    text-align: center;
    padding: 80px 20px;
    animation: fadeIn 1.2s ease;
}

.title {
    font-size: 32px;
    font-weight: 700;
}

.subtitle {
    margin-top: 10px;
    font-size: 18px;
}

.contact-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background: var(--accent);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.contact-btn:hover {
    transform: scale(1.05);
}

/* SERVICES */
.services {
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    animation: fadeIn 1.3s;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    animation: slideUp 0.8s ease;
}

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

/* FOOTER */
footer {
    margin-top: 50px;
    text-align: center;
    padding: 20px;
    background: var(--card);
}

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

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

/* CONTACT PAGE */
.contact-section {
    padding: 50px 20px;
    text-align: center;
}

.contact-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-btn2 {
    width: 250px;
    padding: 14px 20px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 20px;
    border-radius: 10px;
    transition: 0.3s;
    display: block;
    text-align: center;
    animation: fadeIn 1s ease;
}

.contact-btn2:hover {
    transform: scale(1.05);
}

/* Page Fade Animation */

.page-fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page-fade.loaded {
  opacity: 1;
}


.templates {
    padding: 40px 20px;
}
