/* FaciliX Website Styles */

/* CSS Variables for FaciliX Brand Colors */
:root {
    --primary-color: #133436;        /* FaciliX Logo Color */
    --primary-dark: #0f2729;         /* Darker version */
    --primary-light: #1a4a4d;        /* Lighter version */
    --secondary-color: #2d5a5d;      /* Complementary teal */
    --accent-color: #f59e0b;         /* Gold/Orange accent */
    --highlight-color: #81A8A8;      /* Hero highlight color */
    --text-primary: #1f2937;         /* Dark Gray */
    --text-secondary: #6b7280;       /* Medium Gray */
    --background-light: #f8fafc;     /* Light Background */
    --background-white: #ffffff;     /* White */
    --border-color: #e5e7eb;         /* Light Border */
    --shadow-light: rgba(19, 52, 54, 0.1);    /* Brand shadow */
    --shadow-medium: rgba(19, 52, 54, 0.15);  /* Brand shadow */
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--background-light);
    margin: 0 !important;
    padding: 0 !important;
}


/* 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;
    color: #1a1a1a;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(19, 52, 54, 0.1);
    height: 80px;
}

.navbar {
    height: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.navbar-menu .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}
.navbar-brand .logo img {
    height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
}

/* Force logo size - override any other styles */
.logo img, 
.navbar-brand img,
header img[alt*="Logo"] {
    height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}


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

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

/* Header Button */
.btn-header {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    border: 2px solid var(--primary-color) !important;
    white-space: nowrap !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-header:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, rgba(129, 168, 168, 0.1) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.highlight {
    color: #81A8A8 !important;
    position: relative;
    font-weight: 600;
    transition: none !important;
}

/* Extra specific rules to ensure highlight color stays fixed */
.hero-title .highlight,
span.highlight,
.highlight span,
#hero-title .highlight,
h1 .highlight,
.hero .highlight,
span[style*="color"] {
    color: #81A8A8 !important;
    animation: none !important;
    transition: none !important;
}

/* Nuclear option - override everything */
* .highlight {
    color: #81A8A8 !important;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #64748b;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #ffffff 0%, rgba(19, 52, 54, 0.03) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    font-size: 1.125rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission, .vision {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.mission h3, .vision h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, rgba(129, 168, 168, 0.05) 0%, #f8fafc 100%);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon .icon {
    font-size: 3rem;
    display: block;
}

.service-title {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
    color: #64748b;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-result {
    padding: 1rem;
    background-color: rgba(19, 52, 54, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(19, 52, 54, 0.05) 0%, #ffffff 50%, rgba(129, 168, 168, 0.08) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-method strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    color: #1a1a1a;
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.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(19, 52, 54, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

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

/* Terms Page Styles */
.terms-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(19, 52, 54, 0.02) 100%);
    margin-top: 80px;
}

.terms-header {
    text-align: center;
    margin-bottom: 4rem;
}

.terms-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.terms-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: italic;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-article {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    line-height: 1.7;
}

.terms-article h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.terms-article h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.terms-article p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.terms-article ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-primary);
}

.terms-article li {
    margin-bottom: 0.5rem;
}

.terms-article strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info {
    background: rgba(19, 52, 54, 0.05);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
}

.contact-info h2 {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive Terms Page */
@media (max-width: 768px) {
    .terms-section {
        padding: 100px 0 60px;
    }
    
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .terms-article {
        padding: 2rem 1.5rem;
    }
    
    .terms-article h2 {
        font-size: 1.25rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand img {
    height: 240px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
    max-width: 900px;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-links a,
.footer-contact a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
    }
    
    .navbar-brand .logo img {
        height: 50px !important;
        max-width: 200px !important;
    }
    
    .navbar-toggle {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        padding: 8px;
        border-radius: 6px;
        transition: background-color 0.3s ease;
        cursor: pointer;
        border: none;
        background: none;
    }
    
    /* Desktop navbar-menu styles removed - handled by mobile styles below */
    
    .navbar-menu .btn {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 1rem !important;
        padding: 1rem 1.5rem !important;
        background-color: #2563eb !important;
        color: white !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
    }
    
    .navbar-menu .btn:hover {
        background-color: #1d4ed8 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    }
    
    .navbar-toggle:hover {
        background-color: rgba(19, 52, 54, 0.1);
    }
    
    .hamburger-line {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .navbar-menu {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background-color: white !important;
        flex-direction: column !important;
        padding: 2rem !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        gap: 1rem !important;
        transform: none !important;
        z-index: 1000 !important;
        width: 100% !important;
        min-height: 200px !important;
    }
    
    .navbar-menu.active {
        display: flex !important;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .navbar-nav li {
        width: 100% !important;
    }
    
    .navbar-nav .nav-link {
        display: block !important;
        padding: 1rem 0 !important;
        color: #333 !important;
        text-decoration: none !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .navbar-nav .nav-link:hover {
        color: #2563eb !important;
        background-color: #f8f9fa !important;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
        padding: 0 30px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .nav-link {
        color: white !important;
        padding: 1.5rem 0;
        font-size: 1.125rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav-link:hover {
        color: var(--highlight-color) !important;
        padding-left: 1rem;
        transform: translateX(8px);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background: var(--highlight-color);
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::before {
        width: 20px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        padding: 40px 0;
    }
}
