@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Inter:wght@400;600;700&display=swap');

:root {
    --lyp-primary: #0369a1;
    --lyp-secondary: #075985;
    --lyp-accent: #d97706;
    --lyp-background: #f0f9ff;
    --lyp-text-color: #0c4a6e;
    --lyp-muted-color: #7dd3fc;
    --lyp-light-gray: #f8fafc;
    --lyp-dark-gray: #334155;
    --st-max-width: 1200px;
    --st-section-padding-desktop: 96px;
    --st-section-padding-mobile: 48px;
    --st-border-radius: 8px;
    --st-transition-speed: 0.3s;
    --st-box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --st-box-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Base Reset & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--lyp-text-color);
    background-color: var(--lyp-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--lyp-accent);
    color: var(--lyp-background);
}

a {
    color: var(--lyp-primary);
    text-decoration: none;
    transition: color var(--st-transition-speed) ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--lyp-secondary);
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
}

h5 {
    font-size: 1.4rem;
    font-weight: 600;
}

h6 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lyp-accent);
}

p {
    margin-bottom: 1em;
}

/* Utility Classes */
.st-container {
    max-width: var(--st-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

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

.st-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.st-text-center {
    text-align: center;
}

.st-section {
    padding-top: var(--st-section-padding-desktop);
    padding-bottom: var(--st-section-padding-desktop);
    position: relative;
}

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

/* Buttons */
.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--st-border-radius);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--st-transition-speed) ease;
    white-space: nowrap;
}

.st-btn-primary {
    background-color: var(--lyp-primary);
    color: var(--lyp-background);
    border-color: var(--lyp-primary);
}

.st-btn-primary:hover {
    background-color: var(--lyp-secondary);
    border-color: var(--lyp-secondary);
}

.st-btn-secondary {
    background-color: var(--lyp-accent);
    color: var(--lyp-background);
    border-color: var(--lyp-accent);
}

.st-btn-secondary:hover {
    background-color: #c06900;
    border-color: #c06900;
}

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

.st-btn-outline:hover {
    background-color: var(--lyp-primary);
    color: var(--lyp-background);
}

.st-btn:focus {
    outline: 2px solid var(--lyp-accent);
    outline-offset: 3px;
}

/* Navigation */
.st-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--st-box-shadow-light);
    backdrop-filter: blur(5px);
}

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

.st-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lyp-secondary);
}

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

.st-nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.st-nav-links a {
    color: var(--lyp-text-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.st-nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--lyp-accent);
    transition: width var(--st-transition-speed) ease;
}

.st-nav-links a:hover::after {
    width: 100%;
}

.st-hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--lyp-primary);
    cursor: pointer;
    z-index: 1001;
}

.st-mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -300px; /* Hidden */
    width: 280px;
    height: 100vh;
    background-color: var(--lyp-secondary);
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: right var(--st-transition-speed) ease-in-out;
    z-index: 999;
}

.st-mobile-nav.active {
    right: 0;
}

.st-mobile-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.st-mobile-nav a {
    color: var(--lyp-background);
    font-size: 1.2rem;
    padding: 10px 20px;
    display: block;
    border-left: 3px solid transparent;
}

.st-mobile-nav a:hover {
    border-left-color: var(--lyp-accent);
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.st-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--lyp-background);
    padding: var(--st-section-padding-desktop) 0;
}

.st-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/path/to/hero-image.jpg'); /* Replaced by JS */
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: -1;
}

.st-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.7) 0%, rgba(7, 89, 133, 0.7) 100%);
    z-index: -1;
}

.st-hero-content h1 {
    color: var(--lyp-background);
    margin-bottom: 20px;
}

.st-hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--lyp-muted-color);
}

.st-hero .st-btn {
    font-size: 1.1rem;
    padding: 16px 32px;
}

/* Cards */
.st-card {
    background-color: white;
    border-radius: var(--st-border-radius);
    box-shadow: var(--st-box-shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform var(--st-transition-speed) ease, box-shadow var(--st-transition-speed) ease;
}

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

.st-card-icon {
    font-size: 3rem;
    color: var(--lyp-primary);
    margin-bottom: 20px;
}

.st-card h3 {
    margin-top: 0;
    font-size: 1.6rem;
    color: var(--lyp-secondary);
}

.st-card img {
    border-radius: var(--st-border-radius);
    margin-bottom: 20px;
}

/* Trust Badges */
.st-trust-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--lyp-light-gray);
    padding: 12px 25px;
    border-radius: 50px;
    margin: 10px;
    font-weight: 600;
    color: var(--lyp-text-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.st-trust-badge svg {
    margin-right: 10px;
    color: var(--lyp-primary);
    font-size: 1.5rem;
}

/* Form Styling */
.st-form-group {
    margin-bottom: 20px;
}

.st-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--lyp-secondary);
}

.st-form-group input[type="text"],
.st-form-group input[type="email"],
.st-form-group input[type="tel"],
.st-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: var(--st-border-radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--lyp-text-color);
    transition: border-color var(--st-transition-speed) ease, box-shadow var(--st-transition-speed) ease;
}

.st-form-group input:focus,
.st-form-group textarea:focus {
    border-color: var(--lyp-primary);
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.2);
    outline: none;
}

.st-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.st-form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: var(--st-border-radius);
    margin-top: 20px;
    display: none;
}

.st-form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: var(--st-border-radius);
    margin-top: 20px;
    display: none;
}

/* FAQ Accordion */
.st-faq-item {
    background-color: white;
    border-radius: var(--st-border-radius);
    box-shadow: var(--st-box-shadow-light);
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow var(--st-transition-speed) ease;
}

.st-faq-item:hover {
    box-shadow: var(--st-box-shadow-hover);
}

.st-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-weight: 700;
    color: var(--lyp-secondary);
    font-size: 1.15rem;
    position: relative;
}

.st-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--lyp-primary);
    transition: transform var(--st-transition-speed) ease;
}

.st-faq-item.active .st-faq-q::after {
    transform: rotate(45deg);
}

.st-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
    color: var(--lyp-text-color);
}

.st-faq-item.active .st-faq-a {
    max-height: 500px; /* Adjust as needed for content */
    padding-bottom: 20px;
}

/* Testimonials */
.st-testimonial-card {
    background-color: white;
    border-radius: var(--st-border-radius);
    box-shadow: var(--st-box-shadow-light);
    padding: 30px;
    text-align: center;
    font-style: italic;
    color: var(--lyp-dark-gray);
    position: relative;
}

.st-testimonial-card::before {
  content: '\201C'; /* Left double quotation mark */
  font-family: serif;
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--lyp-muted-color);
  line-height: 1;
}

.st-testimonial-card p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.st-testimonial-author {
    font-weight: 700;
    color: var(--lyp-primary);
    font-style: normal;
    display: block;
    margin-top: 15px;
}

.st-testimonial-context {
    font-size: 0.9rem;
    color: var(--lyp-muted-color);
    font-style: normal;
}

/* Call to Action Refined */
.st-cta-refined {
    background-color: var(--lyp-secondary);
    color: var(--lyp-background);
    padding: var(--st-section-padding-desktop) 0;
    text-align: center;
}

.st-cta-refined h2 {
    color: var(--lyp-background);
}

.st-cta-refined p {
    color: var(--lyp-muted-color);
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.st-cta-refined .st-btn {
    border-color: var(--lyp-accent);
    background-color: var(--lyp-accent);
    color: var(--lyp-background);
}

.st-cta-refined .st-btn:hover {
    background-color: #c06900;
    border-color: #c06900;
}

.st-underline-cta {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--lyp-background);
    font-size: 1.2rem;
    padding-bottom: 5px;
}

.st-underline-cta::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--lyp-accent);
    transition: all var(--st-transition-speed) ease;
}

.st-underline-cta:hover::after {
    width: 0%;
    left: auto;
    right: 0;
    background-color: var(--lyp-muted-color);
}

/* Footer */
.st-footer {
    background-color: var(--lyp-dark-gray);
    color: var(--lyp-muted-color);
    padding-top: var(--st-section-padding-desktop);
    padding-bottom: 40px;
    font-size: 0.9rem;
}

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

.st-footer-column h4 {
    color: var(--lyp-background);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.st-footer-column ul {
    list-style: none;
}

.st-footer-column ul li {
    margin-bottom: 10px;
}

.st-footer-column a {
    color: var(--lyp-muted-color);
}

.st-footer-column a:hover {
    color: var(--lyp-primary);
}

.st-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

.st-social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.st-social-links a {
    color: var(--lyp-muted-color);
    font-size: 1.5rem;
}

.st-social-links a:hover {
    color: var(--lyp-primary);
}

.st-newsletter-form {
    display: flex;
    margin-top: 20px;
}

.st-newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--st-border-radius) 0 0 var(--st-border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--lyp-background);
}

.st-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.st-newsletter-form button {
    background-color: var(--lyp-primary);
    color: var(--lyp-background);
    border: none;
    padding: 10px 20px;
    border-radius: 0 var(--st-border-radius) var(--st-border-radius) 0;
    cursor: pointer;
    transition: background-color var(--st-transition-speed) ease;
}

.st-newsletter-form button:hover {
    background-color: var(--lyp-accent);
}


/* Separators/Visual Cues */
.st-section.st-dark-separator::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--lyp-muted-color), transparent);
  margin-bottom: var(--st-section-padding-desktop);
}

.st-section.st-gradient-separator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--lyp-light-gray) 0%, transparent 100%);
    z-index: 1;
}

/* Animations */
.st-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.st-animate.st-animated {
    opacity: 1;
    transform: translateY(0);
}

.st-animate.st-fade-in-up {
    transform: translateY(20px);
}

.st-animate.st-fade-in-up.st-animated {
    transform: translateY(0);
}

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

@keyframes stSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Contact Page specific */
.st-contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.st-contact-info h3 {
    margin-bottom: 25px;
    color: var(--lyp-primary);
}

.st-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--lyp-text-color);
}

.st-contact-item svg {
    color: var(--lyp-accent);
    margin-right: 15px;
    font-size: 1.8rem;
}

.st-contact-hours p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.4rem;
    }
    .st-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }
    .st-nav-links {
        gap: 25px;
    }
    .st-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .st-contact-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    .st-section {
        padding-top: var(--st-section-padding-mobile);
        padding-bottom: var(--st-section-padding-mobile);
    }
    .st-nav-links {
        display: none;
    }
    .st-hamburger {
        display: block;
    }
    .st-hero-content p {
        font-size: 1.1rem;
    }
    .st-hero .st-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .st-card {
        padding: 25px;
    }
    .st-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .st-footer-column h4 {
        margin-top: 30px;
    }
    .st-footer-column ul {
        padding-left: 0;
    }
    .st-newsletter-form {
        justify-content: center;
    }
    .st-contact-grid {
        grid-template-columns: 1fr;
    }
    .st-contact-info {
        order: -1; /* Move info above form on mobile */
        text-align: center;
    }
    .st-contact-item {
        justify-content: center;
    }
    .st-footer-column.st-about-us {
        order: -1;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .st-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .st-btn {
        width: 100%;
        padding: 10px 20px;
    }
    .st-grid {
        grid-template-columns: 1fr;
    }
    .st-testimonial-card {
        padding: 25px 15px;
    }
    .st-testimonial-card::before {
        font-size: 3rem;
        top: 5px;
        left: 10px;
    }
    .st-faq-q {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .st-faq-a {
        padding: 0 20px;
    }
    .st-mobile-nav {
        width: 100%;
        right: -100%;
    }
}


/* === Quality polish === */
@keyframes stFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.st-animate { opacity: 0; }
.st-animate.st-visible { animation: stFadeInUp 0.6s ease forwards; }