/* Mobile-First Base Styles */
:root {
  --primary: #4a6cf7;
  --primary-dark: #3a5cd8;
  --secondary: #6c757d;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --light: #f8f9fa;
  --dark: #343a40;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --border: #dee2e6;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --transition-slow: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  overflow-x: hidden;
}


/* Slider Container - Mobile First */
.slider-container {
    position: relative;
    width: 100%; /* 100% width for mobile */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0 0 12px 12px; /* More subtle professional curve for mobile */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); /* Slightly deeper for depth */
}

/* Slider */
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 300px; /* Mobile height */
}

/* Slide */
.slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide Content */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    padding: 18px;
    text-align: center;
}

.slide-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.slide-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Slider Controls (Dots) */
.slider-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: white;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .slider-container {
        width: 95%; /* 95% width for tablet and desktop */
        max-width: 1200px;
        border-radius: 0 0 20px 20px; /* Subtle curve for medium screens */
    }
    
    .slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slider-nav {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .slider-container {
        border-radius: 0; /* Remove curve completely for desktop */
    }
}