:root {
    --primary-color: #004d99; /* Deep elegant blue */
    --primary-light: rgba(0, 77, 153, 0.1);
    --secondary-color: #00bfff; /* Vibrant cyan */
    --accent-color: #ff9900; /* Warm accent */
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

body {
    font-family: var(--font-sans);
    color: #4a4a4a;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
.font-serif {
    font-family: var(--font-serif);
}

.text-primary-custom {
    color: var(--secondary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-light-primary {
    background-color: var(--primary-light) !important;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.border-radius-top {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Navbar */
.transition-navbar {
    transition: all 0.4s ease-in-out;
}

.navbar-brand {
    font-family: var(--font-serif);
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

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

.navbar-light .navbar-nav .nav-link {
    color: #555;
}

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

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

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

.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.3) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
}

.hero-bg {
    background-image: url('assets/img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-family: var(--font-serif);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-btn {
    transition: all 0.3s ease;
    border-width: 2px;
}

.hero-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Features Cards */
.feature-cards {
    transform: translateY(-50%);
    margin-bottom: -50px; /* Adjusting spacing below */
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #eee;
    }
}

.feature-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.4s ease;
}

.col-md-4:hover .feature-icon {
    transform: rotateY(180deg);
}

/* About Section */
.image-shape-1 {
    width: 150px;
    height: 150px;
    top: -20px;
    right: -20px;
    opacity: 0.1;
}

.image-hover {
    transition: transform 0.5s ease;
}

.image-hover:hover {
    transform: scale(1.02);
}

/* Services */
.service-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.service-card i {
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
    font-family: var(--font-sans);
}

.btn-social {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-social:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

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