/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Offset for fixed navbar */
}

body {
    scroll-padding-top: 120px; /* Additional fallback */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
    font-size: 1.1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-text {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 36px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 220px;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.5);
}

.btn-secondary {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 37, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 37, 47, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: #1e40af;
    transform: translateY(-1px);
}

.nav-logo i {
    margin-right: 12px;
    color: #3498db;
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

.nav-logo:hover i {
    color: #1e40af;
    transform: rotate(10deg);
}

.logo-image {
    height: 80px;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link.cta-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.7), rgba(41, 128, 185, 0.8)), 
                url('images/plumber-using-adjustable-wrench-repairing-sink-pipe.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    animation: heroBackgroundMove 12s ease-in-out infinite;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.problem-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.problem-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.problem-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
    animation: smoothLift 0.8s ease-in-out;
}

.problem-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.problem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.problem-card:hover .problem-image img {
    transform: scale(1.05);
}

.problem-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.problem-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Guide Section */
.guide-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.golden-circle {
    margin: 50px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.circle-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.circle-icon.why,
.circle-icon.how,
.circle-icon.what {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.circle-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.circle-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.guide-summary {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    color: #3498db;
    margin-top: 40px;
}

/* About Card */
.about-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-card .about-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-align: center;
}

.about-card .about-content p:last-child {
    margin-bottom: 0;
}

/* Plan Section */
.plan-section {
    padding: 100px 0;
    background: white;
}

.plan-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.step {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.7rem;
    margin: 20px 0 15px;
    color: #2c3e50;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.step-icon {
    font-size: 2rem;
    color: #3498db;
}

.plan-cta {
    text-align: center;
}

/* Success Section */
.success-section {
    padding: 100px 0;
    background: white;
}

.success-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.failure-side {
    padding: 40px;
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
    border-radius: 15px;
    border-left: 5px solid #e74c3c;
}

.failure-side h2 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.warning-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.warning-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e74c3c;
    font-weight: 500;
}

.warning-item i {
    font-size: 1.2rem;
}

.success-side {
    padding: 40px;
    background: linear-gradient(135deg, #f0f9ff, #dbeafe);
    border-radius: 15px;
    border-left: 5px solid #3498db;
}

.success-side h2 {
    color: #3498db;
    margin-bottom: 20px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-content i {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #333;
}

.testimonial-author strong {
    color: #2c3e50;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background: #2c3e50;
    color: white;
}

.trust-section .section-title {
    color: white;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
}

.trust-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.trust-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.trust-item p {
    color: #bdc3c7;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details span {
    color: #666;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 12px;
    color: #3498db;
    font-size: 2rem;
}

.footer-logo-image {
    height: 80px;
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-column ul li a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
    font-size: 1rem;
}

/* ========================================
   SERVICES PAGE - COMPLETELY NEW DESIGN
   ======================================== */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.7), rgba(41, 128, 185, 0.8)), 
                url('images/commercialplumbing.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.services-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #e0f2fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

/* Services Grid Layout */
.services-grid {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Service Card Design */
.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: auto;
    min-height: 600px;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Service Card Header */
.service-card-header {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    overflow: hidden;
}

.service-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.service-card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-card-icon i {
    font-size: 3rem;
    color: white;
}

.service-card-title {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Service Card Content */
.service-card-content {
    padding: 40px 30px;
    height: calc(100% - 250px);
    display: flex;
    flex-direction: column;
}

.service-card-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.service-card-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #475569;
}

.service-card-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.service-card-cta {
    margin-top: auto;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.service-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Service Specific Colors */
.service-card.emergency .service-card-header {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.service-card.emergency .service-card-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.service-card.emergency .service-card-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.service-card.detection .service-card-header {
    background: linear-gradient(135deg, #059669, #047857);
}

.service-card.detection .service-card-btn {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.service-card.detection .service-card-btn:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.service-card.cleaning .service-card-header {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.service-card.cleaning .service-card-btn {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.service-card.cleaning .service-card-btn:hover {
    background: linear-gradient(135deg, #b45309, #92400e);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

.service-card.premium .service-card-header {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.service-card.premium .service-card-btn {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.service-card.premium .service-card-btn:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.service-card.infrastructure .service-card-header {
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

.service-card.infrastructure .service-card-btn {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.service-card.infrastructure .service-card-btn:hover {
    background: linear-gradient(135deg, #0e7490, #155e75);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.4);
}

.service-card.maintenance .service-card-header {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.service-card.maintenance .service-card-btn {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.service-card.maintenance .service-card-btn:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
}

/* Services CTA Section */
.services-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 18px 36px;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Animations */
@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

/* Responsive Design for New Services Layout */
@media (max-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 75vh;
    }
    
    .hero-content {
        padding-top: 30px;
    }
    
    .services-hero h1 {
        font-size: 2.8rem;
    }
    
    .services-hero p {
        font-size: 1.2rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        min-height: 500px;
    }
    
    .service-card-header {
        height: 200px;
    }
    
    .service-card-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-card-icon i {
        font-size: 2.5rem;
    }
    
    .service-card-title {
        font-size: 1.5rem;
    }
    
    .service-card-content {
        padding: 30px 25px;
        height: calc(100% - 200px);
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 120px 0 80px;
    }
    
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        padding: 60px 0;
    }
    
    .service-card-content {
        padding: 25px 20px;
    }
    
    .services-cta {
        padding: 60px 0;
    }
}

/* 404 Page */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    background: #f8f9fa;
}

.error-page h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

.error-page h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #343a40;
}

.error-page p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #868e96;
}

.error-page a {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.error-page a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Miscellaneous */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.hidden {
    display: none !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes smoothLift {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes heroBackgroundMove {
    0% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.04) translate(-1%, -0.7%);
    }
    50% {
        transform: scale(1.02) translate(0.8%, -1%);
    }
    75% {
        transform: scale(1.03) translate(-0.6%, 0.5%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-images {
        position: static;
        order: -1;
        justify-self: center;
    }
    
    .service-images-grid {
        grid-template-rows: 220px 100px;
        gap: 12px;
        max-width: 450px;
    }
    
    .sub-images img {
        height: 100px !important;
    }
    
    .service-detail-section {
        padding: 25px;
    }
    
    .service-detail-section h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .service-header h2 {
        font-size: 2rem;
    }
    
    .service-intro {
        font-size: 1.1rem;
    }
    
    .service-layout {
        gap: 30px;
    }
    
    .service-images-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 90px 90px 90px;
        max-width: 350px;
        gap: 10px;
    }
    
    .main-image {
        grid-column: 1;
    }
    
    .sub-images img {
        height: 90px !important;
    }
    
    .service-detail {
        padding: 60px 0;
    }
    
    .service-detail-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .service-detail-section h3 {
        font-size: 1.5rem;
    }
    
    .service-detail-section ul li {
        font-size: 1rem;
        padding-left: 25px;
    }
    
    .service-detail-section ul li::before {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding-top: 120px;
        height: auto;
        min-height: 80vh;
    }
    
    .hero-content {
        padding-top: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    .problem-cards {
        grid-template-columns: 1fr;
    }
    
    .golden-circle {
        grid-template-columns: 1fr;
    }
    
    .plan-steps {
        grid-template-columns: 1fr;
    }
    
    .success-content {
        grid-template-columns: 1fr;
    }
    
    .trust-features {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .service-header h2 {
        font-size: 1.8rem;
    }
    
    .service-images-grid {
        grid-template-rows: 180px 80px 80px 80px;
        gap: 8px;
        max-width: 300px;
    }
    
    .sub-images img {
        height: 80px !important;
    }
    
    .service-detail-section {
        padding: 15px;
    }
    
    .service-detail-section h3 {
        font-size: 1.3rem;
    }
    
    .service-detail-section ul li {
        font-size: 0.95rem;
        padding-left: 22px;
    }
    
    .service-cta {
        padding: 20px 15px;
    }
    
    .service-benefits {
        padding: 20px;
    }
}
