:root {
    --primary-orange: #f59e0b;
    --primary-dark-blue: #1e3a5f;
    --primary-white: #ffffff;
}

.navbar {
    background: var(--primary-dark-blue) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--primary-white) !important;
}

.nav-link {
    color: var(--primary-white) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}

.btn-warning {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--primary-dark-blue);
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-dark-blue);
    border-color: var(--primary-dark-blue);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    .display-5 {
        font-size: 1.8rem;
    }
}

a:focus, button:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Animated WhatsApp Sticky Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20b859;
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    animation: shake 3s infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Shake Animation for Icon */
@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #075e54;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #075e54;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Bounce Animation for Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
        animation: pulse 1.5s infinite, bounce 2s infinite;
    }
    
    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Ripple Effect */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Scroll to top button alternative */
.whatsapp-float:active {
    transform: scale(0.95);
}

/* Top Navigation Bar Styles */
.top-navbar {
    background: linear-gradient(135deg, #1a2a4f 0%, #0d1b33 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    position: relative;
    z-index: 1001;
}

/* Animated gradient border */
.top-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #1e3a5f, #f59e0b);
    animation: borderGlow 3s infinite;
}

@keyframes borderGlow {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Contact Info Links */
.contact-info a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.contact-info a i {
    margin-right: 8px;
    color: #f59e0b;
}

.contact-info a:hover {
    color: #f59e0b;
    transform: translateY(-2px);
    display: inline-block;
}

/* Social Links */
.social-links {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.social-links a:hover {
    color: #f59e0b;
    transform: translateY(-3px) rotate(360deg);
    background: rgba(245, 158, 11, 0.2);
}

/* Location Badge */
.location {
    background: rgba(245, 158, 11, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.location i {
    color: #f59e0b;
}

.location:hover {
    background: rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
}

/* Main Navbar */
.navbar {
    background: #1a2a4f !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

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

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: all 0.3s ease;
}

/* Navbar link hover effect */
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #f59e0b !important;
    transform: translateY(-2px);
}

/* Active link styling */
.navbar-nav .nav-link.active {
    color: #f59e0b !important;
}

.navbar-nav .nav-link.active::before {
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .top-navbar {
        padding: 10px 0;
    }
    
    .contact-info, .social-links {
        text-align: center;
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .contact-info a {
        display: inline-block;
        margin: 0 10px;
        font-size: 11px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .location {
        margin-left: 0;
        font-size: 10px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        margin: 8px 0;
    }
}

/* Desktop hover animations */
@media (min-width: 769px) {
    .contact-info a {
        position: relative;
    }
    
    .contact-info a::after {
        content: '|';
        position: absolute;
        right: -12px;
        color: rgba(255,255,255,0.3);
    }
    
    .contact-info a:last-child::after {
        content: '';
    }
}

/* Scroll effect for navbar */
.navbar.sticky-top {
    transition: all 0.3s ease;
}

.navbar.sticky-top.scrolled {
    padding: 10px 0;
    background: #0d1b33 !important;
}

/* Add this JavaScript for scroll effect */

/* Hero Slider Additional Styles */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
}

.carousel-item {
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

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

.carousel-item.active h1 {
    animation: fadeInUp 0.8s ease-out;
}

.carousel-item.active p {
    animation: fadeInUp 1s ease-out;
}

.carousel-item.active .btn {
    animation: fadeInUp 1.2s ease-out;
}

.carousel-item.active img {
    animation: fadeInUp 1.4s ease-out;
}

/* Parallax effect on background */
.hero-slide {
    background-attachment: fixed;
    background-size: cover;
}

@media (max-width: 768px) {
    .hero-slide {
        background-attachment: scroll;
    }
}

/* Custom button styles for slider */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Loading animation for images */
.hero-slide img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-slide img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}