/* ============================================
   MODERN PROFESSIONAL DESIGN - CITY NORD
   Mobile-first, Responsive, Elegant
   ============================================ */

:root {
    --primary-dark: #013c40;
    --primary-blue: #0c696c;
    --accent-red: #6e0800;
    --light-bg: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

/* ============================================
   NAVBAR STYLING
   ============================================ */

.navbar {
    background: linear-gradient(30deg, #ffffff 0%, #ffffff 50%, rgba(12, 105, 108, 0.2) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar.is-transparent {
    background: transparent;
}

.navbar-item, .navbar-link {
    color: var(--primary-dark) !important;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-item.has-dropdown .navbar-link,
.navbar-item.has-dropdown .navbar-link strong {
    color: var(--primary-dark) !important;
}

.navbar-item.has-dropdown .navbar-link::after {
    border-color: var(--primary-dark) !important;
}

.navbar-item.has-dropdown:hover .navbar-link,
.navbar-item.has-dropdown .navbar-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-item:hover, .navbar-link:hover {
    color: var(--primary-blue) !important;
    background-color: rgba(12, 105, 108, 0.1);
}

.navbar-dropdown {
    background: #ffffff;
    border-top: 3px solid var(--primary-blue);
}

.navbar-dropdown .navbar-item {
    color: var(--primary-dark) !important;
}

.navbar-dropdown .navbar-item:hover {
    background-color: rgba(12, 105, 108, 0.12);
    color: var(--primary-blue) !important;
}

.navbar-brand img {
    max-height: 60px;
    transition: var(--transition);
}

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

/* ============================================
   HERO SECTION WITH IMAGE SLIDER
   ============================================ */

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: var(--light-bg);
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 350px;
    }
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeInOut 64s infinite;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
.hero-slide:nth-child(4) { animation-delay: 24s; }
.hero-slide:nth-child(5) { animation-delay: 32s; }
.hero-slide:nth-child(6) { animation-delay: 40s; }
.hero-slide:nth-child(7) { animation-delay: 48s; }
.hero-slide:nth-child(8) { animation-delay: 56s; }

@keyframes fadeInOut {
    0% { opacity: 0; }
    1.5% { opacity: 1; }
    10% { opacity: 1; }
    12.5% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 33, 103, 0.6) 0%, rgba(30, 77, 123, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-content {
    text-align: center;
    color: #fff;
    animation: slideUp 0.8s ease 0.2s backwards;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.hero.is-mine .hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff !important;
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero.is-mine .hero-content .subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   HERO NAVBAR
   ============================================ */

.hero.is-mine {
    position: relative;
    background: transparent;
    min-height: 600px;
}

@media (max-width: 768px) {
    .hero.is-mine {
        min-height: 500px;
    }
}

.hero.is-mine .hero-body {
    align-items: center;
    display: flex;
    position: relative;
    z-index: 11;
}

.hero-head .navbar {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 82%, rgba(12, 105, 108, 0.25) 100%);
    backdrop-filter: blur(10px);
}

/* ============================================
   BUTTONS & CTA
   ============================================ */

.button {
    border: none;
    border-radius: 6px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.button.is-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.button.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 33, 103, 0.3);
}

.button.is-danger {
    background: linear-gradient(135deg, var(--accent-red) 0%, #8b0000 100%);
    color: #fff;
}

.button.is-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(110, 8, 0, 0.3);
}

.button.is-outlined {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.button.is-outlined:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* ============================================
   CARD STYLING
   ============================================ */

.card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-bottom: 4px solid var(--accent-red);
}

.card-header-title {
    color: #fff !important;
}

/* ============================================
   SECTION STYLING
   ============================================ */

section {
    padding: 3rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.service-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
}

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

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

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   ANNOUNCEMENT CARD
   ============================================ */

.announcement-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f5fb 100%);
    border-left: 5px solid var(--accent-red);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(110, 8, 0, 0.1);
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.announcement-card h2 {
    color: var(--accent-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.announcement-card p {
    color: #333;
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: #fff;
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 0;
    }
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin: 1rem 0;
    transition: var(--transition);
    animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: #ffd700;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 2rem;
    text-align: center;
    border-top: 4px solid var(--accent-red);
}

footer a {
    color: #ffd700;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ============================================
   LIST STYLING
   ============================================ */

ul, ol {
    margin-left: 1.5rem;
    line-height: 2;
}

li {
    margin-bottom: 0.5rem;
}

ul li::marker {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ============================================
   TILES & GRID
   ============================================ */

.tile {
    animation: fadeInUp 0.6s ease;
}

.tile.is-parent {
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .tile.is-parent {
        padding: 1rem;
    }
    
    .columns {
        flex-direction: column;
    }
}

/* ============================================
   RESPONSIVE IMAGES
   ============================================ */

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

figure {
    margin: 0;
    padding: 0;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */

.title {
    color: var(--primary-dark);
    font-weight: 700;
}

.subtitle {
    color: #eae8e8;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   BACKGROUND GRADIENTS
   ============================================ */

.bg-light {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(194,245,246,1) 100%);
}

.bg-dark {
    background: linear-gradient(180deg, rgba(3,67,87,1) 0%, rgba(3,22,87,1) 100%);
}

/* ============================================
   SCROLLING ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    .fade-in-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

/* ============================================
   MOBILE RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content .subtitle {
        font-size: 0.95rem;
    }

    .container {
        padding: 1rem;
    }

    .button {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    .service-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .contact-section {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content .subtitle {
        font-size: 0.85rem;
    }

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

    .button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   CONSULTATION WIDGET
   ============================================ */

.consultation-widget {
    position: fixed;
    top: 45vh;
    right: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: rgba(9, 105, 114, 0.95);
    color: #ffffff;
    font-size: 14px;
    width: 100px;
    border-radius: 4px 0 0 4px;
    padding: 10px;
    z-index: 999;
    box-shadow: -2px 4px 12px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
    backdrop-filter: blur(30px);
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(150px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.consultation-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 8px;
    min-height: 38px;
    line-height: 1.2;
    text-align: center;
    margin-top: 5px;
    background: #fff;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
}

.consultation-widget a:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.consultation-widget img {
    display: inline-block;
    height: 15px;
    margin-top: 10px;
    vertical-align: middle;
    width: auto;
}

@media (max-width: 768px) {
    .consultation-widget {
        width: 85px;
        font-size: 12px;
        top: 50vh;
    }

    .consultation-widget a {
        padding: 6px;
        font-size: 11px;
        min-height: 32px;
    }
}

/* ============================================
   ADDITIONAL UTILITY CLASSES
   ============================================ */

.my-6 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.py-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.px-6 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.mt-5 {
    margin-top: 2.5rem !important;
}

@media (max-width: 768px) {
    .my-6 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .py-6 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .px-6 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}
