@import url('https://fonts.googleapis.com/css?family=Outfit:300,400,500,600,700|Inter:300,400,500,600,700&display=swap');

:root {
    --primary-color: #00A0E9; /* Daikin Blue */
    --primary-hover: #0082c3;
    --primary-light: #e0f4fe;
    --secondary-color: #005AAB; /* Daikin Dark Blue */
    --dark-color: #0f172a; /* Slate 900 */
    --gray-dark: #1e293b; /* Slate 800 */
    --gray-medium: #64748b; /* Slate 500 */
    --gray-light: #f1f5f9; /* Slate 100 */
    --white: #ffffff;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --text-color: #334155; /* Slate 700 */
    --border-color: #cbd5e1; /* Slate 300 */
    --border-light: #e2e8f0; /* Slate 200 */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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, 160, 233, 0.1), 0 4px 6px -2px rgba(0, 160, 233, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 90, 171, 0.12), 0 10px 10px -5px rgba(0, 90, 171, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.25;
}

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

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

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-bg-dark {
    background-color: var(--dark-color);
    color: var(--white);
}

.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3 {
    color: var(--white);
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Header & Navbar */
.header-top {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.header-top-info span {
    margin-right: 20px;
}

.header-top-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.header-top-social a {
    color: var(--white);
    margin-left: 15px;
}

.header-top-social a:hover {
    color: var(--primary-color);
}

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 55px;
}

.logo-partner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-divider {
    width: 1px;
    height: 35px;
    background-color: var(--border-light);
}

.logo-subtext {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--dark-color);
    font-size: 16px;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
}

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

/* Hero & Slider */
.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(0, 90, 171, 0.15) 0%, rgba(15, 23, 42, 0.85) 80%);
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    color: var(--white);
}

.slide-content h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease backwards;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.slide-buttons {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

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

.btn-danger:hover {
    background-color: #dc2626;
    color: var(--white);
    transform: translateY(-2px);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-arrow-prev {
    left: 30px;
}

.slider-arrow-next {
    right: 30px;
}

/* Feature Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition);
}

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

.card:hover::before {
    background-color: var(--primary-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

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

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--gray-medium);
    font-size: 15px;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0;
    background-image: linear-gradient(135deg, var(--secondary-color) 0%, #004585 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-item p {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

/* Testimonials Carousel */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-light);
}

.testimonial-slide blockquote {
    font-size: 18px;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-slide blockquote::before {
    content: '“';
    font-size: 80px;
    color: var(--primary-light);
    position: absolute;
    top: -40px;
    left: 10px;
    font-family: serif;
    line-height: 1;
    z-index: -1;
}

.testimonial-author {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-color);
}

.testimonial-role {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 6px;
}

/* Sidebar Widgets */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
}

.sidebar-widget {
    background-color: var(--gray-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.sidebar-enquiry-widget {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    border: none;
}

.sidebar-enquiry-widget .widget-title {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sidebar-enquiry-widget .widget-title::after {
    background-color: var(--white);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--dark-color);
}

.sidebar-enquiry-widget label {
    color: var(--white);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 15px;
    background-color: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 233, 0.15);
}

.sidebar-enquiry-widget .form-control {
    border-color: transparent;
}

.sidebar-enquiry-widget .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-size: 15px;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: #94a3b8; /* Slate 400 */
    padding: 70px 0 20px 0;
    font-size: 15px;
    border-top: 5px solid var(--primary-color);
}

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

.footer-widget h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget p {
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #94a3b8;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: var(--white);
    overflow: hidden;
}

.accordion-header {
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    background-color: var(--gray-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--primary-light);
}

.accordion-content {
    padding: 25px;
    border-top: 1px solid var(--border-light);
}

/* Sub-Banner / Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 14px;
    opacity: 0.85;
}

.breadcrumbs a {
    color: var(--white);
    text-decoration: underline;
}

/* Admin Styles */
.admin-login-body {
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.admin-login-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    width: 100%;
    max-width: 450px;
    padding: 45px;
    border: 1px solid var(--border-light);
}

.admin-login-card h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--secondary-color);
}

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--gray-dark);
    color: #94a3b8;
    padding: 30px 20px;
}

.admin-logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.admin-logo h3 {
    color: var(--white);
    font-size: 20px;
}

.admin-menu li {
    margin-bottom: 8px;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #94a3b8;
    border-radius: 5px;
    font-weight: 500;
}

.admin-menu-link:hover, .admin-menu-link.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.admin-menu-link.active i {
    color: var(--primary-color);
}

.admin-main {
    background-color: #f8fafc;
}

.admin-header {
    background-color: var(--white);
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header-title {
    font-size: 24px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--dark-color);
}

.admin-content {
    padding: 40px;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.db-widget {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-widget-info h4 {
    font-size: 14px;
    color: var(--gray-medium);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.db-widget-info h2 {
    font-size: 32px;
}

.db-widget-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table th, .table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
}

.table th {
    background-color: var(--gray-light);
    font-weight: 600;
    color: var(--dark-color);
}

.table tbody tr:hover {
    background-color: #fafafa;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.action-btns {
    display: flex;
    gap: 10px;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
}

/* Responsive Grid/Flex Queries */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .grid-3, .grid-2, .stats-grid, .dashboard-widgets {
        grid-template-columns: 1fr;
    }
    .header-top {
        display: none;
    }
    .nav-menu {
        display: none;
    }
    .slide-content h1 {
        font-size: 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
