/* Toast Notification as per STRICT SYSTEM DIRECTIVE */
#enara-toast { 
    visibility: hidden; 
    min-width: 250px; 
    margin-left: -125px; 
    background-color: #4A65A4; /* ENARA Primary Blue */ 
    color: #fff; 
    text-align: center; 
    border-radius: 8px; 
    padding: 16px 24px; 
    position: fixed; 
    z-index: 9999; 
    left: 50%; 
    top: 30px; 
    font-size: 16px; 
    font-weight: 500; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    opacity: 0; 
    transition: opacity 0.3s, top 0.3s; 
} 

#enara-toast.show { 
    visibility: visible; 
    opacity: 1; 
    top: 50px; 
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    padding-top: 80px; /* Add padding to prevent content from being hidden behind fixed header */
}

/* CSS Variables for Brand Colors */
:root {
    --primary-color: #5893d4; /* New highlight color */
    --secondary-color: #4A85C9; /* Slightly darker shade of highlight */
    --accent-color: #3A75B9; /* Even darker shade for accents */
    --background-color: #f7f7f7; /* New background color */
    --text-color: #111111; /* New text color */
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f7f7f7; /* Updated to match background */
    --gray-medium: #6c757d;
    --gray-dark: #111111; /* Updated to match text */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    
    /* Keep old variables for backward compatibility */
    --primary-teal: #5893d4; /* Replaced with highlight color */
    --secondary-gold: #4A85C9; /* Slightly darker shade */
    --dark-teal: #3A75B9; /* Even darker shade */
    --light-teal: #78A3D9; /* Lighter shade */
    --dark-gold: #3A75B9; /* Darker accent */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    height: 80px;
    /* Ensure the header stays fixed and visible at all times */
    display: block !important;
    visibility: visible !important;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.navbar {
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 992px) {
    .nav-container {
        max-width: 1440px; /* Increased to modern desktop width */
        padding: 0 40px; /* Responsive horizontal padding */
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    flex-shrink: 0;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

.company-tagline {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 5px;
    font-size: 16px; /* Standardize font size across all pages */
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: background 0.3s ease;
}

/* Sticky Chat Button */
.sticky-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2147483645 !important; /* Topmost element */
    pointer-events: auto !important; /* Guarantee clickable */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.sticky-chat-btn.chat-btn-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px);
}

#chat-now-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 140px;
    justify-content: center;
    pointer-events: auto !important;
}

#chat-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

#chat-now-btn i {
    font-size: 1.1rem;
}

/* Chat Widget Modal */
.chat-widget {
    position: fixed !important; 
    bottom: 20px !important; 
    right: 20px !important; 
    width: 350px; 
    max-width: calc(100vw - 40px) !important; /* Prevents horizontal overflow on small phones */ 
    height: auto !important; 
    max-height: calc(100dvh - 100px) !important; /* Uses dynamic viewport height to prevent top-clipping */ 
    display: none; /* Controlled by JS toggle */
    flex-direction: column !important; 
    z-index: 2147483640 !important; /* Maximum safe z-index */ 
    overflow: hidden !important; 
    border-radius: 12px !important; 
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.chat-widget.chat-active {
    display: flex !important;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative !important; 
    width: 100% !important; 
    flex-shrink: 0 !important; /* Prevents the header from shrinking when content grows */ 
    z-index: 2147483641 !important; 
}

.chat-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    position: absolute !important; 
    top: 50% !important; 
    right: 15px !important; 
    transform: translateY(-50%) !important; 
    display: block !important; 
    visibility: visible !important; 
    z-index: 2147483642 !important; 
    cursor: pointer !important; 
    padding: 10px !important; /* Increase tap target size for mobile */ 
    border-radius: 50%;
    transition: var(--transition);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto !important; 
    flex-grow: 1 !important; 
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot {
    background: var(--gray-light);
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.message.user {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

.chat-input-container {
    padding: 20px;
    padding-bottom: 25px; /* Added extra clearance for mobile */
    border-top: 1px solid var(--gray-light);
    display: flex;
    gap: 10px;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2147483643 !important; /* Higher than chat window z-index */
}

.chat-send:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

/* Lead Form in Chat */
.lead-form {
    padding: 15px;
    background: var(--gray-light);
    border-radius: 12px;
    margin: 10px 0;
}

.lead-form h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

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

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

.submit-lead {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-lead:hover {
    background: var(--accent-color);
}

/* Navbar CTA Button */
.nav-cta {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.btn-nav-quote {
    background-color: #4A65A4; /* ENARA Primary Blue from toast */
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-nav-quote:hover {
    background-color: #354a7d; /* Darker shade of ENARA blue */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: var(--white);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) { 
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        padding: 0 20px 20px;
    }

    .btn-nav-quote {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1rem;
    }

    .chat-widget { 
        bottom: 10px !important; 
        right: 10px !important; 
        left: 10px !important; 
        max-width: calc(100vw - 20px) !important; 
        max-height: calc(100dvh - 80px) !important; 
    } 
    
    .sticky-chat-btn {
        bottom: 20px;
        right: 20px;
    }
    
    #chat-now-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-width: 120px;
    }
}
    line-height: 1.2;
    white-space: nowrap;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: -80px; /* Offset the body padding-top */
}

/* Hero Modern with Video Background */
.hero-modern {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: -80px; /* Offset the body padding-top */
    top: 0;
    padding-top: 0;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

/* Video Background Slides */
.hero-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-slide.active {
    opacity: 1;
}

.hero-video-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 147, 212, 0.8), rgba(58, 117, 185, 0.6));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    z-index: 3;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-nav-btn.prev {
    left: 20px;
}

.hero-nav-btn.next {
    right: 20px;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
}

/* Vision Section */
.vision-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.vision-content {
    text-align: center;
}

.vision-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray-dark);
    line-height: 1.8;
}

/* Featured Projects Section */
.featured-projects {
    padding: 100px 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(88, 147, 212, 0.8), rgba(58, 117, 185, 0.6));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-description {
    color: var(--gray-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.project-meta i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--white);
}

/* Services grid styles moved to services.css for better organization */

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: var(--gray-light);
    overflow: hidden; /* Ensure no horizontal scrollbar appears */
}

/* Logo Slider - Container */
.logo-slider {
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Logo Track - Animation Container */
.logo-track {
    display: flex;
    align-items: center;
    width: fit-content; /* Allow the track to be as wide as needed */
    animation: scroll 30s linear infinite; /* Smooth continuous animation */
}

/* Animation for the logo track */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move to the left by half the width (first set of logos) */
        transform: translateX(-50%);
    }
}

.client-slide {
    flex: 0 0 220px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Increased padding for better spacing */
}

.client-logo {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
    opacity: 0.7;
    object-fit: contain;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Pause animation on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.quote-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.quote-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.quote-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(88, 147, 212, 0.1);
}

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

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo {
    height: 40px;
    margin-bottom: 10px;
}

.footer-tagline {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    margin: 20px 0;
    overflow-x: auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.social-link::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: left 0.5s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.4);
}

.social-link:hover::before {
    left: 100%;
}

.social-link:active {
    transform: translateY(-1px) scale(1.05);
}

/* Social Media Platform Specific Colors */
.social-link.facebook:hover {
    background: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-link.twitter:hover {
    background: #1da1f2;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-link.tiktok:hover {
    background: #000000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-link.pinterest:hover {
    background: #bd081c;
    box-shadow: 0 8px 25px rgba(189, 8, 28, 0.4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 8px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 998;
        margin-top: 0; /* Ensure no extra margin */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
    }

    .nav-toggle {
        display: flex;
        cursor: pointer;
        z-index: 999;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Mobile Dropdown Styles */
    .nav-item.dropdown .dropdown-menu {
        position: static;
        display: none;
        background: var(--gray-light);
        box-shadow: none;
        border-radius: 8px;
        margin: 10px 20px;
        padding: 10px 0;
    }
    
    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-link {
        padding: 10px 20px;
        color: var(--text-color);
        font-size: 0.9rem;
    }
    
    /* Prevent body scroll when menu is open */
    body.nav-open {
        overflow: hidden;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-modern {
        padding-top: 80px;
    }

    .hero-video-slide video {
        object-fit: cover;
        object-position: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .sticky-quote-btn {
        right: 10px;
        top: 15%;
    }

    .quote-btn {
        padding: 12px 10px;
        font-size: 0.8rem;
        min-width: 50px;
        gap: 6px;
    }
    
    .quote-btn i {
        font-size: 1rem;
    }
    
    .quote-btn span {
        font-size: 0.7rem;
    }

    .clients-carousel {
        gap: 1.5rem;
    }

    .client-logo {
        height: 50px;
    }
    
    /* Featured Projects Mobile Adjustments */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Hero Navigation Mobile Adjustments */
    .hero-nav-btn {
        padding: 12px;
        font-size: 1.2rem;
    }
    
    .hero-nav-btn.prev {
        left: 10px;
    }
    
    .hero-nav-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-modern {
        margin-top: -80px;
        padding-top: 0;
    }

    .hero-video-slide video {
        object-fit: cover;
        object-position: center;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Featured Projects Small Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1rem;
    }

    .quote-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Hero Navigation Small Mobile Adjustments */
    .hero-nav-btn {
        padding: 10px;
        font-size: 1rem;
    }
    
    .hero-nav-btn.prev {
        left: 5px;
    }
    
    .hero-nav-btn.next {
        right: 5px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth Scrolling Enhancement */
html {
    scroll-padding-top: 100px;
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--secondary-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .sticky-quote-btn,
    .hero-nav,
    .hero-indicators {
        display: none;
    }

    .hero {
        margin-top: 0;
        height: auto;
        min-height: 300px;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section-title {
        font-size: 18pt;
    }
}

/* Dark Mode Removed to maintain stable brand colors */
/* Previous dark mode settings were causing background conflicts on high-res screens */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}