:root {
    --primary-color:  #333333;
    --text-color:     #333333;
    --light-text:     #ffffff;
    --accent-color:   #ff8c00;
    --accent-color-d: #ff8c00c8;
    --header-bg:      rgba(63, 5, 63, 0.9);
    --section-bg:     rgba(0, 0, 0, 0.7);
    --card-bg:        rgba(0, 0, 0, 0.7);
    --video-overlay:  rgba(0, 0, 0, 0.7);
    --transition:     all 0.3s ease;
    --header-font:   'Chakra Petch', system-ui, -apple-system, sans-serif;
}

/* Color-related styles */
body { color: var(--text-color); }

header,
footer {
    background: var(--header-bg);
    color: var(--light-text);
}

.video-container::after {
    background: var(--video-overlay);
}

.hero,
.services,
.about,
.contact {
    color: var(--light-text);
}

.services,
.about,
.contact {
    background: var(--section-bg);
}

.service-card {
    background: var(--card-bg);
    color: var(--light-text);
}

.service-card i,
.info-item i {
    color: var(--accent-color);
}

.nav-links a {
    color: var(--light-text);
}

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: var(--light-text);
    padding: 8px;
    z-index: 1001;
    transition: var(--transition);
}

.skip-link:focus {
    top: 0;
}

.noscript-message {
    background: var(--accent-color);
    color: var(--light-text);
    text-align: center;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

/* Focus states */
a:focus,
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* Layout and other styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 1rem;
    z-index: 10;
}

footer {
    text-align: center;
    padding: 2rem;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--header-font);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.nav-links a {
    text-decoration: none;
    margin-left: 2rem;
    transition: var(--transition);
}

main {
    padding-top: 80px;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-divider {
    width: 80%;
    max-width: 600px;
    margin: 1.5rem auto;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 1s ease-out 0.25s forwards;
    opacity: 0;
}

.hero h1 {
    font-family: var(--header-font);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out;
    letter-spacing: 0.05em;
}

.hero p {
    font-size: 2rem;
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
    margin-bottom: 2rem;
}

.services, .about, .contact {
    border-radius: 10px;
    margin: 2rem auto;
}

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

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

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

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    width: 1.5rem;
    text-align: center;
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info a:hover {
    color: #ff8c00;
}

.contact-info a:visited {
    color: white;
}

.contact-info a p,
.info-item p {
    margin: 0;
    text-align: left;
}

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

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
}

h2 {
    font-family: var(--header-font);
    letter-spacing: 0.05em;
}

ul {
    padding-left: 20px;
    margin: 0.3em;
    list-style-type: disc;
}

li {
    margin-bottom: 8px;
}

p {
    margin-bottom: 1rem 0;
    padding: 0.3em 0;
    line-height: 1.6;
}

a, a:visited {
    color: var(--accent-color);
}

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