/* Custom CSS for Terlina Systems Website */

:root {
    --primary-color: #4A90E2;
    --secondary-color: #FF9F5A;
    --accent-color: #5BC0BE;
    --white: #FFFFFF;
    --black: #2B2B2B;
    --dark-gray: #2B3A42;
    --light-gray: #3B4A52;
    --text-dark: #FFFFFF;
    --text-light: #E0E5E8;
    --friendly-gradient: linear-gradient(135deg, #4A90E2 0%, #5BC0BE 100%);
    --warm-gradient: linear-gradient(135deg, #FF9F5A 0%, #FFB366 100%);
    --chart-blue: #7BB3FF;
    --chart-teal: #5BC0BE;
    --chart-orange: #FF9F5A;
    --shadow: 0 4px 6px -1px rgba(43, 58, 66, 0.3), 0 2px 4px -1px rgba(43, 58, 66, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(43, 58, 66, 0.4), 0 4px 6px -2px rgba(43, 58, 66, 0.3);
    --subtle-glow: 0 0 20px rgba(74, 144, 226, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    background: var(--dark-gray);
}

/* Navigation Styles */
.navbar {
    background: rgba(43, 58, 66, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    border-bottom: 2px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    background: var(--dark-gray) !important;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    padding: 4px;
}

.navbar.scrolled .navbar-logo {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

/* Hero Section */
.hero-section {
    background: var(--primary-color);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 71, 86, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
    text-align: center;
    width: 100%;
    margin-bottom: -4rem;
}



.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-location {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-cta {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: var(--white);
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-shadow: none;
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: var(--shadow-lg), var(--subtle-glow);
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background: var(--light-gray);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
    background: var(--dark-gray);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--friendly-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--primary-color);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

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

/* About Cards */
.about-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
    background: var(--dark-gray);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-color);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--secondary-color);
}

.about-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.about-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-light);
}

/* Expertise Items */
.expertise-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.expertise-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    background: var(--dark-gray);
    border-color: var(--primary-color);
}

.expertise-item i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.expertise-item span {
    color: var(--text-dark);
    font-weight: 500;
}


}

/* Testimonial Cards */
.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
    background: var(--dark-gray);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.quote-icon {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-info h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-card {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

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

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 73, 172, 0.25);
    background: var(--dark-gray);
    color: var(--text-dark);
}

.btn-primary {
    background: var(--warm-gradient);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--subtle-glow);
    background: var(--friendly-gradient);
    border-color: var(--primary-color);
    color: var(--white);
}

.contact-info {
    text-align: center;
    margin-top: 2rem;
}

.contact-info h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-details i {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    border-top: 3px solid var(--primary-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.footer-tagline {
    opacity: 0.8;
    margin-top: 0.5rem;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .service-card,
    .about-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .flash-messages {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-location {
        font-size: 0.9rem;
    }
    
    .service-card,
    .about-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
}

/* Background variations */
.bg-light {
    background: var(--light-gray) !important;
}

/* Image Sections */
.image-section {
    padding: 0;
    margin: 0;
}

.section-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.image-1 {
    object-position: center 15%;
}

.image-3 {
    object-position: center 40%;
}



.image-business {
    object-position: center 60%;
}

@media (max-width: 768px) {
    .section-image {
        height: 200px;
    }
}

/* Contact Logo */
.contact-logo {
    height: 80px;
    width: auto;
    opacity: 0.8;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    padding: 6px;
}

@media (max-width: 768px) {
    .contact-logo {
        height: 60px;
    }
}

/* Smooth scrolling offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}
