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

:root {
    --primary-color: #16A085;
    --secondary-color: #FF9800;
    --dark-color: #222;
    --light-color: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #27AE60;
    --danger-color: #E74C3C;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: #000;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    flex: 0 0 auto;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
}

.navbar-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.cart-toggle {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-count {
    background-color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cart-header h3 {
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cart-item-qty {
    color: #666;
    font-size: 0.9rem;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 2rem 0;
}

.cart-footer {
    background-color: var(--light-color);
    padding: 1.5rem;
    flex-shrink: 0;
    border-top: 1px solid var(--border-color);
}

.cart-summary {
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000 0%, var(--primary-color) 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0E7260;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.4);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #000 0%, var(--primary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Top Sellers Section */
.top-sellers {
    padding: 4rem 20px;
    background-color: var(--light-color);
}

.top-sellers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #16A085 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-model {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-rating {
    color: #f39c12;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 4rem 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: #666;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0E7260 100%);
    color: white;
    padding: 4rem 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding: 3rem 20px 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* Shop Section */
.shop-section {
    padding: 2rem 20px 4rem;
}

.shop-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.shop-sidebar {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
}

.filter-options label:hover {
    color: var(--primary-color);
}

.filter-options input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.price-filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-filter input[type="range"] {
    width: 100%;
}

.price-filter p {
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
}

.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.shop-main {
    min-height: 400px;
}

/* About Section */
.about-section {
    padding: 2rem 20px 4rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.7rem 0;
    color: #555;
    font-size: 1.05rem;
}

.features-list i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-weight: bold;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-card h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 4rem 20px;
    background-color: var(--light-color);
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.team-section > .container > p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

.team-image {
    font-size: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0E7260 100%);
}

.team-card h3 {
    padding: 1.5rem 1rem 0;
    color: var(--dark-color);
}

.team-card p {
    color: #666;
    padding: 0 1rem 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: 2rem 20px 4rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.info-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-details h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.info-details p {
    color: #666;
    margin-bottom: 0.25rem;
}

.info-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

.info-details a:hover {
    text-decoration: underline;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(22, 160, 133, 0.3);
}

/* Checkout Section */
.checkout-section {
    padding: 2rem 20px 4rem;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.checkout-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.checkout-card h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.shipping-options,
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shipping-option,
.payment-option {
    border: 2px solid var(--border-color);
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.shipping-option:hover,
.payment-option:hover {
    border-color: var(--primary-color);
}

.shipping-option input[type="radio"],
.payment-option input[type="radio"] {
    margin-right: 1rem;
    cursor: pointer;
}

.shipping-option input[type="radio"]:checked ~ .option-content,
.payment-option input[type="radio"]:checked ~ .option-content {
    color: var(--primary-color);
}

.option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.option-price,
.option-desc {
    font-size: 0.9rem;
    color: #666;
}

.payment-option .option-content {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.payment-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    margin: 1rem 0;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.checkout-summary {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.summary-items {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.summary-item-name {
    flex: 1;
}

.summary-item-price {
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1rem 0;
}

.checkout-summary .summary-row {
    margin-bottom: 0.8rem;
}

.checkout-summary .summary-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo {
        height: 40px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .shop-wrapper {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .checkout-form-col {
        order: 2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Product Detail Modal - Mobile Fix */
    .modal-content {
        width: 95% !important;
        max-width: 95% !important;
        margin: 10% auto !important;
        padding: 1rem !important;
    }
    
    .modal-body > div {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .modal-body img {
        max-height: 200px !important;
    }
    
    .modal-body h2 {
        font-size: 1.3rem !important;
    }
    
    .modal-body .product-price {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    .navbar-menu {
        gap: 0.5rem;
    }

    .navbar-menu a {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .top-sellers h2 {
        font-size: 1.5rem;
    }

    .btn-full {
        padding: 10px 15px;
    }
}

/* ───────── MOBILE NAVBAR ───────── */

.menu-toggle{
    display:none;
    flex-direction:column;
    cursor:pointer;
    gap:5px;
}

.menu-toggle span{
    width:25px;
    height:3px;
    background:#333;
    border-radius:2px;
}

/* Mobile Responsive */
@media (max-width: 768px){

    .menu-toggle{
        display:flex;
    }

    .navbar-menu{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        align-items:center;
        display:none;
        padding:20px 0;
        box-shadow:0 5px 15px rgba(0,0,0,0.1);
    }

    .navbar-menu.active{
        display:flex;
    }

    .navbar-menu li{
        margin:12px 0;
    }

    .navbar .container{
        position:relative;
    }
}

/* Navbar link color fix */
@media (max-width:768px){

    .navbar-menu{
        background:#ffffff;   /* White Background */
        z-index:999;
    }

    .navbar-menu li a{
        color:#000;
        font-weight:600;
    }

}

/* ───────── Scroll Feature Section ───────── */

.scroll-feature{
    width:100%;
}

/* Full Width Top Image */
.feature-full-image img{
    width:100%;
    height:500px;
    object-fit:cover;
}

/* Sticky Layout */
.feature-scroll-container{
    display:flex;
    max-width:1200px;
    margin:auto;
    padding:80px 20px;
    gap:60px;
}

/* Left Sticky Image */
.feature-image{
    flex:1;
    position:sticky;
    top:120px;
    height:500px;
}

.feature-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
}

/* Right Text */
.feature-text{
    flex:1;
}

.feature-block{
    margin-bottom:150px;
    background:#ffffff;
    padding:40px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.feature-block h2{
    margin-bottom:15px;
    color:#16A085;
}

.feature-block p{
    color:#555;
    line-height:1.7;
}
@media(max-width:768px){

    .feature-scroll-container{
        flex-direction:column;
    }

    .feature-image{
        position:relative;
        top:0;
        height:300px;
    }

    .feature-block{
        margin-bottom:60px;
    }

}
/* ===== LINKS PAGE ===== */

.links-main {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 15px;
}

/* Links Container */
.links {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

/* Individual Links */
.links a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    margin: 12px 0;
    padding: 15px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Hover Effect */
.links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
    opacity: 0.95;
}

/* Click Effect */
.links a:active {
    transform: scale(0.97);
}

/* Optional: Icons spacing (agar FontAwesome use kar rahe ho) */
.links a i {
    margin-right: 8px;
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .links a {
        font-size: 14px;
        padding: 14px;
    }
}

/* Icon styling */
.links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.links a i {
    font-size: 16px;
}

/* HERO SLIDER STYLES */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #16A085 100%);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #16A085 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider { height: 450px; }
    .slide-content h1 { font-size: 2rem; }
    .slide-content p { font-size: 1.1rem; }
    .slider-arrow { padding: 10px 15px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-slider { height: 380px; }
    .slide-content h1 { font-size: 1.5rem; }
}

/* Feature blocks with alternating layout */
.feature-block {
    margin-bottom: 100px;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-block.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-block:nth-child(even) {
    margin-left: 60px;
}

.feature-block h2 {
    margin-bottom: 15px;
    color: #16A085;
}

.feature-block p {
    color: #555;
    line-height: 1.7;
}
