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

:root {
    --primary: #2586f9;
    --primary-hover: #1b6bd1;
    --primary-light: #e6f0ff;
    --accent-red: #ff122e;
    --accent-pink: #c33859;
    --accent-green: #81fe34;
    --secondary: #223645;
    --text-main: #4a5568;
    --text-heading: #2d3748;
    --bg-light: #f7f7f7;
    --bg-white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.site-header {
    background-color: var(--bg-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo-text span {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.dropdown-menu li a:hover {
    color: var(--primary);
    background-color: var(--bg-light);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 134, 249, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 134, 249, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,134,249,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

/* Features/Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

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

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,134,249,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Sections */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* CQC Widget */
.cqc-widget {
    background: var(--bg-white);
    border: 1px solid #e0e0e0;
    max-width: 400px;
    margin: 0 auto 3rem auto;
    text-align: left;
    font-family: Arial, sans-serif;
    color: #333;
}
.cqc-header {
    padding: 20px;
}
.cqc-logo-img {
    height: 40px;
    margin-bottom: 15px;
}
.cqc-name {
    font-size: 14px;
    font-weight: normal;
}
.cqc-body {
    background-color: #f6f5f1;
    padding: 20px;
}
.cqc-body-title {
    font-size: 13px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}
.cqc-rating {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.cqc-dot {
    height: 12px;
    width: 12px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
}
.cqc-date {
    font-size: 12px;
    color: #333;
    margin-bottom: 15px;
}
.cqc-btn {
    display: inline-block;
    border: 1px solid #c8a3c8;
    background: #fff;
    color: #7b1e60;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
    transition: 0.2s;
}
.cqc-btn:hover {
    background: #fdfafc;
}

/* Footer */
.site-footer {
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }
    .main-nav.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    h1 {
        font-size: 2.25rem;
    }
}

/* Forms */
.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 134, 249, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    display: none;
}
.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
}
.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
}

/* Content Pages */
.page-header {
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--bg-white);
    margin-bottom: 0;
}

.content-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: -2rem;
    margin-bottom: 4rem;
    position: relative;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}
