/*--------------------------------------------------------------
# Variables and Base Styles
--------------------------------------------------------------*/
:root {
    /* Colors */
    --primary-color: #f7941d;
    --secondary-color: #2c3e50;
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --text-color: #333333;
    --text-light: #777777;
    --border-color: #e1e1e1;
    --hover-color: #e07e0c;
    --white: #ffffff;
    --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

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

.btn-secondary:hover {
    background-color: #3d5266;
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.section-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(247, 148, 29, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.top-bar {
    background-color: var(--secondary-color);
    padding: 10px 0;
    color: var(--white);
    font-size: 14px;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 14px;
    transition: var(--transition);
}

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

/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    display: block;
    max-width: 200px;
}

.logo img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.main-nav {
    display: flex;
}

.primary-menu {
    display: flex;
}

.primary-menu > li {
    position: relative;
    margin-left: 30px;
}

.primary-menu > li > a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 0;
    display: block;
    font-size: 16px;
    position: relative;
}

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

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

.primary-menu > li > a:hover:after {
    width: 100%;
}

.primary-menu > li > a i {
    margin-left: 5px;
    font-size: 12px;
}

/* Mega Menu */
.has-megamenu {
    position: static !important;
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 30px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 99;
}

.has-megamenu:hover .megamenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.megamenu-wrap {
    display: flex;
    flex-wrap: wrap;
}

.megamenu-column {
    flex: 1;
    padding: 0 20px;
    min-width: 250px;
}

.megamenu-column h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.megamenu-column ul li {
    margin-bottom: 8px;
}

.megamenu-column ul li a {
    color: var(--text-light);
    font-size: 15px;
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}

.megamenu-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 18px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 999;
    overflow-y: auto;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav ul li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    font-weight: 600;
}

.mobile-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-nav ul li a i {
    float: right;
    transition: var(--transition);
}

.mobile-nav ul li.active > a i {
    transform: rotate(180deg);
}

.mobile-nav .submenu {
    display: none;
    background-color: #f9f9f9;
}

.mobile-nav .submenu li:last-child {
    border-bottom: none;
}

.mobile-nav .submenu li a {
    padding-left: 40px;
    font-weight: 400;
}

.mobile-nav .submenu .submenu li a {
    padding-left: 60px;
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1581093450021-4a7360e9a6b5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-section:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-slide {
    text-align: center;
    padding: 0 15px;
}

.slide-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--white);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 28px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section {
    padding: 100px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 50px;
    min-width: 300px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-text p {
    margin-bottom: 25px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.image-box {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e6e6e6;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 20px;
}

.info-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check input {
    width: auto;
    margin-right: 10px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background-color: var(--dark-color);
    color: #e6e6e6;
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

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

.footer-column h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #e6e6e6;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.contact-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

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

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.back-to-top:hover {
    background-color: var(--hover-color);
    color: var(--white);
}

/*--------------------------------------------------------------
# Cookie Banner
--------------------------------------------------------------*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    border-top: 1px solid #e1e1e1;
    padding: 15px 0;
    z-index: 999;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    display: none;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    display: block;
    transform: translateY(0);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-btn-primary {
    background-color: #333;
    color: white;
}

.cookie-btn-primary:hover {
    background-color: #222;
}

.cookie-btn-secondary {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.cookie-btn-secondary:hover {
    background-color: #f0f0f0;
}

.cookie-btn-tertiary {
    background-color: transparent;
    color: #333;
    text-decoration: underline;
    padding: 8px 5px;
}

.cookie-btn-tertiary:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/*--------------------------------------------------------------
# Page Header
--------------------------------------------------------------*/
.page-header {
    background-color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 16px;
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item:before {
    content: "/";
    padding: 0 10px;
    color: var(--primary-color);
}

.breadcrumb-item a {
    color: var(--white);
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Service Detail
--------------------------------------------------------------*/
.service-detail-section {
    padding: 100px 0;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.service-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    color: var(--primary-color);
}

.service-text {
    flex: 2;
    min-width: 300px;
}

.service-text h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.service-list {
    margin-bottom: 30px;
    padding-left: 0;
}

.service-list li {
    margin-bottom: 20px;
}

.service-list li h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-list li ul {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 20px;
}

.service-list li ul li {
    margin-bottom: 5px;
    list-style-type: disc;
}

.cta-box {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    margin-top: 40px;
}

.cta-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.related-services {
    padding: 50px 0;
    background-color: var(--light-color);
}

.related-services h2 {
    text-align: center;
    margin-bottom: 40px;
}

/*--------------------------------------------------------------
# Media Queries for Responsive Design
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .top-bar-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    .social-links a {
        margin: 0 8px;
    }
    
    .hero-section {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 30px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .services-section,
    .about-section,
    .contact-section {
        padding: 70px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .slide-content h1 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
}
