:root {
    --primary-color: #f4c430;
    --secondary-color: #1a3a3a;
    --dark-teal: #0f2a2a;
    --text-light: #ffffff;
    --text-muted: #888;
    --accent-orange: #ff6b35;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Top Header */
.top-header {
    background: var(--dark-teal);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 14px;
}

.top-header .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-header .social-links {
    display: flex;
    gap: 15px;
}

.text-justify{
    text-align: justify;
    padding: 0;
    margin: 0;
}
.footersocial{
    margin-top: 0rem !important;

}
.iconsp:hover{
    color: black;
    background-color: #f4c430;
}
.iconsp{
    padding: 5px;
}

.top-header .social-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.top-header .social-links a:hover {
    color: var(--primary-color);
    background: rgba(244, 196, 48, 0.2);
}

/* Main Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.call-info {
    background: #05bd64;
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 0 0 0 30px;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 80px;
    z-index: 0; /* Ensure it's at base layer */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: #05bd64 100%;
    clip-path: polygon(0 0, 70% 0, 45% 100%, 0% 100%);
    z-index: 0; /* Lower than content */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0; /* Lower than content */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.discover-btn {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.discover-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s;
    z-index: -1;
}

.discover-btn:hover::before {
    left: 0;
}

.discover-btn:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-image {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-image img {
    width: 250px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 50px;
    right: 50px;
    left: auto;
    width: auto;
    margin: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s;
}

.carousel-indicators button.active {
    background: var(--primary-color);
    transform: scale(1.2);
}


/* About Section */
.about-section {
    position: relative; /* Ensure it's in stacking context */
    z-index: 1; /* Above background pseudo-elements */
    background: var(--light-bg);
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: white;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.portfolio-filter {
    text-align: center;
    margin-bottom: 25px;
    
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: black;
    padding: 10px 25px;
    margin: 0 10px;
    border-radius: 25px;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 20px;
}

.filter-btn.active,
.filter-btn:hover {
    background: #00984A;
    color: white;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 58, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-content {
    text-align: center;
    color: white;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: white;
}

/* client Section */
.client-section {
    padding: 100px 5px;
    background: white;
}

.client-card img {
    width: 100%;
    height: 150px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 100%;
    height: 350px;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-role {
    color: blue;
    margin-bottom: 15px;
    text-decoration: none;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--light-bg);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--secondary-color);
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 20px;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.stat-item {
    text-align: center;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-teal);
    color: white;
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section::before {
        width: 80%;
        clip-path: polygon(0 0, 80% 0, 60% 100%, 0% 100%);
    }

    .top-header .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .call-info {
        border-radius: 0;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .main-nav {
        top: 0;
    }

    .hero-section {
        margin-top: 0;
    }

    .hero-image {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 70vh;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(244, 196, 48, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}