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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    scroll-behavior: smooth;
}

/* Smooth animations */
* {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-sm-6, .col-md-3, .col-md-12, .col-sm-12 {
    padding: 0 15px;
}

.col-sm-6 { width: 50%; }
.col-md-3 { width: 25%; }
.col-md-12, .col-sm-12 { width: 100%; }

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-top {
    background: #2c3e50;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.header-top-box .row {
    align-items: center;
}

.access-link {
    list-style: none;
    margin: 0;
    padding: 0;
}

.access-link li {
    display: inline-block;
    margin-left: 20px;
}

.access-link a {
    color: #fff;
    text-decoration: none;
}

.access-link i {
    margin-right: 5px;
}

/* Navigation */
.navbar {
    background: #fff;
    border: none;
    margin-bottom: 0;
    min-height: 70px;
}

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

.navbar-brand {
    padding: 15px 0;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s;
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-nav li {
    margin-left: 30px;
}

.navbar-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 25px 0;
    display: block;
    transition: color 0.3s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #e74c3c;
}

/* Hero Slider */
.slider1 {
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tp-banner-container {
    height: 100%;
}

.tp-banner {
    height: 100%;
}

.tp-banner ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.tp-banner li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.tp-banner li:first-child {
    opacity: 1;
}

.tp-banner li img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.tp-caption {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.finewide_large_white {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.small_text {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.trans-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: 2px solid transparent;
}

.trans-btn:hover {
    background: #c0392b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Content Sections */
.odeo-section {
    padding: 80px 0;
    position: relative;
}

.odeo-section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.service-section12 {
    background: #fff;
    padding: 100px 0;
}

#blog-section {
    padding: 80px 0;
}

.blog-section4 {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.title-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.kl-title-block h2 {
    font-size: 34px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.main-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    margin: 20px auto;
    border-radius: 2px;
}

.kl-title-block h4 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    margin-top: 40px;
    position: relative;
    padding-left: 20px;
}

.kl-title-block h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.kl-title-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 100%;
}

.kl-title-block p:first-of-type {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 25px;
}

.kl-title-block ul {
    margin: 25px 0;
    padding-left: 0;
    list-style: none;
}

.kl-title-block li {
    margin-bottom: 15px;
    color: #555;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.kl-title-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

.kl-title-block a {
    color: #e74c3c;
    text-decoration: none;
}

/* Blog Section */
#blog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

#blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e74c3c, transparent);
}

.blog-box {
    margin-bottom: 40px;
}

.blog-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.item.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    min-width: 300px;
    transition: all 0.3s ease;
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.item.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: rgba(231, 76, 60, 0.3);
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.blog-meta .time {
    margin-right: 10px;
}

.blog-content-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.3;
}

.blog-content-text h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-content-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 15px;
}

.readmore-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.view-all {
    display: inline-block;
    padding: 15px 30px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s;
}

.view-all:hover {
    background: #c0392b;
    color: white;
}

/* Services Section */
.blog-style2 .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.blog-style2 .item.blog-post img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.blog-style2 .item.blog-post:hover img {
    transform: scale(1.05);
}

.blog-style2 .blog-content-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-style2 .blog-content-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-widgets h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

.navigation-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation-list li {
    margin-bottom: 10px;
}

.navigation-list a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.navigation-list a:hover {
    color: #e74c3c;
}

.about-widget p {
    color: #bdc3c7;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-widget a {
    color: #e74c3c;
    text-decoration: none;
}

.twitter-box {
    margin-bottom: 15px;
}

.twitter-box img {
    max-width: 150px;
    height: auto;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

.copyright {
    color: #bdc3c7;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
}

.octopus-logo {
    color: #e74c3c;
    text-decoration: none;
    margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 20px 0;
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .navbar-nav li {
        margin: 0;
        width: 100%;
    }
    
    .navbar-nav a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    
    .col-sm-6 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .col-md-3 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .finewide_large_white {
        font-size: 32px;
    }
    
    .small_text {
        font-size: 16px;
    }
    
    .kl-title-block h2 {
        font-size: 28px;
    }
    
    .kl-title-block h4 {
        font-size: 24px;
        padding-left: 15px;
    }
    
    .kl-title-block h4::before {
        width: 3px;
        height: 25px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .blog-carousel {
        flex-direction: column;
    }
    
    .blog-style2 .row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-section12 {
        padding: 60px 0;
    }
    
    #blog-section {
        padding: 60px 0;
    }
    
    .blog-section4 {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .finewide_large_white {
        font-size: 24px;
    }
    
    .small_text {
        font-size: 14px;
    }
    
    .trans-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .kl-title-block h2 {
        font-size: 24px;
    }
    
    .kl-title-block h4 {
        font-size: 20px;
    }
}