:root {
    --primary-blue: #0a2540;
    --secondary-blue: #1a4b7c;
    --accent-gold: #d4a017;
    --light-gold: #f4c430;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

.bg-primary { background-color: var(--primary-blue); }
.bg-secondary { background-color: var(--secondary-blue); }
.bg-gold { background-color: var(--accent-gold); }
.text-gold { color: var(--accent-gold); }
.text-primary { color: var(--primary-blue); }
.border-gold { border-color: var(--accent-gold); }

.hero-gradient {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(26, 75, 124, 0.85) 100%);
}

.page-hero-gradient {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(26, 75, 124, 0.88) 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--light-gold) 100%);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.counter {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

.pattern-overlay {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, transparent 60%);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.project-card:hover .overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.98) 0%, rgba(10, 37, 64, 0.7) 100%);
}

.project-card .content {
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .content {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--light-gold) 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
}

.btn-outline {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.1) 0%, rgba(244, 196, 48, 0.1) 100%);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--light-gold) 100%);
}

.service-card:hover .service-icon i {
    color: var(--primary-blue);
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-gold), var(--primary-blue));
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
}

/* Page Header Styles */
.page-header {
    padding-top: 80px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Form Styles */
input:focus, select:focus, textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

/* Navbar Scrolled */
.navbar-scrolled {
    background-color: var(--primary-blue) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
