:root {
    --primary-color: #050505;      /* Solid black from top of card */
    --secondary-color: #0d0d0d;    /* Very dark surface container */
    --accent-color: #17b8ec;       /* Vibrant cyan from business card */ 
    --text-color: #cccccc;         /* Light grey for readability */
    --bg-color: #050505;           /* Solid black background */
    --white: #ffffff;
    --hover-color: #17b8ec;        /* Vibrant cyan for hover effects */
    --shadow-color: rgba(23, 184, 236, 0.4); /* Cyan glow effect */
    --card-cyan-bg: #17b8ec;       /* Background of bottom of card */
    --card-cyan-text: #050505;     /* Dark text for cyan background */
}

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

body, html {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.main-container, .card {
    background-color: var(--secondary-color);
    border: 1px solid rgba(23, 184, 236, 0.25);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

h1, h2, h3, .hero-title {
    color: var(--white);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

p, .hero-subtitle {
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}

nav, .navbar {
    background-color: transparent;
    border-bottom: none;
    padding: 1.5rem 0;
}

nav a, .nav-link {
    color: #8b949e;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

nav a.active, .nav-link.dev-accent {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-section {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.button-group-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-custom {
    background-color: rgba(22, 27, 34, 0.6);
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-custom:hover {
    border-color: var(--white);
    background-color: var(--accent-color);
    box-shadow: 0 0 12px rgba(23, 184, 236, 0.15);
    color: var(--primary-color);
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

header {
    background: var(--primary-color);
    color: var(--white);
    padding: 0;
    border-bottom: var(--accent-color) 3px solid;
    box-shadow: 0 0 20px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 204, 0.05), rgba(13, 13, 26, 0.1));
    z-index: 0;
}

header .banner-container {
    width: 100%;
    padding: 0;
    margin: 0;
}

header .branding {
    position: relative;
    z-index: 1;
}

header .branding {
    text-align: center;
    margin: 0;
    padding: 0;
}

header .banner-img {
    width: 100%;
    height: auto;
    display: block;
}

header nav {
    background: var(--secondary-color);
    padding: 10px 0;
}

/* Make the banner span full width */
.banner-container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

header nav li {
    padding: 5px 20px;
}

header nav a {
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

header nav a:hover {
    color: var(--accent-color);
}

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

header nav a:hover::after {
    width: 100%;
}

main {
    padding: 20px 0;
    min-height: 80vh;
}

/* Home Page Background */
body.home {
    background: radial-gradient(circle at center, #1a1a2e 0%, #050505 100%);
    background-attachment: fixed;
}

body.home main {
    background: rgba(13, 13, 26, 0.9);
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

body.home main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 204, 0.05), rgba(0, 0, 0, 0.1));
    z-index: 0;
}

body.home main > * {
    position: relative;
    z-index: 1;
}

footer {
    background-color: var(--card-cyan-bg);
    color: var(--card-cyan-text);
    padding: 40px 20px 20px 20px;
    margin-top: 50px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.95rem;
    position: relative;
    border-top: none;
    overflow: hidden;
}

footer a {
    color: var(--card-cyan-text);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 0.8;
}

.footer-card-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-card-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(5, 5, 5, 0.15);
    padding-bottom: 20px;
}

.footer-card-col {
    flex: 1;
    min-width: 250px;
}

.footer-card-col p {
    color: var(--card-cyan-text) !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    margin-bottom: 5px;
}

.footer-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px !important;
}

.footer-bottom-line {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 10px;
}

.footer-bottom-line p {
    color: var(--card-cyan-text) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 20px auto;
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 3px;
    color: var(--white);
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--accent-color); /* Cyan color */
    padding: 10px 20px;
    border: 1px solid var(--accent-color); /* Cyan border */
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    background: var(--accent-color); /* Cyan background on hover */
    color: var(--primary-color); /* Dark text on hover */
    box-shadow: 0 0 20px rgba(23, 184, 236, 0.5); /* Cyan glow effect */
    transform: translateY(-2px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.error {
    color: #ff4d4d;
    margin-bottom: 15px;
}

/* About Page Styles */
.about-section h1 {
    color: var(--white);
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    padding-bottom: 10px;
    position: relative;
}

.about-section h1::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--shadow-color);
}

.founded-tagline {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-card {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--shadow-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.2);
    border-color: var(--accent-color);
}

.about-card h2 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 5px;
}

.about-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    box-shadow: 0 0 5px var(--shadow-color);
}

.about-card a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-color);
    transition: color 0.3s ease;
}

.about-card a:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

.contact-note {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-top: 10px;
}

.about-card.full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-card.full-width {
        grid-column: span 1;
    }
}

/* Contact Form Styles */
.contact-form-container {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(23, 184, 236, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

.contact-form-container h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    box-shadow: 0 0 5px var(--shadow-color);
}

/* General form styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    border: 1px solid rgba(23, 184, 236, 0.3);
    border-radius: 3px;
    color: var(--white);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.form-group input[type="file"] {
    padding: 5px;
}

/* Submit button */
.contact-form-container .btn {
    margin-top: 10px;
}

/* File upload styling */
.file-upload-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}
.blog-section h1 {
    color: var(--white);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    padding-bottom: 10px;
    position: relative;
}

.blog-section h1::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--shadow-color);
}

.blog-form-container {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

#editor-container {
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    overflow: hidden;
}

#editor-container .ck-editor__editable {
    min-height: 200px;
}

.image-upload-container {
    margin-top: 10px;
}

#image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

#image-preview-container img {
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 5px;
}

.blog-form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--shadow-color);
}

.blog-form-container h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
}

.blog-form-container h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    box-shadow: 0 0 5px var(--shadow-color);
}

.blog-post {
    background: rgba(26, 26, 46, 0.5);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(77, 148, 255, 0.1); /* Blue border */
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--shadow-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-3px);
    border-color: rgba(77, 148, 255, 0.3); /* Blue border on hover */
    box-shadow: 0 6px 20px rgba(77, 148, 255, 0.1); /* Blue glow effect */
    border-color: var(--accent-color);
}

.blog-post:hover::before {
    transform: scaleX(1);
}

.blog-post h2 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.8rem;
    position: relative;
}

.blog-post h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    box-shadow: 0 0 5px var(--shadow-color);
}

.blog-post .post-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.blog-post .post-content {
    line-height: 1.7;
    color: var(--text-color);
}

.post-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.blog-post-image {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 6px;
    border: 1px solid rgba(23, 184, 236, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-post-image:hover {
    transform: scale(1.03);
    border-color: var(--accent-color);
}

.no-posts {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 40px 0;
}

/* Development Page Styles */
.dev-section h1 {
    color: var(--white);
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    padding-bottom: 10px;
    position: relative;
}

.dev-section h1::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--shadow-color);
}

.dev-tagline {
    color: #ff3366;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
    position: relative;
}

.dev-tagline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ff3366;
    box-shadow: 0 0 5px rgba(255, 51, 102, 0.3);
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dev-card {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 51, 102, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dev-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff3366;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dev-card:hover::before {
    transform: scaleX(1);
}

.dev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 51, 102, 0.2);
    border-color: #ff3366;
}

.dev-card h2 {
    color: #ff3366;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.2);
    position: relative;
}

.dev-card h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ff3366;
    box-shadow: 0 0 5px rgba(255, 51, 102, 0.2);
}

.dev-table {
    width: 100%;
    border-collapse: collapse;
}

.dev-table td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.badge-dev {
    background: rgba(255, 51, 102, 0.2);
    color: #ff3366;
    border: 1px solid rgba(255, 51, 102, 0.4);
}

.badge-accent {
    background: rgba(0, 255, 204, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(0, 255, 204, 0.4);
}

.badge-gray {
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dev-card.full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .dev-grid {
        grid-template-columns: 1fr;
    }
    .dev-card.full-width {
        grid-column: span 1;
    }
}

.btn-dev {
    color: #4d94ff;
    border-color: #4d94ff;
    position: relative;
    overflow: hidden;
}

.btn-dev::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-dev:hover {
    background: #4d94ff;
    color: var(--primary-color);
    box-shadow: 0 0 20px #4d94ff;
    border-color: #4d94ff;
}

.btn-dev:hover::before {
    left: 100%;
}

.btn-dev:hover {
    color: var(--primary-color);
    background: #ff3366;
    box-shadow: 0 0 20px #ff3366;
}

/* Contact Form Styles */
.contact-form-container {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(23, 184, 236, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

.contact-form-container h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    box-shadow: 0 0 5px var(--shadow-color);
}

/* General form styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    border: 1px solid rgba(23, 184, 236, 0.3);
    border-radius: 3px;
    color: var(--white);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.form-group input[type="file"] {
    padding: 5px;
}

/* Submit button */
.contact-form-container .btn {
    margin-top: 10px;
}

/* File upload styling */
.file-upload-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

.btn-dev:hover {
    color: var(--primary-color);
    background: #ff3366;
    box-shadow: 0 0 20px #ff3366;
}