/* ===== COMMON RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== COMMON BUTTONS ===== */
.btn-primary {
    background: #ff9800;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid #ff9800;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: transparent;
    color: #ff9800;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid white;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: white;
    color: #1a237e;
}

/* ===== COMMON SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #1a237e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff9800;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

/* ===== COMMON FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #25d366;
}

.call-btn {
    background: #ff9800;
}

.email-btn {
    background: #1a237e;
}

/* ===== COMMON RESPONSIVE ===== */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .floating-buttons {
        right: 10px;
        bottom: 10px;
        gap: 10px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
/* Ensure smooth scrolling works */
html {
    scroll-behavior: smooth;
}

/* Fix contact section positioning */
#contact {
    position: relative;
    z-index: 10;
    scroll-margin-top: 80px; /* Adjust based on your header height */
}

/* Make sure buttons are clickable */
.btn-primary, .btn-secondary {
    cursor: pointer;
    position: relative;
    z-index: 5;
}

/* Fix any potential overlay issues */
.hero-btns a {
    display: inline-block;
    text-decoration: none;
    position: relative;
}

/* Prevent any overlay from blocking clicks */
.hero::before, .hero::after {
    pointer-events: none;
}