@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0e3d82; /* Deep Blue */
    --secondary-color: #f8f9fa; /* Light Gray */
    --accent-color: #ffc107; /* Amber/Gold */
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --dark: #1a1a1a;
    --light-bg: #f4f7f6;
    --border-color: #e9ecef;
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px #f2f2f2;
    --shadow-md: 0 5px 15px #ebebeb;
    --shadow-lg: 0 10px 30px #e0e0e0;
    --shadow-hover: 0 15px 35px #dbe2ec;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Helper Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

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

/* Button Styles */
.btn-primary-hero {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.btn-primary-hero:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Card Styles */
.custom-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: none;
    position: relative;
    will-change: transform;
    transform: translateZ(0);
    animation: cardIn 0.5s ease both;
}

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

.custom-card::after {
    content: "";
    position: absolute;
    left: -50%;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.custom-card:hover::after {
    transform: translateX(240%) skewX(-20deg);
}

/* Navigation */
.navbar-custom {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #061d3f 0%, #0e3d82 100%);
    color: #e0e0e0;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Pattern overlay removed as per request */

.footer-logo-wrapper {
    width: 90px;
    height: 90px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 10px 25px #cccccc;
    transition: transform 0.3s ease;
}

.footer-logo-wrapper:hover {
    transform: scale(1.05) rotate(5deg);
}

.footer-logo-img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.footer-title {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(8px);
    text-shadow: 0 0 10px #ffeeb5;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-list a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--accent-color);
}

.icon-box {
    width: 35px;
    height: 35px;
    background: #1a4b90;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover .icon-box {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(15deg);
}

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

.footer-social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #334155;
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.footer-bottom {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 56px 0;
    }
    .section-title {
        margin-bottom: 36px;
    }
    .section-title h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 44px 0;
    }
    .section-title h2 {
        font-size: 1.7rem;
    }
    .btn-primary-hero {
        padding: 10px 22px;
        letter-spacing: 0.08em;
        font-size: 0.9rem;
    }
}

/* Utilities */
.text-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Package Card Styles */
.package-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    border: none;
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform;
    transform: translateZ(0);
    animation: cardIn 0.55s ease both;
}

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

.package-card::after {
    content: "";
    position: absolute;
    left: -50%;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.package-card:hover::after {
    transform: translateX(240%) skewX(-20deg);
}

.package-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

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

.package-card:hover .package-image img {
    transform: scale(1.08);
    filter: brightness(0.98) contrast(1.02);
}

.package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0e3d82;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(14,61,130,0.18);
}

.package-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    line-height: 1.4;
    min-height: 3.5rem; /* Enforce 2 lines height alignment */
}

.package-rating {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.btn-whatsapp-sm {
    color: #25D366;
    border: 1px solid #25D366;
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp-sm:hover {
    background: #25D366;
    color: white;
}

.package-meta {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.package-meta i {
    color: var(--primary-color);
    margin-right: 8px;
}

.package-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* About Section Improvements */
.about-section {
    padding: 6rem 0;
    background-color: #f9fbfd; /* Light background */
    position: relative;
    overflow: hidden;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 500px;
    position: relative;
}

.img-box {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px #e6e6e6;
    position: relative;
}

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

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

.main-img {
    grid-column: 1 / 9;
    grid-row: 1 / 11;
    z-index: 1;
}

.sub-img-1 {
    grid-column: 8 / 13;
    grid-row: 1 / 5;
    z-index: 2;
    border: 5px solid white;
}

.sub-img-2 {
    grid-column: 7 / 12;
    grid-row: 5 / 9;
    z-index: 3;
    border: 5px solid white;
}

.sub-img-3 {
    grid-column: 8 / 13;
    grid-row: 9 / 13;
    z-index: 2;
    border: 5px solid white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px #e6e6e6;
    position: relative;
}

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

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

.experience-badge {
    position: absolute;
    bottom: 10%;
    left: 5%;
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 4;
    box-shadow: 0 10px 20px #b6c5da;
    border: 4px solid #cbd5e1;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 5px;
}

.stats-row {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.stats-box h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.stats-box p {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .about-image-grid {
        height: 400px;
        margin-bottom: 3rem;
    }
}
