:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

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

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Form styling */
.form-control, .form-select {
    border-radius: 0.375rem;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Table styling */
.table th {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

/* Dashboard cards */
.dashboard-card {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Hero Section with Ocean Background */
.hero-section {
    background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(0, 86, 179, 0.8)), 
                url('../images/ocean-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Optional: Add ocean wave animation */
.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('../images/wave-pattern.png') repeat-x;
    background-size: contain;
    animation: wave 10s linear infinite;
    z-index: 1;
}

@keyframes wave {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Ensure text is readable over the background */
.hero-section h1,
.hero-section .lead,
.hero-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Button styling to stand out */
.hero-section .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Image styling */
.hero-section img {
    border: 5px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.hero-section img:hover {
    transform: scale(1.02);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section::before {
        height: 50px;
    }
}

/* Why Choose DMTA Section */
.feature-icon {
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
}

.card {
    transition: all 0.3s ease;
}

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

/* Gallery Section */
.gallery-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.gallery-card img {
    transition: transform 0.5s ease;
    height: 250px;
    object-fit: cover;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.gallery-item {
    display: block;
}

.gallery-item.hidden {
    display: none;
}

/* Gallery Filter Buttons */
.btn-group .btn {
    border-radius: 25px;
    margin: 0 5px;
    padding: 8px 20px;
}

.btn-group .btn.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-card img {
        height: 200px;
    }
    
    .btn-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-group .btn {
        margin: 5px;
        flex: 0 0 auto;
    }
}
/* Print styles for registration form */
@media print {
    .navbar, .btn, .card-header, .alert {
        display: none !important;
    }
    
    .card {
        border: none !important;
        box-shadow: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}