/* Main Styles for Freesia Stay Hotel Website */

/* Base Styles */
:root {
    --primary-color: #3b82f6; /* Bright blue */
    --primary-dark: #2563eb; /* Darker blue for gradients */
    --primary-light: #60a5fa; /* Lighter blue for gradients */
    --secondary-color: #1e3a8a; /* Dark navy */
    --secondary-light: #3b82f6; /* Light blue */
    --light-color: #f9fafb; /* Off-white */
    --dark-color: #111827; /* Near black */
    --accent-color: #25D366; /* Green accent to match phone button */
    --text-color: #fff; /* White text for hero */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); /* Main gradient */
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light)); /* Secondary gradient */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-primary: 'Inter', 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

:root {
  --primary-color: #25D366;    /* Main accent green (WhatsApp green, adjust as needed) */
  --accent-color: #22c15e;     /* Secondary accent green (adjust as needed) */
  --secondary-color: #222;
  --light-color: #fff;
  --dark-color: #111;
  --gradient-primary: linear-gradient(90deg, #25D366 0%, #22c15e 100%);
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-banner {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/exterior-street-view.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 80px;
}

.page-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(0,0,0,0.7) 60%, rgba(34,193,94,0.2) 100%);
    z-index: 1;
}

.page-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner h2,
.page-banner p {
    color: #fff;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 1rem;
    padding: 14px 30px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: var(--accent-color);
}

.btn-primary:active, .btn-primary:focus {
    background-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
    outline: none;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-secondary:hover {
    background-image: var(--gradient-primary);
    color: white;
    border: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(37, 211, 102, 0.2);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(37, 211, 102, 0.2);
}

.btn-secondary::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover::after {
    transform: translateX(4px);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
}

.header.scrolled {
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    backdrop-filter: none;
}

.header.scrolled .nav ul li a {
    color: #222 !important;
}

.header.scrolled .nav ul li a.active,
.header.scrolled .nav ul li a:hover {
    color: var(--accent-color) !important;
}

.header.scrolled .header-phone {
    background: #25D366;
    color: #fff !important;
    border-color: #25D366;
}

.header.scrolled .header-phone i {
    color: #fff !important;
    background: #128C7E;
}

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

.btn-book {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.logo a {
    color: var(--accent-color) !important;
}

/* Business: Always use primary green for logo when navbar is scrolled (white background) */
.header.scrolled .logo h1,
.header.scrolled .logo a {
    color: var(--primary-color) !important;
    text-shadow: 0 2px 8px rgba(37,211,102,0.15);
}

@media (max-width: 768px) {
  .header.scrolled .logo h1,
  .header.scrolled .logo a {
    color: var(--accent-color) !important;
  }
}

.header.scrolled .logo h1,
.header.scrolled .logo a {
    color: var(--primary-color) !important;
    text-shadow: 0 2px 8px rgba(255,255,255,0.25);
}

/* Removed redundant media query for logo color on scroll; handled globally above */

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

.logo a:hover h1 {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.header.scrolled .nav ul li a {
    color: #222 !important;
}


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

.nav ul li a.active {
    font-weight: 600;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 110vh;
    padding-top: 0;
    overflow: hidden;
    background-color: var(--dark-color);
    background-image: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.18) 50%, rgba(0,0,0,0.08) 100%), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
    margin-top: -50px;
}

.hero h2 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    pointer-events: none;
}



/* Features Section */
.features {
    padding: 100px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.features:before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-image: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

.features:after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-image: var(--gradient-secondary);
    opacity: 0.1;
    z-index: 0;
}

.features-content {
    text-align: left;
    margin-bottom: 50px;
    max-width: 800px;
}

.features-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.features-description {
    font-size: 1.1rem;
    color: rgba(17, 24, 39, 0.8);
    line-height: 1.7;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background-image: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.underline {
    height: 4px;
    width: 60px;
    background-image: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

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

.feature-item {
    text-align: left;
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    /* No border-top: accent line handled by :before */
}



.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 15px 0 5px;
}

.feature-highlights li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(17, 24, 39, 0.8);
}

.feature-highlights li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.85rem;
    width: 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 211, 102, 0.12); /* accent green background */
    border-radius: 16px;
    color: var(--accent-color); /* accent green for icon */
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background-color: rgba(37, 211, 102, 0.18); /* slightly more green on hover, not solid */
    color: var(--accent-color); /* always accent green */
    box-shadow: var(--shadow-md);
}



.feature-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color); /* accent green top line */
    z-index: 2;
    transition: height 0.3s ease;
}

.feature-item:hover:before {
    height: 8px;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 2.5rem;
    background-image: none;
    color: var(--accent-color) !important;
    display: inline-block;
}

.feature-item h3 {
    margin-bottom: 15px;
}

/* Rooms Preview Section */
.rooms-preview {
    padding: 100px 0;
    background-color: white;
}

.rooms-content {
    text-align: left;
    margin-bottom: 50px;
    max-width: 800px;
}

.rooms-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.rooms-description {
    font-size: 1.1rem;
    color: rgba(17, 24, 39, 0.8);
    line-height: 1.7;
}

.room-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.room-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.room-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-image: var(--gradient-primary);
    opacity: 0.1;
    transition: height 0.3s ease;
    z-index: 0;
}

.room-card:hover:after {
    height: 100%;
}

.room-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

/* Room Image Carousel Styles */
.room-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    opacity: 0;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 5;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: white;
    color: var(--accent-color);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.carousel-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 12px;
    z-index: 5;
}

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

.room-image .room-img {
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

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

.room-info {
    padding: 25px;
}

.room-info h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.room-features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
}

.room-features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(17, 24, 39, 0.8);
}

.room-features-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9rem;
    width: 20px;
}

.room-price {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.room-price .currency {
    font-size: 0.8em;
    vertical-align: top;
    margin-right: 0.1rem;
}

.room-price .period {
    font-size: 0.6em;
    font-weight: 400;
    color: #777;
    margin-left: 0.2rem;
}

.special-offer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.price-arrow {
    color: #ff6b6b;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.7; }
}

.original-price {
    font-size: 1.2rem;
    font-weight: 500;
    color: #888;
    text-decoration: line-through;
    position: relative;
}

.original-price::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 2px;
    background-color: rgba(255, 68, 68, 0.7);
    left: -5%;
    top: 50%;
    transform: rotate(-8deg);
}

.offer-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #06a940;
    position: relative;
    padding: 0.1rem 0.5rem;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    background-color: rgba(13, 180, 67, 0.08);
    box-shadow: 0 0 0 1px rgba(13, 180, 67, 0.2);
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

.offer-validity {
    font-size: 0.75rem;
    font-weight: 400;
    color: #ff6b6b;
    font-style: italic;
    margin-top: -2px;
    display: flex;
    align-items: center;
}

.offer-validity::before {
    content: '\f017'; /* Clock icon from Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 5px;
    font-size: 0.7rem;
}

.period {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--dark-color);
    opacity: 0.7;
    margin-left: 2px;
}

.room-info p {
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-image: var(--gradient-secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials:before, .testimonials:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.testimonials:before {
    top: -150px;
    right: -50px;
}

.testimonials:after {
    bottom: -150px;
    left: -50px;
}

.testimonials .section-title h2 {
    color: white;
    background-image: none;
}

.testimonials h3 {
    color: white;
}

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

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 16px;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--primary-light);
    margin-bottom: 5px;
    font-weight: 700;
}

/* Blog Section Styles */
.blog-section {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.blog-content {
    text-align: left;
    margin-bottom: 50px;
    max-width: 800px;
}

.blog-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.blog-description {
    font-size: 1.1rem;
    color: rgba(17, 24, 39, 0.8);
    line-height: 1.7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
    z-index: 1;
    min-width: 0; /* Ensures the card can shrink if needed */
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

.blog-card:hover .blog-img {
    transform: scale(1.08);
}

.blog-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(17, 24, 39, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(5px);
}

.blog-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.blog-date {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--dark-color);
    font-weight: 700;
}

.blog-info p {
    color: rgba(17, 24, 39, 0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-text i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

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

.btn-text:hover i {
    transform: translateX(4px);
}

.blog-action {
    text-align: center;
}

/* Wave Divider and Footer Styles */
.wave-divider {
    position: relative;
    width: 100%;
    height: 150px;
    margin-bottom: -7px; /* Ensures no gap between wave and footer */
    z-index: 5; /* Ensure the wave sits above content */
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 -5px 10px rgba(0,0,0,0.1)); /* Subtle shadow for depth */
    transform-origin: bottom;
    animation: waveAnimation 15s ease-in-out infinite alternate; /* Subtle animation */
}

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

.footer {
    background-color: var(--dark-color); /* Change to dark color */
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

/* Removed the straight border since we now have the wave */

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer a {
    color: var(--primary-color);
}

.footer a:hover {
    color: white;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
background-image: var(--gradient-primary);
transform: translateY(-3px) scale(1.1);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.social-chat-btn {
display: inline-flex;
align-items: center;
gap: 10px;
background: #25D366;
color: white !important;
padding: 10px 16px;
border-radius: 50px;
margin-top: 15px;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
font-weight: 600;
font-size: 0.9rem;
}

.social-chat-btn i {
font-size: 1.2rem;
}

.social-chat-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
background: #22c15e;
color: white !important;
}

.header-phone {
display: inline-flex;
align-items: center;
gap: 10px;
background: #fff;
color: #222 !important;
font-weight: 700;
padding: 10px 20px;
border-radius: 30px;
font-size: 1rem;
text-decoration: none;
border: 1.5px solid #25D366;
box-shadow: 0 2px 10px rgba(0,0,0,0.10);
transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.2s;
}

.header-phone i {
font-size: 1.2rem;
margin-right: 8px;
color: #25D366 !important;
background: #e9fcef;
border-radius: 50%;
padding: 6px;
box-shadow: 0 1px 4px rgba(37,211,102,0.08);
transition: color 0.2s, background 0.2s;
}

.header-phone:hover {
background: #25D366;
color: #fff !important;
border-color: #128C7E;
box-shadow: 0 4px 16px rgba(37,211,102,0.18);
}

.header-phone:hover i {
color: #fff !important;
background: #128C7E;
}

.newsletter-form {
display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-secondary);
}

.newsletter-form button {
    padding: 10px 20px;
    background-image: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.newsletter-form button:hover {
    opacity: 0.9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-bubble {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px 10px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 165px;
}

.chat-bubble .chat-text {
    margin-right: 12px;
    color: white;
}

.chat-bubble i {
    font-size: 24px;
    background-color: white;
    color: #25D366;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-bubble:hover {
    background-color: #22c15e;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Placeholder for when images haven't been uploaded yet */
.placeholder-img {
    background-image: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Room Actions */
.room-actions {
    margin-top: 20px;
    position: relative;
    z-index: 20;
    text-align: left;
    display: block;
    width: 100%;
    clear: both;
    overflow: visible;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero h2 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
  /* Hide phone number and icon on mobile */
  .header-phone {
    display: none !important;
  }

  /* Prevent horizontal scroll on mobile */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
}


@media screen and (max-width: 480px) {
    .header-phone {
        font-size: 1.1rem;
        padding: 14px 0;
    }
    .header-phone i {
        font-size: 1.1rem;
        padding: 7px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav ul {
        flex-direction: column;
    }

    .nav ul li {
        margin: 10px 0;
        margin-left: 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* Modern Contact Section Styles */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff, #f7fdf9);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(34, 193, 94, 0.15));
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(34, 193, 94, 0.1));
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-card:hover::before {
    width: 6px;
}

.contact-card-icon {
    margin-bottom: 15px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.icon-circle i {
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-card:hover .icon-circle {
    background: var(--primary-color);
    transform: scale(1.1);
}

.contact-card:hover .icon-circle i {
    color: white;
}

.contact-card-content {
    flex: 1;
    min-width: 0; /* Ensures content can shrink */
    width: 100%; /* Takes up full available width */
}

.contact-card-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-card-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
    transition: all 0.3s ease;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.4;
}

.contact-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.email-link {
    font-size: 14px;
    max-width: 100%;
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.contact-address {
    font-style: normal;
    color: #444;
    line-height: 1.5;
    font-size: 16px;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 5px;
    font-size: 14px;
}

.whatsapp-button i {
    font-size: 16px;
}

.whatsapp-button:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.contact-form-container {
    position: relative;
}

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.floating-svg {
    position: absolute;
    z-index: 1;
    opacity: 0.8;
}

.floating-svg-1 {
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    animation: float 8s ease-in-out infinite;
}

.floating-svg-2 {
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.form-title {
    font-size: 24px;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.form-subtitle {
    color: #666;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    transition: color 0.3s ease;
}

.textarea-icon i {
    top: 20px;
    transform: none;
}

.input-with-icon input,
.input-with-icon textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.input-with-icon input:focus,
.input-with-icon textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
    outline: none;
    background: white;
}

.input-with-icon input:focus + i,
.input-with-icon textarea:focus + i {
    color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 14px 30px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    border: none;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.submit-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Contact Form Success Message */
.success-message {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.success-icon i {
    font-size: 36px;
    color: white;
}

.success-message h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.success-message p {
    color: #666;
    margin-bottom: 25px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.reset-form {
    display: inline-block;
    margin-top: 10px;
}

/* Form Error Message */
.error-message {
    background-color: #fff1f0;
    border-left: 4px solid #ff4d4f;
    color: #cf1322;
    padding: 12px 16px;
    margin: 10px 0 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-size: 14px;
    animation: shake 0.5s ease-in-out;
}

.error-message i {
    margin-right: 10px;
    font-size: 16px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* Loading Spinner */
.fa-spinner {
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
}


@media (max-width: 768px) {
    /* No .contact-banner overrides: unified banner style */
}

/* Mobile Navigation Styles */
@media (max-width: 992px) {
    .header-content {
        padding: 15px 0;
    }
    
    .page-banner {
        padding-top: 100px; /* Adjusted padding for mobile */
    }
    
    .header-phone {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        z-index: 100;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0;
        transition: right 0.3s ease;
        z-index: 99;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
    }
    
    .nav ul li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav ul li a {
        color: var(--dark-color) !important;
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .nav ul li a:hover,
    .nav ul li a.active {
        color: var(--primary-color) !important;
    }

    .header.scrolled .menu-toggle span {
        background-color: var(--dark-color);
    }

    /* Handle menu toggle color change based on page background */
    .menu-toggle span {
        background-color: #fff;
    }

    .header.scrolled .menu-toggle span {
        background-color: var(--dark-color);
    }
}
