/* Variables & Reset */
:root {
    --primary-color: #2c5234;
    --primary-light: #3a6b44;
    --secondary-color: #83b735;
    --bg-color: #fdfbf7;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }

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

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 82, 52, 0.3);
}

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

.btn-secondary:hover {
    background-color: #72a32c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(131, 183, 53, 0.3);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    font-family: var(--font-main);
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.home-page .header {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
}

.home-page .header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
}

.home-page .header:not(.scrolled) .nav > ul > li > a,
.home-page .header:not(.scrolled) .mobile-menu-btn {
    color: var(--primary-color);
}

.home-page .header:not(.scrolled) .nav > ul > li > a::after {
    background-color: var(--primary-color);
}

.home-page .header:not(.scrolled) .nav > ul > li > a:hover,
.home-page .header:not(.scrolled) .nav > ul > li > a.active {
    color: var(--primary-color);
}

.home-page .header:not(.scrolled) .dropdown > a i {
    color: var(--primary-color);
}

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

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav > ul {
    display: flex;
    gap: 25px;
}

.nav > ul > li > a {
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
}

.nav > ul > li > a:hover, .nav > ul > li > a.active {
    color: var(--secondary-color);
}

.nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav > ul > li > a:hover::after, .nav > ul > li > a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 1000;
    border-radius: 5px;
    padding: 10px 0;
    flex-direction: column;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: slideUp 0.3s ease;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background: #f7f9f6;
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero */
.hero {
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(253, 251, 247, 0.9) 0%, rgba(253, 251, 247, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 18px;
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 8px solid var(--bg-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
    font-weight: 500;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-feature i {
    color: var(--secondary-color);
}

/* Services */
.bg-light {
    background-color: #f7f9f6;
}

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

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    opacity: 0.2;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    opacity: 0.2;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.cta .btn-secondary {
    background-color: #25D366; /* WhatsApp color */
}

/* Footer */
.footer {
    background-color: #1a3320;
    color: rgba(255,255,255,0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--white);
    font-family: var(--font-main);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-col ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 3px;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: transform, opacity;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.slide-up { transform: translateY(50px); }
.fade-in-left { transform: translateX(-50px); }
.fade-in-right { transform: translateX(50px); }
.zoom-in { transform: scale(0.9); }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 42px; }
    .about-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Vedaaranyam Specific Animations */
@keyframes heroBgZoom {
    0% { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeUpReveal {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero {
    overflow: hidden;
    position: relative;
}

.hero-bg-animated {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    animation: heroBgZoom 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 0;
}

.veda-animate-title {
    animation: fadeUpReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    opacity: 0;
}

.veda-animate-subtitle {
    animation: fadeUpReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
    opacity: 0;
}

.veda-animate-features {
    animation: fadeUpReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
    opacity: 0;
}

.veda-animate-btn {
    animation: fadeUpReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 20px;
    }
    .nav.active { display: block; }
    .nav ul { flex-direction: column; gap: 15px; }
    .header-contact { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-title { font-size: 36px; }
    .about-features { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Floating WhatsApp Button (All Pages) */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 2000;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.55);
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
    box-shadow: 0 16px 35px rgba(0,0,0,0.22);
}

.whatsapp-float:focus {
    outline: none;
}

.whatsapp-float:focus-visible {
    box-shadow: 0 0 0 4px rgba(131, 183, 53, 0.25), 0 16px 35px rgba(0,0,0,0.22);
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}
