:root {
    --primary: #1a1a1a;
    --secondary: #2a2a2a;
    --accent: #404040;
    --text-color: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #1a1a1a;
    --transition: 0.3s;
    --header-height: 70px;
    --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: var(--header-height);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { 
    font-size: 3.2rem; 
    font-weight: 600;
    letter-spacing: -0.5px;
}

h2 { 
    font-size: 2.4rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 2.5rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--dark-gray);
    margin-top: 1rem;
}

h3 { 
    font-size: 1.8rem;
    font-weight: 500;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 5rem 0;
}

/* Header */
.site-header {
    background: var(--background);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo img {
    max-height: 40px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-list a:hover {
    color: var(--accent);
    background: transparent;
}

.nav-list a.active {
    color: var(--accent);
}

.nav-toggle {
    display: none;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.9));
    color: white;
    text-align: center;
    padding: 12rem 2rem 8rem;
    position: relative;
    overflow: hidden;
}

.hero-svg-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Services Section */
.services-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card, .project-card {
    background: var(--background);
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow);
    padding: 2rem;
    border-radius: 4px;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover, .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #000;
}

.service-card img, .project-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin: 1.5rem 0 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.about-text h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.features-stats-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.feature-item:hover {
    border-color: #000;
}

.feature-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--dark-gray);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #000;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-features,
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.25rem;
    }

    .stat-item {
        padding: 1.5rem;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-features,
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 2px;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--dark-gray);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 2px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--dark-gray);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
.site-footer {
    background: var(--dark-gray);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.footer-brand img {
    width: 100px;
    height: auto;
}

.company-details {
    padding-top: 0.5rem;
}

.company-details h3 {
    margin: 0 0 1rem 0;
}

.company-details p {
    margin: 0.25rem 0;
}

.footer-contact h3,
.footer-hours h3 {
    margin-bottom: 1rem;
}

.footer-credit {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-credit p {
    color: #999;
    line-height: 1.5;
}

.footer-credit a {
    color: #999;
    text-decoration: none;
    transition: opacity var(--transition);
}

.footer-credit a:hover {
    opacity: 1;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-contact,
    .footer-hours {
        text-align: center;
    }
    
    .footer-credit {
        text-align: center;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Typography */
    h1 { 
        font-size: 2.2rem; 
    }
    
    h2 { 
        font-size: 1.8rem;
    }
    
    h3 { 
        font-size: 1.4rem;
    }

    /* Layout */
    .section-padding {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Header & Navigation */
    .site-header {
        padding: 0 1rem;
        height: var(--header-height);
    }

    .logo-container img {
        max-height: 40px; /* Slightly smaller logo on mobile */
    }

    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        margin-left: auto;
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-color);
        position: relative;
        transition: all 0.3s ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--text-color);
        transition: all 0.3s ease-in-out;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--background);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-list.active {
        display: block;
    }

    .menu-open .hamburger {
        background: transparent;
    }

    .menu-open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-open .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    /* Hero Section */
    .hero {
        padding: 6rem 1.5rem 4rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Services & Projects Grid */
    .services-grid,
    .projects-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .project-card {
        margin-bottom: 1.5rem;
    }

    .service-card img,
    .project-card img {
        height: 200px;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .main-nav {
        justify-content: flex-end;
        flex: 1;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 1000;
        padding: 0.5rem;
        margin-left: auto;
    }

    .nav-list {
        top: var(--header-height);
        text-align: right;
        padding-right: 2rem;
    }

    .nav-list a {
        text-align: right;
    }
}

/* Small phones */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .section-padding {
        padding: 2rem 0;
    }

    .service-card,
    .project-card,
    .contact-info,
    .contact-form {
        padding: 1rem;
    }
}

/* Landscape mode */
@media (max-height: 480px) and (orientation: landscape) {
    .nav-list {
        padding: 0.5rem;
    }

    .nav-list li {
        margin: 0.5rem 0;
    }

    .nav-list a {
        padding: 0.5rem;
    }

    .hero {
        padding: 5rem 1rem 2rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 8rem 2rem 6rem;
    }
}

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

.service-card, .project-card, .feature {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Icons Styling */
.service-icon {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Update service card styling for icons */
.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

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

/* Project SVG Styling */
.project-svg {
    height: 200px;
    background: var(--light-gray);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-svg {
    transform: scale(1.02);
}

.project-card:hover .project-svg path,
.project-card:hover .project-svg rect,
.project-card:hover .project-svg circle {
    stroke: var(--accent);
}

/* Ensure SVGs are responsive */
@media (max-width: 768px) {
    .project-svg {
        height: 180px;
    }
}

/* About Section Styling */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--dark-gray);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-stats {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 8px;
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #000;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-stats {
        padding: 2rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Section Styling */
.contact-section {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    flex-shrink: 0;
    color: var(--dark-gray);
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-text a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Form Styling */
.contact-form-container {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contact-form-container h3 {
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid var(--light-gray);
    background: transparent;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--dark-gray);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--primary);
}

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

.submit-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-grid {
        gap: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
    }
}

/* Footer Credit Styling */
.footer-credit {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-credit p {
    color: #999;
    line-height: 1.5;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .footer-credit p {
        padding: 0 1rem;
    }
}

/* Updated Contact Info Styling */
.contact-info-unified {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.contact-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-row:first-child {
    padding-top: 0;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

.contact-text a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Keep existing responsive styles */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-unified {
        padding: 1.5rem;
    }

    .contact-info-row {
        padding: 1rem 0;
    }
}

/* Add to existing contact styles */
.contact-person {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem !important;
}

/* Footer link styling */
.footer-contact a {
    color: var(--background); /* or #ffffff for white */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent); /* or any other highlight color you prefer */
    opacity: 0.8;
}

/* Footer Logo Styling */
.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-width: 100px;
    height: auto;
    opacity: 0.9;
    transition: opacity var(--transition);
}

.footer-logo img:hover {
    opacity: 1;
}

/* Adjust footer info spacing */
.footer-info h3 {
    margin-top: 0;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: opacity var(--transition);
}

.footer-contact a:hover {
    opacity: 0.8;
} 