/* Global Styles */
:root {
    --primary-color: #d5b980; /* Gold/beige from logo */
    --secondary-color: #2c4c43; /* Darker shade of green */
    --dark-color: #1e352d; /* Dark green from logo */
    --light-color: rgba(245, 245, 245, 0.7); /* Semi-transparent light color */
    --gray-color: #777;
    --hover-color: #c5a86e; /* Slightly darker gold for hover effects */
    --transition: all 0.3s ease;
    --ring-glow: 0 0 5px rgba(213, 185, 128, 0.3); /* Glow effect for rings */
    --ring-glow-strong: 0 0 10px rgba(213, 185, 128, 0.5); /* Stronger glow for center */
}

* {
    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;
    background-color: var(--dark-color); /* Changed to dark color for better contrast with rings */
    position: relative; /* For fixed elements positioning */
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    padding-bottom: 0; /* Removed extra padding */
}

/* Removed extra space after content */

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5; /* Ensure content is above background elements */
}

section {
    padding: 48px 0 56px 0;
    position: relative;
    z-index: 10; /* Increased z-index to ensure content is above the rings */
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--hover-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 8px;
    color: #fff; /* Changed to white for better visibility */
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Added text shadow for better readability */
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    color: #fff; /* Changed to white for better visibility */
    font-size: 19px;
    margin-top: 18px;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Added text shadow for better readability */
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(30, 53, 45, 0.7); /* Semi-transparent dark green */
    backdrop-filter: blur(5px); /* Add blur effect for modern browsers */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.logo a {
    display: block;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: normal; /* Changed from multiply for PNG */
}

.logo h1, .footer-logo h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.logo h1 span, .footer-logo h2 span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    color: #fff;
}

nav ul li a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:before {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(30, 53, 45, 0.7), rgba(30, 53, 45, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    position: relative; /* Ensure proper stacking context */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 5; /* Ensure content is above background elements */
    opacity: 1 !important; /* Force visibility */
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Section */
#services {
    background-color: transparent; /* Changed from solid color to transparent */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(5px); /* Add blur effect for modern browsers */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.service-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s cubic-bezier(.4,1.5,.5,1);
}
.service-card-link:hover .service-card,
.service-card-link:focus .service-card {
    transform: scale(1.06) translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.10);
    z-index: 2;
}

/* About Section */
#about {
    background-color: rgba(30, 53, 45, 0.7); /* Semi-transparent dark green */
    color: #fff;
}

#about .section-header h2 {
    color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.about-text {
    max-width: 800px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Added text shadow for better readability */
    line-height: 1.7; /* Improved line height for readability */
}

.company-values {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
}

.value {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.value i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.value p {
    color: #ddd;
}

/* Vision Section */
#vision {
    background-color: transparent; /* Changed from solid color to transparent */
}

.vision-content {
    display: flex;
    justify-content: center;
}

.vision-text {
    max-width: 800px;
    text-align: center;
}

.vision-text p {
    font-size: 17px;
    color: #fff; /* Changed to white for better visibility */
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Added text shadow for better readability */
    line-height: 1.7; /* Improved line height for readability */
}

.vision-points {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.vision-point {
    flex: 1;
    min-width: 250px;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(5px); /* Add blur effect for modern browsers */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border-bottom: 3px solid transparent;
}

.vision-point:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.vision-point i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.vision-point h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-shadow: none;
}

.vision-point p {
    font-size: 15px;
    margin-bottom: 0;
    color: var(--gray-color);
    text-shadow: none;
}

.coming-soon {
    padding: 40px;
    border-radius: 8px;
    background-color: rgba(30, 53, 45, 0.6); /* More transparent dark green */
    backdrop-filter: blur(10px); /* Add blur effect for glass look */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coming-soon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
}

.coming-soon h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.coming-soon p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 0;
}

/* Contact Section */
#contact {
    background-color: transparent; /* Changed from solid color to transparent */
    padding-bottom: 40px; /* Reduced padding at bottom */
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form,
.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(5px); /* Add blur effect for modern browsers */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.contact-form form:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    background-color: rgba(30, 53, 45, 0.8); /* Semi-transparent dark green */
    backdrop-filter: blur(5px); /* Add blur effect for modern browsers */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.contact-info:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-item i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.info-item p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: transparent; /* Changed to transparent to match Contact section */
    backdrop-filter: blur(5px); /* Reduced blur to match other sections */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    color: #fff;
    padding: 60px 0 10px; /* Reduced bottom padding */
    position: relative;
    z-index: 1; /* Lower z-index to allow rings to show through */
    border-top: none; /* Removed the border line */
    box-shadow: none; /* Removed the shadow */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-container {
    margin-bottom: 10px;
}

.footer-logo .logo-image {
    width: 30px;
    height: 30px;
}

.footer-logo p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Added text shadow for better visibility */
}

.footer-links {
    display: flex;
    justify-content: center;
}

.footer-menu {
    min-width: 120px;
}

.footer-menu h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-menu h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-menu ul li {
    margin-bottom: 10px;
}

.footer-menu ul li a {
    color: #fff;
    transition: var(--transition);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Added text shadow for better visibility */
}

.footer-menu ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Reduced opacity of border */
}

.footer-bottom p {
    color: #fff;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Added text shadow for better visibility */
}

/* Footer Services Bubble Dock Effect */
.services-footer-menu {
    position: relative;
    display: inline-block;
    margin-left: 40px;
}
.footer-services-list {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 0;
    margin: 0;
    position: relative;
    transition: all 0.2s;
}
.footer-services-list li {
    list-style: none;
    margin: 0;
    transition: transform 0.2s cubic-bezier(.4,1.5,.5,1);
    will-change: transform;
    opacity: 1;
}
.footer-services-list li a {
    display: block;
    padding: 10px 18px;
    border-radius: 18px;
    background: #fff;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: all 0.2s cubic-bezier(.4,1.5,.5,1);
    text-align: center;
    min-width: 120px;
    text-decoration: none;
}
.footer-services-list li:hover,
.footer-services-list li:focus-within {
    transform: scale(1.18) translateY(-10px);
    z-index: 2;
}
.footer-services-list li:hover a,
.footer-services-list li:focus-within a {
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
@media (max-width: 768px) {
    .footer-services-list {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-services-list li a {
        min-width: 0;
        width: 100%;
        margin-bottom: 6px;
    }
}
.footer-services-popover-trigger {
    position: relative;
    cursor: pointer;
    display: inline-block;
    z-index: 2;
}
.popover-arrow {
    display: inline-block;
    margin-left: 8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid var(--primary-color);
    vertical-align: middle;
    transition: transform 0.2s;
}
.services-footer-menu:hover .popover-arrow,
.services-footer-menu:focus-within .popover-arrow {
    transform: rotate(-180deg);
}
.footer-services-popover {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 50%;
    bottom: 120%;
    transform: translateX(-50%);
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    padding: 10px 0 10px 0;
    z-index: 10;
    animation: popover-fade-in 0.18s cubic-bezier(.4,1.5,.5,1);
}
.footer-services-popover:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #fff;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08));
}
.services-footer-menu:hover .footer-services-popover,
.services-footer-menu:focus-within .footer-services-popover {
    display: flex;
}
.footer-services-popover li {
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.16s cubic-bezier(.4,1.5,.5,1);
}
.footer-services-popover li a {
    display: block;
    padding: 10px 22px;
    border-radius: 8px;
    background: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    text-decoration: none;
    transition: background 0.16s, color 0.16s, transform 0.16s;
}
.footer-services-popover li a:hover,
.footer-services-popover li a:focus {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: scale(1.06) translateX(6px);
}
@keyframes popover-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .footer-services-popover {
        left: 0;
        right: auto;
        min-width: 140px;
        padding: 6px 0;
        transform: none;
    }
    .footer-services-popover li a {
        font-size: 14px;
        padding: 8px 14px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .service-card {
        padding: 20px 15px;
    }
    
    section {
        padding: 36px 0 44px 0;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }

    .vision-point {
        padding: 25px 15px;
    }
    .section-header h2 {
        font-size: 30px;
    }
    .section-header h2:after {
        width: 60px;
        height: 3px;
        bottom: -6px;
    }
    .section-header p {
        font-size: 17px;
        margin-top: 14px;
    }
}

@media screen and (max-width: 768px) {
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    nav.active {
        max-height: 300px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 0;
        padding: 10px 20px;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content,
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .vision-points {
        flex-direction: column;
    }
    
    .coming-soon {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 30px;
    }
    
    .service-card {
        padding: 15px 10px;
    }
    
    .company-values {
        flex-direction: column;
    }
    
    section {
        padding: 24px 0 32px 0;
    }
    .section-header h2 {
        font-size: 22px;
    }
    .section-header h2:after {
        width: 36px;
        height: 2px;
        bottom: -4px;
    }
    .section-header p {
        font-size: 15px;
        margin-top: 10px;
    }
}

.footer-menu ul li a .popover-arrow {
    display: inline-block;
    margin-left: 4px;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid var(--primary-color);
    vertical-align: middle;
    transition: transform 0.2s;
}

.footer-menu ul li a:hover .popover-arrow {
    transform: rotate(-180deg);
}

/* Service Detail Pages */
.service-detail-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.service-detail-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-detail-list {
    margin-bottom: 30px;
    padding-left: 20px;
    list-style-type: disc;
}

.service-detail-list li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 5px;
}

.service-detail-list li::marker {
    color: var(--primary-color);
    font-size: 1.2em;
}

.service-detail-list li strong {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Add padding to the top of section in service detail pages */
.service-page section {
    padding-top: 120px;  /* Account for fixed header */
}

/* SVG styling for better visibility */
svg circle {
    filter: drop-shadow(var(--ring-glow));
}

/* Progressive Ring Styles */
.progressive-ring {
    filter: drop-shadow(var(--ring-glow));
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.center-dot, .center-bg {
    filter: drop-shadow(var(--ring-glow-strong));
    transition: transform 0.5s ease, opacity 0.5s ease;
} 