:root {
    --primary: #000000;
    --secondary: #1a1a1a;
    --gray-dark: #2d2d2d;
    --gray: #6c757d;
    --gray-light: #e0e0e0;
    --gray-lighter: #f5f5f5;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: var(--secondary);
    font-weight: 500;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gray-dark);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-register,
.btn-login {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-register:hover,
.btn-login:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Carousel */
.hero-carousel {
    margin-top: 76px;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.4);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    z-index: 10;
    bottom: auto;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.carousel-caption p {
    font-size: 1.25rem;
    color: var(--gray-lighter);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background-color: var(--white);
    color: var(--primary);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary-custom:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline-custom:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 10px;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--white);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 20%;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-lighter) 100%);
}

.feature-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gray-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gray-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card p {
    color: var(--gray);
    text-align: center;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-card {
    background: linear-gradient(135deg, var(--gray-lighter) 0%, var(--white) 100%);
    border-radius: 15px;
    padding: 3rem;
    border: 2px solid var(--gray-light);
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h6 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: var(--primary);
}

.contact-details p {
    margin: 0 0 0.25rem 0;
    color: var(--gray);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.footer p {
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white);
}

.footer-divider {
    height: 1px;
    background-color: var(--gray-dark);
    margin: 2rem 0 1rem;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* Large Tablets & Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.25rem;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
    
    .navbar-buttons {
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
    }
    
    .btn-register,
    .btn-login {
        flex: 1;
        max-width: 150px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-section,
    .features-section,
    .contact-section {
        padding: 70px 0;
    }
    
    .contact-card {
        padding: 2rem;
    }
}

/* Mobile Landscape & Small Tablets (576px - 767px) */
@media (max-width: 767px) {
    .carousel-item {
        min-height: 500px;
        height: 100vh;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 2rem;
    }
    
    .feature-card h4 {
        font-size: 1.3rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .contact-info {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .footer h3 {
        font-size: 1.75rem;
    }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .carousel-item {
        min-height: 450px;
    }
    
    .carousel-caption {
        width: 95%;
        padding: 0 10px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .about-section,
    .features-section,
    .contact-section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title h2::after {
        width: 50%;
        left: 25%;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.75rem;
    }
    
    .feature-card h4 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .contact-details h6 {
        font-size: 0.95rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer h3 {
        font-size: 1.5rem;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (max 374px) */
@media (max-width: 374px) {
    .carousel-caption h1 {
        font-size: 1.25rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .section-title h2 {
        font-size: 1.35rem;
    }
    
    .btn-register,
    .btn-login {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}