:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #0E386F;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    padding: 60px 0;
    position: relative;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--secondary);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
    transform: scaleX(1);
    transform-origin: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .emoji-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover h3 {
    color: white;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.emoji-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* About Us Section - Fully Responsive */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-image-container {
    position: relative;
    min-height: 100%;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
    animation: fadeInUp 0.5s ease-out;
}

.about-content h2 span {
    color: var(--secondary);
    position: relative;
    display: inline;
}

.about-content h2 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--accent);
    bottom: -5px;
    left: 0;
    transform: scaleX(1);
    transform-origin: left;
}

.about-subheading {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.about-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    hyphens: auto;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transform: translateY(0);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 5px 15px rgba(14, 56, 111, 0.3);
    animation: fadeInUp 0.5s ease-out 0.6s both;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 56, 111, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    animation: fadeInUp 0.5s ease-out 0.8s both;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 600;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease-out 1s both;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: rgba(14, 56, 111, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 40px 30px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 30px 20px;
    }
    
    section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .about-image-container {
        min-height: 300px;
        aspect-ratio: 16/9;
        order: -1;
    }
    
    .about-content {
        padding: 25px 20px;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
        line-height: 1.25;
    }
    
    .about-subheading {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    .btn {
        flex: 1;
        min-width: 120px;
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .about-image-container {
        min-height: 250px;
    }
    
    .about-content h2 {
        font-size: 1.7rem;
    }
    
    .about-content p {
        hyphens: none;
        word-break: normal;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .emoji-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        gap: 10px;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (max-width: 360px) {
    .about-image-container {
        min-height: 200px;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        min-width: 100px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .container {
        padding: 0;
        max-width: 100%;
    }
    
    .floating-element,
    .service-card:hover::before {
        display: none;
    }
    
    .btn {
        border: 1px solid black;
        color: black;
        background: white;
    }
}