:root {
    --primary-color: #0078ff;
    --secondary-color: #0d0b2d;
    --accent-color: #f8f9fa;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--accent-color);
}

.hero-section {
    background: linear-gradient(rgba(0, 120, 255, 0.8), rgba(0, 120, 255, 0.8)), url('../images/pattern_ai.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
}

.feature-box {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateX(10px);
    background: white;
}

.hover-zoom {
    transition: transform 0.3s;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* Services Section */

.services-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.4s, box-shadow 0.4s;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background-color: var(--highlight);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(8deg);
}

.btn.read-more {
    font-weight: 500;
    padding: 0;
    margin-top: 0.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn.read-more:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

/* Timeline Section */

.timeline-section {
    background: #f0f4fa;
    padding: 60px 0;
}

.timeline {
    position: relative;
    padding: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #cbd5e0;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item .content {
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-item .content:hover {
    transform: translateY(-5px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 28px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::before {
    right: -10px;
}

.timeline-item.right::before {
    left: -10px;
}

@media (max-width: 768px) {
    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 3rem;
        padding-right: 1rem;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item::before {
        left: 0;
        right: auto;
    }
}

/* footer */

.footer {
    background-color: white;
    color: #0d0b2d;
    padding: 20px 0;
}

.footer .footer-logo img {
    max-width: 150px;
}

.footer .footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.footer .social-icons a {
    color: #0d0b2d;
    margin: 0 10px;
    font-size: 1.5rem;
}

/* img-carousel */

.iii {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.carousel,
.carousel-inner,
.carousel-item {
    width: 100vw;
}

.image-section {
    height: 800px;
    width: 100vw;
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0;
    animation: fadeInImage 1s ease forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    ;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 80px;
}

.text-content {
    text-align: justify;
    color: white;
    max-width: 700px;
    padding: 20px;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.subheading {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
}

.btn-learn-more {
    padding: 12px 30px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-learn-more:hover {
    background: white;
    color: #333;
}

.section-nav {
    position: absolute;
    bottom: 30px;
    left: 80px;
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s;
}

.nav-dot.active {
    background: white;
}

/* Responsive Styling */

@media (max-width: 768px) {
    .content-overlay {
        padding: 30px;
        justify-content: center;
        text-align: center;
    }
    .text-content {
        max-width: 100%;
        text-align: center;
    }
    .section-nav {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .btn-learn-more {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .section-nav {
        bottom: 15px;
    }
}

/* navbar */

@media (max-width: 768px) {
    .navbar-brand img {
        height: 70px !important;
    }
}

@media (max-width: 576px) {
    .navbar-nav {
        text-align: center;
    }
    .nav-item {
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
}