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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f7fa;
  color: #333;
}

header {
  background-color: #ffffff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover {
  color: #2e7d32;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

.hero {
  height: 100vh;
  background-image: url('/images/bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-content a {
  display: inline-block;
  background-color: white;
  color: #377d3f;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.hero-content a:hover {
  background-color: #2f6e36;
  color: white;
}

section#practice-area {
  background: #027f38;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

#practice-area h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.practice-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.practice-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.full-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.circle:hover {
  transform: scale(1.1);
}

.circle span {
  font-size: 28px;
}

.circle-text a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  display: inline-block;
}

.circle-text a:hover {
  color: #00c9a7;
}

#about-heads {
  background-color: #f4f4f4;
  padding: 40px 20px;
}

.about-heads-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #2e7d32;
}

.about-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

.about-person {
  flex: 1;
  text-align: center;
}

.about-person img {
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  color: #777;
  font-size: 14px;
  border-top: 1px solid #ddd;
}



  /* existing styles */
  .gazette-section {
padding: 60px 20px;
background-color: #f4fdf7;
text-align: center;
}

.gazette-section h2 {
font-size: 2rem;
color: #027f38;
margin-bottom: 30px;
}

.carousel-wrapper {
overflow: hidden;
position: relative;
width: 100%;
}

.carousel {
display: flex;
gap: 30px;
padding: 20px;
overflow-x: scroll;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
margin: 0 auto;
}

.card {
flex: 0 0 70%;
scroll-snap-align: center;
background: white;
border-radius: 16px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
padding: 40px 20px;
text-align: center;
font-size: 1.1rem;
font-weight: 600;
transition: transform 0.3s ease;
opacity: 0;
animation: fadeIn 0.8s ease forwards;
}

.card:hover {
transform: scale(1.05);
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }
.card:nth-child(5) { animation-delay: 1s; }

@keyframes fadeIn {
to {
opacity: 1;
}
}

.gazette-date {
color: #555;
font-size: 14px;
margin-bottom: 10px;
display: block;
}

.card a {
color: #027f38;
text-decoration: none;
}

.card a:hover {
text-decoration: underline;
}

.carousel::-webkit-scrollbar {
display: none;
}

/* Responsive behavior */
@media (max-width: 768px) {
.card {
flex: 0 0 90%;
font-size: 1rem;
padding: 30px 15px;
}
}




/* practice area start */


#practice-area {
padding: 80px 0;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
position: relative;
}

#practice-area::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
pointer-events: none;
}

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

.section-header {
text-align: center;
margin-bottom: 60px;
position: relative;
z-index: 1;
}

.section-header h2 {
font-size: 2.5rem;
font-weight: 700;
color: #1a365d;
margin-bottom: 16px;
position: relative;
}

.section-header h2::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: linear-gradient(90deg, #2563eb, #1e40af);
border-radius: 2px;
}

.section-header p {
font-size: 1.1rem;
color: #64748b;
max-width: 600px;
margin: 0 auto;
line-height: 1.6;
}

.practice-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
position: relative;
z-index: 1;
}

.practice-card {
background: #ffffff;
border-radius: 16px;
padding: 32px 28px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(226, 232, 240, 0.8);
position: relative;
overflow: hidden;
}

.practice-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #2563eb, #1e40af);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}

.practice-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
border-color: #2563eb;
}

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

.practice-icon {
width: 72px;
height: 72px;
background: linear-gradient(135deg, #2563eb, #1e40af);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 24px;
position: relative;
transition: all 0.3s ease;
}

.practice-icon::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
border-radius: 20px;
opacity: 0;
transition: opacity 0.3s ease;
}

.practice-card:hover .practice-icon {
transform: scale(1.1);
box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.practice-card:hover .practice-icon::after {
opacity: 1;
}

/* Custom CSS Icons */
.practice-icon > div {
width: 28px;
height: 28px;
position: relative;
}

/* Lightbulb Icon */
.icon-lightbulb {
background: #fff;
border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.icon-lightbulb::before {
content: '';
position: absolute;
bottom: -8px;
left: 6px;
width: 16px;
height: 4px;
background: #fff;
border-radius: 2px;
}
.icon-lightbulb::after {
content: '';
position: absolute;
bottom: -14px;
left: 8px;
width: 12px;
height: 2px;
background: #fff;
border-radius: 1px;
}

/* Briefcase Icon */
.icon-briefcase {
background: #fff;
border-radius: 4px;
}
.icon-briefcase::before {
content: '';
position: absolute;
top: -6px;
left: 6px;
width: 16px;
height: 6px;
background: #fff;
border-radius: 4px 4px 0 0;
}
.icon-briefcase::after {
content: '';
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
width: 12px;
height: 2px;
background: #2563eb;
}

/* Building Icon */
.icon-building {
background: #fff;
border-radius: 2px;
}
.icon-building::before {
content: '';
position: absolute;
top: 4px;
left: 4px;
width: 4px;
height: 4px;
background: #2563eb;
border-radius: 1px;
box-shadow: 8px 0 0 #2563eb, 0 8px 0 #2563eb, 8px 8px 0 #2563eb, 0 16px 0 #2563eb, 8px 16px 0 #2563eb;
}

/* Passport Icon */
.icon-passport {
background: #fff;
border-radius: 4px;
border: 2px solid #fff;
}
.icon-passport::before {
content: '';
position: absolute;
top: 6px;
left: 50%;
transform: translateX(-50%);
width: 8px;
height: 8px;
background: #2563eb;
border-radius: 50%;
}
.icon-passport::after {
content: '';
position: absolute;
bottom: 6px;
left: 4px;
width: 20px;
height: 2px;
background: #2563eb;
box-shadow: 0 4px 0 #2563eb;
}

/* Sports Icon */
.icon-sports {
background: #fff;
border-radius: 50%;
}
.icon-sports::before {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 22px;
height: 22px;
border: 2px solid #2563eb;
border-radius: 50%;
border-style: dashed;
}

/* Network Icon */
.icon-network::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 6px;
height: 6px;
background: #fff;
border-radius: 50%;
box-shadow: -10px -8px 0 #fff, 10px -8px 0 #fff, -10px 8px 0 #fff, 10px 8px 0 #fff;
}
.icon-network::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 20px;
height: 2px;
background: #fff;
box-shadow: 0 -8px 0 #fff, 0 8px 0 #fff;
}

/* Tax Icon */
.icon-tax {
background: #fff;
border-radius: 4px;
}
.icon-tax::before {
content: '$';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #2563eb;
font-weight: bold;
font-size: 20px;
}

/* Media Icon */
.icon-media {
background: #fff;
border-radius: 4px;
}
.icon-media::before {
content: '';
position: absolute;
top: 6px;
left: 8px;
width: 0;
height: 0;
border-left: 12px solid #2563eb;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
}

/* Gavel Icon */
.icon-gavel::before {
content: '';
position: absolute;
top: 8px;
left: 4px;
width: 12px;
height: 4px;
background: #fff;
border-radius: 2px;
transform: rotate(45deg);
}
.icon-gavel::after {
content: '';
position: absolute;
bottom: 4px;
right: 4px;
width: 8px;
height: 12px;
background: #fff;
border-radius: 2px;
transform: rotate(45deg);
}

/* Family Icon */
.icon-family::before {
content: '';
position: absolute;
top: 4px;
left: 4px;
width: 6px;
height: 6px;
background: #fff;
border-radius: 50%;
box-shadow: 14px 0 0 #fff;
}
.icon-family::after {
content: '';
position: absolute;
bottom: 4px;
left: 2px;
width: 8px;
height: 12px;
background: #fff;
border-radius: 4px 4px 2px 2px;
box-shadow: 14px 0 0 #fff;
}

.practice-content h4 {
font-size: 1.4rem;
font-weight: 600;
color: #1a365d;
margin-bottom: 12px;
line-height: 1.3;
}

.practice-content p {
font-size: 1rem;
color: #64748b;
line-height: 1.6;
margin-bottom: 20px;
}

.practice-link {
display: inline-flex;
align-items: center;
gap: 8px;
color: #2563eb;
text-decoration: none;
font-weight: 500;
font-size: 0.95rem;
transition: all 0.3s ease;
position: relative;
}

.practice-link::before {
content: '';
position: absolute;
bottom: -2px;
left: 0;
right: 0;
height: 2px;
background: #027f38;
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}

.practice-link:hover {
color: #1e40af;
transform: translateX(4px);
}

.practice-link:hover::before {
transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 768px) {
#practice-area {
padding: 60px 0;
}

.practice-grid {
grid-template-columns: 1fr;
gap: 20px;
}

.section-header h2 {
font-size: 2rem;
}

.practice-card {
padding: 24px 20px;
}

.practice-icon {
width: 60px;
height: 60px;
}
}

@media (max-width: 480px) {
.container {
padding: 0 16px;
}

.section-header h2 {
font-size: 1.75rem;
}

.practice-content h4 {
font-size: 1.2rem;
}
}
