/* Modern styling for Ceiling2AI website */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1e5631;
    --primary-dark: #0f3d20;
    --secondary-color: #66bb6a;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #94a3b8;
    --success-color: #10b981;
    --failure-color: #ef4444;
    --partial-color: #f59e0b;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.highlight {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Header and Navigation */
header {
    background-color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.7rem 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

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

/* Remove the text logo styles since we're using image */
.logo h1 {
    display: none;
}

.nav-and-language {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

/* Active link styles */
nav a.active {
    color: var(--primary-color);
    position: relative;
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid #e2e8f0;
}

.language-switcher a {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    text-decoration: none;
}

.language-switcher a:hover {
    background-color: var(--primary-color);
    color: white;
}

.language-switcher a.active {
    background-color: var(--primary-color);
    color: white;
}

.language-switcher a.active::after {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 86, 49, 0.9), rgba(15, 61, 32, 0.85)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 5%;
    text-align: center;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: #0d9668;
    transform: translateY(-2px);
}

.btn:after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.btn:hover:after {
    width: 100%;
}

/* Main Content */
main {
    padding: 4rem 5%;
}

section {
    margin-bottom: 5rem;
    padding-top: 5rem;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    color: var(--dark-color);
}

section h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Problem Cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.card p {
    color: var(--gray-color);
}

/* Feature Section */
.feature-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.feature.reverse {
    flex-direction: row-reverse;
}

.feature-icon {
    flex: 0 0 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon i {
    font-size: 2rem;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 5%;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Solution Details */
.solution-feature {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    gap: 3rem;
}

.solution-feature.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 0 0 120px;
    height: 120px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-image i {
    font-size: 3rem;
}

.feature-details {
    flex: 1;
}

.feature-details h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.feature-details h2:after {
    left: 0;
    transform: none;
}

.feature-details ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-details ul li:before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Technology Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.tech-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

/* Competitive Edge */
.comparison-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #f8fafc;
    font-weight: 600;
}

.success {
    color: var(--success-color);
}

.failure {
    color: var(--failure-color);
}

.partial {
    color: var(--partial-color);
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 2.5rem;
    border-radius: 8px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-info h2:after {
    left: 0;
    transform: none;
    background-color: var(--secondary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    margin-top: 2rem;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-form h2:after {
    left: 0;
    transform: none;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: inherit;
}

/* Target Market */
.market-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.market-item {
    background-color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.market-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.market-item h3 {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0 5% 3rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -8px;
    left: 0;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--gray-color);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1.5rem 0;
    color: var(--gray-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Contact section specific styles */
.contact-section {
    background-color: #f8fafc;
    padding: 5rem 5%;
    margin-bottom: 0;
}

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

.card, .feature, .solution-feature, .tech-item, .market-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card.animate, .feature.animate, .solution-feature.animate, .tech-item.animate, .market-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delays for cards */
.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }

/* Animation delays for tech items */
.tech-item:nth-child(1) { transition-delay: 0.1s; }
.tech-item:nth-child(2) { transition-delay: 0.2s; }
.tech-item:nth-child(3) { transition-delay: 0.3s; }
.tech-item:nth-child(4) { transition-delay: 0.4s; }

/* Animation delays for market items */
.market-item:nth-child(1) { transition-delay: 0.1s; }
.market-item:nth-child(2) { transition-delay: 0.2s; }
.market-item:nth-child(3) { transition-delay: 0.3s; }
.market-item:nth-child(4) { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    .logo img {
        height: 50px;
        max-width: 220px;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .language-switcher a {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .solution-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-feature.reverse {
        flex-direction: column;
    }
    
    .feature-details h2 {
        text-align: center;
    }
    
    .feature-details h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Styles */
    .mobile-menu-toggle {
        display: block;
        z-index: 101;
    }
    
    /* Hide nav and language on mobile */
    .nav-and-language {
        display: none;
    }
    
    header {
        padding: 0.8rem 5%;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 80px 2rem 2rem;
        z-index: 100;
        display: flex;
        flex-direction: column;
    }
    
    .main-nav.active {
        right: 0;
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    
    .main-nav a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    /* Show language switcher in mobile menu */
    .main-nav .language-switcher {
        display: flex;
        gap: 0.5rem;
        justify-content: flex-start;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-top: 1rem;
    }
    
    .main-nav .language-switcher a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Overlay for mobile menu */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature.reverse {
        flex-direction: column;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .card-container, .tech-grid, .market-container {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3:after, .footer-contact h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 5% 5rem;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    main {
        padding: 2rem 5%;
    }
    
    section {
        margin-bottom: 3rem;
        padding-top: 3rem;
    }
    
    .feature-image, .feature-icon {
        transform: scale(0.8);
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    input, textarea, .btn {
        padding: 0.7rem;
    }
    
    .logo img {
        height: 42px;
        max-width: 180px;
    }
    
    .main-nav .language-switcher a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
} 