/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* CSS Variables */
:root {
    --kerala-green: #2d5016;
    --kerala-gold: #FFD700;
    --earth-brown: #8B4513;
    --text-gray: #6b7280;
    --light-gray: #f9fafb;
    --white: #ffffff;
    --black: #000000;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.hidden {
    display: none;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 50;
    box-shadow: 0 10px 40px rgba(45, 80, 22, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    height: 1.5rem;
    width: 1.5rem;
    color: var(--kerala-green);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--kerala-green);
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--kerala-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: var(--kerala-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

@media (min-width: 640px) {
    .nav-cta {
        display: flex;
    }
}

.nav-cta:hover {
    background: #1f3a0f;
}

.nav-cta .icon {
    width: 1rem;
    height: 1rem;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    color: var(--kerala-green);
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    border-top: 1px solid #e5e7eb;
    background: var(--white);
}

.mobile-menu-content {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--kerala-green);
}

.mobile-cta {
    display: block;
    padding: 0.75rem;
    background: var(--kerala-green);
    color: var(--white);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-cta:hover {
    background: #1f3a0f;
}

.mobile-cta .icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    display: inline;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.8) 0%, rgba(45, 80, 22, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-highlight {
    display: block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--kerala-gold);
    color: var(--kerala-green);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

.btn-primary .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hover-reveal .normal-text {
    display: inline;
}

.hover-reveal .hover-text {
    display: none;
}

.hover-reveal:hover .normal-text {
    display: none;
}

.hover-reveal:hover .hover-text {
    display: inline;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.hero-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
}

.hero-arrow svg {
    width: 2rem;
    height: 2rem;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25%);
    }
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--kerala-green);
    margin-bottom: 1rem;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: var(--kerala-gold);
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 48rem;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
}

.rounded-image {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--kerala-green);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
}

.expanded-content {
    margin-top: 1rem;
}

.expanded-content p {
    margin-bottom: 1rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--kerala-green);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-top: 1rem;
}

.read-more-btn:hover {
    color: #1f3a0f;
}

.read-more-btn .chevron {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded .chevron {
    transform: rotate(180deg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(45, 80, 22, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--kerala-green);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

/* Services Section */
.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.service-header {
    height: 12rem;
    position: relative;
    overflow: hidden;
}

.gradient-green {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.gradient-amber {
    background: linear-gradient(135deg, #d97706 0%, #eab308 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
}

.gradient-blue {
    background: linear-gradient(135deg, #2563eb 0%, #0d9488 100%);
}

.gradient-green-yellow {
    background: linear-gradient(135deg, #16a34a 0%, #eab308 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
}

.service-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: var(--white);
    font-size: 2.5rem;
}

.service-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.service-title {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
}

.service-content {
    padding: 1.5rem;
}

.service-image {
    margin-bottom: 1rem;
    height: 8rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.service-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--kerala-green);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-toggle:hover {
    color: #1f3a0f;
}

.service-toggle .chevron {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.service-toggle.expanded .chevron {
    transform: rotate(180deg);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.gallery-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: var(--kerala-green);
    color: var(--white);
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.map-section {
    margin-bottom: 2rem;
}

.map-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background: var(--kerala-gold);
    color: var(--kerala-green);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-content p {
    color: #d1d5db;
}

.map-link, .tourism-link {
    color: var(--kerala-gold);
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.map-link:hover, .tourism-link:hover {
    color: #fde047;
}

.icon-small {
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.25rem;
}

.phone-link {
    color: var(--kerala-gold);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #fde047;
}

.tourism-note {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #d1d5db;
}

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

.form-group textarea {
    resize: none;
}

.form-submit {
    width: 100%;
    background: var(--kerala-gold);
    color: var(--kerala-green);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover {
    background: #fde047;
    transform: scale(1.05);
}

.form-submit .icon {
    width: 1rem;
    height: 1rem;
}

/* Footer */
.footer {
    background: #111827;
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    color: var(--kerala-gold);
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--kerala-gold);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-detail {
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.contact-detail .icon-small {
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1000;
    background: var(--kerala-gold);
    color: var(--kerala-green);
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    background: #fde047;
    transform: scale(1.05);
}

.floating-cta .icon {
    width: 1rem;
    height: 1rem;
}

.floating-text {
    display: none;
}

@media (min-width: 640px) {
    .floating-text {
        display: inline;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}