body.main {     
    position: relative;     
    min-height: 100vh;     
    background: url('src/azania\ team\ work.jpg') center/cover no-repeat; 
    /* background: #fff; */
    font-family: 'Arial', sans-serif;
    color: #000;
}  

/* Dark overlay over the entire body */ 
body.main::before {     
    content: "";     
    position: fixed;     
    top: 0;     
    left: 0;     
    width: 100%;     
    height: 100%;     
    background-color: rgba(0, 0, 0, 0.2); /* 20% dark overlay */     
    z-index: -1; /* Push it behind content */ 
}  

/* Hero Section */
.hero-section {
    text-align: left;
    padding: 80px 20px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 25px;
} 

/* Navbar styling */ 
.navbar .nav-link {          
    font-weight: 500;     
    color: #333 !important; 
}  

.navbar .nav-link:hover {     
    color: #f58220 !important; 
}  

.navbar .nav-link.active {     
    font-weight: 800 !important; 
}   

/* Default transparent navbar */ 
.navbar {     
    transition: background-color 0.3s ease;     
    background-color: rgba(206, 205, 205, 0.5) !important; 
}  

/* Scrolled navbar */ 
.navbar.scrolled {     
    background-color: rgba(206, 205, 205, 1) !important; /* Dark grey */ 
} 

.profile-circle {     
    background-color: #f58220; /* Orange color */     
    height: 500px;     
    width: 500px;     
    border-radius: 50%;
    position: relative; /* This allows absolute positioning of child elements */
    display: flex;
    align-items: flex-end; /* Aligns image to bottom of circle */
    justify-content: center; /* Centers horizontally */
}  

.businessmanImage {  
    /* margin-left: 100px !important;    */
    height: 420px;     
    width: 420px;     
    border-radius: 50%;
    object-fit: cover; /* Ensures image covers the area properly */
    /* position: absolute; */
    bottom: 0; /* Aligns to bottom of circle */
    right: 20px; /* Positions towards the right side */
    transform: translateX(10px); /* Fine-tune horizontal position */
}  

.getQuoteBtn{     
    font-weight: 900 !important; 
}   

.whatsapp-float {   
    position: fixed;   
    bottom: 20px;   
    left: 20px;   
    background-color: #25D366;   
    color: white;   
    border-radius: 50%;   
    padding: 15px 18px;   
    font-size: 28px;   
    z-index: 1000;   
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);   
    transition: background-color 0.3s ease;   
    text-decoration: none;   
    display: flex;   
    align-items: center;   
    justify-content: center; 
}  

.whatsapp-float:hover {   
    background-color: #1ebe57; 
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #000;
    border-radius: 10px;
    color: #000;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none; 
}

.social-icon:hover {
    background-color: #f58220;
    border-color: #f58220;
    color: #fff !important;
}

/* Quote Button */
.get-quote-btn {
    border-radius: 0px;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    text-transform: uppercase;
}

/* Footer styling */
.footer {
    position: relative; /* Changed from fixed to relative for better mobile experience */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: left; /* Changed from center for better mobile layout */
    padding: 30px 0; /* Increased padding */
    z-index: 999;
    margin-top: 50px; /* Add space above footer */
}

.footer h5 {
    color: #f58220;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer ul li a:hover {
    color: #f58220;
}

.footer .social-icons a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer .social-icons a:hover {
    color: #f58220;
}

.footer .contact-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

.footer .contact-info i {
    color: #f58220;
    margin-right: 8px;
    width: 15px;
}

/* Tablet styles (768px to 991px) */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 20px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .profile-circle {
        height: 400px;
        width: 400px;
    }

    .businessmanImage {
        height: 320px;
        width: 320px;
        right: 10px;
        transform: translateX(5px);
    }

    /* Navbar improvements for tablet */
    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 5px 0;
    }

    .social-icon {
        margin: 0 5px;
    }
}

/* Mobile styles (576px and below) */
@media (max-width: 576px) {
    /* Body and background adjustments */
    body.main {
        background-attachment: scroll; /* Better performance on mobile */
    }

    /* Hero section mobile optimization */
    .hero-section {
        text-align: center;
        padding: 40px 15px 60px 15px; /* More bottom padding to account for footer */
    }

    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Services icons section mobile optimization */
    .hero-section .row {
        margin-top: 30px !important;
        padding: 20px 0 !important;
    }

    .hero-section .col-md-4 {
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .hero-section .col-md-4 i {
        font-size: 1.5rem !important;
        margin-bottom: 10px;
    }

    .hero-section .col-md-4 h5 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .hero-section .col-md-4 p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    /* Navbar mobile optimization */
    .navbar {
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 35px;
    }

    .navbar-collapse {
        margin-top: 15px;
    }

    .nav-item {
        margin: 8px 0;
        text-align: center;
    }

    .nav-link {
        padding: 10px 15px !important;
        font-size: 1rem !important;
    }

    /* Social icons in navbar */
    .nav-item.d-flex {
        justify-content: center;
        margin: 15px 0;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin: 0 8px;
    }

    /* Quote button mobile optimization */
    .get-quote-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 200px;
        text-align: center;
    }

    /* WhatsApp float button mobile optimization */
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        padding: 12px 15px;
        font-size: 24px;
        z-index: 1001; /* Higher than footer */
    }

    /* Footer mobile optimization */
    .footer {
        padding: 25px 0;
        text-align: center;
    }

    .footer .container {
        padding: 0 15px;
    }

    .footer .row {
        margin: 0;
    }

    .footer .col-md-2,
    .footer .col-md-3 {
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .footer h5 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer ul li,
    .footer .social-icons a,
    .footer .contact-info p {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .footer .contact-info p {
        line-height: 1.4;
    }

    /* Profile circle mobile (if used elsewhere) */
    .profile-circle {
        height: 250px;
        width: 250px;
    }

    .businessmanImage {
        height: 200px;
        width: 200px;
        right: 5px;
        transform: translateX(0);
    }

    /* Button mobile optimization */
    .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    /* Text adjustments for better mobile readability */
    h1, h2, h3, h4, h5 {
        line-height: 1.3;
    }

    p, li, span {
        line-height: 1.5;
    }
}

/* Extra small mobile devices (below 400px) */
@media (max-width: 399px) {
    .hero-section {
        padding: 30px 10px 50px 10px;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .navbar-brand img {
        height: 30px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .get-quote-btn {
        width: 180px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .footer h5 {
        font-size: 0.95rem;
    }

    .footer ul li,
    .footer .social-icons a,
    .footer .contact-info p {
        font-size: 0.8rem;
    }

    .whatsapp-float {
        padding: 10px 12px;
        font-size: 20px;
    }
}