/* Complete CSS with Optimized Carousel - Full File */
/* Replace your entire style.css with this */

/* Global Styles */
:root {
    --primary-color: #800020;
    --secondary-color: #d4af37;
    --accent-color: #a52a2a;
    --light-color: #f8f1e5;
    --dark-color: #2c2c2c;
    --text-color: #333;
    --text-light: #777;
    --white: #ffffff;
    --black: #000000;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: capitalize;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
}

.btn-animate::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-animate:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 20px 0 40px;
    border-radius: 3px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader {
    width: 100px;
    height: 100px;
    position: relative;
}

.loader-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.loader-line-wrap {
    width: 100%;
    height: 20%;
    position: absolute;
    top: 40%;
    left: 0;
    overflow: hidden;
    transform-origin: 50% 100%;
    animation: spin 2s linear infinite;
}

.loader-line {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

.loader-line-wrap:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -0.1s;
}

.loader-line-wrap:nth-child(2) {
    transform: rotate(72deg);
    animation-delay: -0.2s;
}

.loader-line-wrap:nth-child(3) {
    transform: rotate(144deg);
    animation-delay: -0.3s;
}

.loader-line-wrap:nth-child(4) {
    transform: rotate(216deg);
    animation-delay: -0.4s;
}

.loader-line-wrap:nth-child(5) {
    transform: rotate(288deg);
    animation-delay: -0.5s;
}

@keyframes spin {
    0%, 20% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

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

.logo-img {
    height: 40px;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 35px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Login Button Styling */
.login-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(128, 0, 32, 0.2);
}

.login-btn::after {
    display: none !important;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.login-btn i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--dark-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.brunei-slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(207, 17, 38, 0.1) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(247, 224, 23, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item:nth-child(3) .stat-label {
    position: relative;
    top: -5px;
    margin-bottom: -5px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.stat-number-label {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.inline-label {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-link {
    display: block;
    width: 30px;
    height: 50px;
    position: relative;
}

.scroll-link span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background-color: var(--white);
    animation: scroll-down 1.5s infinite;
    opacity: 0;
}

.scroll-link span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-link span:nth-child(2) {
    top: 10px;
    animation-delay: 0.2s;
}

.scroll-link span:nth-child(3) {
    top: 20px;
    animation-delay: 0.4s;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Services Section */
.services {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition);
}

.service-card:hover .icon-bg {
    transform: scale(1);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    text-decoration: none;
}

.service-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover i {
    transform: translateX(3px);
}

.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover .hover-effect {
    transform: scaleX(1);
}

/* Features Section */
.features {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.03) 0%, rgba(212, 175, 55, 0.03) 100%);
    z-index: 0;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.features-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.features-text .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

.features-list {
    margin-top: 50px;
}

.feature-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(128, 0, 32, 0.1);
    background: var(--white);
}

.feature-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon .icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon .icon-bg {
    transform: scale(1);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.feature-text h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.feature-text h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: all 0.4s ease;
}

.feature-item:hover .feature-text h4::after {
    width: 60px;
}

.feature-text p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== OPTIMIZED CAROUSEL STYLES - SMOOTH PERFORMANCE ===== */
.image-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
}

.image-carousel:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 25px 50px rgba(128, 0, 32, 0.2);
}

.carousel-container {
    display: flex;
    width: 300%;
    height: 100%;
    /* CRITICAL FIX: GPU-accelerated transform for smooth sliding */
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    /* GPU acceleration for crisp images */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Professional Arrow Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    z-index: 10;
    border: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.left-arrow {
    left: 15px;
}

.right-arrow {
    right: 15px;
}

@media (min-width: 768px) {
    .carousel-arrow {
        display: flex;
    }
}

/* Overlay and captions */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
}

.slide-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    max-width: 80%;
    pointer-events: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.carousel-slide.active .slide-caption {
    transform: translateY(0);
    opacity: 1;
}

.slide-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--white);
}

.slide-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Map Container */
.map-container {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-overlay {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(30%);
}

/* Office Section */
.office {
    position: relative;
    padding: 0 0;
    background: var(--light-color);
}

.office-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.office-info {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 0, 32, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.info-item:hover i {
    background: var(--primary-color);
    color: var(--white);
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.working-hours {
    font-family: 'Inter', sans-serif;
    max-width: 600px;
    margin: 0 auto;
}

.working-hours h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
}

.day {
    font-weight: bold;
    width: 50%;
}

.time {
    width: 50%;
    text-align: right;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    line-height: 1.6;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 0;
}

.cta-container {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0.9;
    z-index: -1;
    border-radius: 20px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    gap: 10px;
}

.cta-btn svg {
    transition: transform 0.3s ease;
}

.cta-btn.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
}

.cta-btn.primary:hover {
    background: var(--accent-color);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
}

.cta-btn.primary:hover svg {
    transform: translateX(5px);
}

.cta-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.3);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.circle,
.square,
.triangle {
    position: absolute;
    opacity: 0.1;
    animation: float 6s infinite ease-in-out;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--secondary-color);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.square {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    bottom: 15%;
    right: 10%;
    animation-delay: 0.5s;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid var(--accent-color);
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: var(--white);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-menu i {
    margin-right: 10px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contact-info i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-copyright span {
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon:hover::before {
    transform: scale(1.5);
    opacity: 0;
}

.whatsapp-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid #25D366;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    70%, 100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tooltip::before {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #333;
}

.whatsapp-link:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }

    .features-content {
        gap: 50px;
    }

    .image-carousel {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .features-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-text {
        text-align: center;
    }

    .features-text .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-text h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .office-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 70px;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: var(--transition);
        padding: 20px;
    }

    .navbar.active {
        left: 0;
    }

    .navbar ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu {
        display: block;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .stats-container {
        gap: 20px;
    }

    .stat-item {
        min-width: 100px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .image-carousel {
        transform: none;
        height: 350px;
    }

    .image-carousel:hover {
        transform: none;
    }

    .slide-caption {
        left: 20px;
        bottom: 20px;
    }

    .slide-caption h3 {
        font-size: 1.5rem;
    }

    .cta-content {
        padding: 40px 20px;
    }

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

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 15px;
    }

    .footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .image-carousel {
        height: 300px;
    }

    .info-item {
        flex-direction: column;
        padding: 20px;
    }

    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .hours-row {
        flex-direction: column;
        gap: 5px;
    }

    .time {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .tooltip {
        display: none;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}