:root {
    --primary: #61aec6;
    --primary-dark: #004d99;
    --secondary: #1e3b59;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --dark-blue: #003366;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 72px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.lead {
    font-weight: 400;
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 51, 102, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 80px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    left: 15px;
    bottom: 0;
    width: calc(100% - 30px);
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 600px;
    background: url('../images/school1.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(0, 102, 204, 0.6) 100%);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 10px;
    /* overflow: hidden; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: -40px auto 20px;
    position: relative;
    z-index: 1;
}

.service-card:hover .card-icon {
    background: var(--secondary);
}

/* Survey Visualization */
.survey-visualization {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.point-cloud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/point-cloud.png') center center;
    opacity: 0.3;
    pointer-events: none;
}

/* CAD Services */
.cad-feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.cad-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cad-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.cad-feature:hover .cad-icon {
    background: var(--secondary);
}

.software-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.software-logos img {
    height: 40px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.software-logos img:hover {
    opacity: 1;
}

/* Design Services */
.design-services-list {
    list-style: none;
    padding: 0;
}

.design-services-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.design-services-list li i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 5px;
}

.design-visualization {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bim-overlay.png') center center;
    opacity: 0.2;
    pointer-events: none;
}

/* Projects */
.project-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Technology */
.tech-slider {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-caption {
    background: rgba(0, 51, 102, 0.8);
    padding: 20px;
    border-radius: 5px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.tech-specs {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.spec-item {
    display: flex;
    margin-bottom: 20px;
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.spec-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* About */
.about-image {
    position: relative;
}

.about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.badge-content {
    text-align: center;
}

.badge-number {
    font-size: 1.5rem;
    line-height: 1;
}

.badge-label {
    font-size: 0.8rem;
    margin-top: 5px;
}

.about-stats {
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 102, 204, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 40px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

.author-info h5 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

/* Accreditations */
.accreditation-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accreditation-item img {
    max-height: 60px;
    width: auto;
    /* filter: grayscale(100%); */
    opacity: 0.7;
    transition: all 0.3s ease;
}


.accreditation-item i {
    font-size: 22px;
    margin-right: 8px;
    color:#61aec6;
}

/* .accreditation-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
} */

/* Contact */
.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-form-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.form-floating label {
    color: var(--gray);
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

/* Footer */
footer {
    background: var(--dark-blue);
}

footer h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

footer .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 0 !important;
}

footer .nav-link:hover {
    color: white;
}

footer .nav-link:after {
    display: none;
}

footer address {
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar {
        background-color: var(--dark-blue);
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 65px;
    }
    
    .hero-section {
        min-height: 400px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title:after {
        width: 60px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 65px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .service_item{
        margin-bottom: 40px;
    }
}


/* CSS */
.wave-section {
  position: relative;
  padding-bottom: 150px; /* Adjust based on your wave height */
}

.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw; /* Full viewport width */
  overflow: hidden;
  line-height: 0;
}

.wave-container svg {
  position: relative;
  display: block;
  width: 100%;
  height: 150px; /* Adjust to match your desired wave height */
}

#formAlert {
    transition: all 0.3s ease;
    margin-top: 1rem;
}