@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Baloo+Chettan+2:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.smc.org.in/rachana.css');

:root {
    --primary-color: #a8ed2a;
    /* Updated to user's requested shade */
    --primary-dark: #8bc224;
    --primary-light: #c1f365;
    --secondary-color: #455a64;
    --text-color: #333333;
    --bg-light: #f9fbf9;
    --white: #ffffff;
    --gray-light: #eeeeee;
    --gray-dark: #263238;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

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

body {
    font-family: 'Baloo Chettan 2', 'Rachana', 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Header Styles */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2e7d32;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-text .sub-title {
    font-size: 0.9rem;
    color: #1976d2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.contact-info-header {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.phone-box {
    background: #e3f2fd;
    color: #1976d2;
}

.email-box {
    background: #e8f5e9;
    color: #2e7d32;
}

.contact-details span {
    font-weight: 700;
    color: #37474f;
    font-size: 0.95rem;
}

.email-text {
    word-break: break-all;
}

.header-accent-bar {
    height: 40px;
    background: #1e88e5;
    /* Primary accent blue from image */
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 700;
    color: #546e7a;
    font-size: 1rem;
    padding: 5px 0;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #1976d2;
    border-bottom-color: #1976d2;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), #a8ed2a;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    margin-bottom: 15px;
    line-height: 1.3;
    max-width: 100%;
    word-wrap: break-word;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

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

.text-primary {
    color: var(--primary-color);
}

.text-link {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

.logo-icon {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
    flex-shrink: 0;
}

/* Testimonials */
.testimonials {
    background: var(--gray-light);
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer */
.main-footer {
    background: #1a232e;
    /* Deeper professional blue-dark */
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(168, 237, 42, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.branding-col .logo-text-footer {
    display: flex;
    flex-direction: column;
}

.branding-col .main-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.branding-col .sub-title {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.footer-desc {
    margin-top: 20px;
    color: #b0bec5 !important;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

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

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

.footer-col h4 {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #b0bec5;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #b0bec5;
}

.contact-list i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #90a4ae;
}

/* Detail Sections */
.service-detail {
    padding: 60px 0;
}

.detail-img {
    transition: var(--transition);
}

.detail-img:hover {
    transform: scale(1.05);
}

/* Animations & Scroll Reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.reveal.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Staggered entrance for cards */
.service-card.reveal,
.footer-col.reveal {
    transition-delay: 0.1s;
}

.gallery-item.reveal {
    transform: scale(0.95) translateY(30px) !important;
}

.gallery-item.reveal.visible {
    transform: scale(1) translateY(0) !important;
}

/* Hero Entrance Animation */
.hero-content {
    opacity: 0;
    transform: translateY(50px);
    animation: heroEntrance 1.5s forwards 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes heroEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Parallax Support */
.hero {
    background-attachment: fixed;
    /* Fallback */
    transition: background-position 0.1s ease-out;
}