/* 1. RESET & BODY SETTINGS */

/* TOP MENU*/
body {
	font-family:Poppins, sans-serif;
}
body.menu-open {
    overflow: hidden; /* Prevents background scrolling when menu is active */
}

#top-menu {
  list-style:none;
}

#top-menu a {
  color: white;
  font-size: clamp(3rem, 10vw, 4rem);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 2px;
}

/* 1. Reset main nav structure */
.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.nav-links > li {
    width: 100%;
    margin-bottom: 15px;
}

/* 2. The Drawer Logic (The Fix) */
.services-mega-grid {
    display: grid;
    grid-template-rows: 0fr; /* Starts closed */
    transition: grid-template-rows 0.5s ease-in-out;
    overflow: hidden;
}

/* When the parent is hovered, open the drawer */
.has-services:hover .services-mega-grid {
    grid-template-rows: 1fr; /* Slides open to full height */
}

/* This inner wrapper is required for the grid-row trick to work */
.grid-inner {
    min-height: 0;
    display: flex;
    gap: 40px;
    
}

/* 3. Column Styling */
.services-column {
    display: flex;
    flex-direction: column;
}



.services-column a:hover {
    color: #155724; /* Darker green text for contrast on hover */
}

.services-column a:hover::before {
    transform: scaleX(1); /* Expand to full width */
}

/* Shadow class adjustment if needed */
.services-column a.shadow {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	border-radius:2px;
}
.services-column a {
   
	border-radius:10px;
}
.about-page-list {
	line-height: 2;
    padding: 0px;
    margin: 0px;
    font-weight: 500;
    font-size: 20px;
}
.services-column a {
	position:relative;
    font-size: 1.2rem !important;
    background:#fff!important;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: normal!important;
	padding:10px;
	border:1px solid #fff;
	color:#000!important;
	box-shadow: 0px 0px 10px 2px #ccc;
	transition: color 0.3s ease;
    z-index: 1;
    overflow: hidden;
}
.services-column a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d4edda; /* Your Light Green Color */
    z-index: -1; /* Sits behind the text */
    
    /* Animation Logic: Start hidden at the left */
    transform: scaleX(0);
    transform-origin: left; 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-sparkle-ready {
    background: transparent;
    border: 2px solid #198754; /* Your Opal Green */
    color: #198754;
    padding: 10px 30px;
    border-radius: 0; /* Sharp corners look more premium here */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    transition: all 0.4s ease;
}

.btn-sparkle-ready:hover {
    background: #198754;
    color: #fff;
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.2);
}

.sparkle-text {
    font-weight: 800;
    font-size: 2rem;
    
    /* Create a gradient background with a "sparkle" in the middle */
    background: linear-gradient(
        to left, 
        #111 20%, 
        #198754 40%, 
        #fff 50%, 
        #198754 60%, 
        #111 80%
    );
    background-size: 200% auto;
    
    /* Clip the background to the text */
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Run the sparkle animation */
    animation: shine 3s linear infinite;
}

@keyframes shine {
    /* To move left-to-right, we start at 200% 
       and move to 0% 
    */
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: 0% center;
    }
}

.btn-glow-pulse {
    background-color: #198754;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* The Animated Halo */
.btn-glow-pulse::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #198754;
    border-radius: inherit; /* Matches button shape */
    z-index: -1;
    opacity: 0.6;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.15, 1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.btn-glow-pulse:hover {
    background-color: #1ea969;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.4);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    /* 1. Make the inner container stack vertically */
    .grid-inner {
        flex-direction: column; 
        gap: 15px; /* Smaller gap for mobile */
        padding-left: 20px; /* Indent them slightly under the word SERVICES */
        align-items: flex-start;
    }

    /* 2. Adjust the font size so they don't look huge on a small screen */
    .services-column a {
        font-size: 1rem !important;
        margin-bottom: 5px;
        white-space: normal; /* Allow text to wrap if the name is long */
    }

    /* 3. Center the main links if they aren't already */
    .nav-links {
        align-items: center; /* Or flex-start if you prefer left-aligned */
        text-align: center;
    }

    /* 4. Ensure the columns themselves take full width */
    .services-column {
        width: 100%;
        text-align: left; /* Keep service names left-aligned for readability */
    }
	.services-column a {
		font-size: 1.2rem !important;
		background:#fff!important;
		margin-bottom: 10px;
		text-transform: uppercase;
		font-weight: normal!important;
		transition: 0.3s;
		padding:10px;
		border:1px solid #fff;
		color:#000!important;
		box-shadow: 0px 0px 10px 2px #ccc;
		margin-bottom:10px;
	}
	
	.grid-inner {
		min-height: 0;
		display: flex;
		gap: 0px;
		
	}
	
}



.font-weight-700 {
	font-weight:700
}
.menu-toggle {
    
    top: 30px;
    right: 30px;
    z-index: 1100; /* Must stay above the overlay */
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
}

.menu-toggle .line {
    display: block;
    width: 32px;
    height: 2px;
    background-color: #2d7a44; /* Initial color */
    transition: all 0.3s ease;
}


.full-screen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #2d7a44; /* Dark minimalist background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;


    clip-path: circle(0% at 95% 5%);
    

    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1), 
                visibility 0s linear 0.8s;
    visibility: hidden;
}

/* 4. ACTIVE STATE (OPEN) */
.full-screen-menu.active {
    clip-path: circle(150% at 95% 5%);
    visibility: visible;
    /* Remove visibility delay when opening so it appears instantly */
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1), 
                visibility 0s linear 0s;
}

.close-menu {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.close-menu:hover {
  transform: rotate(90deg);
}

.full-screen-menu:not(.active) .nav-links li {
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.3s;
}
.toplogo {
	width:120px;
}
/* TOP MENU */

/* About Us Section */
.about-us h6 {
	text-transform: uppercase;
}
.about-us h2 {
	text-transform: uppercase;
	font-size:50px;
}
.about-us-sparkle {
	width:50px;
}
.sparkle-spin {
    /* 1s for a full spin and blink. Use 'linear' for a smooth constant spin */
    animation: rotate-blink 2s linear infinite;
    display: inline-block; /* Required for rotation to work on icons */
}

@keyframes rotate-blink {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    50% {
        /* Halfway through, it's rotated 180 and dimmed */
        opacity: 0.1;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}
.home-about-para {
    line-height: 1.8;
    padding: 0px;
    margin: 0px;
    font-weight: 500;
    font-size: 20px;
}
.home-about-image-left {
    width: 400px;
}  
/* About Us Section */


/* Slider */
.opal-window {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.opal-track {
    display: flex;
    gap: 40px;
    /* This calculation centers the 2nd slide in the DOM: 
       (100% - slideWidth%) / 2 - (offset for the first slide) */
    transform: translateX(calc(12.5% - 75% - 40px)); 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.opal-slide {
    flex: 0 0 75%; 
    opacity: 0.2;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.opal-slide.active {
    opacity: 1;
    transform: scale(1);
}

.opal-pill {
    border-radius: 2000px; /* Ensures maximum "stadium" roundness */
}

.opal-pill {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 1000px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(25, 135, 84, 0.2); /* Opal Green tint */
}

.opal-pill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opal-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: rgba(255, 193, 7, 0.8); /* Gold Sparkle */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
}

.opal-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid #198754;
    background: #fff;
    color: #198754;
    transition: 0.3s;
}

.opal-btn:hover {
    background: #198754;
    color: #fff;
}
/* Slider */

/* Blog */
.vdo-container {
	position: absolute;
	top: 0px;
	width: 100%;
}
.home-blog-readmore {
    text-align: right;
}
.home-blog-readmore a {
    text-decoration: none;
    color: #2d7a44;
    font-weight: 600;
}
/* Blog */	

/* Home Contact Section */
.home-contact-section {
	padding:50px;
	background:#2d7a44;
}
/* Home Contact Section */

.opal-cta-button {
    transition: all 0.3s ease;
    cursor: pointer;
}

.opal-cta-button:hover {
    transform: scale(1.02);
}

.opal-hidden {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.opal-visible {
    opacity: 1;
    transform: scale(1);
}

/* The infinite sparkle pulse */
.opal-pulse-effect img {
    animation: opal-glint 1s ease-in-out;
}


.gemstone-starfield {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; /* User can click 'through' the stars to the button */
}

.gem-star {
    position: absolute;
    opacity: 0;
    filter: brightness(0.8);
    animation: gemGlow 4s infinite ease-in-out;
}

/* Stagger the animations so they aren't all blinking together */
.gem-star:nth-child(1) { animation-delay: 0.5s; }
.gem-star:nth-child(2) { animation-delay: 1.2s; }
.gem-star:nth-child(3) { animation-delay: 2.5s; }
.gem-star:nth-child(4) { animation-delay: 0.8s; }
.gem-star:nth-child(5) { animation-delay: 3.1s; }

@keyframes gemGlow {
    0%, 100% { 
        opacity: 0.2; 
        transform: scale(0.8) rotate(0deg); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.2) rotate(15deg); 
        filter: brightness(1.5) drop-shadow(0 0 10px rgba(255,193,7,0.5));
    }
}

.z-index-2 { z-index: 2; }

/* Existing typing styles */
#opalTypewriter { min-height: 1.2em; }

@keyframes opal-glint {
    0% { transform: scale(1) rotate(0deg); filter: brightness(1); }
    50% { transform: scale(1.3) rotate(20deg); filter: brightness(1.5) drop-shadow(0 0 10px #ffc107); }
    100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
}

/* Authentic Cursor */
#opalTypewriter::after {
    content: "";
    border-right: 3px solid #ffc107;
    margin-left: 5px;
    animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {
    50% { border-color: transparent; }
}

.opal-starfield-cta {
    /* Adding the Gradient Shift from before for extra motion */
    background: linear-gradient(-45deg, #0a4d29, #198754, #26302b);
    background-size: 400% 400%;
    animation: opalGradientShift 15s ease infinite;
    min-height: 200px;
}

.gemstone-starfield {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}

.gem-star {
    position: absolute;
    opacity: 0;
    /* mix-blend-mode makes the gold blend into the green beautifully */
    mix-blend-mode: screen; 
    animation: gemGlow infinite ease-in-out;
}

/* Depth Effect: Small stars are slightly blurred */
.gem-star[style*="width: 8"], 
.gem-star[style*="width: 9"], 
.gem-star[style*="width: 10"] {
    filter: blur(1px) brightness(0.7);
}

@keyframes gemGlow {
    0%, 100% { 
        opacity: 0.1; 
        transform: scale(0.7); 
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.1); 
        filter: brightness(1.3) drop-shadow(0 0 8px rgba(255,193,7,0.6));
    }
}

@keyframes opalGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.opal-cta-button:hover {
    transform: scale(1.02);
}

/* 1. Base Text Style */
#opalTypewriter {
    color: #ffffff;
    transition: all 0.3s ease; /* Smooth transition for hover */
    display: inline-block;
}

/* 2. Hover Effect: Triggered when hovering over the link/button area */
.opal-cta-link:hover #opalTypewriter {
    color: #ffc107 !important; /* Shifts text to Opal Gold */
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.8); /* Adds a "Sparkle" glow */
    transform: translateY(-3px); /* Subtle lift */
}

/* 3. Hover Effect: Make the gemstone pulse faster on hover */
.opal-cta-link:hover .about-us-sparkle {
    transform: scale(1.3) rotate(20deg);
    filter: brightness(1.5) drop-shadow(0 0 10px #ffc107);
}

/* 4. Ensure the container has the right class */
.opal-cta-link {
    text-decoration: none !important;
    display: block;
    width: 100%;
}

.bg-black {
	background:black;	
}

/* Footer */
.footer-nav li a
 {
    text-decoration: none;
    color: #fff;
}
.copyright {
        color: #fff;
        text-align: left;
}
/* Footer */

.close-btn-video {
	right: 10px;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    bottom: -20px;
}
}

.btn-opal-flip-glow {
    /* 1. Base State (The Flip Start) */
    background: #111; /* Dark start */
    color: white !important;
    border: 2px solid #111;
    
    display: inline-block;
    padding: 12px 35px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.btn-opal-flip-glow:hover {
    /* 2. The Flip (Background and Text swap) */
    background: #198754; /* Changes to Opal Green */
    border-color: #198754;
    color: #fff !important; /* Keep white or change to #111 if you want more contrast */

    /* 3. The Border Glow Effect */
    /* Layer 1: Sharp neon border / Layer 2: Soft atmospheric glow */
    box-shadow: 0 0 12px rgba(25, 135, 84, 0.9), 
                0 0 25px rgba(25, 135, 84, 0.5);

    /* 4. Subtle Lift */
    transform: translateY(-3px);
}

.no-bullets {
    list-style-type: none;
    margin: 0px 0px 0px 20px;
    padding: 0;
}

.no-bullets li {
    position: relative;
    padding-bottom: 10px;
}

.no-bullets li::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 5px;
	width: 40px; 
    height: 40px;
	
	background-image: url(../img/sparklegolden.svg);
    background-size: contain; /* Ensures the SVG scales to fit your width/height */
    background-repeat: no-repeat;
}