_sections.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833
  1. /*--------------------------------------------------------------
  2. # Sections General
  3. --------------------------------------------------------------*/
  4. section {
  5. padding: 60px 0;
  6. overflow: hidden;
  7. }
  8. .section-bg {
  9. background-color: lighten($primary, 36);
  10. }
  11. .section-title {
  12. text-align: center;
  13. padding-bottom: 30px;
  14. h2 {
  15. font-size: 32px;
  16. font-weight: bold;
  17. position: relative;
  18. margin-bottom: 30px;
  19. color: $secondary;
  20. z-index: 2;
  21. }
  22. h2::after {
  23. content: "";
  24. position: absolute;
  25. left: 50%;
  26. top: 50%;
  27. transform: translate(-50%,-50%);
  28. width: 122px;
  29. height: 66px;
  30. background: url(../img/section-title-bg.png) no-repeat;
  31. z-index: -1;
  32. }
  33. p {
  34. margin-bottom: 0;
  35. }
  36. }
  37. /*--------------------------------------------------------------
  38. # Breadcrumbs
  39. --------------------------------------------------------------*/
  40. .breadcrumbs {
  41. padding: 15px 0;
  42. background-color: lighten($primary, 37);
  43. min-height: 40px;
  44. h2 {
  45. font-size: 24px;
  46. font-weight: 300;
  47. }
  48. ol {
  49. display: flex;
  50. flex-wrap: wrap;
  51. list-style: none;
  52. padding: 0;
  53. margin: 0;
  54. font-size: 14px;
  55. li + li {
  56. padding-left: 10px;
  57. }
  58. li + li::before {
  59. display: inline-block;
  60. padding-right: 10px;
  61. color: #6c757d;
  62. content: "/";
  63. }
  64. }
  65. @media (max-width: 768px) {
  66. .d-flex {
  67. display: block !important;
  68. }
  69. ol {
  70. display: block;
  71. li {
  72. display: inline-block;
  73. }
  74. }
  75. }
  76. }
  77. /*--------------------------------------------------------------
  78. # About
  79. --------------------------------------------------------------*/
  80. .about {
  81. background: url("../img/about-bg.jpg") center center no-repeat;
  82. background-size: cover;
  83. padding: 60px 0;
  84. position: relative;
  85. &::before {
  86. content: '';
  87. position: absolute;
  88. left: 0;
  89. right: 0;
  90. top: 0;
  91. bottom: 0;
  92. background: rgba(255, 255, 255, 0.75);
  93. z-index: 9;
  94. }
  95. .container {
  96. position: relative;
  97. z-index: 10;
  98. }
  99. .content {
  100. padding: 30px 30px 30px 0;
  101. h3 {
  102. font-weight: 700;
  103. font-size: 34px;
  104. color: $secondary;
  105. margin-bottom: 30px;
  106. }
  107. p {
  108. margin-bottom: 30px;
  109. }
  110. .about-btn {
  111. display: inline-block;
  112. background: $primary;
  113. padding: 6px 44px 8px 30px;
  114. color: $white;
  115. border-radius: 50px;
  116. transition: 0.3s;
  117. position: relative;
  118. i {
  119. font-size: 18px;
  120. position: absolute;
  121. right: 18px;
  122. top: 9px;
  123. }
  124. &:hover {
  125. background: lighten($primary, 5);
  126. }
  127. }
  128. }
  129. .icon-boxes {
  130. .icon-box {
  131. margin-top: 30px;
  132. i {
  133. font-size: 40px;
  134. color: $primary;
  135. margin-bottom: 10px;
  136. }
  137. h4 {
  138. font-size: 20px;
  139. font-weight: 700;
  140. margin: 0 0 10px 0;
  141. }
  142. p {
  143. font-size: 15px;
  144. color: lighten($default, 25);
  145. }
  146. }
  147. }
  148. @media (max-width: 1200px) {
  149. .content {
  150. padding-right: 0;
  151. }
  152. }
  153. @media (max-width: 768px) {
  154. text-align: center;
  155. }
  156. }
  157. /*--------------------------------------------------------------
  158. # Services
  159. --------------------------------------------------------------*/
  160. .services {
  161. .icon-box {
  162. padding: 30px;
  163. position: relative;
  164. overflow: hidden;
  165. background: $white;
  166. box-shadow: 0 0 29px 0 rgba(68,88,144,.12);
  167. transition: all 0.3s ease-in-out;
  168. border-radius: 8px;
  169. z-index: 1;
  170. }
  171. .icon-box::before {
  172. content: '';
  173. position: absolute;
  174. background: lighten($primary, 40);
  175. right: 0;
  176. left: 0;
  177. bottom: 0;
  178. top: 100%;
  179. transition: all 0.3s;
  180. z-index: -1;
  181. }
  182. .icon-box:hover::before {
  183. background: $primary;
  184. top: 0;
  185. border-radius: 0px;
  186. }
  187. .icon {
  188. margin-bottom: 15px;
  189. i {
  190. font-size: 48px;
  191. line-height: 1;
  192. color: $primary;
  193. transition: all 0.3s ease-in-out;
  194. }
  195. }
  196. .title {
  197. font-weight: 700;
  198. margin-bottom: 15px;
  199. font-size: 18px;
  200. a {
  201. color: #111;
  202. }
  203. }
  204. .description {
  205. font-size: 15px;
  206. line-height: 28px;
  207. margin-bottom: 0;
  208. }
  209. .icon-box:hover {
  210. .title a, .description {
  211. color: $white;
  212. }
  213. .icon {
  214. i {
  215. color: $white;
  216. }
  217. }
  218. }
  219. }
  220. /*--------------------------------------------------------------
  221. # Counts
  222. --------------------------------------------------------------*/
  223. .counts {
  224. padding-bottom: 30px;
  225. .count-box {
  226. padding: 30px;
  227. width: 100%;
  228. i {
  229. display: block;
  230. font-size: 44px;
  231. color: $primary;
  232. float: left;
  233. line-height: 0;
  234. }
  235. span {
  236. font-size: 48px;
  237. line-height: 40px;
  238. display: block;
  239. font-weight: 700;
  240. color: $secondary;
  241. margin-left: 60px;
  242. }
  243. p {
  244. padding: 15px 0 0 0;
  245. margin: 0 0 0 60px;
  246. font-family: $font-primary;
  247. font-size: 14px;
  248. color: lighten($secondary, 15);
  249. }
  250. a {
  251. font-weight: 600;
  252. display: block;
  253. margin-top: 20px;
  254. color: lighten($secondary, 15);
  255. font-size: 15px;
  256. font-family: $font-secondary;
  257. transition: ease-in-out 0.3s;
  258. &:hover {
  259. color: lighten($secondary, 30);
  260. }
  261. }
  262. }
  263. }
  264. /*--------------------------------------------------------------
  265. # Cta
  266. --------------------------------------------------------------*/
  267. .cta {
  268. background: linear-gradient(rgba($primary, 0.8), rgba($primary , .8)), url("../img/cta-bg.jpg") fixed center center;
  269. background-size: cover;
  270. padding: 60px 0;
  271. h3 {
  272. color: #fff;
  273. font-size: 28px;
  274. font-weight: 700;
  275. }
  276. p {
  277. color: #fff;
  278. }
  279. .cta-btn {
  280. font-family: $font-primary;
  281. text-transform: uppercase;
  282. font-weight: 500;
  283. font-size: 16px;
  284. letter-spacing: 1px;
  285. display: inline-block;
  286. padding: 8px 28px;
  287. border-radius: 25px;
  288. transition: 0.5s;
  289. margin-top: 10px;
  290. border: 2px solid rgba($white, .5);
  291. color: #fff;
  292. &:hover {
  293. border-color: $white;
  294. }
  295. }
  296. }
  297. /*--------------------------------------------------------------
  298. # Portfolio
  299. --------------------------------------------------------------*/
  300. .portfolio {
  301. .portfolio-item {
  302. margin-bottom: 30px;
  303. }
  304. #portfolio-flters {
  305. padding:0;
  306. margin:0 auto 35px auto;
  307. list-style:none;
  308. text-align:center;
  309. background: lighten($primary, 34);
  310. border-radius: 50px;
  311. padding: 2px 15px;
  312. li {
  313. cursor: pointer;
  314. display: inline-block;
  315. padding: 10px 15px 8px 15px;
  316. font-size: 14px;
  317. font-weight: 600;
  318. line-height: 1;
  319. text-transform: uppercase;
  320. color: $secondary;
  321. margin-bottom: 5px;
  322. transition: all 0.3s ease-in-out;
  323. &:hover, &.filter-active {
  324. color: $primary;
  325. }
  326. &:last-child {
  327. margin-right: 0;
  328. }
  329. }
  330. }
  331. .portfolio-wrap {
  332. transition: 0.3s;
  333. position: relative;
  334. overflow: hidden;
  335. z-index: 1;
  336. $portfolio_wrap_spacing: 0;
  337. &::before {
  338. content: "";
  339. background: rgba($white, 0.5);
  340. position: absolute;
  341. left: $portfolio_wrap_spacing;
  342. right: $portfolio_wrap_spacing;
  343. top: $portfolio_wrap_spacing;
  344. bottom: $portfolio_wrap_spacing;
  345. transition: all ease-in-out 0.3s;
  346. z-index: 2;
  347. opacity: 0;
  348. }
  349. .portfolio-links {
  350. opacity: 1;
  351. left: 0;
  352. right: 0;
  353. bottom: -60px;
  354. z-index: 3;
  355. position: absolute;
  356. transition: all ease-in-out 0.3s;
  357. display: flex;
  358. justify-content: center;
  359. a {
  360. color: $white;
  361. font-size: 28px;
  362. text-align: center;
  363. background: rgba($primary, .75);
  364. transition: 0.3s;
  365. width: 50%;
  366. &:hover {
  367. background: rgba($primary, .95);
  368. }
  369. }
  370. a + a {
  371. border-left: 1px solid lighten($primary, 10);
  372. }
  373. }
  374. &:hover {
  375. &::before {
  376. top: 0;
  377. left: 0;
  378. right: 0;
  379. bottom: 0;
  380. opacity: 1;
  381. }
  382. .portfolio-links {
  383. opacity: 1;
  384. bottom: 0;
  385. }
  386. }
  387. }
  388. }
  389. /*--------------------------------------------------------------
  390. # Portfolio Details
  391. --------------------------------------------------------------*/
  392. .portfolio-details {
  393. padding-top: 40px;
  394. .portfolio-details-slider {
  395. img {
  396. width: 100%;
  397. }
  398. .swiper-pagination {
  399. margin-top: 20px;
  400. position: relative;
  401. .swiper-pagination-bullet {
  402. width: 12px;
  403. height: 12px;
  404. background-color: #fff;
  405. opacity: 1;
  406. border: 1px solid $primary;
  407. }
  408. .swiper-pagination-bullet-active {
  409. background-color: $primary;
  410. }
  411. }
  412. }
  413. .portfolio-info {
  414. padding: 30px;
  415. box-shadow: 0px 0 30px rgba($secondary, 0.08);
  416. h3 {
  417. font-size: 22px;
  418. font-weight: 700;
  419. margin-bottom: 20px;
  420. padding-bottom: 20px;
  421. border-bottom: 1px solid #eee;
  422. }
  423. ul {
  424. list-style: none;
  425. padding: 0;
  426. font-size: 15px;
  427. li +li {
  428. margin-top: 10px;
  429. }
  430. }
  431. }
  432. .portfolio-description {
  433. padding-top: 30px;
  434. h2 {
  435. font-size: 26px;
  436. font-weight: 700;
  437. margin-bottom: 20px;
  438. }
  439. p {
  440. padding: 0;
  441. }
  442. }
  443. }
  444. /*--------------------------------------------------------------
  445. # Testimonials
  446. --------------------------------------------------------------*/
  447. .testimonials {
  448. .testimonial-item {
  449. box-sizing: content-box;
  450. text-align: center;
  451. min-height: 320px;
  452. .testimonial-img {
  453. width: 90px;
  454. border-radius: 50%;
  455. margin: 0 auto;
  456. }
  457. h3 {
  458. font-size: 18px;
  459. font-weight: bold;
  460. margin: 10px 0 5px 0;
  461. color: #111;
  462. }
  463. h4 {
  464. font-size: 14px;
  465. color: #999;
  466. margin:0;
  467. }
  468. .quote-icon-left, .quote-icon-right {
  469. color: lighten($primary, 28);
  470. font-size: 26px;
  471. }
  472. .quote-icon-left {
  473. display: inline-block;
  474. left: -5px;
  475. position: relative;
  476. }
  477. .quote-icon-right {
  478. display: inline-block;
  479. right: -5px;
  480. position: relative;
  481. top:10px;
  482. }
  483. p {
  484. font-style: italic;
  485. margin: 0 15px 15px 15px;
  486. padding: 20px;
  487. background: $white;
  488. position: relative;
  489. margin-bottom: 35px;
  490. border-radius: 6px;
  491. box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.10);
  492. }
  493. p::after {
  494. content: "";
  495. width: 0;
  496. height: 0;
  497. border-top: 20px solid $white;
  498. border-right: 20px solid transparent;
  499. border-left: 20px solid transparent;
  500. position: absolute;
  501. bottom: -20px;
  502. left: calc(50% - 20px);
  503. }
  504. }
  505. .swiper-pagination {
  506. margin-top: 20px;
  507. position: relative;
  508. .swiper-pagination-bullet {
  509. width: 12px;
  510. height: 12px;
  511. background-color: #fff;
  512. opacity: 1;
  513. border: 1px solid $primary;
  514. }
  515. .swiper-pagination-bullet-active {
  516. background-color: $primary;
  517. }
  518. }
  519. }
  520. /*--------------------------------------------------------------
  521. # Team
  522. --------------------------------------------------------------*/
  523. .team {
  524. .member {
  525. text-align: center;
  526. margin-bottom: 80px;
  527. position: relative;
  528. .pic {
  529. overflow: hidden;
  530. }
  531. .member-info {
  532. position: absolute;
  533. top: 85%;
  534. left: 20px;
  535. right: 20px;
  536. background: $white;
  537. padding: 20px 0;
  538. color: $secondary;
  539. box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.10);
  540. max-height: 95px;
  541. overflow: hidden;
  542. transition: max-height 0.5s ease-in-out;
  543. }
  544. &:hover {
  545. .member-info {
  546. max-height: 300px;
  547. }
  548. }
  549. h4 {
  550. font-weight: 700;
  551. margin-bottom: 10px;
  552. font-size: 16px;
  553. color: $secondary;
  554. position: relative;
  555. padding-bottom: 10px;
  556. }
  557. h4::after {
  558. content: '';
  559. position: absolute;
  560. display: block;
  561. width: 50px;
  562. height: 1px;
  563. background: lighten($secondary, 50);
  564. bottom: 0;
  565. left: calc(50% - 25px);
  566. }
  567. span {
  568. font-style: italic;
  569. display: block;
  570. font-size: 13px;
  571. }
  572. .social {
  573. margin-top: 15px;
  574. a {
  575. transition: color 0.3s;
  576. color:lighten($secondary, 20);
  577. &:hover {
  578. color: $primary;
  579. }
  580. }
  581. i {
  582. font-size: 16px;
  583. margin: 0 2px;
  584. }
  585. }
  586. }
  587. @media (max-width: 992px) {
  588. .member {
  589. margin-bottom: 110px;
  590. }
  591. }
  592. }
  593. /*--------------------------------------------------------------
  594. # Contact
  595. --------------------------------------------------------------*/
  596. .contact {
  597. padding-bottom: 80px;
  598. .info-box {
  599. color: $default;
  600. background: $white;
  601. text-align: center;
  602. box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  603. padding: 20px 0 30px 0;
  604. i {
  605. font-size: 32px;
  606. color: $primary;
  607. border-radius: 50%;
  608. padding: 8px;
  609. border: 2px dotted lighten($primary, 35);
  610. }
  611. h3 {
  612. font-size: 20px;
  613. color: lighten($default, 20);
  614. font-weight: 700;
  615. margin: 10px 0;
  616. }
  617. p {
  618. padding: 0;
  619. line-height: 24px;
  620. font-size: 14px;
  621. margin-bottom: 0;
  622. }
  623. }
  624. .php-email-form {
  625. box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  626. padding: 30px;
  627. background: $white;
  628. .error-message {
  629. display: none;
  630. color: #fff;
  631. background: #ed3c0d;
  632. text-align: left;
  633. padding: 15px;
  634. font-weight: 600;
  635. & br + br {
  636. margin-top: 25px;
  637. }
  638. }
  639. .sent-message {
  640. display: none;
  641. color: #fff;
  642. background: #18d26e;
  643. text-align: center;
  644. padding: 15px;
  645. font-weight: 600;
  646. }
  647. .loading {
  648. display: none;
  649. background: #fff;
  650. text-align: center;
  651. padding: 15px;
  652. &:before {
  653. content: "";
  654. display: inline-block;
  655. border-radius: 50%;
  656. width: 24px;
  657. height: 24px;
  658. margin: 0 10px -6px 0;
  659. border: 3px solid #18d26e;
  660. border-top-color: #eee;
  661. animation: animate-loading 1s linear infinite;
  662. }
  663. }
  664. input, textarea {
  665. border-radius: 0;
  666. box-shadow: none;
  667. font-size: 14px;
  668. &::focus {
  669. background-color: $primary;
  670. }
  671. }
  672. input {
  673. padding: 10px 15px;
  674. }
  675. textarea {
  676. padding: 12px 15px;
  677. }
  678. button[type="submit"] {
  679. background: $primary;
  680. border: 0;
  681. padding: 10px 24px;
  682. color: #fff;
  683. transition: 0.4s;
  684. &:hover {
  685. background: lighten($primary, 10%);
  686. }
  687. }
  688. }
  689. @keyframes animate-loading {
  690. 0% { transform: rotate(0deg); }
  691. 100% { transform: rotate(360deg); }
  692. }
  693. }