:root {
    --primary: #1a3a5f;
    --secondary: #2c5f8a;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #1a2a3a;
    --text: #333;
    --text-light: #6c757d;
    --success: #27ae60;
    --warning: #f39c12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: width 0.3s;
    border-radius: 2px;
}

nav ul li a:hover::after {
    width: 100%;
}

.btn-email {
    background: linear-gradient(to right, var(--accent), #c0392b);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-email::after {
    display: none;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Home Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.9) 0%, rgba(44, 95, 138, 0.9) 100%), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #f5f7fa);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--accent), #c0392b);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

/* About Me Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 1.1rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary);
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 15px;
    top: -15px;
    left: -15px;
    z-index: -1;
    opacity: 0.3;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat p {
    color: var(--text-light);
    font-weight: 600;
}

/* My Companies Section */
.companies {
    background-color: var(--light);
    position: relative;
}

.companies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #f5f7fa, var(--light));
}

.companies-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.first-row {
    grid-template-columns: repeat(3, 1fr);
}

.second-row {
    grid-template-columns: repeat(2, 1fr);
}

.company-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    border-top: 5px solid var(--primary);
}

.company-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.company-logo {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 25px;
    text-align: center;
}

.company-logo img {
    max-height: 70px;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

.company-content {
    padding: 30px;
}

.company-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
}

.company-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.company-content ul {
    list-style-type: none;
    margin-top: 20px;
}

.company-content ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.company-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
}

.company-contact {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    font-size: 0.95rem;
}

.contact-btn.website {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.contact-btn.phone {
    background: linear-gradient(135deg, #27ae60, #219653);
    color: white;
}

.contact-btn.email {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* My Offices Section */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.office-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary);
}

.office-card:hover {
    transform: translateY(-10px);
}

.office-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.office-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.office-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.office-contact {
    margin-top: 20px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: #bbb;
    max-width: 300px;
}

.footer-links h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bbb;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .first-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-links {
        flex: 1 1 200px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 12px 0;
    }
    
    .mobile-menu {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .first-row,
    .second-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .company-contact {
        flex-direction: column;
    }
}