/* ========================================
   Global Styles from index.html
   ======================================== */

:root {
    --primary-color: #133b84;
    --secondary-color: #1a4da3;
    --accent-color: #2196F3;
    --light-bg: #f8f9fa;
}

* {
    font-family: 'Prompt', sans-serif;
}

body {
    padding-top: 76px;
    font-size: 17px;
}

/* Navbar Styles */
.navbar {
    background: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
}

.carousel-item {
    height: 70vh;
    min-height: 500px;
    position: relative;
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg, rgba(19,59,132,0.7) 0%, rgba(26,77,163,0.6) 100%);*/
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    background: white;
    color: var(--primary-color);
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 1.1rem;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    background: #f8f9fa;
    color: var(--primary-color);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    padding: 15px;
    background-size: 50%;
    background-position: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: white;
    width: 40px;
    border-radius: 6px;
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero-slider-section {
        margin-top: 0;
    }

    .carousel-item {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .btn-hero,
    .btn-hero-outline {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
        padding: 12px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }

    .carousel-indicators button.active {
        width: 24px;
    }
}

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

.section-title {
    font-size: 2.5rem;
   /* font-weight: 700;*/
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* About Section */
.about-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.about-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(19,59,132,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Brand Section */
.brand-section {
    background: var(--light-bg);
}

.brand-card {
    background: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.brand-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.brand-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* About Features List */
.about-features-list {
    margin-top: 20px;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item .feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    color: #666;
    line-height: 1.6;
}

.feature-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* AC Type Cards */
.ac-type-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.ac-type-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    flex: 1;
    margin-bottom: 20px;
}

.ac-type-card:last-child {
    margin-bottom: 0;
}

.ac-type-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.ac-type-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--light-bg);
}

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(19,59,132,0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    /*height: 250px;*/
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 15px 0;
    text-align: center;
}

.portfolio-content h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: white;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--light-bg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.3rem;
}

.contact-info h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info p {
    margin: 0;
    color: #666;
}

.contact-info a {
    color: #666;
    text-decoration: none;
}

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

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.cta-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

/* ========================================
   Footer Styles
   ======================================== */

/* Footer Styles */
.footer-main {
    background-color: #133b84;
    background-image: linear-gradient(135deg, rgba(26, 77, 163, 0.85) 0%, rgba(19, 59, 132, 0.85) 50%, rgba(13, 40, 89, 0.9) 100%),
                      url('../images/bg/footer-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: #ffffff;
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(19, 59, 132, 0.3) 0%, rgba(13, 40, 89, 0.5) 100%);
    z-index: 0;
    pointer-events: none;
}


.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-company-info {
    line-height: 1.9;
}

.footer-company-info p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.footer-company-info p:first-child {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.footer-contact-info {
    margin-top: 25px;
}

.footer-contact-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.8;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #4a5568;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.footer-social a.line-icon {
    color: #00B900;
}

.footer-social a.facebook-icon {
    color: #1877F2;
}

.footer-social a.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.footer-social a.phone-icon {
    color: #4a5568;
}

.footer-bottom {
    background: #1a202c;
    padding: 20px 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-align: center;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* Floating Social Buttons */
.floating-social {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 9999;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    opacity: 1 !important;
    visibility: visible !important;
}

.floating-social a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 1.8rem;
    text-decoration: none;
}

.floating-social a:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.floating-social .btn-line {
    background: #00B900;
}

.floating-social .btn-messenger {
    background: linear-gradient(45deg, #00B2FF, #006AFF);
}

.floating-social .btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-social a {
    animation: float 3s ease-in-out infinite;
}

.floating-social a:nth-child(1) {
    animation-delay: 0s;
}

.floating-social a:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-social a:nth-child(3) {
    animation-delay: 1s;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-main {
        padding: 40px 0 30px;
    }

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

    .footer-section h4 {
        font-size: 1.3rem;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 20px;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-logo {
        text-align: center;
    }

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

    .footer-company-info,
    .footer-contact-info {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        padding: 0 15px;
    }

    .floating-social {
        right: 15px;
        bottom: 20px;
        gap: 10px;
    }

    .floating-social a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

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

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section:nth-child(2) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.3s;
}

/* Brand Logo Image */
.brand-logo-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
