/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f4f7fc;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1e40af;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #1e40af;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary {
    background-color: #1e40af;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1e3a8a;
    transform: scale(1.05);
}

.btn-white {
    background-color: #fff;
    color: #1e40af;
}

.btn-white:hover {
    background-color: #f1f5f9;
    transform: scale(1.05);
}

/* Section */
.section {
    padding: 60px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 20px;
}

/* Grid */
.grid {
    display: grid;
}

/* Card */
.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 10px;
}

/* Feature Icon */
.feature-icon {
    font-size: 40px;
    color: #0d9488;
    margin-bottom: 10px;
}

/* Check Icon */
.check-icon {
    color: #10b981;
    font-size: 20px;
    margin-right: 10px;
}

/* Benefit Item */
.benefit-item {
    display: flex;
    align-items: flex-start;
}

.benefit-title {
    font-size: 18px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 5px;
}

/* ************************************** * /

/* ... (header, nav, buttons, sections, etc. unchanged from previous styles.css) ... */

/* Hero Section (Updated for Fixed Background) */
.hero {
    padding: 80px 20px;
    color: #fff;
    text-align: center;
    position: relative;
}

.fixed-hero {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Hero Section 
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/property-details.jpg') center/cover no-repeat;
    padding: 80px 20px;
    color: #fff;
    text-align: center;
}
*/
.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Service-Specific Hero Backgrounds */
.bg-vessel {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/vessel-details.jpg');
}
.bg-property {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/property-details.jpg');
}
.bg-takaful {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/takaful-details.jpg');
}
.bg-ijarah {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/ijarah-details.jpg');
}
.bg-school {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/school-details.jpg');
}
.bg-medical {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/medical-details.jpg');
}
.bg-esg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/esg-details.jpg');
}

/* Carousel Styles */
.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
}

.carousel-caption h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 16px;
}

.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #1e40af;
}

/* Existing Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.slide-up {
    animation: slideUp 0.5s ease-out;
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.footer {
    background-color: #1e40af;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer a {
    color: #dbeafe;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #dbeafe;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-image {
        height: 400px;
    }
    .carousel-caption h2 {
        font-size: 20px;
    }
    .carousel-caption p {
        font-size: 14px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .nav-links {
        gap: 10px;
    }
    .nav-links li a {
        font-size: 14px;
    }
}
