/* MJSUN - Custom Styles */

/* Global Styles */
:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fbbf24;
    --secondary-color: #3b82f6;
    --secondary-dark: #2563eb;
    --accent-color: #10b981;
    --accent-dark: #059669;
    --sun-yellow: #fbbf24;
    --sky-blue: #3b82f6;
    --earth-green: #10b981;
    --warm-orange: #f59e0b;
    --light-gray: #f8f9fa;
    --dark-color: #212529;
    --font-family: 'Inter', sans-serif;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    --gradient-solar: linear-gradient(45deg, var(--sun-yellow), var(--warm-orange));
    --gradient-hero: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(59, 130, 246, 0.9));
    
    /* Sombras */
    --shadow-solar: 0 10px 30px rgba(245, 158, 11, 0.3);
    
    /* Transiciones */
    --transition-normal: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    padding-top: 80px; /* Compensar la navbar fija */
}

/* Asegurar que las secciones no sean tapadas por la navbar */
section:first-of-type {
    margin-top: 0;
}

/* Mejorar el espaciado para secciones después de la navbar */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030; /* Asegurar que esté por encima del contenido */
}

/* Asegurar que el contenido no sea tapado por la navbar */
main, section {
    position: relative;
    z-index: 1;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 50px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.1);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.15);
}

/* Mejorar el menú móvil */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-collapse {
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-section h1,
.hero-section .display-1,
.hero-section .display-4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Parallax Section */
.parallax-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.parallax-section h2,
.parallax-section .display-4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.parallax-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Mejorar contraste en texto */
.text-dark {
    color: #212529 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Asegurar que el texto sea legible */
p, h1, h2, h3, h4, h5, h6 {
    color: inherit;
}

/* Mejorar la sección About específicamente */
.about-section {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-section h2 {
    color: var(--dark-color) !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-section .lead {
    color: #495057 !important;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-section .text-muted {
    color: #6c757d !important;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Estilos para las tarjetas de características */
.about-section .card {
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: white;
}

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

.about-section .card-body {
    padding: 2.5rem;
}

/* Iconos circulares */
.about-section .rounded-circle {
    transition: all 0.3s ease;
}

.about-section .d-flex:hover .rounded-circle {
    transform: scale(1.1);
}

/* Video mejorado */
.about-section .ratio-16x9 {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.about-section .ratio-16x9 iframe {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Efecto de overlay en el video */
.about-section .position-absolute {
    pointer-events: none;
}

/* Botón mejorado */
.about-section .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.about-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

/* Mejorar contraste en secciones con fondo oscuro */
.bg-dark, .bg-primary {
    color: #fff;
}

.bg-dark p, .bg-primary p {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: white;
}

/* Formularios mejorados */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Alertas mejoradas */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Responsive Design - Mejorado */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .display-1 {
        font-size: 4rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .display-1 {
        font-size: 3.5rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .display-1 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2.25rem;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .parallax-section {
        background-attachment: scroll;
        min-height: 50vh;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section {
        min-height: 60vh;
        background-attachment: scroll;
    }
    
    .parallax-section {
        background-attachment: scroll;
        min-height: 40vh;
    }
    
    .display-1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .card-img-top {
        height: 140px;
    }
    
    .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Mobile Devices (up to 575px) */
@media (max-width: 575px) {
    .hero-section {
        min-height: 50vh;
        background-attachment: scroll;
    }
    
    .parallax-section {
        background-attachment: scroll;
        min-height: 30vh;
    }
    
    .display-1 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .h1 {
        font-size: 1.5rem;
    }
    
    .h2 {
        font-size: 1.25rem;
    }
    
    .h3 {
        font-size: 1.1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .card-img-top {
        height: 120px;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    /* Mejorar la sección About en móviles */
    .about-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-section .lead {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .about-section .card-body {
        padding: 1.5rem;
    }
    
    .about-section .rounded-circle {
        width: 50px !important;
        height: 50px !important;
    }
    
    .about-section .fa-2x {
        font-size: 1.5em;
    }
    
    .about-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
}

/* Very Small Devices (up to 375px) */
@media (max-width: 375px) {
    .hero-section {
        min-height: 45vh;
    }
    
    .display-1 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 1.25rem;
    }
    
    .h1 {
        font-size: 1.25rem;
    }
    
    .h2 {
        font-size: 1.1rem;
    }
    
    .h3 {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .card-img-top {
        height: 100px;
    }
    
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
    
    .parallax-section {
        min-height: 60vh;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-size: cover;
    }
    
    .parallax-section {
        background-size: cover;
    }
}

/* Print styles */
@media print {
    .hero-section {
        background-attachment: scroll !important;
    }
    
    .parallax-section {
        background-attachment: scroll !important;
    }
    
    .btn {
        border: 1px solid #000 !important;
        background: white !important;
        color: black !important;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-radius-custom {
    border-radius: 15px;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Image effects */
.img-hover {
    transition: transform 0.3s ease;
}

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

/* Mejoras de accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mejorar contraste y legibilidad */
.text-white {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.bg-dark .text-white {
    text-shadow: none;
}

/* Espaciado mejorado */
.section-padding {
    padding: 4rem 0;
}

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

/* Mejorar imágenes responsivas */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Mejorar listas */
.list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Mejorar tablas */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table th {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
}

.table td {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

/* Mejorar modales */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem;
}

/* Mejorar tooltips */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: var(--dark-color);
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
}

/* Mejorar popovers */
.popover {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.popover-header {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px 10px 0 0;
}

/* Mejorar carruseles */
.carousel-item {
    border-radius: 15px;
    overflow: hidden;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

/* Mejorar badges */
.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Mejorar progress bars */
.progress {
    border-radius: 10px;
    height: 1rem;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
}

/* Clases de color personalizadas */
.bg-solar { background-color: var(--sun-yellow) !important; }
.bg-sky { background-color: var(--sky-blue) !important; }
.bg-earth { background-color: var(--earth-green) !important; }

.text-solar { color: var(--sun-yellow) !important; }
.text-sky { color: var(--sky-blue) !important; }
.text-earth { color: var(--earth-green) !important; }

.border-solar { border-color: var(--sun-yellow) !important; }
.border-sky { border-color: var(--sky-blue) !important; }
.border-earth { border-color: var(--earth-green) !important; }

/* Efectos solares especiales */
.solar-glow {
    box-shadow: var(--shadow-solar);
    transition: var(--transition-normal);
}

.solar-glow:hover {
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.sun-pulse {
    animation: sunPulse 2s ease-in-out infinite alternate;
}

@keyframes sunPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Estilos específicos para el video */
.about-section .ratio-16x9 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clases de imagen optimizadas */
.img-optimized {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.img-lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.img-lazy.loaded {
    opacity: 1;
}

.img-hover-zoom {
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.img-overlay {
    position: relative;
    overflow: hidden;
}

.img-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.2), rgba(59, 130, 246, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.img-overlay:hover::before {
    opacity: 1;
}

/* Tamaños de imagen responsivos */
.card-img-top {
    height: 280px;
    object-fit: cover;
    transition: var(--transition-normal);
    max-width: 100%;
}

.hero-bg {
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.about-hero-img {
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.service-img {
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.parallax-bg {
    height: 60vh;
    object-fit: cover;
    object-position: center;
}

/* Responsive para imágenes */
@media (min-width: 1400px) {
    .card-img-top { height: 320px; }
    .service-img { height: 350px; }
    .about-hero-img { height: 450px; }
    .team-img { width: 180px; height: 180px; }
}

@media (min-width: 1200px) {
    .card-img-top { height: 300px; }
    .service-img { height: 320px; }
    .about-hero-img { height: 420px; }
    .team-img { width: 170px; height: 170px; }
}

@media (min-width: 992px) {
    .card-img-top { height: 280px; }
    .service-img { height: 300px; }
    .about-hero-img { height: 400px; }
    .team-img { width: 160px; height: 160px; }
}

@media (min-width: 768px) {
    .card-img-top { height: 260px; }
    .service-img { height: 280px; }
    .about-hero-img { height: 350px; }
    .team-img { width: 140px; height: 140px; }
}

@media (min-width: 576px) {
    .card-img-top { height: 240px; }
    .service-img { height: 260px; }
    .about-hero-img { height: 300px; }
    .team-img { width: 120px; height: 120px; }
}

@media (max-width: 575.98px) {
    .card-img-top { height: 220px; }
    .service-img { height: 240px; }
    .about-hero-img { height: 250px; }
    .team-img { width: 100px; height: 100px; }
} 