

/* Custom Styles */
html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    max-width: 100%; /* Ensure the container spans the full width */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.navbar {
    background-color: #0056b3;
}

.navbar-brand {
    font-weight: bold;
}

.navbar-brand img {
    height: 50px; /* Adjust the height of the logo */
    width: auto;
    border-radius: 50%;
}

.nav-link {
    color: #fff !important;
}

.nav-link:hover {
    background-color: #003d82;
    border-radius: 0.25rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    color: #0056b3;
    border-bottom: 3px solid #0056b3;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.hero {
    background-color: #eaf2ff; /* Light Blue */
    padding: 4rem 0;
}

.hero .hero-title {
    font-size: 2rem;
}

.hero-img {
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-primary:hover {
    background-color: #003d82;
    border-color: #003d82;
}

.about-img {
    max-width: 100%;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.skills-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
}

.skills-list li {
    background-color: #d9e9ff;
    color: #0056b3;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin: 0.5rem;
}

.experience-item {
    margin-bottom: 1.5rem;
}

.experience-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.experience-location {
    font-style: italic;
    color: #6c757d;
}

.footer {
    background-color: #0056b3;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-top: auto;
}
/* 
#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #0056b3;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
}

#back-to-top:hover {
    background-color: #003d82;
} */

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

/* Practice Areas Section */
.practice-areas {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.practice-areas h2 {
    color: #0056b3;
    margin-bottom: 1.5rem;
}

.practice-areas .card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.practice-areas .card:hover {
    transform: translateY(-5px);
}

.practice-areas .card i {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.practice-areas .card h3 {
    color: #0056b3;
    margin-bottom: 1rem;
}

.practice-areas .card p {
    color: #666;
}

/* Fix for sticky navbar overlapping content */
#home,
#about,
#experience,
#certificates,
#achievements,
#contact {
    scroll-margin-top: 60px; /* Adjust this value based on your navbar height */
}

.section-container {
border-radius: 10px; 
padding: 1rem; /* Consistent padding */
}


/* Hero Section */
.hero {
background-color: #eaf2ff; /* Light blue background */
border-radius: 10px;

padding: 4rem 2rem;
margin-bottom: 2rem;
}

/* About Section */
#about {
background-color: #f8f9fa; /* Light gray background */
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 2rem;
}



/* Contact Section */
#contact {
background-color: #f8f9fa; /* Light gray background */
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 2rem;

}

#about , #experience, #certificates, #achievements, #family, #civil, #accident, #banking, #company, #consumer, #criminal, #cyber-crime, #intellectual-property, #property, #tax, #labour{
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

#about {
    scroll-margin-top: 60px; /* Adjust this value based on your navbar height */
}


/* WhatsApp Floating Icon Styles */
.whatsapp-icon {
    position: fixed;
    bottom: 80px; /* Adjusted to avoid overlap with Back-to-Top button */
    right: 20px;
    z-index: 1000;
}

.whatsapp-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #25d366; /* WhatsApp green color */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-icon a:hover {
    background-color: #128c7e; /* Darker green on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.whatsapp-icon i {
    font-size: 24px;
    color: #fff; /* White icon */
}

/* Back-to-Top Button Styles */
#back-to-top {
    position: fixed;
    bottom: 20px; /* Positioned at the bottom */
    right: 20px;
    z-index: 1000;
    display: none; /* Hidden by default */
    width: 50px;
    height: 50px;
    background-color: #007bff; /* Blue color */
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#back-to-top:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

